python-docopt: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:52:45 +07:00
parent 9a291a279a
commit 6ba676fbc0
3 changed files with 18 additions and 32 deletions

View file

@ -1,31 +0,0 @@
# Template file for 'python-docopt'
pkgname=python-docopt
version=0.6.2
revision=5
archs=noarch
wrksrc="docopt-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
pycompile_module="docopt.py"
short_desc="Pythonic argument parser, that will make you smile (Python2)"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
homepage="http://docopt.org/"
license="MIT"
distfiles="${PYPI_SITE}/d/docopt/docopt-${version}.tar.gz"
checksum=49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491
post_install() {
vlicense LICENSE-MIT
}
python3-docopt_package() {
archs=noarch
depends="python3"
pycompile_module="docopt.py"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE-MIT
}
}

View file

@ -1 +0,0 @@
python-docopt

View file

@ -0,0 +1,18 @@
# Template file for 'python3-docopt'
pkgname=python3-docopt
version=0.6.2
revision=6
wrksrc="docopt-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Pythonic argument parser, that will make you smile (Python3)"
maintainer="Sergi Alvarez <pancake@nopcode.org>"
license="MIT"
homepage="http://docopt.org/"
distfiles="${PYPI_SITE}/d/docopt/docopt-${version}.tar.gz"
checksum=49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491
post_install() {
vlicense LICENSE-MIT
}