python-toml: noarch=yes, fix pycompile_module
This commit is contained in:
parent
d3a24149a0
commit
b167a82d20
1 changed files with 8 additions and 8 deletions
|
@ -1,16 +1,14 @@
|
|||
# Template file for 'python-toml'
|
||||
pkgname=python-toml
|
||||
version=0.9.3
|
||||
revision=1
|
||||
revision=2
|
||||
noarch=yes
|
||||
wrksrc=toml-$version
|
||||
wrksrc="toml-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="toml"
|
||||
pycompile_module="toml.py"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python"
|
||||
hostmakedepends="python-setuptools python3-setuptools \
|
||||
python-devel python3-devel"
|
||||
makedepends="python-devel python3-devel"
|
||||
short_desc="Python2 lib for TOML"
|
||||
short_desc="Python2 library for TOML"
|
||||
maintainer="AcidBear <jake.slazenger@yandex.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/uiri/toml"
|
||||
|
@ -22,10 +20,12 @@ pkg_install() {
|
|||
}
|
||||
|
||||
python3-toml_package() {
|
||||
noarch=yes
|
||||
depends="python3"
|
||||
pycompile_module="toml.py"
|
||||
short_desc=${short_desc/Python2/Python3}
|
||||
pkg_install() {
|
||||
vmove /usr/lib/python3*
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue