diff --git a/srcpkgs/python-ecdsa/template b/srcpkgs/python-ecdsa/template deleted file mode 100644 index 64d642f26b..0000000000 --- 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 7f15d919f9..0000000000 --- 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 0000000000..f7482a0a04 --- /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 +}