2021-06-14 21:51:53 +02:00
|
|
|
# Description: Query metadatdata from sdists / bdists / installed packages
|
|
|
|
# URL: https://pypi.python.org/pypi/pkginfo
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: python3-setuptools
|
|
|
|
|
|
|
|
name=python3-pkginfo
|
2023-01-04 11:11:56 +01:00
|
|
|
version=1.9.3
|
2021-06-14 21:51:53 +02:00
|
|
|
release=1
|
|
|
|
source=(https://pypi.io/packages/source/p/pkginfo/pkginfo-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd pkginfo-$version
|
|
|
|
/usr/bin/python3 setup.py build
|
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr \
|
|
|
|
--root=$PKG \
|
|
|
|
-O1 \
|
|
|
|
--skip-build
|
|
|
|
mv $PKG/usr/bin/pkginfo $PKG/usr/bin/py3-pkginfo
|
|
|
|
}
|