python-snakeoil-devel: fix rdeps
Clean up while I'm here.
This commit is contained in:
parent
fe459220bd
commit
ebb23a23bd
1 changed files with 9 additions and 9 deletions
|
@ -1,11 +1,10 @@
|
||||||
# Template file for 'python-snakeoil'
|
# Template file for 'python-snakeoil'
|
||||||
pkgname=python-snakeoil
|
pkgname=python-snakeoil
|
||||||
version=0.7.0
|
version=0.7.0
|
||||||
revision=1
|
revision=2
|
||||||
_distname=snakeoil
|
wrksrc="snakeoil-${version}"
|
||||||
wrksrc="${_distname}-${version}"
|
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="${_distname}"
|
pycompile_module="snakeoil"
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
makedepends="python-devel python3.4-devel"
|
makedepends="python-devel python3.4-devel"
|
||||||
|
@ -13,7 +12,7 @@ short_desc="Python2 optimized versions of common python functionality"
|
||||||
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
maintainer="Toyam Cox <Vaelatern@gmail.com>"
|
||||||
license="BSD, GPL-2"
|
license="BSD, GPL-2"
|
||||||
homepage="https://github.com/pkgcore/snakeoil"
|
homepage="https://github.com/pkgcore/snakeoil"
|
||||||
distfiles="${PYPI_SITE}/$(printf %.1s $_distname)/${_distname}/${_distname}-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/s/snakeoil/snakeoil-${version}.tar.gz"
|
||||||
checksum=8bc945e34338de71260717d140379299c4fd112e86486e8320f24419c7da17ec
|
checksum=8bc945e34338de71260717d140379299c4fd112e86486e8320f24419c7da17ec
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
@ -21,17 +20,17 @@ post_install() {
|
||||||
}
|
}
|
||||||
|
|
||||||
python-snakeoil-devel_package() {
|
python-snakeoil-devel_package() {
|
||||||
short_desc="${short_desc} (development files)"
|
depends="${sourcepkg}>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include/python2.7
|
vmove usr/include/python2.7
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
python3.4-snakeoil_package() {
|
python3.4-snakeoil_package() {
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pycompile_module="${_distname}"
|
pycompile_module="snakeoil"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
vlicense BSD
|
vlicense BSD
|
||||||
|
@ -39,7 +38,8 @@ python3.4-snakeoil_package() {
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-snakeoil-devel_package() {
|
python3.4-snakeoil-devel_package() {
|
||||||
short_desc="${short_desc/Python2/Python3.4} (development files)"
|
depends="python3.4-snakeoil>=${version}_${revision}"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include/python3.4m
|
vmove usr/include/python3.4m
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue