mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-11 01:23:51 +02:00
python-enum34: update to 1.0.3
This commit is contained in:
parent
a98b3b389e
commit
117805fa24
1 changed files with 10 additions and 14 deletions
|
@ -1,25 +1,21 @@
|
|||
# Template file for 'python-enum34'
|
||||
pkgname=python-enum34
|
||||
version=1.0
|
||||
revision=2
|
||||
version=1.0.3
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="enum34-${version}"
|
||||
build_style="python-module"
|
||||
hostmakedepends="python-devel python-setuptools"
|
||||
makedepends="${hostmakedepends}"
|
||||
hostmakedepends="python-setuptools"
|
||||
depends="python"
|
||||
pycompile_module="enum34"
|
||||
short_desc="Backport of Python 3.4 Enum"
|
||||
pycompile_module="enum"
|
||||
short_desc="Backport of Python 3.4 enum module"
|
||||
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
|
||||
distfiles="${PYPI_SITE}/e/enum34/enum34-${version}.tar.gz"
|
||||
checksum=399bb2814e4fcf3d1fe3ab3bb582e16b5c0edc357cbf6356911e7f246a2fe84c
|
||||
|
||||
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}
|
||||
pre_build() {
|
||||
# remove doc
|
||||
sed -i "/'enum' :/,+6d" setup.py
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue