[arch-commits] Commit in python2-functools32/repos (2 files)

Felix Yan felixonmars at archlinux.org
Fri Nov 9 23:15:39 UTC 2018


    Date: Friday, November 9, 2018 @ 23:15:38
  Author: felixonmars
Revision: 405218

archrelease: copy trunk to community-staging-any

Added:
  python2-functools32/repos/community-staging-any/
  python2-functools32/repos/community-staging-any/PKGBUILD
    (from rev 405215, python2-functools32/trunk/PKGBUILD)

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

Copied: python2-functools32/repos/community-staging-any/PKGBUILD (from rev 405215, python2-functools32/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-11-09 23:15:38 UTC (rev 405218)
@@ -0,0 +1,29 @@
+# Maintainer: 
+# Contributor: Stephan Conrad
+
+pkgname=python2-functools32
+_pkgver=3.2.3-2
+pkgver=${_pkgver//-/_}
+pkgrel=2
+pkgdesc="Backport of the functools module from Python 3.2.3 for use on 2.7 and PyPy"
+url="https://github.com/MiCHiLU/python-functools32"
+arch=(any)
+depends=(python2)
+makedepends=(python2-distribute)
+license=('CUSTOM')
+source=("https://pypi.python.org/packages/source/f/functools32/functools32-$_pkgver.tar.gz")
+md5sums=('09f24ffd9af9f6cd0f63cb9f4e23d4b2')
+
+build() {
+    cd functools32-$_pkgver
+    python2 setup.py build
+}
+
+package() {
+    cd functools32-$_pkgver
+    python2 setup.py install --root="$pkgdir" --optimize=1
+
+    install -d "$pkgdir"/usr/share/licenses/$pkgname
+    install -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/
+}
+



More information about the arch-commits mailing list