From b8a6c55a3e4164e0849006bb749900ef0e6ce43c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 16:55:02 +0700 Subject: [PATCH] python-tornado: drop package --- srcpkgs/python-tornado/template | 30 ------------------- srcpkgs/python3-tornado | 1 - srcpkgs/python3-tornado/template | 20 +++++++++++++ .../update | 0 4 files changed, 20 insertions(+), 31 deletions(-) delete mode 100644 srcpkgs/python-tornado/template delete mode 120000 srcpkgs/python3-tornado create mode 100644 srcpkgs/python3-tornado/template rename srcpkgs/{python-tornado => python3-tornado}/update (100%) diff --git a/srcpkgs/python-tornado/template b/srcpkgs/python-tornado/template deleted file mode 100644 index bd558d251f5..00000000000 --- a/srcpkgs/python-tornado/template +++ /dev/null @@ -1,30 +0,0 @@ -# Template file for 'python-tornado' -pkgname=python-tornado -version=5.1.1 -revision=2 -wrksrc="tornado-${version}" -build_style=python-module -pycompile_module="tornado" -hostmakedepends="python-setuptools python3-setuptools" -makedepends="python-devel python3-devel" -depends="ca-certificates python-singledispatch python-backports_abc" -short_desc="Python2 web framework and asynchronous networking library" -maintainer="Alessio Sergi " -license="Apache-2.0" -homepage="http://www.tornadoweb.org/" -distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz" -checksum=4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409 - -pre_build() { - # use system ca-certificates - sed -i "/install_requires.append('certifi')/d" setup.py -} - -python3-tornado_package() { - pycompile_module="tornado" - depends="ca-certificates" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-tornado b/srcpkgs/python3-tornado deleted file mode 120000 index 3b643ca3cb1..00000000000 --- a/srcpkgs/python3-tornado +++ /dev/null @@ -1 +0,0 @@ -python-tornado \ No newline at end of file diff --git a/srcpkgs/python3-tornado/template b/srcpkgs/python3-tornado/template new file mode 100644 index 00000000000..a333121713e --- /dev/null +++ b/srcpkgs/python3-tornado/template @@ -0,0 +1,20 @@ +# Template file for 'python3-tornado' +pkgname=python3-tornado +version=5.1.1 +revision=2 +wrksrc="tornado-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +depends="ca-certificates" +short_desc="Python3 web framework and asynchronous networking library" +maintainer="Orphaned " +license="Apache-2.0" +homepage="http://www.tornadoweb.org/" +distfiles="${PYPI_SITE}/t/tornado/tornado-${version}.tar.gz" +checksum=4e5158d97583502a7e2739951553cbd88a72076f152b4b11b64b9a10c4c49409 + +pre_build() { + # use system ca-certificates + sed -i "/install_requires.append('certifi')/d" setup.py +} diff --git a/srcpkgs/python-tornado/update b/srcpkgs/python3-tornado/update similarity index 100% rename from srcpkgs/python-tornado/update rename to srcpkgs/python3-tornado/update