2015-08-23 00:28:23 +02:00
|
|
|
# Template file for 'python-greenlet'
|
|
|
|
pkgname=python-greenlet
|
2015-08-31 01:46:16 +02:00
|
|
|
version=0.4.9
|
|
|
|
revision=1
|
2015-08-27 10:10:10 +02:00
|
|
|
wrksrc="greenlet-${version}"
|
|
|
|
build_style=python-module
|
2015-08-23 00:28:23 +02:00
|
|
|
python_versions="2.7 3.4"
|
|
|
|
hostmakedepends="python-setuptools python3.4-setuptools unzip"
|
|
|
|
makedepends="python-devel python3.4-devel"
|
2015-08-27 10:10:10 +02:00
|
|
|
replaces="python-greenlet<0.4.7_1"
|
2015-08-23 00:28:23 +02:00
|
|
|
short_desc="Lightweight in-process concurrent programming (Python2)"
|
2015-08-27 10:10:10 +02:00
|
|
|
_short_desc="${short_desc/Python2/Python3.4}"
|
2015-08-23 00:28:23 +02:00
|
|
|
maintainer="Steve Prybylski <sa.prybylx@gmail.com>"
|
|
|
|
license="MIT"
|
2015-08-27 10:10:10 +02:00
|
|
|
homepage="https://github.com/python-greenlet/greenlet"
|
2015-08-23 00:28:23 +02:00
|
|
|
distfiles="${PYPI_SITE}/g/greenlet/greenlet-${version}.zip"
|
2015-08-31 01:46:16 +02:00
|
|
|
checksum="58b2f3a2e7075c655616bf95e82868db4980f3bb6661db70ad02a51e4ddd2252"
|
2015-08-23 00:28:23 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
|
2015-08-27 10:10:10 +02:00
|
|
|
python-greenlet-devel_package() {
|
|
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/python2.7
|
|
|
|
}
|
|
|
|
}
|
|
|
|
python3.4-greenlet-devel_package() {
|
|
|
|
depends="python3.4-greenlet-${version}_${revision}"
|
|
|
|
short_desc="${_short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include/python3.4m
|
|
|
|
}
|
|
|
|
}
|
2015-08-23 00:28:23 +02:00
|
|
|
python3.4-greenlet_package() {
|
2015-08-27 10:10:10 +02:00
|
|
|
replaces="python3.4-greenlet<0.4.7_1"
|
|
|
|
short_desc="${_short_desc}"
|
2015-08-23 00:28:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/python3.4
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|
|
|
|
}
|