From 64fd5fd3bf1bbcb73b0d2c01bf562f7412c635d5 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 13:17:57 +0700 Subject: [PATCH] python-yamllint: drop package --- srcpkgs/python-yamllint/template | 34 ------------------------------- srcpkgs/python3-yamllint | 1 - srcpkgs/python3-yamllint/template | 20 ++++++++++++++++++ 3 files changed, 20 insertions(+), 35 deletions(-) delete mode 100644 srcpkgs/python-yamllint/template delete mode 120000 srcpkgs/python3-yamllint create mode 100644 srcpkgs/python3-yamllint/template diff --git a/srcpkgs/python-yamllint/template b/srcpkgs/python-yamllint/template deleted file mode 100644 index d0b51ba637a..00000000000 --- a/srcpkgs/python-yamllint/template +++ /dev/null @@ -1,34 +0,0 @@ -# Template file for 'python-yamllint' -pkgname=python-yamllint -version=1.15.0 -revision=2 -archs=noarch -wrksrc="yamllint-${version}" -build_style=python-module -pycompile_module="yamllint" -hostmakedepends="python-setuptools python3-setuptools" -depends="python-pathspec python-setuptools python-yaml" -checkdepends="python3-pathspec python3-yaml" -short_desc="Python2 linter for YAML files" -maintainer="Joseph LaFreniere " -license="GPL-3.0-or-later" -homepage="https://github.com/adrienverge/yamllint" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a -alternatives="yamllint:yamllint:/usr/bin/yamllint2" - -do_check() { - python3 setup.py test -} - -python3-yamllint_package() { - archs=noarch - depends="python3-pathspec python3-setuptools python3-yaml" - pycompile_module="yamllint" - short_desc="${short_desc/Python2/Python3}" - alternatives="yamllint:yamllint:/usr/bin/yamllint3" - pkg_install() { - vmove usr/bin/*3 - vmove usr/lib/python3* - } -} diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint deleted file mode 120000 index 9ac95fe79f9..00000000000 --- a/srcpkgs/python3-yamllint +++ /dev/null @@ -1 +0,0 @@ -python-yamllint \ No newline at end of file diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template new file mode 100644 index 00000000000..02ed9302afa --- /dev/null +++ b/srcpkgs/python3-yamllint/template @@ -0,0 +1,20 @@ +# Template file for 'python3-yamllint' +pkgname=python3-yamllint +version=1.15.0 +revision=3 +wrksrc="yamllint-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-pathspec python3-setuptools python3-yaml" +checkdepends="python3-pathspec python3-yaml" +short_desc="Python3 linter for YAML files" +maintainer="Joseph LaFreniere " +license="GPL-3.0-or-later" +homepage="https://github.com/adrienverge/yamllint" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=9c27608ec61777f83c2cb29158b247a02079ad2aebb86522dd941397e3e78f6a +conflicts="python-yamllint>=0" + +do_check() { + python3 setup.py test +}