[arch-commits] Commit in python2-enum34/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Sun Dec 20 11:23:56 UTC 2015
Date: Sunday, December 20, 2015 @ 12:23:56
Author: alucryd
Revision: 153770
upgpkg: python2-enum34 1.1.1-1
Modified:
python2-enum34/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-12-20 11:23:51 UTC (rev 153769)
+++ PKGBUILD 2015-12-20 11:23:56 UTC (rev 153770)
@@ -3,7 +3,7 @@
# Contributor: Schala <schalaalexiazeal at gmail.com>
pkgname=python2-enum34
-pkgver=1.0.4
+pkgver=1.1.1
pkgrel=1
pkgdesc='Python 3.4 Enum backported'
arch=('any')
@@ -11,16 +11,16 @@
license=('BSD')
depends=('python2')
makedepends=('python2-setuptools')
-source=("https://pypi.python.org/packages/source/e/${pkgname#*-}/${pkgname#*-}-${pkgver}.tar.gz")
-sha256sums=('d3c19f26a6a34629c18c775f59dfc5dd595764c722b57a2da56ebfb69b94e447')
+source=("https://pypi.python.org/packages/source/e/enum34/enum34-${pkgver}.tar.gz")
+sha256sums=('9d4a9220e4ebabd7ff60d853e69c3dd89debad5ddeb9ac5e768af811ece7708e')
package() {
- cd ${pkgname#*-}-${pkgver}
+ cd enum34-${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}/
+ install -dm 755 "${pkgdir}"/usr/share/licenses/python2-enum34
+ install -m 644 enum/LICENSE "${pkgdir}"/usr/share/licenses/python2-enum34/
}
# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list