From 34c07481c3b9fd97be2039b694f25206174d7772 Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Sun, 3 May 2020 17:40:02 -0700 Subject: [PATCH 1/4] New package: python3-cfgv-3.1.0 --- srcpkgs/python3-cfgv/template | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 srcpkgs/python3-cfgv/template diff --git a/srcpkgs/python3-cfgv/template b/srcpkgs/python3-cfgv/template new file mode 100644 index 00000000000..f9e1597f781 --- /dev/null +++ b/srcpkgs/python3-cfgv/template @@ -0,0 +1,22 @@ +# Template file for 'python3-cfgv' +pkgname=python3-cfgv +version=3.1.0 +revision=1 +wrksrc="cfgv-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +checkdepends="tox" +short_desc="Validate configuration and produce human readable error messages" +maintainer="klardotsh " +license="MIT" +homepage="https://github.com/asottile/cfgv" +distfiles="https://github.com/asottile/cfgv/archive/v${version}.tar.gz" +checksum=56048fc70b910c331e2550da9c3398d09028afb7af29f3b5ece02741c9bd2b28 + +do_check() { + tox +} + +post_install() { + vlicense LICENSE +} From caece68459d3bcbc689f0bdb3122c4b72dbda6bc Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Sun, 3 May 2020 17:40:30 -0700 Subject: [PATCH 2/4] New package: python3-identify-1.4.15 --- srcpkgs/python3-identify/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-identify/template diff --git a/srcpkgs/python3-identify/template b/srcpkgs/python3-identify/template new file mode 100644 index 00000000000..0b22646d1a3 --- /dev/null +++ b/srcpkgs/python3-identify/template @@ -0,0 +1,23 @@ +# Template file for 'python3-identify' +pkgname=python3-identify +version=1.4.15 +revision=1 +wrksrc="identify-${version}" +build_style=python3-module +pycompile_module="identify" +hostmakedepends="python3-setuptools" +checkdepends="tox" +short_desc="File identification library for Python" +maintainer="klardotsh " +license="MIT" +homepage="https://github.com/chriskuehl/identify" +distfiles="https://github.com/chriskuehl/identify/archive/v${version}.tar.gz" +checksum=916180f074518c962c78e08d3da65e0f1861452f2789e622b0d7cbef9ddbbebb + +do_check() { + make test +} + +post_install() { + vlicense LICENSE +} From f9a501922e389b4aa035bf6999e93413cb877401 Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Sun, 3 May 2020 17:40:56 -0700 Subject: [PATCH 3/4] New package: python3-nodeenv-1.3.5 --- srcpkgs/python3-nodeenv/template | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 srcpkgs/python3-nodeenv/template diff --git a/srcpkgs/python3-nodeenv/template b/srcpkgs/python3-nodeenv/template new file mode 100644 index 00000000000..22fcb73e3ef --- /dev/null +++ b/srcpkgs/python3-nodeenv/template @@ -0,0 +1,21 @@ +# Template file for 'python3-nodeenv' +pkgname=python3-nodeenv +version=1.3.5 +revision=1 +wrksrc="nodeenv-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +short_desc="Virtual environment for Node.js & integrator with virtualenv" +maintainer="klardotsh " +license="BSD-3-Clause" +homepage="http://ekalinin.github.io/nodeenv/" +distfiles="https://github.com/ekalinin/nodeenv/archive/${version}.tar.gz" +checksum=825944b102e44f6a7a10e3f32a2004cbb62755becbe8ed188494e5d962bc7ea3 + +do_check() { + make tests +} + +post_install() { + vlicense LICENSE +} From 5475469db8373816bbc7d3bd9beace58ed621aea Mon Sep 17 00:00:00 2001 From: Josh Klar Date: Sun, 3 May 2020 17:41:12 -0700 Subject: [PATCH 4/4] New package: pre-commit-2.3.0 --- srcpkgs/pre-commit/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/pre-commit/template diff --git a/srcpkgs/pre-commit/template b/srcpkgs/pre-commit/template new file mode 100644 index 00000000000..d4e9bd656f0 --- /dev/null +++ b/srcpkgs/pre-commit/template @@ -0,0 +1,18 @@ +# Template file for 'pre-commit' +pkgname=pre-commit +version=2.3.0 +revision=1 +build_style=python3-module +pycompile_module="pre_commit" +depends="python3-cfgv python3-identify python3-nodeenv python3-toml python3-virtualenv python3-yaml" +hostmakedepends="python3-setuptools" +short_desc="Framework for managing and maintaining multi-language pre-commit hooks" +maintainer="klardotsh " +license="MIT" +homepage="https://github.com/pre-commit/pre-commit" +distfiles="https://github.com/pre-commit/pre-commit/archive/v${version}${_status}.tar.gz" +checksum=cbe534c57d0e0e17b0a739d71bb0d33a3bc295e65d6d125860bcfc7053abd645 + +post_install() { + vlicense LICENSE +}