mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 07:33:48 +02:00
New package: python3-rfc3986-validator-0.1.1
This commit is contained in:
parent
7936873437
commit
a34765baae
2 changed files with 58 additions and 0 deletions
40
srcpkgs/python3-rfc3986-validator/patches/3.patch
Normal file
40
srcpkgs/python3-rfc3986-validator/patches/3.patch
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
From f34f482530170972947b259844d00830a15f81a4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: chedi toueiti <chedi.toueiti@gmail.com>
|
||||||
|
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",
|
18
srcpkgs/python3-rfc3986-validator/template
Normal file
18
srcpkgs/python3-rfc3986-validator/template
Normal file
|
@ -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 <tornaria@cmat.edu.uy>"
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue