# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
setvar pkgname = 'py-enum34'
setvar _pkgname = 'enum34'
setvar pkgver = '1.1.6'
setvar pkgrel = '2'
setvar pkgdesc = ""Python 3.4 Enum backported""
setvar url = ""http://pypi.python.org/pypi/enum34""
setvar arch = ""noarch""
setvar license = ""BSD""
setvar depends = """"
setvar makedepends = ""python2-dev py-setuptools""
setvar subpackages = """"
setvar source = ""https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz""
setvar builddir = ""$srcdir/$_pkgname-$pkgver""

proc build {
	cd $builddir
	python2 setup.py build || return 1
}

proc package {
	cd $builddir
	mkdir -p $pkgdir
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

setvar md5sums = ""5f13a0841a61f7fc295c514490d120d0  enum34-1.1.6.tar.gz""
setvar sha256sums = ""8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1  enum34-1.1.6.tar.gz""
setvar sha512sums = ""51652525adc37bd1af1d81933f965dba9c508838d9f759c80ca1392991515a29c2c0263264a4e175b37a6ba11dca68c354774e448b19ef1bdba96be5474d93ec  enum34-1.1.6.tar.gz""