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

Antonio Rojas arojas at archlinux.org
Sun Jul 5 10:52:00 UTC 2015


    Date: Sunday, July 5, 2015 @ 12:52:00
  Author: arojas
Revision: 136434

archrelease: copy trunk to community-any

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

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

Copied: python2-functools32/repos/community-any/PKGBUILD (from rev 136433, python2-functools32/trunk/PKGBUILD)
===================================================================
--- repos/community-any/PKGBUILD	                        (rev 0)
+++ repos/community-any/PKGBUILD	2015-07-05 10:52:00 UTC (rev 136434)
@@ -0,0 +1,29 @@
+# Maintainer: 
+# Contributor: Stephan Conrad
+
+pkgname=python2-functools32
+_pkgver=3.2.3-1
+pkgver=${_pkgver//-/_}
+pkgrel=1
+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=('6c226dfc1ca56ba3ee200d603b780cbc')
+
+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