From 63937ab462e92611789d24600ae375aee3b9c2ac 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:38:08 +0700 Subject: [PATCH] python-filetype: drop package --- srcpkgs/python-filetype/template | 33 ------------------------------- srcpkgs/python3-filetype | 1 - srcpkgs/python3-filetype/template | 20 +++++++++++++++++++ 3 files changed, 20 insertions(+), 34 deletions(-) delete mode 100644 srcpkgs/python-filetype/template delete mode 120000 srcpkgs/python3-filetype create mode 100644 srcpkgs/python3-filetype/template diff --git a/srcpkgs/python-filetype/template b/srcpkgs/python-filetype/template deleted file mode 100644 index 10b974794b5..00000000000 --- a/srcpkgs/python-filetype/template +++ /dev/null @@ -1,33 +0,0 @@ -# Template file for 'python-filetype' -pkgname=python-filetype -version=1.0.5 -revision=2 -archs=noarch -wrksrc="filetype-${version}" -build_style=python-module -pycompile_module="filetype" -hostmakedepends="python-setuptools python3-setuptools" -depends="python" -short_desc="Python2 package to infer file types" -maintainer="xaltsc " -license="MIT" -homepage="https://github.com/h2non/filetype.py" -distfiles="${PYPI_SITE}/f/filetype/filetype-${version}.tar.gz" -checksum=17a3b885f19034da29640b083d767e0f13c2dcb5dcc267945c8b6e5a5a9013c7 - -post_install() { - vlicense LICENSE - rm -rf ${DESTDIR}/${py3_sitelib}/examples - rm -rf ${DESTDIR}/${py2_sitelib}/examples -} - -python3-filetype_package() { - archs=noarch - pycompile_module="filetype" - depends="python3" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - vlicense LICENSE - } -} diff --git a/srcpkgs/python3-filetype b/srcpkgs/python3-filetype deleted file mode 120000 index 334b708d789..00000000000 --- a/srcpkgs/python3-filetype +++ /dev/null @@ -1 +0,0 @@ -python-filetype \ No newline at end of file diff --git a/srcpkgs/python3-filetype/template b/srcpkgs/python3-filetype/template new file mode 100644 index 00000000000..d9fcea8be46 --- /dev/null +++ b/srcpkgs/python3-filetype/template @@ -0,0 +1,20 @@ +# Template file for 'python3-filetype' +pkgname=python3-filetype +version=1.0.5 +revision=3 +wrksrc="filetype-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +short_desc="Python3 package to infer file types" +maintainer="xaltsc " +license="MIT" +homepage="https://github.com/h2non/filetype.py" +distfiles="${PYPI_SITE}/f/filetype/filetype-${version}.tar.gz" +checksum=17a3b885f19034da29640b083d767e0f13c2dcb5dcc267945c8b6e5a5a9013c7 + +post_install() { + vlicense LICENSE + rm -rf ${DESTDIR}/${py3_sitelib}/examples + rm -rf ${DESTDIR}/${py2_sitelib}/examples +}