mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
python-enum34: switch to setuptools
Add missing noarch. Fix docs install.
This commit is contained in:
parent
c05528a08c
commit
ef922d47a5
1 changed files with 21 additions and 11 deletions
|
@ -1,15 +1,25 @@
|
||||||
# Template file for 'python-enum34'
|
# Template file for 'python-enum34'
|
||||||
pkgname=python-enum34
|
pkgname=python-enum34
|
||||||
version=1.0
|
version=1.0
|
||||||
revision=1
|
revision=2
|
||||||
distfiles="https://pypi.python.org/packages/source/e/enum34/enum34-${version}.tar.gz"
|
noarch=yes
|
||||||
checksum="384b593703b057e0b19d90ff62844b1c8796da2e6bd9957d6ce9119bdeade635"
|
|
||||||
build_style="python-module"
|
|
||||||
pycompile_module="enum34"
|
|
||||||
hostmakedepends="python-devel python-distribute"
|
|
||||||
makedepends="${hostmakedepends}"
|
|
||||||
maintainer="Steven R <dev@styez.com>"
|
|
||||||
homepage="http://pypi.python.org/pypi/enum34"
|
|
||||||
license="BSD"
|
|
||||||
short_desc="Python 3.4 Enum backported"
|
|
||||||
wrksrc="enum34-${version}"
|
wrksrc="enum34-${version}"
|
||||||
|
build_style="python-module"
|
||||||
|
hostmakedepends="python-devel python-setuptools"
|
||||||
|
makedepends="${hostmakedepends}"
|
||||||
|
depends="python"
|
||||||
|
pycompile_module="enum34"
|
||||||
|
short_desc="Backport of Python 3.4 Enum"
|
||||||
|
maintainer="Steven R <dev@styez.com>"
|
||||||
|
homepage="https://pypi.python.org/pypi/enum34/"
|
||||||
|
license="BSD"
|
||||||
|
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}
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue