summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2022-05-18 20:27:57 -0700
committerZac Medico <zmedico@gentoo.org>2022-05-18 20:57:59 -0700
commitc7f73c1448a1f44da7370a79b3784618cf3b7262 (patch)
tree684252e7546be0ab87142270df9491284ca50cbb /dev-python/pathvalidate
parentdev-python/tcolorpy: initial import (diff)
downloadgentoo-c7f73c1448a1f44da7370a79b3784618cf3b7262.tar.gz
gentoo-c7f73c1448a1f44da7370a79b3784618cf3b7262.tar.bz2
gentoo-c7f73c1448a1f44da7370a79b3784618cf3b7262.zip
dev-python/pathvalidate: initial import
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python/pathvalidate')
-rw-r--r--dev-python/pathvalidate/Manifest1
-rw-r--r--dev-python/pathvalidate/metadata.xml12
-rw-r--r--dev-python/pathvalidate/pathvalidate-2.5.0.ebuild24
3 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/pathvalidate/Manifest b/dev-python/pathvalidate/Manifest
new file mode 100644
index 000000000000..0632f30efaaf
--- /dev/null
+++ b/dev-python/pathvalidate/Manifest
@@ -0,0 +1 @@
+DIST pathvalidate-2.5.0.tar.gz 26130 BLAKE2B 122f0331807cf33e30f81409423224d48e5a3ed0836410e62ec804da7cdfc730b06fb1968c5220e7d8e79c3773c7011ec3c416c48286581554b8730d3c72bf61 SHA512 f71d6d532d3f096ec80277245bc69ddfe861f2417d11ac432b08e2e5a8776007f174754b701a6b7e3b3754b8b49c5105dcaf5039234fc5827091b2ad78bf58bd
diff --git a/dev-python/pathvalidate/metadata.xml b/dev-python/pathvalidate/metadata.xml
new file mode 100644
index 000000000000..f13a1cd9991b
--- /dev/null
+++ b/dev-python/pathvalidate/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">pathvalidate</remote-id>
+ <remote-id type="github">thombashi/pathvalidate</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/pathvalidate/pathvalidate-2.5.0.ebuild b/dev-python/pathvalidate/pathvalidate-2.5.0.ebuild
new file mode 100644
index 000000000000..437b5e23a1e6
--- /dev/null
+++ b/dev-python/pathvalidate/pathvalidate-2.5.0.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+IUSE="test"
+RESTRICT="!test? ( test )"
+BDEPEND="test? (
+ dev-python/allpairspy[${PYTHON_USEDEP}]
+ dev-python/tcolorpy[${PYTHON_USEDEP}] )
+"
+
+distutils_enable_tests pytest