From 0cbf6d7f56dc3b127d8ed46b5d341ce0b42d9eb2 Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Fri, 20 Dec 2019 12:47:59 -0500 Subject: [PATCH] python3-cachetools: update to 4.0.0. Upstream has dropped support for Python2. --- srcpkgs/python-cachetools/template | 31 ----------------------------- srcpkgs/python3-cachetools | 1 - srcpkgs/python3-cachetools/template | 19 ++++++++++++++++++ 3 files changed, 19 insertions(+), 32 deletions(-) delete mode 100644 srcpkgs/python-cachetools/template delete mode 120000 srcpkgs/python3-cachetools create mode 100644 srcpkgs/python3-cachetools/template diff --git a/srcpkgs/python-cachetools/template b/srcpkgs/python-cachetools/template deleted file mode 100644 index 0f2fdcaed32..00000000000 --- a/srcpkgs/python-cachetools/template +++ /dev/null @@ -1,31 +0,0 @@ -# Template file for 'python-cachetools' -pkgname=python-cachetools -version=3.1.1 -revision=2 -archs=noarch -wrksrc="cachetools-${version}" -build_style=python-module -pycompile_module="cachetools" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Python2 extensible memoizing collections and decorators" -maintainer="Peter Bui " -license="MIT" -homepage="https://github.com/tkem/cachetools/" -distfiles="${PYPI_SITE}/c/cachetools/cachetools-${version}.tar.gz" -checksum=8ea2d3ce97850f31e4a08b0e2b5e6c34997d7216a9d2c98e0f3978630d4da69a - -post_install() { - vlicense LICENSE -} - -python3-cachetools_package() { - archs=noarch - depends="python3" - pycompile_module="cachetools" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-cachetools b/srcpkgs/python3-cachetools deleted file mode 120000 index 0c44f6208d1..00000000000 --- a/srcpkgs/python3-cachetools +++ /dev/null @@ -1 +0,0 @@ -python-cachetools \ No newline at end of file diff --git a/srcpkgs/python3-cachetools/template b/srcpkgs/python3-cachetools/template new file mode 100644 index 00000000000..c08c3cfe7f2 --- /dev/null +++ b/srcpkgs/python3-cachetools/template @@ -0,0 +1,19 @@ +# Template file for 'python3-cachetools' +pkgname=python3-cachetools +version=4.0.0 +revision=1 +archs=noarch +wrksrc="cachetools-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python3 extensible memoizing collections and decorators" +maintainer="Peter Bui " +license="MIT" +homepage="https://github.com/tkem/cachetools/" +distfiles="${PYPI_SITE}/c/cachetools/cachetools-${version}.tar.gz" +checksum=9a52dd97a85f257f4e4127f15818e71a0c7899f121b34591fcc1173ea79a0198 + +post_install() { + vlicense LICENSE +}