python3-cyberfusion-ferm-support 1.1.2.2__tar.gz → 1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (16) hide show
  1. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/PKG-INFO +6 -11
  2. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/README.md +0 -6
  3. python3_cyberfusion_ferm_support-1.2/pyproject.toml +20 -0
  4. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/src/cyberfusion/FermSupport/configuration/__init__.py +2 -7
  5. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/src/python3_cyberfusion_ferm_support.egg-info/PKG-INFO +6 -11
  6. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/src/python3_cyberfusion_ferm_support.egg-info/SOURCES.txt +0 -1
  7. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/src/python3_cyberfusion_ferm_support.egg-info/requires.txt +1 -1
  8. python3-cyberfusion-ferm-support-1.1.2.2/pyproject.toml +0 -21
  9. python3-cyberfusion-ferm-support-1.1.2.2/setup.py +0 -30
  10. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/setup.cfg +0 -0
  11. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/src/cyberfusion/FermSupport/__init__.py +0 -0
  12. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/src/cyberfusion/FermSupport/configuration/custom_lines.py +0 -0
  13. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/src/cyberfusion/FermSupport/configuration/variables.py +0 -0
  14. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/src/cyberfusion/FermSupport/exceptions/__init__.py +0 -0
  15. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/src/python3_cyberfusion_ferm_support.egg-info/dependency_links.txt +0 -0
  16. {python3-cyberfusion-ferm-support-1.1.2.2 → python3_cyberfusion_ferm_support-1.2}/src/python3_cyberfusion_ferm_support.egg-info/top_level.txt +0 -0
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python3-cyberfusion-ferm-support
3
- Version: 1.1.2.2
3
+ Version: 1.2
4
4
  Summary: Library for ferm.
5
- Home-page: https://github.com/CyberfusionIO/python3-cyberfusion-ferm-support
6
- Author: Cyberfusion
7
- Author-email: support@cyberfusion.io
8
- Platform: linux
5
+ Author-email: Cyberfusion <support@cyberfusion.io>
6
+ Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-ferm-support
9
7
  Description-Content-Type: text/markdown
8
+ Requires-Dist: cached_property==1.5.2
9
+ Requires-Dist: python3-cyberfusion-common~=2.0
10
+ Requires-Dist: python3-cyberfusion-systemd-support~=2.0
10
11
 
11
12
  # python3-cyberfusion-ferm-support
12
13
 
@@ -20,12 +21,6 @@ Run the following command to install the package from PyPI:
20
21
 
21
22
  pip3 install python3-cyberfusion-ferm-support
22
23
 
23
- ## Generic
24
-
25
- Run the following command to create a source distribution:
26
-
27
- python3 setup.py sdist
28
-
29
24
  ## Debian
30
25
 
31
26
  Run the following commands to build a Debian package:
@@ -10,12 +10,6 @@ Run the following command to install the package from PyPI:
10
10
 
11
11
  pip3 install python3-cyberfusion-ferm-support
12
12
 
13
- ## Generic
14
-
15
- Run the following command to create a source distribution:
16
-
17
- python3 setup.py sdist
18
-
19
13
  ## Debian
20
14
 
21
15
  Run the following commands to build a Debian package:
@@ -0,0 +1,20 @@
1
+ [build-system]
2
+ requires = ["setuptools"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "python3-cyberfusion-ferm-support"
7
+ version = "1.2"
8
+ description = "Library for ferm."
9
+ readme = "README.md"
10
+ authors = [
11
+ { name = "Cyberfusion", email = "support@cyberfusion.io" },
12
+ ]
13
+ dependencies = [
14
+ "cached_property==1.5.2",
15
+ "python3-cyberfusion-common~=2.0",
16
+ "python3-cyberfusion-systemd-support~=2.0",
17
+ ]
18
+
19
+ [project.urls]
20
+ "Source" = "https://github.com/CyberfusionIO/python3-cyberfusion-ferm-support"
@@ -40,19 +40,14 @@ class Configuration:
40
40
  def __str__(self) -> str:
41
41
  """Get string representation."""
42
42
  return (
43
- "\n".join(
44
- [str(line) for line in self.variables + self.custom_lines]
45
- )
46
- + "\n"
43
+ "\n".join([str(line) for line in self.variables + self.custom_lines]) + "\n"
47
44
  )
48
45
 
49
46
  @property
50
47
  def is_valid(self) -> bool:
51
48
  """Get if config is valid."""
52
49
  try:
53
- subprocess.run(
54
- [find_executable("ferm"), "--noexec", self.path], check=True
55
- )
50
+ subprocess.run([find_executable("ferm"), "--noexec", self.path], check=True)
56
51
  except subprocess.CalledProcessError:
57
52
  return False
58
53
 
@@ -1,12 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: python3-cyberfusion-ferm-support
3
- Version: 1.1.2.2
3
+ Version: 1.2
4
4
  Summary: Library for ferm.
5
- Home-page: https://github.com/CyberfusionIO/python3-cyberfusion-ferm-support
6
- Author: Cyberfusion
7
- Author-email: support@cyberfusion.io
8
- Platform: linux
5
+ Author-email: Cyberfusion <support@cyberfusion.io>
6
+ Project-URL: Source, https://github.com/CyberfusionIO/python3-cyberfusion-ferm-support
9
7
  Description-Content-Type: text/markdown
8
+ Requires-Dist: cached_property==1.5.2
9
+ Requires-Dist: python3-cyberfusion-common~=2.0
10
+ Requires-Dist: python3-cyberfusion-systemd-support~=2.0
10
11
 
11
12
  # python3-cyberfusion-ferm-support
12
13
 
@@ -20,12 +21,6 @@ Run the following command to install the package from PyPI:
20
21
 
21
22
  pip3 install python3-cyberfusion-ferm-support
22
23
 
23
- ## Generic
24
-
25
- Run the following command to create a source distribution:
26
-
27
- python3 setup.py sdist
28
-
29
24
  ## Debian
30
25
 
31
26
  Run the following commands to build a Debian package:
@@ -1,7 +1,6 @@
1
1
  README.md
2
2
  pyproject.toml
3
3
  setup.cfg
4
- setup.py
5
4
  src/cyberfusion/FermSupport/__init__.py
6
5
  src/cyberfusion/FermSupport/configuration/__init__.py
7
6
  src/cyberfusion/FermSupport/configuration/custom_lines.py
@@ -1,3 +1,3 @@
1
1
  cached_property==1.5.2
2
2
  python3-cyberfusion-common~=2.0
3
- python3-cyberfusion-systemd-support~=1.0
3
+ python3-cyberfusion-systemd-support~=2.0
@@ -1,21 +0,0 @@
1
- [tool.isort]
2
- profile = "black"
3
- line_length = 79
4
- known_first_party = ["cyberfusion"]
5
- default_section = "THIRDPARTY"
6
-
7
- [tool.black]
8
- line-length = 79
9
- exclude = '''
10
- (
11
- /(
12
- \.eggs # exclude a few common directories in the
13
- | \.git # root of the project
14
- | \.hg
15
- | \.mypy_cache
16
- | \.tox
17
- | \.venv
18
- | venv
19
- )/
20
- )
21
- '''
@@ -1,30 +0,0 @@
1
- """A setuptools based setup module."""
2
-
3
- from setuptools import setup
4
-
5
- with open("README.md", "r", encoding="utf-8") as fh:
6
- long_description = fh.read()
7
-
8
- setup(
9
- name="python3-cyberfusion-ferm-support",
10
- version="1.1.2.2",
11
- description="Library for ferm.",
12
- long_description=long_description,
13
- long_description_content_type="text/markdown",
14
- author="Cyberfusion",
15
- author_email="support@cyberfusion.io",
16
- url="https://github.com/CyberfusionIO/python3-cyberfusion-ferm-support",
17
- platforms=["linux"],
18
- packages=[
19
- "cyberfusion.FermSupport",
20
- "cyberfusion.FermSupport.configuration",
21
- "cyberfusion.FermSupport.exceptions",
22
- ],
23
- package_dir={"": "src"},
24
- data_files=[],
25
- install_requires=[
26
- "cached_property==1.5.2",
27
- "python3-cyberfusion-common~=2.0",
28
- "python3-cyberfusion-systemd-support~=1.0",
29
- ],
30
- )