python-gevent: drop package
This commit is contained in:
parent
82f1117b2b
commit
bda0fca172
5 changed files with 25 additions and 37 deletions
|
@ -1,36 +0,0 @@
|
||||||
# Template file for 'python-gevent'
|
|
||||||
pkgname=python-gevent
|
|
||||||
version=1.4.0
|
|
||||||
revision=2
|
|
||||||
wrksrc="gevent-${version}"
|
|
||||||
build_style=python-module
|
|
||||||
pycompile_module="gevent"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
|
|
||||||
makedepends="python-devel python3-devel libev-devel c-ares-devel"
|
|
||||||
depends="python-greenlet"
|
|
||||||
short_desc="Coroutine-based Python2 networking library"
|
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
||||||
license="MIT"
|
|
||||||
homepage="http://www.gevent.org/"
|
|
||||||
distfiles="https://github.com/gevent/gevent/archive/${version}.tar.gz"
|
|
||||||
checksum=7dee57c362240b3c15d2f9c50d4b0bb13f4cca25a9fe7adf3ae7c76ddc5e73f4
|
|
||||||
|
|
||||||
export LIBEV_EMBED=0
|
|
||||||
export CARES_EMBED=0
|
|
||||||
|
|
||||||
post_install() {
|
|
||||||
# remove python2/3 compat stuff
|
|
||||||
rm -f ${DESTDIR}/${py2_sitelib}/gevent/_*3.py
|
|
||||||
rm -f ${DESTDIR}/${py3_sitelib}/gevent/_*2.py
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
|
|
||||||
python3-gevent_package() {
|
|
||||||
pycompile_module="gevent"
|
|
||||||
depends="python3-greenlet"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
|
||||||
pkg_install() {
|
|
||||||
vmove usr/lib/python3*
|
|
||||||
vlicense LICENSE
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
python-gevent
|
|
25
srcpkgs/python3-gevent/template
Normal file
25
srcpkgs/python3-gevent/template
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
# Template file for 'python3-gevent'
|
||||||
|
pkgname=python3-gevent
|
||||||
|
version=1.4.0
|
||||||
|
revision=3
|
||||||
|
wrksrc="gevent-${version}"
|
||||||
|
build_style=python3-module
|
||||||
|
hostmakedepends="python3-setuptools python3-Cython"
|
||||||
|
makedepends="python3-devel libev-devel c-ares-devel"
|
||||||
|
depends="python3-greenlet"
|
||||||
|
short_desc="Coroutine-based Python3 networking library"
|
||||||
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
license="MIT"
|
||||||
|
homepage="http://www.gevent.org/"
|
||||||
|
distfiles="https://github.com/gevent/gevent/archive/${version}.tar.gz"
|
||||||
|
checksum=7dee57c362240b3c15d2f9c50d4b0bb13f4cca25a9fe7adf3ae7c76ddc5e73f4
|
||||||
|
|
||||||
|
export LIBEV_EMBED=0
|
||||||
|
export CARES_EMBED=0
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
# remove python2/3 compat stuff
|
||||||
|
rm -f ${DESTDIR}/${py2_sitelib}/gevent/_*3.py
|
||||||
|
rm -f ${DESTDIR}/${py3_sitelib}/gevent/_*2.py
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Reference in a new issue