New package: python-simplegeneric-0.8.1
This commit is contained in:
parent
90e07c939b
commit
ed69e5b85a
2 changed files with 29 additions and 0 deletions
28
srcpkgs/python-simplegeneric/template
Normal file
28
srcpkgs/python-simplegeneric/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'python-simplegeneric'
|
||||
pkgname=python-simplegeneric
|
||||
version=0.8.1
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc="simplegeneric-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="unzip python-setuptools python3.4-setuptools"
|
||||
depends="python"
|
||||
pycompile_module="simplegeneric.py"
|
||||
short_desc="Simple generic functions for Python2"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://pypi.python.org/pypi/simplegeneric"
|
||||
license="ZPL"
|
||||
distfiles="${PYPI_SITE}/s/simplegeneric/simplegeneric-${version}.zip"
|
||||
checksum=dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173
|
||||
|
||||
python3.4-simplegeneric_package() {
|
||||
noarch=yes
|
||||
depends="python3.4"
|
||||
pycompile_version="3.4"
|
||||
pycompile_module="simplegeneric.py"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
}
|
||||
}
|
1
srcpkgs/python3.4-simplegeneric
Symbolic link
1
srcpkgs/python3.4-simplegeneric
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-simplegeneric
|
Loading…
Reference in a new issue