summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-23 07:03:23 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-23 07:07:16 +0200
commit296fbb4f2b7e5c8a88998200122346a17b9e135e (patch)
treeca4f49c0cebe5a795dbb3fef1319988fae9efcbd
parentdev-python/nbclient: Bump to 0.8.0 (diff)
downloadgentoo-296fbb4f2b7e5c8a88998200122346a17b9e135e.tar.gz
gentoo-296fbb4f2b7e5c8a88998200122346a17b9e135e.tar.bz2
gentoo-296fbb4f2b7e5c8a88998200122346a17b9e135e.zip
dev-python/pathvalidate: Bump to 3.0.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/pathvalidate/Manifest1
-rw-r--r--dev-python/pathvalidate/pathvalidate-3.0.0.ebuild31
2 files changed, 32 insertions, 0 deletions
diff --git a/dev-python/pathvalidate/Manifest b/dev-python/pathvalidate/Manifest
index 3d216b6eada5..17c472f4dcb9 100644
--- a/dev-python/pathvalidate/Manifest
+++ b/dev-python/pathvalidate/Manifest
@@ -1 +1,2 @@
DIST pathvalidate-2.5.2.tar.gz 26715 BLAKE2B aa42a6592b36b339611cd4bc70412e92da10a57838df4c668c0438c56aa714842c37d8c5239cbc1e89c7f52a2d4fce2ee9df2301fb168ca0aa0cac6f21c9a43a SHA512 44c9d329f60deb81590854e0aa4699e4105821535aa5bf306c78df395c510ce851075db246937a459f46ee2f9abc54538a4a48995b94f5eb031f14fe60c769ce
+DIST pathvalidate-3.0.0.tar.gz 28036 BLAKE2B 4d117297c4e4a5e593155e14a4aa4f5fb21a30d66ae3212e6061e0aa92d05c94fbc48461f07ef7e9a9852ec167248723b09bb173f78bfb40be13d45e941b1c16 SHA512 66dc4974e8c86608e6f0e1c90611ad87d78db08caa046ce6997aa38b9aaa01e624f7a40eeb7e49f90ab8f0cae477d320fde62679a5594da1858579e311602fb8
diff --git a/dev-python/pathvalidate/pathvalidate-3.0.0.ebuild b/dev-python/pathvalidate/pathvalidate-3.0.0.ebuild
new file mode 100644
index 000000000000..8597a7d87003
--- /dev/null
+++ b/dev-python/pathvalidate/pathvalidate-3.0.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="A Python library to sanitize/validate a string such as filenames/file-paths/etc"
+HOMEPAGE="
+ https://github.com/thombashi/pathvalidate/
+ https://pypi.org/project/pathvalidate/
+"
+
+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