dev-python/fqdn: new package
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Thu, 1 Nov 2018 19:54:26 +0000 (12:54 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Thu, 1 Nov 2018 22:37:16 +0000 (15:37 -0700)
RFC-compliant FQDN validation and manipulation for Python

Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

dev-python/fqdn/Manifest [new file with mode: 0644]
dev-python/fqdn/fqdn-1.1.1.ebuild [new file with mode: 0644]
dev-python/fqdn/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/fqdn/Manifest b/dev-python/fqdn/Manifest
new file mode 100644 (file)
index 0000000..ff53781
--- /dev/null
@@ -0,0 +1 @@
+DIST fqdn-1.1.1.tar.gz 12056 BLAKE2B 8f78e16b73239ec7dbd2f1565026459c08b80245999b4bd93fe7119f45f604c84ae9d60cbb42aec147d5096bb1a6b1898a2d884db244e1ad507ed516aa3591b3 SHA512 46487bcdf2639b84023f710c323b33b8bdb9a3a3d6e7f22c1e9b759940193f9473d3bd639678ab377741ce84c180bc18eb7e65060fdd59189dacadcb50df317b
diff --git a/dev-python/fqdn/fqdn-1.1.1.ebuild b/dev-python/fqdn/fqdn-1.1.1.ebuild
new file mode 100644 (file)
index 0000000..a9a2b0d
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 2018 Sony Interactive Entertainment Inc.
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
+
+inherit distutils-r1
+
+DESCRIPTION="RFC-compliant FQDN validation and manipulation for Python"
+HOMEPAGE="https://github.com/guyhughes/fqdn"
+SRC_URI="https://github.com/guyhughes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="dev-python/cached-property[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+
+python_test() {
+       esetup.py test
+}
diff --git a/dev-python/fqdn/metadata.xml b/dev-python/fqdn/metadata.xml
new file mode 100644 (file)
index 0000000..8a3fbf7
--- /dev/null
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>gyakovlev@gentoo.org</email>
+               <name>Georgy Yakovlev</name>
+       </maintainer>
+       <longdescription lang="en">
+               Validate fully-qualified domain names compliant
+               to RFC 1035 and the preferred form in RFC 3686 s. 2.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">guyhughes/fqdn</remote-id>
+               <remote-id type="pypi">fqdn</remote-id>
+       </upstream>
+</pkgmetadata>