From 79b670d916c3242662dcc1961fa0a455509d6545 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:31:23 +0700 Subject: [PATCH] python-httmock: drop package --- srcpkgs/python-httmock/template | 31 ------------------------------- srcpkgs/python3-httmock | 1 - srcpkgs/python3-httmock/template | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-httmock/template delete mode 120000 srcpkgs/python3-httmock create mode 100644 srcpkgs/python3-httmock/template diff --git a/srcpkgs/python-httmock/template b/srcpkgs/python-httmock/template deleted file mode 100644 index e798b4fc1b3..00000000000 --- a/srcpkgs/python-httmock/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-httmock' -pkgname=python-httmock -version=1.3.0 -revision=2 -archs=noarch -wrksrc="httmock-${version}" -build_style=python-module -pycompile_module="httmock.py" -hostmakedepends="python3-setuptools python-setuptools" -depends="python-requests" -checkdepends="python3-requests" -short_desc="Mocking library for requests (Python2)" -maintainer="Orphaned " -license="Apache-2.0" -homepage="https://github.com/patrys/httmock" -distfiles="https://github.com/patrys/httmock/archive/${version}.tar.gz" -checksum=4716729f0d07f3f6043dde43545a5381c4c6031a62e9dc9eed21e73c63d86722 - -do_check() { - python3 setup.py test -} - -python3-httmock_package() { - archs=noarch - pycompile_module="httmock.py" - depends="python3-requests" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-httmock b/srcpkgs/python3-httmock deleted file mode 120000 index cb20ded1289..00000000000 --- a/srcpkgs/python3-httmock +++ /dev/null @@ -1 +0,0 @@ -python-httmock \ No newline at end of file diff --git a/srcpkgs/python3-httmock/template b/srcpkgs/python3-httmock/template new file mode 100644 index 00000000000..7c8195dd3f8 --- /dev/null +++ b/srcpkgs/python3-httmock/template @@ -0,0 +1,19 @@ +# Template file for 'python3-httmock' +pkgname=python3-httmock +version=1.3.0 +revision=3 +wrksrc="httmock-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-requests" +checkdepends="python3-requests" +short_desc="Mocking library for requests (Python3)" +maintainer="Orphaned " +license="Apache-2.0" +homepage="https://github.com/patrys/httmock" +distfiles="https://github.com/patrys/httmock/archive/${version}.tar.gz" +checksum=4716729f0d07f3f6043dde43545a5381c4c6031a62e9dc9eed21e73c63d86722 + +do_check() { + python3 setup.py test +}