blob: 24853ad6cc61e35f42c51dfac22bb6fad410a78d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# $Id$
# Maintainer: Maxime Gauduin <alucryd@gmail.com>
# Contributor: Schala <schalaalexiazeal@gmail.com>
pkgname=python2-enum34
pkgver=1.1.2
pkgrel=1
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/enum34/enum34-${pkgver}.tar.gz")
sha256sums=('2475d7fcddf5951e92ff546972758802de5260bf409319a9f1934e6bbc8b1dc7')
package() {
cd enum34-${pkgver}
python2 setup.py install --root="${pkgdir}" --optimize='1'
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:
|