[arch-commits] Commit in python-extras/repos/community-staging-any (PKGBUILD PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Thu Oct 31 18:13:05 UTC 2019
Date: Thursday, October 31, 2019 @ 18:13:05
Author: foutrelis
Revision: 521600
archrelease: copy trunk to community-staging-any
Added:
python-extras/repos/community-staging-any/PKGBUILD
(from rev 521599, python-extras/trunk/PKGBUILD)
Deleted:
python-extras/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 100 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 50 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-31 18:13:01 UTC (rev 521599)
+++ PKGBUILD 2019-10-31 18:13:05 UTC (rev 521600)
@@ -1,50 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-extras
-pkgname=('python-extras' 'python2-extras')
-pkgver=1.0.0
-pkgrel=4
-pkgdesc="Useful extra bits for Python - things that should be in the standard library"
-arch=('any')
-license=('MIT')
-url="https://github.com/testing-cabal/extras"
-makedepends=('python-setuptools' 'python2-setuptools' 'git')
-checkdepends=('python-testtools' 'python2-testtools')
-source=("git+https://github.com/testing-cabal/extras.git#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a extras{,-py2}
-}
-
-build() {
- cd "$srcdir/extras"
- python setup.py build
-
- cd "$srcdir/extras-py2"
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir/extras"
- python -m testtools.run extras.tests.test_suite
-
- cd "$srcdir/extras-py2"
- python2 -m testtools.run extras.tests.test_suite
-}
-
-package_python-extras() {
- depends=('python')
-
- cd extras
- python setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-extras() {
- depends=('python2')
-
- cd extras-py2
- python2 setup.py install --root="${pkgdir}" --optimize=1
- install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-extras/repos/community-staging-any/PKGBUILD (from rev 521599, python-extras/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-31 18:13:05 UTC (rev 521600)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-extras
+pkgname=('python-extras' 'python2-extras')
+pkgver=1.0.0
+pkgrel=5
+pkgdesc="Useful extra bits for Python - things that should be in the standard library"
+arch=('any')
+license=('MIT')
+url="https://github.com/testing-cabal/extras"
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-testtools' 'python2-testtools')
+source=("git+https://github.com/testing-cabal/extras.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+ cp -a extras{,-py2}
+}
+
+build() {
+ cd "$srcdir/extras"
+ python setup.py build
+
+ cd "$srcdir/extras-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/extras"
+ python -m testtools.run extras.tests.test_suite
+
+ cd "$srcdir/extras-py2"
+ python2 -m testtools.run extras.tests.test_suite
+}
+
+package_python-extras() {
+ depends=('python')
+
+ cd extras
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+package_python2-extras() {
+ depends=('python2')
+
+ cd extras-py2
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list