From 7a2ab7e3b3ae2d529d4b0cd93d112e13662d17b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 30 Sep 2020 22:17:36 +0700 Subject: [PATCH] python-ecdsa: drop package --- srcpkgs/python-ecdsa/template | 34 ---------------------------------- srcpkgs/python3-ecdsa | 1 - srcpkgs/python3-ecdsa/template | 23 +++++++++++++++++++++++ 3 files changed, 23 insertions(+), 35 deletions(-) delete mode 100644 srcpkgs/python-ecdsa/template delete mode 120000 srcpkgs/python3-ecdsa create mode 100644 srcpkgs/python3-ecdsa/template diff --git a/srcpkgs/python-ecdsa/template b/srcpkgs/python-ecdsa/template deleted file mode 100644 index 64d642f26b6..00000000000 --- a/srcpkgs/python-ecdsa/template +++ /dev/null @@ -1,34 +0,0 @@ -# Template file for 'python-ecdsa' -pkgname=python-ecdsa -version=0.14.1 -revision=3 -wrksrc="${pkgname/python-/}-${version}" -build_style=python-module -pycompile_module="ecdsa" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-six" -short_desc="Implementation of ECDSA in Python2" -maintainer="Orphaned " -license="MIT" -homepage="https://github.com/warner/python-ecdsa/" -distfiles="${PYPI_SITE}/e/ecdsa/ecdsa-${version}.tar.gz" -checksum=64c613005f13efec6541bb0a33290d0d03c27abab5f15fbab20fb0ee162bdd8e - -pre_build() { - # use system six - find . -type f -name '*.py' -exec sed -i 's/from \(ecdsa\|\)\.six/from six/g' {} + - rm -f ecdsa/six.py -} -post_install() { - vlicense LICENSE -} - -python3-ecdsa_package() { - depends="python3-six" - pycompile_module="ecdsa" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-ecdsa b/srcpkgs/python3-ecdsa deleted file mode 120000 index 7f15d919f9b..00000000000 --- a/srcpkgs/python3-ecdsa +++ /dev/null @@ -1 +0,0 @@ -python-ecdsa \ No newline at end of file diff --git a/srcpkgs/python3-ecdsa/template b/srcpkgs/python3-ecdsa/template new file mode 100644 index 00000000000..f7482a0a04a --- /dev/null +++ b/srcpkgs/python3-ecdsa/template @@ -0,0 +1,23 @@ +# Template file for 'python3-ecdsa' +pkgname=python3-ecdsa +version=0.14.1 +revision=4 +wrksrc="ecdsa-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-six" +short_desc="Implementation of ECDSA in Python3" +maintainer="Orphaned " +license="MIT" +homepage="https://github.com/warner/python-ecdsa/" +distfiles="${PYPI_SITE}/e/ecdsa/ecdsa-${version}.tar.gz" +checksum=64c613005f13efec6541bb0a33290d0d03c27abab5f15fbab20fb0ee162bdd8e + +pre_build() { + # use system six + find . -type f -name '*.py' -exec sed -i 's/from \(ecdsa\|\)\.six/from six/g' {} + + rm -f ecdsa/six.py +} +post_install() { + vlicense LICENSE +}