dev-python/fqdn: new package

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
This commit is contained in:
Georgy Yakovlev
2018-11-01 12:54:26 -07:00
parent 3e5dff3bef
commit d28db303a2
3 changed files with 42 additions and 0 deletions

1
dev-python/fqdn/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST fqdn-1.1.1.tar.gz 12056 BLAKE2B 8f78e16b73239ec7dbd2f1565026459c08b80245999b4bd93fe7119f45f604c84ae9d60cbb42aec147d5096bb1a6b1898a2d884db244e1ad507ed516aa3591b3 SHA512 46487bcdf2639b84023f710c323b33b8bdb9a3a3d6e7f22c1e9b759940193f9473d3bd639678ab377741ce84c180bc18eb7e65060fdd59189dacadcb50df317b

View File

@@ -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
}

View File

@@ -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>