python-peewee: drop package
This commit is contained in:
parent
2cae61c368
commit
54651591f7
3 changed files with 21 additions and 33 deletions
|
@ -1,32 +0,0 @@
|
|||
# Template file for 'python-peewee'
|
||||
pkgname=python-peewee
|
||||
version=3.13.3
|
||||
revision=1
|
||||
wrksrc="peewee-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="playhouse peewee.py pwiz.py"
|
||||
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
|
||||
makedepends="python-devel python3-devel sqlite-devel"
|
||||
short_desc="Small and simple ORM for Python2"
|
||||
maintainer="johannes <johannes.brechtmann@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/coleifer/peewee"
|
||||
changelog="https://raw.githubusercontent.com/coleifer/peewee/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/coleifer/peewee/archive/${version}.tar.gz"
|
||||
checksum=cff86b690a746ac43b998330310a25feb92510662f442383d728927c0d6aea58
|
||||
alternatives="peewee:pwiz:/usr/bin/pwiz.py2"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-peewee_package() {
|
||||
alternatives="peewee:pwiz:/usr/bin/pwiz.py3"
|
||||
pycompile_module="playhouse peewee.py pwiz.py"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/bin/*3
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-peewee
|
21
srcpkgs/python3-peewee/template
Normal file
21
srcpkgs/python3-peewee/template
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Template file for 'python3-peewee'
|
||||
pkgname=python3-peewee
|
||||
version=3.13.3
|
||||
revision=2
|
||||
wrksrc="peewee-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools python3-Cython"
|
||||
makedepends="python3-devel sqlite-devel"
|
||||
short_desc="Small and simple ORM for Python3"
|
||||
maintainer="johannes <johannes.brechtmann@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/coleifer/peewee"
|
||||
changelog="https://raw.githubusercontent.com/coleifer/peewee/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/coleifer/peewee/archive/${version}.tar.gz"
|
||||
checksum=cff86b690a746ac43b998330310a25feb92510662f442383d728927c0d6aea58
|
||||
alternatives="peewee:pwiz:/usr/bin/pwiz.py3"
|
||||
|
||||
post_install() {
|
||||
mv $DESTDIR/usr/bin/pwiz.py $DESTDIR/usr/bin/pwiz.py3
|
||||
vlicense LICENSE
|
||||
}
|
Loading…
Reference in a new issue