From 1419c39e432207d17759a35f68985b40e9235d07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Mon, 28 Sep 2020 22:45:13 +0700 Subject: [PATCH] python-mechanize: drop package --- srcpkgs/python-mechanize/template | 29 ----------------------------- srcpkgs/python3-mechanize | 1 - srcpkgs/python3-mechanize/template | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+), 30 deletions(-) delete mode 100644 srcpkgs/python-mechanize/template delete mode 120000 srcpkgs/python3-mechanize create mode 100644 srcpkgs/python3-mechanize/template diff --git a/srcpkgs/python-mechanize/template b/srcpkgs/python-mechanize/template deleted file mode 100644 index 260ef70ebb2..00000000000 --- a/srcpkgs/python-mechanize/template +++ /dev/null @@ -1,29 +0,0 @@ -# Template file for 'python-mechanize' -pkgname=python-mechanize -version=0.4.3 -revision=4 -wrksrc="mechanize-${version}" -build_style=python-module -pycompile_module="mechanize" -hostmakedepends="python-setuptools python3-setuptools" -depends="python python-html5lib" -short_desc="Stateful programmatic web browsing (Python2)" -maintainer="Farhad Shahbazi " -license="BSD-3-Clause" -homepage="https://github.com/python-mechanize/mechanize" -distfiles="https://github.com/python-mechanize/mechanize/archive/v${version}.tar.gz" -checksum=7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c - -post_install() { - vlicense LICENSE -} - -python3-mechanize_package() { - depends="python3 python3-html5lib" - pycompile_module="mechanize" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-mechanize b/srcpkgs/python3-mechanize deleted file mode 120000 index e96661e4701..00000000000 --- a/srcpkgs/python3-mechanize +++ /dev/null @@ -1 +0,0 @@ -python-mechanize \ No newline at end of file diff --git a/srcpkgs/python3-mechanize/template b/srcpkgs/python3-mechanize/template new file mode 100644 index 00000000000..d6b8f7d764d --- /dev/null +++ b/srcpkgs/python3-mechanize/template @@ -0,0 +1,19 @@ +# Template file for 'python3-mechanize' +pkgname=python3-mechanize +version=0.4.3 +revision=5 +wrksrc="mechanize-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3 python3-html5lib" +checkdepends="$depends" +short_desc="Stateful programmatic web browsing (Python3)" +maintainer="Farhad Shahbazi " +license="BSD-3-Clause" +homepage="https://github.com/python-mechanize/mechanize" +distfiles="https://github.com/python-mechanize/mechanize/archive/v${version}.tar.gz" +checksum=7c452a3eed7f83a13674027a58a4afe57ca67630d252a789ac1c15dcd55d310c + +post_install() { + vlicense LICENSE +}