From f9c3671266481210ca6fda90cc72e3ea2d951be3 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Thu, 10 Nov 2022 20:30:06 -0500 Subject: [PATCH] python3-gogs-client: rename to python3-gitea-client, update to 1.0.9. --- srcpkgs/python3-gitea-client/template | 26 ++++++++++++++++++++++++++ srcpkgs/python3-gogs-client | 1 + srcpkgs/python3-gogs-client/template | 19 ------------------- 3 files changed, 27 insertions(+), 19 deletions(-) create mode 100644 srcpkgs/python3-gitea-client/template create mode 120000 srcpkgs/python3-gogs-client delete mode 100644 srcpkgs/python3-gogs-client/template diff --git a/srcpkgs/python3-gitea-client/template b/srcpkgs/python3-gitea-client/template new file mode 100644 index 000000000000..318a48591f14 --- /dev/null +++ b/srcpkgs/python3-gitea-client/template @@ -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-future python3-requests python3-attrs" +checkdepends="$depends python3-pytest python3-responses" +short_desc="Python3 library for interacting with a gitea server" +maintainer="Orphaned " +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 -rf ${DESTDIR}/usr/lib/python*/site-packages/tests +} + +python3-gogs-client_package() { + build_style=meta + short_desc+=" (transitional dummy package)" + depends="${sourcepkg}>=${version}_${revision}" +} diff --git a/srcpkgs/python3-gogs-client b/srcpkgs/python3-gogs-client new file mode 120000 index 000000000000..8ec72bd5ac9e --- /dev/null +++ b/srcpkgs/python3-gogs-client @@ -0,0 +1 @@ +python3-gitea-client \ No newline at end of file diff --git a/srcpkgs/python3-gogs-client/template b/srcpkgs/python3-gogs-client/template deleted file mode 100644 index c60515fbcc6e..000000000000 --- a/srcpkgs/python3-gogs-client/template +++ /dev/null @@ -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 " -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 -}