From bda0fca17224a99849da4f336e359be261440e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 25 Sep 2020 23:28:15 +0700 Subject: [PATCH] python-gevent: drop package --- srcpkgs/python-gevent/template | 36 ------------------- srcpkgs/python3-gevent | 1 - .../patches/setup_py.patch | 0 srcpkgs/python3-gevent/template | 25 +++++++++++++ .../{python-gevent => python3-gevent}/update | 0 5 files changed, 25 insertions(+), 37 deletions(-) delete mode 100644 srcpkgs/python-gevent/template delete mode 120000 srcpkgs/python3-gevent rename srcpkgs/{python-gevent => python3-gevent}/patches/setup_py.patch (100%) create mode 100644 srcpkgs/python3-gevent/template rename srcpkgs/{python-gevent => python3-gevent}/update (100%) diff --git a/srcpkgs/python-gevent/template b/srcpkgs/python-gevent/template deleted file mode 100644 index 35c76146d5..0000000000 --- a/srcpkgs/python-gevent/template +++ /dev/null @@ -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 " -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 - } -} diff --git a/srcpkgs/python3-gevent b/srcpkgs/python3-gevent deleted file mode 120000 index b3dd9600f1..0000000000 --- a/srcpkgs/python3-gevent +++ /dev/null @@ -1 +0,0 @@ -python-gevent \ No newline at end of file diff --git a/srcpkgs/python-gevent/patches/setup_py.patch b/srcpkgs/python3-gevent/patches/setup_py.patch similarity index 100% rename from srcpkgs/python-gevent/patches/setup_py.patch rename to srcpkgs/python3-gevent/patches/setup_py.patch diff --git a/srcpkgs/python3-gevent/template b/srcpkgs/python3-gevent/template new file mode 100644 index 0000000000..98b67ceb79 --- /dev/null +++ b/srcpkgs/python3-gevent/template @@ -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 " +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 +} diff --git a/srcpkgs/python-gevent/update b/srcpkgs/python3-gevent/update similarity index 100% rename from srcpkgs/python-gevent/update rename to srcpkgs/python3-gevent/update