From 0d8a91587adef9d32bf28d32f5e3ab4b5b3f9822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 25 Sep 2020 23:21:24 +0700 Subject: [PATCH] python-dulwich: drop package --- srcpkgs/python-dulwich/template | 45 -------------------------------- srcpkgs/python3-dulwich | 1 - srcpkgs/python3-dulwich/template | 27 +++++++++++++++++++ 3 files changed, 27 insertions(+), 46 deletions(-) delete mode 100644 srcpkgs/python-dulwich/template delete mode 120000 srcpkgs/python3-dulwich create mode 100644 srcpkgs/python3-dulwich/template diff --git a/srcpkgs/python-dulwich/template b/srcpkgs/python-dulwich/template deleted file mode 100644 index 3dff6ea6f02..00000000000 --- a/srcpkgs/python-dulwich/template +++ /dev/null @@ -1,45 +0,0 @@ -# Template file for 'python-dulwich' -pkgname=python-dulwich -version=0.19.14 -revision=2 -wrksrc="dulwich-${version}" -build_style=python-module -pycompile_module="dulwich" -hostmakedepends="python-setuptools python3-setuptools" -makedepends="python-devel python3-devel" -depends="python-urllib3" -checkdepends="python3-gevent python3-pbr python3-greenlet" -short_desc="Python2 implementation of the Git file formats and protocols" -maintainer="Orphaned " -license="GPL-2.0-or-later, Apache-2.0" -homepage="https://www.dulwich.io/" -distfiles="${PYPI_SITE}/d/dulwich/dulwich-${version}.tar.gz" -checksum=d1320232c859ab086fff79eee8fa6ddbcbcbe01ff0c64c9bed48eca470b00b46 - -alternatives=" - dulwich:dul-receive-pack:/usr/bin/dul-receive-pack2 - dulwich:dul-upload-pack:/usr/bin/dul-upload-pack2 - dulwich:dulwich:/usr/bin/dulwich2" - -do_check() { - python3 setup.py test -} - -post_install() { - # remove extra docs - rm -rf ${DESTDIR}/usr/lib/python*/site-packages/docs -} - -python3-dulwich_package() { - alternatives=" - dulwich:dul-receive-pack:/usr/bin/dul-receive-pack3 - dulwich:dul-upload-pack:/usr/bin/dul-upload-pack3 - dulwich:dulwich:/usr/bin/dulwich3" - pycompile_module="dulwich" - depends="python3-urllib3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-dulwich b/srcpkgs/python3-dulwich deleted file mode 120000 index f9db7256ef8..00000000000 --- a/srcpkgs/python3-dulwich +++ /dev/null @@ -1 +0,0 @@ -python-dulwich \ No newline at end of file diff --git a/srcpkgs/python3-dulwich/template b/srcpkgs/python3-dulwich/template new file mode 100644 index 00000000000..438c8f56db6 --- /dev/null +++ b/srcpkgs/python3-dulwich/template @@ -0,0 +1,27 @@ +# Template file for 'python3-dulwich' +pkgname=python3-dulwich +version=0.19.14 +revision=3 +wrksrc="dulwich-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +makedepends="python3-devel" +depends="python3-urllib3" +checkdepends="python3-gevent python3-pbr python3-greenlet" +short_desc="Python3 implementation of the Git file formats and protocols" +maintainer="Orphaned " +license="GPL-2.0-or-later, Apache-2.0" +homepage="https://www.dulwich.io/" +distfiles="${PYPI_SITE}/d/dulwich/dulwich-${version}.tar.gz" +checksum=d1320232c859ab086fff79eee8fa6ddbcbcbe01ff0c64c9bed48eca470b00b46 + +conflicts="python-dulwich>=0" + +do_check() { + python3 setup.py test +} + +post_install() { + # remove extra docs + rm -rf ${DESTDIR}/usr/lib/python*/site-packages/docs +}