[arch-commits] Commit in python-pkginfo/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Oct 31 16:38:08 UTC 2019
Date: Thursday, October 31, 2019 @ 16:38:07
Author: felixonmars
Revision: 521105
archrelease: copy trunk to community-staging-any
Added:
python-pkginfo/repos/community-staging-any/PKGBUILD
(from rev 521103, python-pkginfo/trunk/PKGBUILD)
Deleted:
python-pkginfo/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 106 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 53 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 16:38:07 UTC (rev 521104)
+++ PKGBUILD 2019-10-31 16:38:07 UTC (rev 521105)
@@ -1,53 +0,0 @@
-# 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 python2-pkginfo)
-pkgver=1.5.0.1
-pkgrel=2
-pkgdesc='Query metadatdata from sdists / bdists / installed packages'
-arch=('any')
-url="https://pypi.python.org/pypi/pkginfo"
-license=('PSF')
-makedepends=("python-setuptools" "python2-setuptools")
-checkdepends=("python-nose" "python2-nose" "python-coverage" "python2-coverage")
-source=("https://pypi.io/packages/source/p/pkginfo/pkginfo-$pkgver.tar.gz")
-sha512sums=('319bb403970affd5a4222dfdb3d17738630d1350ea84e51ad1bebc6c8c72e0dcfd69a4eaf5e7bd156b8e605d806357922c05cc994dcafb01b7a33c617b2df447')
-
-prepare() {
- cp -a pkginfo-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/pkginfo-$pkgver
- python setup.py build
-
- cd "$srcdir"/pkginfo-$pkgver-py2
- python2 setup.py build
-}
-
-check() { (
- cd "$srcdir"/pkginfo-$pkgver
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests3
-
- cd "$srcdir"/pkginfo-$pkgver-py2
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests2
- ) || warning "Tests failed"
-}
-
-package_python-pkginfo() {
- depends=("python")
-
- cd pkginfo-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-pkginfo() {
- depends=("python2")
-
- cd pkginfo-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- mv "$pkgdir/usr/bin/pkginfo"{,2}
-}
Copied: python-pkginfo/repos/community-staging-any/PKGBUILD (from rev 521103, python-pkginfo/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 16:38:07 UTC (rev 521105)
@@ -0,0 +1,53 @@
+# 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 python2-pkginfo)
+pkgver=1.5.0.1
+pkgrel=3
+pkgdesc='Query metadatdata from sdists / bdists / installed packages'
+arch=('any')
+url="https://pypi.python.org/pypi/pkginfo"
+license=('PSF')
+makedepends=("python-setuptools" "python2-setuptools")
+checkdepends=("python-nose" "python2-nose" "python-coverage" "python2-coverage")
+source=("https://pypi.io/packages/source/p/pkginfo/pkginfo-$pkgver.tar.gz")
+sha512sums=('319bb403970affd5a4222dfdb3d17738630d1350ea84e51ad1bebc6c8c72e0dcfd69a4eaf5e7bd156b8e605d806357922c05cc994dcafb01b7a33c617b2df447')
+
+prepare() {
+ cp -a pkginfo-$pkgver{,-py2}
+}
+
+build() {
+ cd "$srcdir"/pkginfo-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/pkginfo-$pkgver-py2
+ python2 setup.py build
+}
+
+check() { (
+ cd "$srcdir"/pkginfo-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests3
+
+ cd "$srcdir"/pkginfo-$pkgver-py2
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" nosetests2
+ ) || warning "Tests failed"
+}
+
+package_python-pkginfo() {
+ depends=("python")
+
+ cd pkginfo-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pkginfo() {
+ depends=("python2")
+
+ cd pkginfo-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir/usr/bin/pkginfo"{,2}
+}
More information about the arch-commits
mailing list