python-gogs-client: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 22:33:00 +07:00
parent 1c4c73a74b
commit aaad63edeb
3 changed files with 20 additions and 34 deletions

View file

@ -1,33 +0,0 @@
# Template file for 'python-gogs-client'
pkgname=python-gogs-client
version=1.0.6
revision=4
archs=noarch
wrksrc="gogs_client-${version}"
build_style=python-module
pycompile_module="gogs_client"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-future python-requests python-attrs"
short_desc="Python2 library for interacting with a gogs server"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
homepage="https://github.com/unfoldingWord-dev/python-gogs-client"
license="MIT"
distfiles="${PYPI_SITE}/g/gogs_client/gogs_client-${version}.tar.gz"
checksum=4bd585ff86f6d70a245cea3b9b9756205bdaa9f512b314c47f715842970b3d3f
post_install() {
vlicense LICENSE.txt
# remove tests directory polluting site-packages
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
}
python3-gogs-client_package() {
archs=noarch
depends="python3-future python3-requests python3-attrs"
pycompile_module="gogs_client"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE.txt
}
}

View file

@ -1 +0,0 @@
python-gogs-client

View file

@ -0,0 +1,20 @@
# Template file for 'python3-gogs-client'
pkgname=python3-gogs-client
version=1.0.6
revision=5
wrksrc="gogs_client-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-future python3-requests python3-attrs"
short_desc="Python3 library for interacting with a gogs server"
maintainer="Joseph LaFreniere <joseph@lafreniere.xyz>"
license="MIT"
homepage="https://github.com/unfoldingWord-dev/python-gogs-client"
distfiles="${PYPI_SITE}/g/gogs_client/gogs_client-${version}.tar.gz"
checksum=4bd585ff86f6d70a245cea3b9b9756205bdaa9f512b314c47f715842970b3d3f
post_install() {
vlicense LICENSE.txt
# remove tests directory polluting site-packages
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/tests
}