New package: python-snakeoil-0.7.0
This commit is contained in:
parent
21d7f373e3
commit
ed023d0790
4 changed files with 49 additions and 0 deletions
1
srcpkgs/python-snakeoil-devel
Symbolic link
1
srcpkgs/python-snakeoil-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-snakeoil
|
46
srcpkgs/python-snakeoil/template
Normal file
46
srcpkgs/python-snakeoil/template
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
# Template file for 'python-snakeoil'
|
||||||
|
pkgname=python-snakeoil
|
||||||
|
version=0.7.0
|
||||||
|
revision=1
|
||||||
|
_distname=snakeoil
|
||||||
|
wrksrc="${_distname}-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="${_distname}"
|
||||||
|
python_versions="2.7 3.4"
|
||||||
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
|
makedepends="python-devel python3.4-devel"
|
||||||
|
short_desc="Python2 optimized versions of common python functionality"
|
||||||
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||||
|
license="BSD, GPL-2"
|
||||||
|
homepage="https://github.com/pkgcore/snakeoil"
|
||||||
|
distfiles="${PYPI_SITE}/$(printf %.1s $_distname)/${_distname}/${_distname}-${version}.tar.gz"
|
||||||
|
checksum=8bc945e34338de71260717d140379299c4fd112e86486e8320f24419c7da17ec
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense BSD
|
||||||
|
}
|
||||||
|
|
||||||
|
python-snakeoil-devel_package() {
|
||||||
|
short_desc="${short_desc} (development files)"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include/python2.7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
python3.4-snakeoil_package() {
|
||||||
|
pycompile_version="3.4"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pycompile_module="${_distname}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
vlicense BSD
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
python3.4-snakeoil-devel_package() {
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (development files)"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include/python3.4m
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3.4-snakeoil
Symbolic link
1
srcpkgs/python3.4-snakeoil
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-snakeoil
|
1
srcpkgs/python3.4-snakeoil-devel
Symbolic link
1
srcpkgs/python3.4-snakeoil-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-snakeoil
|
Loading…
Add table
Add a link
Reference in a new issue