2014-05-07 00:43:38 +02:00
|
|
|
# Template file for 'python-enum34'
|
|
|
|
pkgname=python-enum34
|
|
|
|
version=1.0
|
2014-06-30 15:45:14 +02:00
|
|
|
revision=2
|
|
|
|
noarch=yes
|
|
|
|
wrksrc="enum34-${version}"
|
2014-05-07 00:43:38 +02:00
|
|
|
build_style="python-module"
|
2014-06-30 15:45:14 +02:00
|
|
|
hostmakedepends="python-devel python-setuptools"
|
2014-05-07 00:43:38 +02:00
|
|
|
makedepends="${hostmakedepends}"
|
2014-06-30 15:45:14 +02:00
|
|
|
depends="python"
|
|
|
|
pycompile_module="enum34"
|
|
|
|
short_desc="Backport of Python 3.4 Enum"
|
2014-05-07 00:43:38 +02:00
|
|
|
maintainer="Steven R <dev@styez.com>"
|
2014-06-30 15:45:14 +02:00
|
|
|
homepage="https://pypi.python.org/pypi/enum34/"
|
2014-05-07 00:43:38 +02:00
|
|
|
license="BSD"
|
2014-06-30 15:45:14 +02:00
|
|
|
distfiles="https://pypi.python.org/packages/source/e/enum34/enum34-${version}.tar.gz"
|
|
|
|
checksum=384b593703b057e0b19d90ff62844b1c8796da2e6bd9957d6ce9119bdeade635
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# docs in the doc dir
|
|
|
|
rm -rf ${DESTDIR}/usr/lib/python2.7/site-packages/enum/{doc,LICENSE,README}
|
|
|
|
vmkdir usr/share/doc/${pkgname}
|
|
|
|
cd ${wrksrc}/enum
|
|
|
|
vcopy "doc/enum.rst LICENSE README" usr/share/doc/${pkgname}
|
|
|
|
}
|