python-peewee: fix pycompile_module, build C extensions
This commit is contained in:
parent
b167a82d20
commit
ba60bdb505
1 changed files with 5 additions and 6 deletions
|
@ -1,11 +1,12 @@
|
||||||
# Template file for 'python-peewee'
|
# Template file for 'python-peewee'
|
||||||
pkgname=python-peewee
|
pkgname=python-peewee
|
||||||
version=3.3.4
|
version=3.3.4
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="peewee-${version}"
|
wrksrc="peewee-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="peewee"
|
pycompile_module="playhouse peewee.py pwiz.py"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools python-Cython python3-Cython"
|
||||||
|
makedepends="python-devel python3-devel sqlite-devel"
|
||||||
short_desc="Small and simple ORM for Python2"
|
short_desc="Small and simple ORM for Python2"
|
||||||
maintainer="johannes <johannes.brechtmann@gmail.com>"
|
maintainer="johannes <johannes.brechtmann@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
|
@ -13,7 +14,6 @@ homepage="https://github.com/coleifer/peewee"
|
||||||
distfiles="https://github.com/coleifer/peewee/archive/${version}.tar.gz"
|
distfiles="https://github.com/coleifer/peewee/archive/${version}.tar.gz"
|
||||||
checksum=b36f4aec9b29bc97237588534b020a4bc6c401986cc918be731490f28e05764e
|
checksum=b36f4aec9b29bc97237588534b020a4bc6c401986cc918be731490f28e05764e
|
||||||
alternatives="peewee:pwiz:/usr/bin/pwiz.py2"
|
alternatives="peewee:pwiz:/usr/bin/pwiz.py2"
|
||||||
noarch=yes
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
@ -21,8 +21,7 @@ post_install() {
|
||||||
|
|
||||||
python3-peewee_package() {
|
python3-peewee_package() {
|
||||||
alternatives="peewee:pwiz:/usr/bin/pwiz.py3"
|
alternatives="peewee:pwiz:/usr/bin/pwiz.py3"
|
||||||
noarch=yes
|
pycompile_module="playhouse peewee.py pwiz.py"
|
||||||
pycompile_module="peewee"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/*3
|
vmove usr/bin/*3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue