[arch-commits] Commit in (4 files)

Maxime Gauduin alucryd at nymeria.archlinux.org
Wed Apr 16 14:37:40 UTC 2014


    Date: Wednesday, April 16, 2014 @ 16:37:40
  Author: alucryd
Revision: 109591

Add python2-enum34

Added:
  python2-enum34/
  python2-enum34/repos/
  python2-enum34/trunk/
  python2-enum34/trunk/PKGBUILD

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

Added: python2-enum34/trunk/PKGBUILD
===================================================================
--- python2-enum34/trunk/PKGBUILD	                        (rev 0)
+++ python2-enum34/trunk/PKGBUILD	2014-04-16 14:37:40 UTC (rev 109591)
@@ -0,0 +1,26 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at gmail.com>
+# Contributor: Schala <schalaalexiazeal at gmail.com>
+
+pkgname=python2-enum34
+pkgver=0.9.23
+pkgrel=2
+pkgdesc='Python 3.4 Enum backported'
+arch=('any')
+url='http://pypi.python.org/pypi/enum34'
+license=('BSD')
+depends=('python2')
+makedepends=('python2-setuptools')
+source=("https://pypi.python.org/packages/source/e/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz")
+sha256sums=('cfc05f11b5169c7b5c4adfae6de51cb8ad608c269b2496fbb75a115a5b572440')
+
+package() {
+  cd ${pkgname#*-}-${pkgver}
+
+  python2 setup.py install --root="${pkgdir}" --optimize='1'
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses/${pkgname}
+  install -m 644 enum/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
+
+# vim: ts=2 sw=2 et:


Property changes on: python2-enum34/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list