python-pkginfo 1.9.6-1 (aarch64;znver1;x86_64) 2023-17333
9999
Status | published | ||||||
Submitter | mandian [@T] tutanota.com | ||||||
Platform | rolling | ||||||
Repository | main | ||||||
URL | https://abf.openmandriva.org/build_lists/293865 | ||||||
Packages |
|
||||||
Build Date | 2023-03-09 15:17:51 +0000 UTC | ||||||
Last Updated | 2023-03-14 15:40:17.301075995 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary 8ade2bd6fb3db629eec3e64e2b5b5c68a37498bb commit 8ade2bd6fb3db629eec3e64e2b5b5c68a37498bb Author: mandian <mandian@users.noreply.github.com> AuthorDate: Thu Mar 9 14:48:02 2023 +0000 Commit: mandian <mandian@users.noreply.github.com> CommitDate: Thu Mar 9 14:48:02 2023 +0000 Initial release --- .abf.yml | 2 ++ python-pkginfo.spec | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .abf.yml create mode 100644 python-pkginfo.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..3d221b3 --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + pkginfo-1.9.6.tar.gz: 07a3b196685c7c599cf3e366d9c02c5ae71dfb44 diff --git a/python-pkginfo.spec b/python-pkginfo.spec new file mode 100644 index 0000000..2b90cb3 --- /dev/null +++ b/python-pkginfo.spec @@ -0,0 +1,47 @@ +Summary: Query metadata from sdists / bdists / installed packages +Name: python-pkginfo +Version: 1.9.6 +Release: 1 +License: MIT +Group: Development/Python +URL: https://pypi.org/project/pkginfo/ +Source0: https://files.pythonhosted.org/packages/source/p/pkginfo/pkginfo-%{version}.tar.gz +BuildRequires: pkgconfig(python3) +BuildRequires: python%{pyver}dist(pip) +BuildRequires: python%{pyver}dist(setuptools) +BuildRequires: python%{pyver}dist(wheel) +BuildRequires: python%{pyver}dist(sphinx) +BuildArch: noarch + +%description +This package provides an API for querying the distutils metadata written +in the PKG-INFO file inside a source distribution (an sdist) or a binary +distribution (e.g., created by running bdist_egg). It can also query the +EGG-INFO directory of an installed distribution, and the *.egg-info stored +in a “development checkout” (e.g, created by running setup.py develop). + +%files +%license LICENSE.txt +%doc README.txt CHANGES.txt html +%{_bindir}/pkginfo +%{py_sitedir}/pkginfo +%{py_sitedir}/pkginfo-*.*-info + +#-------------------------------------------------------------------- + +%prep +%autosetup -p1 -n pkginfo-%{version} + +# remove test subpackage +sed -i "s/, 'pkginfo.tests'//g" setup.py + +%build +%py_build + +# docs +PYTHONPATH=${PWD} sphinx-build docs html +rm -rf html/.{doctrees,buildinfo} + +%install +%py_install +
Not Available
benbullard79 [@T] cox.net | No Comment. | 620d 19hrs |
benbullard79 [@T] cox.net | No Comment. | 620d 19hrs |