[arch-commits] Commit in python2-future (3 files)

Maxime Gauduin alucryd at archlinux.org
Mon Jan 4 10:17:00 UTC 2021


    Date: Monday, January 4, 2021 @ 10:17:00
  Author: alucryd
Revision: 806911

archrelease: copy trunk to community-any

Added:
  python2-future/repos/
  python2-future/repos/community-any/
  python2-future/repos/community-any/PKGBUILD
    (from rev 806910, python2-future/trunk/PKGBUILD)

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

Copied: python2-future/repos/community-any/PKGBUILD (from rev 806910, python2-future/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2021-01-04 10:17:00 UTC (rev 806911)
@@ -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