python-mygpoclient: drop package
This commit is contained in:
parent
ef358cbbc6
commit
97345cde55
3 changed files with 19 additions and 40 deletions
|
@ -1,39 +0,0 @@
|
|||
# Template file for 'python-mygpoclient'
|
||||
pkgname=python-mygpoclient
|
||||
version=1.8
|
||||
revision=3
|
||||
archs=noarch
|
||||
wrksrc="mygpoclient-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="mygpoclient"
|
||||
hostmakedepends="python-devel python3-devel"
|
||||
depends="python"
|
||||
short_desc="Client Library for gpodder.net (Python2)"
|
||||
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/gpodder/mygpoclient"
|
||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=65fcb3ab220a2ba2d32a77f969b423a2f663413b6c485b7b02e5a955b28e68d2
|
||||
alternatives="
|
||||
mygpoclient:mygpo-bpsync:/usr/bin/mygpo-bpsync2
|
||||
mygpoclient:mygpo-list-devices:/usr/bin/mygpo-list-devices2
|
||||
mygpoclient:mygpo-simple-client:/usr/bin/mygpo-simple-client2"
|
||||
|
||||
pre_build() {
|
||||
sed -i '/share\/man\/man1/d' setup.py
|
||||
}
|
||||
|
||||
python3-mygpoclient_package() {
|
||||
alternatives="
|
||||
mygpoclient:mygpo-bpsync:/usr/bin/mygpo-bpsync3
|
||||
mygpoclient:mygpo-list-devices:/usr/bin/mygpo-list-devices3
|
||||
mygpoclient:mygpo-simple-client:/usr/bin/mygpo-simple-client3"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pycompile_module="mygpoclient"
|
||||
archs=noarch
|
||||
depends="python3"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vmove usr/bin/mygpo-*3
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-mygpoclient
|
19
srcpkgs/python3-mygpoclient/template
Normal file
19
srcpkgs/python3-mygpoclient/template
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Template file for 'python3-mygpoclient'
|
||||
pkgname=python3-mygpoclient
|
||||
version=1.8
|
||||
revision=4
|
||||
wrksrc="mygpoclient-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-devel"
|
||||
depends="python3"
|
||||
short_desc="Client Library for gpodder.net (Python3)"
|
||||
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/gpodder/mygpoclient"
|
||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=65fcb3ab220a2ba2d32a77f969b423a2f663413b6c485b7b02e5a955b28e68d2
|
||||
conflicts="python-mygpoclient>=0"
|
||||
|
||||
pre_build() {
|
||||
sed -i '/share\/man\/man1/d' setup.py
|
||||
}
|
Loading…
Reference in a new issue