From a34765baae9df7186422399f0f06abdd152358e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Thu, 25 May 2023 18:22:20 -0300 Subject: [PATCH] New package: python3-rfc3986-validator-0.1.1 --- .../python3-rfc3986-validator/patches/3.patch | 40 +++++++++++++++++++ srcpkgs/python3-rfc3986-validator/template | 18 +++++++++ 2 files changed, 58 insertions(+) create mode 100644 srcpkgs/python3-rfc3986-validator/patches/3.patch create mode 100644 srcpkgs/python3-rfc3986-validator/template diff --git a/srcpkgs/python3-rfc3986-validator/patches/3.patch b/srcpkgs/python3-rfc3986-validator/patches/3.patch new file mode 100644 index 00000000000..991662d5fb5 --- /dev/null +++ b/srcpkgs/python3-rfc3986-validator/patches/3.patch @@ -0,0 +1,40 @@ +From f34f482530170972947b259844d00830a15f81a4 Mon Sep 17 00:00:00 2001 +From: chedi toueiti +Date: Tue, 12 Jul 2022 21:01:31 +0100 +Subject: [PATCH] Removing deprecated pytest-runner and adding missing test + dependencies + +--- + setup.cfg | 5 +++++ + setup.py | 4 ++-- + 2 files changed, 7 insertions(+), 2 deletions(-) + +diff --git a/setup.cfg b/setup.cfg +index 21c0a34..db0c26b 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -23,3 +23,8 @@ test = pytest + [tool:pytest] + collect_ignore = ['setup.py'] + ++[options.extras_require] ++test = ++ pytest >= 3 ++ rfc3987 ++ hypothesis +diff --git a/setup.py b/setup.py +index 53ebea7..1652285 100644 +--- a/setup.py ++++ b/setup.py +@@ -10,9 +10,9 @@ + + requirements = [] + +-setup_requirements = ['pytest-runner', ] ++setup_requirements = [] + +-test_requirements = ['pytest>=3', ] ++test_requirements = [] + + setup( + author="Nicolas Aimetti", diff --git a/srcpkgs/python3-rfc3986-validator/template b/srcpkgs/python3-rfc3986-validator/template new file mode 100644 index 00000000000..fc402d543d1 --- /dev/null +++ b/srcpkgs/python3-rfc3986-validator/template @@ -0,0 +1,18 @@ +# Template file for 'python3-rfc3986-validator' +pkgname=python3-rfc3986-validator +version=0.1.1 +revision=1 +build_style=python3-pep517 +hostmakedepends="python3-setuptools python3-wheel" +depends="python3" +checkdepends="python3-pytest python3-hypothesis python3-rfc3987" +short_desc="Pure python RFC3986 validator" +maintainer="Gonzalo TornarĂ­a " +license="MIT" +homepage="https://github.com/naimetti/rfc3986-validator" +distfiles="${PYPI_SITE}/r/rfc3986-validator/rfc3986_validator-${version}.tar.gz" +checksum=3d44bde7921b3b9ec3ae4e3adca370438eccebc676456449b145d533b240d055 + +post_install() { + vlicense LICENSE +}