mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
New package: python-toml
Closes #13592. Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
parent
693ff45e48
commit
170338c4c7
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-toml/template
Normal file
31
srcpkgs/python-toml/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-toml'
|
||||
pkgname=python-toml
|
||||
version=0.9.3
|
||||
revision=1
|
||||
noarch=yes
|
||||
wrksrc=toml-$version
|
||||
build_style=python-module
|
||||
pycompile_module="toml"
|
||||
depends="python"
|
||||
hostmakedepends="python-setuptools python3-setuptools \
|
||||
python-devel python3-devel"
|
||||
makedepends="python-devel python3-devel"
|
||||
short_desc="Python2 lib for TOML"
|
||||
maintainer="AcidBear <jake.slazenger@yandex.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/uiri/toml"
|
||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=633a90ecb1f5665b58f0c94153fcf519313ef53e1de0eac90929cd6b6a014235
|
||||
|
||||
pkg_install() {
|
||||
vlicense LICENSE
|
||||
}
|
||||
|
||||
python3-toml_package() {
|
||||
depends="python3"
|
||||
short_desc=${short_desc/Python2/Python3}
|
||||
pkg_install() {
|
||||
vmove /usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-toml
Symbolic link
1
srcpkgs/python3-toml
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-toml
|
Loading…
Add table
Reference in a new issue