[packages/python3-pathable] - python-pathable.spec updated to 0.4.4 for python 3.7+
qboosh
qboosh at pld-linux.org
Sun Dec 14 17:12:38 CET 2025
commit c1c5b28bc5f56174051989ea8c0a23425e81eee2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Dec 14 17:12:59 2025 +0100
- python-pathable.spec updated to 0.4.4 for python 3.7+
python-pathable.spec | 100 --------------------------------------------------
python3-pathable.spec | 50 +++++++++++++++++++++++++
2 files changed, 50 insertions(+), 100 deletions(-)
---
diff --git a/python-pathable.spec b/python-pathable.spec
deleted file mode 100644
index 03edacd..0000000
--- a/python-pathable.spec
+++ /dev/null
@@ -1,100 +0,0 @@
-#
-# Conditional build:
-%bcond_without python2 # CPython 2.x module
-%bcond_with python3 # CPython 3.x module (built from python3-pathable.spec)
-
-Summary: Object-oriented paths
-Summary(pl.UTF-8): Ścieżki zorientowane obiektowo
-Name: python-pathable
-# keep 0.3.x here for python2 support
-Version: 0.3.0
-Release: 1
-License: Apache v2.0
-Group: Libraries/Python
-#Source0Download: https://pypi.org/simple/pathable/
-Source0: https://files.pythonhosted.org/packages/source/p/pathable/pathable-%{version}.tar.gz
-# Source0-md5: 46ee786643c28b3d184327c13186879e
-URL: https://pypi.org/project/pathable/
-%if %{with python2}
-BuildRequires: python-modules >= 1:2.7
-BuildRequires: python-setuptools
-%endif
-%if %{with python3}
-BuildRequires: python3-modules >= 1:3.5
-BuildRequires: python3-setuptools
-%endif
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.714
-Requires: python-modules >= 1:2.7
-BuildArch: noarch
-BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
-%description
-Object-oriented paths. Key features:
-- Traverse resources like paths
-- Access resources on demand with separate accessor layer
-
-%description -l pl.UTF-8
-Ścieżki zorientowane obiektowo. Główne możliwości:
-- przechodzenie zasobów jak ścieżek
-- dostęp do zasobów na żądanie z osobną warstwą dostępową
-
-%package -n python3-pathable
-Summary: Object-oriented paths
-Summary(pl.UTF-8): Ścieżki zorientowane obiektowo
-Group: Libraries/Python
-Requires: python3-modules >= 1:3.5
-
-%description -n python3-pathable
-Object-oriented paths. Key features:
-- Traverse resources like paths
-- Access resources on demand with separate accessor layer
-
-%description -n python3-pathable -l pl.UTF-8
-Ścieżki zorientowane obiektowo. Główne możliwości:
-- przechodzenie zasobów jak ścieżek
-- dostęp do zasobów na żądanie z osobną warstwą dostępową
-
-%prep
-%setup -q -n pathable-%{version}
-
-%build
-%if %{with python2}
-%py_build
-%endif
-
-%if %{with python3}
-%py3_build
-%endif
-
-%install
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%py_install
-
-%py_postclean
-%endif
-
-%if %{with python3}
-%py3_install
-%endif
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%if %{with python2}
-%files
-%defattr(644,root,root,755)
-%doc README.rst
-%{py_sitescriptdir}/pathable
-%{py_sitescriptdir}/pathable-%{version}-py*.egg-info
-%endif
-
-%if %{with python3}
-%files -n python3-pathable
-%defattr(644,root,root,755)
-%doc README.rst
-%{py3_sitescriptdir}/pathable
-%{py3_sitescriptdir}/pathable-%{version}-py*.egg-info
-%endif
diff --git a/python3-pathable.spec b/python3-pathable.spec
new file mode 100644
index 0000000..8def475
--- /dev/null
+++ b/python3-pathable.spec
@@ -0,0 +1,50 @@
+Summary: Object-oriented paths
+Summary(pl.UTF-8): Ścieżki zorientowane obiektowo
+Name: python3-pathable
+Version: 0.4.4
+Release: 1
+License: Apache v2.0
+Group: Libraries/Python
+#Source0Download: https://pypi.org/simple/pathable/
+Source0: https://files.pythonhosted.org/packages/source/p/pathable/pathable-%{version}.tar.gz
+# Source0-md5: 7a2e844ac997eb9ca91f72b15c033ad3
+URL: https://pypi.org/project/pathable/
+BuildRequires: python3-build
+BuildRequires: python3-installer
+BuildRequires: python3-modules >= 1:3.7
+BuildRequires: python3-poetry-core >= 1.0.0
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 2.044
+Requires: python3-modules >= 1:3.7
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Object-oriented paths. Key features:
+- Traverse resources like paths
+- Access resources on demand with separate accessor layer
+
+%description -l pl.UTF-8
+Ścieżki zorientowane obiektowo. Główne możliwości:
+- przechodzenie zasobów jak ścieżek
+- dostęp do zasobów na żądanie z osobną warstwą dostępową
+
+%prep
+%setup -q -n pathable-%{version}
+
+%build
+%py3_build_pyproject
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%py3_install_pyproject
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.rst
+%{py3_sitescriptdir}/pathable
+%{py3_sitescriptdir}/pathable-%{version}.dist-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-pathable.git/commitdiff/c1c5b28bc5f56174051989ea8c0a23425e81eee2
More information about the pld-cvs-commit
mailing list