python3-gogs-client: rename to python3-gitea-client, update to 1.0.9.

This commit is contained in:
Joel Beckmeyer 2022-11-10 20:30:06 -05:00 committed by Michal Vasilek
parent b5cacd4921
commit b99ea66f26
3 changed files with 27 additions and 19 deletions

View file

@ -0,0 +1,26 @@
# Template file for 'python3-gitea-client'
pkgname=python3-gitea-client
version=1.0.9
revision=1
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-attrs python3-future python3-requests python3-responses"
checkdepends="$depends python3-pytest"
short_desc="Python3 library for interacting with a gitea server"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/unfoldingWord-dev/python-gitea-client"
distfiles="${PYPI_SITE}/g/gitea_client/gitea_client-${version}.tar.gz"
checksum=6114e81bcec638f089dd84e374fe0c57981ec550386f7ba5aa1343409cfe7a18
post_install() {
vlicense LICENSE.txt
# remove tests directory polluting site-packages
rm -r ${DESTDIR}/usr/lib/python*/site-packages/tests
}
python3-gogs-client_package() {
build_style=meta
short_desc+=" (transitional dummy package)"
depends="${sourcepkg}>=${version}_${revision}"
}

1
srcpkgs/python3-gogs-client Symbolic link
View file

@ -0,0 +1 @@
python3-gitea-client

View file

@ -1,19 +0,0 @@
# Template file for 'python3-gogs-client'
pkgname=python3-gogs-client
version=1.0.6
revision=8
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="Orphaned <orphan@voidlinux.org>"
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
}