New package: python-wrapt-1.10.5
This commit is contained in:
parent
a670ad34af
commit
9fbdcf6911
2 changed files with 31 additions and 0 deletions
30
srcpkgs/python-wrapt/template
Normal file
30
srcpkgs/python-wrapt/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'python-wrapt'
|
||||
pkgname=python-wrapt
|
||||
version=1.10.5
|
||||
revision=1
|
||||
wrksrc="wrapt-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
makedepends="python-devel python3.4-devel"
|
||||
pycompile_module="wrapt"
|
||||
short_desc="Python2 module for decorators, wrappers and monkey patching"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://github.com/GrahamDumpleton/wrapt"
|
||||
license="2-clause-BSD"
|
||||
distfiles="${PYPI_SITE}/w/wrapt/wrapt-${version}.tar.gz"
|
||||
checksum=99cbb4e3a3ea964df0cb1437261fc1198616ec872e7b501622f3f7f92fcd0833
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3.4-wrapt_package() {
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="wrapt"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3.4-wrapt
Symbolic link
1
srcpkgs/python3.4-wrapt
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-wrapt
|
Loading…
Reference in a new issue