From ea62f69963991942f821e956fba08f09556747fa 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:56:16 +0700 Subject: [PATCH] python-cssutils: drop package --- srcpkgs/python-cssutils/template | 36 ------------------------------- srcpkgs/python3-cssutils | 1 - srcpkgs/python3-cssutils/template | 17 +++++++++++++++ 3 files changed, 17 insertions(+), 37 deletions(-) delete mode 100644 srcpkgs/python-cssutils/template delete mode 120000 srcpkgs/python3-cssutils create mode 100644 srcpkgs/python3-cssutils/template diff --git a/srcpkgs/python-cssutils/template b/srcpkgs/python-cssutils/template deleted file mode 100644 index 5f08903b9a..0000000000 --- a/srcpkgs/python-cssutils/template +++ /dev/null @@ -1,36 +0,0 @@ -# Template file for 'python-cssutils' -pkgname=python-cssutils -version=1.0.2 -revision=3 -archs=noarch -wrksrc="cssutils-${version}" -build_style=python-module -hostmakedepends="python-setuptools python3-setuptools" -depends="python-setuptools" -pycompile_module="cssutils encutils" -short_desc="A CSS Cascading Style Sheets library for Python2" -maintainer="Farhad Shahbazi " -license="LGPL-3" -homepage="https://pypi.org/project/cssutils/" -distfiles="${PYPI_SITE}/c/cssutils/cssutils-${version}.tar.gz" -checksum=a2fcf06467553038e98fea9cfe36af2bf14063eb147a70958cfcaa8f5786acaf - -alternatives=" - cssutils:csscapture:/usr/bin/csscapture2 - cssutils:csscombine:/usr/bin/csscombine2 - cssutils:cssparse:/usr/bin/cssparse2" - -python3-cssutils_package() { - alternatives=" - cssutils:csscapture:/usr/bin/csscapture3 - cssutils:csscombine:/usr/bin/csscombine3 - cssutils:cssparse:/usr/bin/cssparse3" - archs=noarch - pycompile_module="cssutils encutils" - depends="python3-setuptools" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-cssutils b/srcpkgs/python3-cssutils deleted file mode 120000 index 137f7b229a..0000000000 --- a/srcpkgs/python3-cssutils +++ /dev/null @@ -1 +0,0 @@ -python-cssutils \ No newline at end of file diff --git a/srcpkgs/python3-cssutils/template b/srcpkgs/python3-cssutils/template new file mode 100644 index 0000000000..7ed166c2b0 --- /dev/null +++ b/srcpkgs/python3-cssutils/template @@ -0,0 +1,17 @@ +# Template file for 'python3-cssutils' +pkgname=python3-cssutils +version=1.0.2 +revision=4 +wrksrc="cssutils-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-setuptools" +short_desc="CSS Cascading Style Sheets library for Python3" +maintainer="Farhad Shahbazi " +# source files write 3.0-or-later, PKG-INFO writes 2.1 +license="LGPL-3.0-or-later" +homepage="https://pypi.org/project/cssutils/" +distfiles="${PYPI_SITE}/c/cssutils/cssutils-${version}.tar.gz" +checksum=a2fcf06467553038e98fea9cfe36af2bf14063eb147a70958cfcaa8f5786acaf + +conflicts="python-cssutils>=0"