[arch-commits] Commit in python2-enum34/repos (community-any community-any/PKGBUILD)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Wed Apr 16 14:37:57 UTC 2014
Date: Wednesday, April 16, 2014 @ 16:37:56
Author: alucryd
Revision: 109592
archrelease: copy trunk to community-any
Added:
python2-enum34/repos/community-any/
python2-enum34/repos/community-any/PKGBUILD
(from rev 109591, python2-enum34/trunk/PKGBUILD)
----------+
PKGBUILD | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
Copied: python2-enum34/repos/community-any/PKGBUILD (from rev 109591, python2-enum34/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2014-04-16 14:37:56 UTC (rev 109592)
@@ -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:
More information about the arch-commits
mailing list