mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 03:23:50 +02:00
python-logfury: add python3 flavor, fix depends
This commit is contained in:
parent
e753f9ead6
commit
c0e578bcdd
2 changed files with 20 additions and 8 deletions
|
@ -1,16 +1,16 @@
|
||||||
# Template file for 'python-logfury'
|
# Template file for 'python-logfury'
|
||||||
pkgname=python-logfury
|
pkgname=python-logfury
|
||||||
version=0.1.2
|
version=0.1.2
|
||||||
revision=2
|
revision=3
|
||||||
noarch=y
|
noarch=yes
|
||||||
wrksrc="logfury-$version"
|
wrksrc="logfury-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module=logfury
|
pycompile_module="logfury"
|
||||||
hostmakedepends="python python-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-funcsigs"
|
depends="python-six python-funcsigs"
|
||||||
short_desc="Low-boilerplate logging of method calls for python libraries"
|
short_desc="Low-boilerplate logging of method calls (Python2)"
|
||||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="3-clause-BSD"
|
license="BSD-3-Clause"
|
||||||
homepage="https://github.com/ppolewicz/logfury"
|
homepage="https://github.com/ppolewicz/logfury"
|
||||||
distfiles="$homepage/archive/$version.tar.gz"
|
distfiles="$homepage/archive/$version.tar.gz"
|
||||||
checksum=07464a8c1673a6012fee0e7b70b9b12941ede4210ed53e8dcda40433e2ef70fa
|
checksum=07464a8c1673a6012fee0e7b70b9b12941ede4210ed53e8dcda40433e2ef70fa
|
||||||
|
@ -18,3 +18,14 @@ checksum=07464a8c1673a6012fee0e7b70b9b12941ede4210ed53e8dcda40433e2ef70fa
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE.txt
|
vlicense LICENSE.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
python3-logfury_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="logfury"
|
||||||
|
depends="python3-six python3-funcsigs"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense LICENSE.txt
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-logfury
Symbolic link
1
srcpkgs/python3-logfury
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-logfury
|
Loading…
Add table
Reference in a new issue