From 5f01254794a23f5de4b1d66a22968be5f77aa714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:35:13 +0200 Subject: [PATCH 1/7] New package: python3-enrich-1.2.6 --- srcpkgs/python3-enrich/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-enrich/template diff --git a/srcpkgs/python3-enrich/template b/srcpkgs/python3-enrich/template new file mode 100644 index 000000000000..b47364a6daf6 --- /dev/null +++ b/srcpkgs/python3-enrich/template @@ -0,0 +1,18 @@ +# Template file for 'python3-enrich' +pkgname=python3-enrich +version=1.2.6 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +hostmakedepends="python3-pip" +depends="python3-rich" +short_desc="Extended variant of the rich library for python" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/pycontribs/enrich" +distfiles="${PYPI_SITE}/e/enrich/enrich-${version}.tar.gz" +checksum=0e99ff57d87f7b5def0ca79917e88fb9351aa0d52e228ee38bff7cd858315fe4 + +post_install() { + vlicense LICENSE +} From a7c70fbdfb3ceca22e818d87d0490ec24dc21811 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:35:21 +0200 Subject: [PATCH 2/7] New package: python3-bracex-2.1.1 --- srcpkgs/python3-bracex/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-bracex/template diff --git a/srcpkgs/python3-bracex/template b/srcpkgs/python3-bracex/template new file mode 100644 index 000000000000..01eb3dab8b75 --- /dev/null +++ b/srcpkgs/python3-bracex/template @@ -0,0 +1,18 @@ +# Template file for 'python3-bracex' +pkgname=python3-bracex +version=2.1.1 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +hostmakedepends="python3-pip" +checkdepends="python3-pytest" +short_desc="Bash style brace expansion for Python" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/facelessuser/bracex" +distfiles="${PYPI_SITE}/b/bracex/bracex-${version}.tar.gz" +checksum=01f715cd0ed7a622ec8b32322e715813f7574de531f09b70f6f3b2c10f682425 + +post_install() { + vlicense LICENSE.md +} From 84fa38399fb210b5a1a47f6e755454c33e21cede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:36:07 +0200 Subject: [PATCH 3/7] New package: python3-wcmatch-8.2 --- srcpkgs/python3-wcmatch/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-wcmatch/template diff --git a/srcpkgs/python3-wcmatch/template b/srcpkgs/python3-wcmatch/template new file mode 100644 index 000000000000..790090dc7930 --- /dev/null +++ b/srcpkgs/python3-wcmatch/template @@ -0,0 +1,19 @@ +# Template file for 'python3-wcmatch' +pkgname=python3-wcmatch +version=8.2 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +hostmakedepends="python3-pip" +depends="python3-bracex" +checkdepends="python3-pytest ${depends}" +short_desc="Wilcard File Name matching library" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/facelessuser/wcmatch" +distfiles="${PYPI_SITE}/w/wcmatch/wcmatch-${version}.tar.gz" +checksum=4d54ddb506c90b5a5bba3a96a1cfb0bb07127909e19046a71d689ddfb18c3617 + +post_install() { + vlicense LICENSE.md +} From fd1b771c244017e2d8c48c9a3ce8df940a995cac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:37:00 +0200 Subject: [PATCH 4/7] New package: python3-typeguard-2.13.0 --- srcpkgs/python3-typeguard/template | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 srcpkgs/python3-typeguard/template diff --git a/srcpkgs/python3-typeguard/template b/srcpkgs/python3-typeguard/template new file mode 100644 index 000000000000..8110d6a1fc13 --- /dev/null +++ b/srcpkgs/python3-typeguard/template @@ -0,0 +1,17 @@ +# Template file for 'python3-typeguard' +pkgname=python3-typeguard +version=2.13.0 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +short_desc="Run-time type checker for python" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/agronholm/typeguard" +distfiles="${PYPI_SITE}/t/typeguard/typeguard-${version}.tar.gz" +checksum=04e38f92eb59410c9375d3be23df65e0a7643f2e8bcbd421423d808d2f9e99df + +post_install() { + vlicense LICENSE +} From b5c2a9c577f9c1101ea4a196f03c12d9c4f32c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:38:15 +0200 Subject: [PATCH 5/7] New package: python3-tenacity-8.0.1 --- srcpkgs/python3-tenacity/template | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 srcpkgs/python3-tenacity/template diff --git a/srcpkgs/python3-tenacity/template b/srcpkgs/python3-tenacity/template new file mode 100644 index 000000000000..81b0fa9888d3 --- /dev/null +++ b/srcpkgs/python3-tenacity/template @@ -0,0 +1,16 @@ +# Template file for 'python3-tenacity' +pkgname=python3-tenacity +version=8.0.1 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-module +hostmakedepends="python3-pip python3-wheel" +makedepends="python3-Sphinx python3-tornado python3-typeguard" +depends="python3-tornado python3-typeguard" +checkdepends="tox" +short_desc="General-purpose retrying library for Python" +maintainer="Jan Christian Grünhage " +license="Apache-2.0" +homepage="https://github.com/jd/tenacity" +distfiles="${PYPI_SITE}/t/tenacity/tenacity-${version}.tar.gz" +checksum=43242a20e3e73291a28bcbcacfd6e000b02d3857a9a9fff56b297a27afdc932f From e20a2f2ea867a3c8df5c2c83a38edc5877f08f0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Tue, 12 Oct 2021 19:29:34 +0200 Subject: [PATCH 6/7] python3-yamllint: rename to yamllint, update to 1.26.3. --- srcpkgs/python3-yamllint | 1 + srcpkgs/python3-yamllint/template | 20 -------------------- srcpkgs/yamllint/template | 31 +++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 20 deletions(-) create mode 120000 srcpkgs/python3-yamllint delete mode 100644 srcpkgs/python3-yamllint/template create mode 100644 srcpkgs/yamllint/template diff --git a/srcpkgs/python3-yamllint b/srcpkgs/python3-yamllint new file mode 120000 index 000000000000..c0085f7fd2f7 --- /dev/null +++ b/srcpkgs/python3-yamllint @@ -0,0 +1 @@ +yamllint \ No newline at end of file diff --git a/srcpkgs/python3-yamllint/template b/srcpkgs/python3-yamllint/template deleted file mode 100644 index 70c4643e21a6..000000000000 --- a/srcpkgs/python3-yamllint/template +++ /dev/null @@ -1,20 +0,0 @@ -# Template file for 'python3-yamllint' -pkgname=python3-yamllint -version=1.15.0 -revision=5 -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 -} diff --git a/srcpkgs/yamllint/template b/srcpkgs/yamllint/template new file mode 100644 index 000000000000..2c4448f6c810 --- /dev/null +++ b/srcpkgs/yamllint/template @@ -0,0 +1,31 @@ +# Template file for 'yamllint' +pkgname=yamllint +version=1.26.3 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-pathspec python3-setuptools python3-yaml" +checkdepends="python3-pathspec python3-yaml" +short_desc="Python 3 linter for YAML files" +maintainer="Jan Christian Grünhage " +license="GPL-3.0-or-later" +homepage="https://github.com/adrienverge/yamllint" +distfiles="${homepage}/archive/v${version}.tar.gz" +checksum=a12b134d360c8655c831c018162fd058dac308f62462b14c24125171c5822610 +conflicts="python-yamllint>=0" + +case "$XBPS_TARGET_MACHINE" in + x86_64-musl) make_check=no;; +esac + +do_check() { + echo ${makecheck} + echo ${XBPS_TARGET_MACHINE} + python3 setup.py test +} + +python3-yamllint_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - transitional dummy package" + build_style=meta +} From d0b3607f14e01118ee47be3ba2d8f53d3a2e4df1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Fri, 16 Jul 2021 12:39:28 +0200 Subject: [PATCH 7/7] python3-ansible-lint: rename to ansible-lint, update to 5.2.0. --- srcpkgs/ansible-lint/template | 29 +++++++++++++++++++++++++++ srcpkgs/python3-ansible-lint | 1 + srcpkgs/python3-ansible-lint/template | 24 ---------------------- 3 files changed, 30 insertions(+), 24 deletions(-) create mode 100644 srcpkgs/ansible-lint/template create mode 120000 srcpkgs/python3-ansible-lint delete mode 100644 srcpkgs/python3-ansible-lint/template diff --git a/srcpkgs/ansible-lint/template b/srcpkgs/ansible-lint/template new file mode 100644 index 000000000000..fc4ca045c0f3 --- /dev/null +++ b/srcpkgs/ansible-lint/template @@ -0,0 +1,29 @@ +# Template file for 'ansible-lint' +pkgname=ansible-lint +version=5.2.0 +revision=1 +build_style=python3-module +hostmakedepends="python3-pip python3-wheel" +depends="ansible-core yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch" +short_desc="Linter for Ansible files" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/ansible-community/ansible-lint" +distfiles="${PYPI_SITE}/a/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=79020356d93f503d2cc869a7270e3c04316d510e33b6264edc08c7d0db0e8061 +make_check=no + +post_patch() { + # scm versioning is broken in this release + vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg +} + +post_install() { + vlicense LICENSE +} + +python3-ansible-lint_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - transitional dummy package" + build_style=meta +} diff --git a/srcpkgs/python3-ansible-lint b/srcpkgs/python3-ansible-lint new file mode 120000 index 000000000000..09ee8035c500 --- /dev/null +++ b/srcpkgs/python3-ansible-lint @@ -0,0 +1 @@ +ansible-lint \ No newline at end of file diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template deleted file mode 100644 index bc8b03fcd823..000000000000 --- a/srcpkgs/python3-ansible-lint/template +++ /dev/null @@ -1,24 +0,0 @@ -# Template file for 'python3-ansible-lint' -pkgname=python3-ansible-lint -version=4.3.5 -revision=3 -wrksrc="ansible-lint-${version}" -build_style=python3-module -hostmakedepends="python3-setuptools" -depends="ansible python3-six python3-yaml python3-ruamel.yaml" -short_desc="Linter for Ansible files" -maintainer="Joseph LaFreniere " -license="MIT" -homepage="https://github.com/willthames/ansible-lint" -changelog="https://raw.githubusercontent.com/willthames/ansible-lint/master/CHANGELOG.md" -distfiles="${PYPI_SITE}/a/ansible-lint/ansible-lint-${version}.tar.gz" -checksum=bec230cf5fcc4d976246d4170da3ae289715f99185529ca8bba4b3c173035656 - -post_patch() { - # scm versioning is broken in this release - vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg -} - -post_install() { - vlicense LICENSE -}