[arch-commits] Commit in python-pkginfo/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 20:19:50 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:19:50
Author: felixonmars
Revision: 1058013
archrelease: copy trunk to community-staging-any
Added:
python-pkginfo/repos/community-staging-any/
python-pkginfo/repos/community-staging-any/PKGBUILD
(from rev 1058011, python-pkginfo/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-pkginfo/repos/community-staging-any/PKGBUILD (from rev 1058011, python-pkginfo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:19:50 UTC (rev 1058013)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
+
+pkgname=python-pkginfo
+pkgver=1.7.1
+pkgrel=2
+pkgdesc='Query metadatdata from sdists / bdists / installed packages'
+arch=('any')
+url="https://pypi.python.org/pypi/pkginfo"
+license=('PSF')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-nose')
+source=("https://pypi.io/packages/source/p/pkginfo/pkginfo-$pkgver.tar.gz")
+sha512sums=('5b6374e45e7ccd68f3a28145c2fc350e630e97fcc5e97d46d05c32f0958a51e4713487b809099ddf0a9ab07840f7fb4409438ab7b7a9b0b05e94d292088b2c26')
+
+build() {
+ cd pkginfo-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pkginfo-$pkgver
+ python setup.py nosetests
+}
+
+package_python-pkginfo() {
+ cd pkginfo-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list