[arch-commits] Commit in python-pkginfo/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 15:56:15 UTC 2020


    Date: Monday, November 9, 2020 @ 15:56:15
  Author: foutrelis
Revision: 747245

archrelease: copy trunk to community-staging-any

Added:
  python-pkginfo/repos/community-staging-any/
  python-pkginfo/repos/community-staging-any/PKGBUILD
    (from rev 747244, python-pkginfo/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-pkginfo/repos/community-staging-any/PKGBUILD (from rev 747244, python-pkginfo/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 15:56:15 UTC (rev 747245)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: eolianoe <eolianoe At GoogleMAIL DoT com>
+# Contributor: Andrey Mikhaylenko <neithere at gmail dot com>
+
+pkgbase=python-pkginfo
+pkgname=(python-pkginfo)
+pkgver=1.6.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=('51ead9d2d16464eff1e46ccf99b7bcb40897d2526e8f5a0aaf10cb1305271134a1bc0b4524b4559cf0a8ddbb450ba4a9b123a41676f5b6bc2cbe721c7cec52c9')
+
+build() {
+  cd "$srcdir"/pkginfo-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/pkginfo-$pkgver
+  PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests3
+}
+
+package_python-pkginfo() {
+  cd pkginfo-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list