From 29f61ea963029f6faa92b788f3758a0f3a4d0697 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 16:21:19 +0700 Subject: [PATCH] python-testpath: drop package --- srcpkgs/python-testpath/template | 34 ------------------------------- srcpkgs/python3-testpath | 1 - srcpkgs/python3-testpath/template | 21 +++++++++++++++++++ 3 files changed, 21 insertions(+), 35 deletions(-) delete mode 100644 srcpkgs/python-testpath/template delete mode 120000 srcpkgs/python3-testpath create mode 100644 srcpkgs/python3-testpath/template diff --git a/srcpkgs/python-testpath/template b/srcpkgs/python-testpath/template deleted file mode 100644 index abfc59900c0..00000000000 --- a/srcpkgs/python-testpath/template +++ /dev/null @@ -1,34 +0,0 @@ -# Template file for 'python-testpath' -pkgname=python-testpath -version=0.4.2 -revision=2 -archs=noarch -wrksrc="testpath-${version}" -build_style=python-module -pycompile_module="testpath" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Test utilities for code working with files and commands (Python2)" -maintainer="Alessio Sergi " -homepage="https://github.com/jupyter/testpath" -license="BSD-3-Clause" -distfiles="${PYPI_SITE}/t/testpath/testpath-${version}.tar.gz" -checksum=b694b3d9288dbd81685c5d2e7140b81365d46c29f5db4bc659de5aa6b98780f8 - -pre_build() { - rm -f testpath/cli-*.exe -} -post_install() { - vlicense LICENSE -} - -python3-testpath_package() { - archs=noarch - depends="python3" - pycompile_module="testpath" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-testpath b/srcpkgs/python3-testpath deleted file mode 120000 index 51899d175b6..00000000000 --- a/srcpkgs/python3-testpath +++ /dev/null @@ -1 +0,0 @@ -python-testpath \ No newline at end of file diff --git a/srcpkgs/python3-testpath/template b/srcpkgs/python3-testpath/template new file mode 100644 index 00000000000..26499eefae9 --- /dev/null +++ b/srcpkgs/python3-testpath/template @@ -0,0 +1,21 @@ +# Template file for 'python3-testpath' +pkgname=python3-testpath +version=0.4.2 +revision=3 +wrksrc="testpath-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Test utilities for code working with files and commands (Python3)" +maintainer="Orphaned " +license="BSD-3-Clause" +homepage="https://github.com/jupyter/testpath" +distfiles="${PYPI_SITE}/t/testpath/testpath-${version}.tar.gz" +checksum=b694b3d9288dbd81685c5d2e7140b81365d46c29f5db4bc659de5aa6b98780f8 + +pre_build() { + rm -f testpath/cli-*.exe +} +post_install() { + vlicense LICENSE +}