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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 20:19:56 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:19:56
  Author: felixonmars
Revision: 1058017

archrelease: copy trunk to community-staging-any

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

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

Copied: python-future/repos/community-staging-any/PKGBUILD (from rev 1058015, python-future/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:19:56 UTC (rev 1058017)
@@ -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=6
+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