[arch-commits] Commit in (3 files)

Maxime Gauduin alucryd at archlinux.org
Mon Jan 4 10:16:48 UTC 2021


    Date: Monday, January 4, 2021 @ 10:16:47
  Author: alucryd
Revision: 806910

add python2-future for the renpy python 3 compatibility mode

Added:
  python2-future/
  python2-future/trunk/
  python2-future/trunk/PKGBUILD

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

Added: python2-future/trunk/PKGBUILD
===================================================================
--- python2-future/trunk/PKGBUILD	                        (rev 0)
+++ python2-future/trunk/PKGBUILD	2021-01-04 10:16:47 UTC (rev 806910)
@@ -0,0 +1,31 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Christopher Arndt <aur at chrisarndt.de>
+# Contributor: Gaute Hope <eg at gaute.vetsj.com>
+# Contributor: Melissa Padilla <mpadilla2 at hotmail.com>
+
+pkgname=python2-future
+pkgver=0.18.2
+pkgrel=1
+pkgdesc='Clean single-source support for Python 3 and 2'
+url=https://python-future.org/
+arch=(any)
+license=(MIT)
+depends=(python2)
+makedepends=(python2-setuptools)
+source=(https://pypi.io/packages/source/f/future/future-${pkgver}.tar.gz)
+b2sums=(68574b589bf54aa8dacbd162a54885589faa32829ccf212f50de5bf036ebd8b9aba0c13e63e80d34e507cc0dae4d8d3d47fea33433b17d2c2e6dbf6c37f66d8f)
+
+build() {
+  cd future-${pkgver}
+  python2 setup.py build
+}
+
+package() {
+  cd future-${pkgver}
+  python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  rm -rf "${pkgdir}"/usr/bin
+  install -Dm 644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/python2-future
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list