python-ecdsa: drop package
This commit is contained in:
parent
37295ffd54
commit
7a2ab7e3b3
|
@ -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 <orphan@voidlinux.org>"
|
||||
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
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-ecdsa
|
|
@ -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 <orphan@voidlinux.org>"
|
||||
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
|
||||
}
|
Loading…
Reference in New Issue