summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-07-31 20:23:26 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-07-31 21:20:21 +0300
commit6e0342bcf4f1ada5ea40f282299ac498aca26c6d (patch)
tree4b925abd0fd175fb027126e969c3af6ea86c745b /dev-python/pathvalidate
parentnet-libs/nodejs: drop 14.19.3, 16.15.1, 18.3.0, 18.4.0 (diff)
downloadgentoo-6e0342bcf4f1ada5ea40f282299ac498aca26c6d.tar.gz
gentoo-6e0342bcf4f1ada5ea40f282299ac498aca26c6d.tar.bz2
gentoo-6e0342bcf4f1ada5ea40f282299ac498aca26c6d.zip
dev-python/pathvalidate: add 2.5.1, PEP517
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/pathvalidate')
-rw-r--r--dev-python/pathvalidate/Manifest1
-rw-r--r--dev-python/pathvalidate/pathvalidate-2.5.1.ebuild27
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/pathvalidate/Manifest b/dev-python/pathvalidate/Manifest
index 0632f30efaaf..d769b99ba926 100644
--- a/dev-python/pathvalidate/Manifest
+++ b/dev-python/pathvalidate/Manifest
@@ -1 +1,2 @@
DIST pathvalidate-2.5.0.tar.gz 26130 BLAKE2B 122f0331807cf33e30f81409423224d48e5a3ed0836410e62ec804da7cdfc730b06fb1968c5220e7d8e79c3773c7011ec3c416c48286581554b8730d3c72bf61 SHA512 f71d6d532d3f096ec80277245bc69ddfe861f2417d11ac432b08e2e5a8776007f174754b701a6b7e3b3754b8b49c5105dcaf5039234fc5827091b2ad78bf58bd
+DIST pathvalidate-2.5.1.tar.gz 26716 BLAKE2B fb43ff796d1f56297c5b41d79f6c67d773cb911c66f501e1af991b735e652875bc1912b8a4d29e4ed0f36ea01aa21f365afa337ef6cc527224e1b40d7e096735 SHA512 b5fe5af2b5e43fdee80afdc8d642bdbf4bd32e9d835b8bb790da6d00c25c56b5a0e1d7964d8470d693de7b41872ee54be8e2d7b937daa35ba74b13072fc439a5
diff --git a/dev-python/pathvalidate/pathvalidate-2.5.1.ebuild b/dev-python/pathvalidate/pathvalidate-2.5.1.ebuild
new file mode 100644
index 000000000000..642f62299d11
--- /dev/null
+++ b/dev-python/pathvalidate/pathvalidate-2.5.1.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python library to sanitize/validate a string such as filenames/file-paths/etc"
+HOMEPAGE="https://github.com/thombashi/pathvalidate"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/click[${PYTHON_USEDEP}]"
+BDEPEND="
+ test? (
+ dev-python/allpairspy[${PYTHON_USEDEP}]
+ dev-python/tcolorpy[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest