From aaad63edeb34c0fef22ddf42d7b6eb04065246c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 20 Sep 2020 22:33:00 +0700 Subject: [PATCH] python-gogs-client: drop package --- srcpkgs/python-gogs-client/template | 33 ---------------------------- srcpkgs/python3-gogs-client | 1 - srcpkgs/python3-gogs-client/template | 20 +++++++++++++++++ 3 files changed, 20 insertions(+), 34 deletions(-) delete mode 100644 srcpkgs/python-gogs-client/template delete mode 120000 srcpkgs/python3-gogs-client create mode 100644 srcpkgs/python3-gogs-client/template diff --git a/srcpkgs/python-gogs-client/template b/srcpkgs/python-gogs-client/template deleted file mode 100644 index 027135d430c..00000000000 --- a/srcpkgs/python-gogs-client/template +++ /dev/null @@ -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 " -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 - } -} diff --git a/srcpkgs/python3-gogs-client b/srcpkgs/python3-gogs-client deleted file mode 120000 index 24a119bfc28..00000000000 --- a/srcpkgs/python3-gogs-client +++ /dev/null @@ -1 +0,0 @@ -python-gogs-client \ No newline at end of file diff --git a/srcpkgs/python3-gogs-client/template b/srcpkgs/python3-gogs-client/template new file mode 100644 index 00000000000..ce29cc9dced --- /dev/null +++ b/srcpkgs/python3-gogs-client/template @@ -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 " +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 +}