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 <[email protected]> +# Contributor: Felix Yan <[email protected]> +# Contributor: Christopher Arndt <[email protected]> +# Contributor: Gaute Hope <[email protected]> +# Contributor: Melissa Padilla <[email protected]> + +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:
