[arch-commits] Commit in python-future/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Jul 12 11:49:33 UTC 2020


    Date: Sunday, July 12, 2020 @ 11:49:33
  Author: jelle
Revision: 663320

archrelease: copy trunk to community-any

Added:
  python-future/repos/community-any/PKGBUILD
    (from rev 663319, python-future/trunk/PKGBUILD)
Deleted:
  python-future/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  103 ++++++++++++++++++++++---------------------------------------
 1 file changed, 38 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-12 11:49:27 UTC (rev 663319)
+++ PKGBUILD	2020-07-12 11:49:33 UTC (rev 663320)
@@ -1,65 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
-# Contributor: Gaute Hope <eg at gaute.vetsj.com>
-# Contributor: Melissa Padilla <mpadilla2 at hotmail dot com>
-
-pkgbase=python-future
-pkgname=(python-future python2-future)
-pkgver=0.18.2
-pkgrel=2
-pkgdesc="Clean single-source support for Python 3 and 2"
-url="https://python-future.org/"
-arch=('any')
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-requests' 'python2-requests')
-options=('!emptydirs')
-source=("https://pypi.io/packages/source/f/future/future-$pkgver.tar.gz")
-sha512sums=('91c025f7d94bcdf93df838fab67053165a414fc84e8496f92ecbb910dd55f6b6af5e360bbd051444066880c5a6877e75157bd95e150ead46e5c605930dfc50f2')
-
-prepare() {
-  cp -a future-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/future-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/future-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/future-$pkgver
-#PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python setup.py test || warning "Tests failed"
-
-  cd "$srcdir"/future-$pkgver-py2
-#PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python2 setup.py test
-}
-
-package_python-future() {
-  depends=('python')
-  optdepends=('python-setuptools: futurize and pasteurize scripts')
-  provides=('futurize' 'pasteurize')
-
-  cd future-$pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-future() {
-  depends=('python2')
-  optdepends=('python2-setuptools: futurize2 and pasteurize2 scripts')
-
-  cd future-$pkgver-py2
-
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/futurize{,2}
-  mv "$pkgdir"/usr/bin/pasteurize{,2}
-
-  install -D -m644 LICENSE.txt \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-future/repos/community-any/PKGBUILD (from rev 663319, python-future/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-12 11:49:33 UTC (rev 663320)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Christopher Arndt <aur -at- chrisarndt -dot- de>
+# Contributor: Gaute Hope <eg at gaute.vetsj.com>
+# Contributor: Melissa Padilla <mpadilla2 at hotmail dot com>
+
+pkgname=python-future
+pkgver=0.18.2
+pkgrel=3
+pkgdesc="Clean single-source support for Python 3 and 2"
+url="https://python-future.org/"
+arch=('any')
+license=('MIT')
+depends=('python')
+provides=('futurize' 'pasteurize')
+checkdepends=('python-requests')
+makedepends=('python-setuptools')
+optdepends=('python-setuptools: futurize and pasteurize scripts')
+options=('!emptydirs')
+source=("https://pypi.io/packages/source/f/future/future-$pkgver.tar.gz")
+sha512sums=('91c025f7d94bcdf93df838fab67053165a414fc84e8496f92ecbb910dd55f6b6af5e360bbd051444066880c5a6877e75157bd95e150ead46e5c605930dfc50f2')
+
+build() {
+  cd "$srcdir"/future-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/future-$pkgver
+#PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python setup.py test || warning "Tests failed"
+}
+
+package() {
+  cd future-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.txt \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list