python-texttable: drop package
This commit is contained in:
parent
0540ddd645
commit
4a7f39e388
3 changed files with 19 additions and 32 deletions
|
@ -1,31 +0,0 @@
|
|||
# Template file for 'python-texttable'
|
||||
pkgname=python-texttable
|
||||
version=1.6.1
|
||||
revision=2
|
||||
archs=noarch
|
||||
wrksrc="texttable-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="texttable.py"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
checkdepends="python3-pytest"
|
||||
short_desc="Python2 module for creating simple ASCII tables"
|
||||
maintainer="Sergi Alvarez <pancake@nopcode.org>"
|
||||
license="LGPL-3.0-or-later"
|
||||
homepage="https://github.com/foutaise/texttable/"
|
||||
distfiles="${PYPI_SITE}/t/texttable/texttable-${version}.tar.gz"
|
||||
checksum=2b60a5304ccfbeac80ffae7350d7c2f5d7a24e9aab5036d0f82489746419d9b2
|
||||
|
||||
do_check() {
|
||||
pytest3 tests.py
|
||||
}
|
||||
|
||||
python3-texttable_package() {
|
||||
archs=noarch
|
||||
depends="python3"
|
||||
pycompile_module="texttable.py"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-texttable
|
19
srcpkgs/python3-texttable/template
Normal file
19
srcpkgs/python3-texttable/template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'python3-texttable'
|
||||
pkgname=python3-texttable
|
||||
version=1.6.1
|
||||
revision=3
|
||||
wrksrc="texttable-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3"
|
||||
checkdepends="python3-pytest"
|
||||
short_desc="Python3 module for creating simple ASCII tables"
|
||||
maintainer="Sergi Alvarez <pancake@nopcode.org>"
|
||||
license="LGPL-3.0-or-later"
|
||||
homepage="https://github.com/foutaise/texttable/"
|
||||
distfiles="${PYPI_SITE}/t/texttable/texttable-${version}.tar.gz"
|
||||
checksum=2b60a5304ccfbeac80ffae7350d7c2f5d7a24e9aab5036d0f82489746419d9b2
|
||||
|
||||
do_check() {
|
||||
pytest3 tests.py
|
||||
}
|
Loading…
Reference in a new issue