summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-11-23 15:06:48 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-11-23 15:06:48 -0800
commit0df1e6f9a85c1a703296fe31d01f2321f93ebf81 (patch)
tree6a0db5884d0f7cd12a2c6c5e0ad8b61b23edfaa8 /dev-python/rfc3339-validator
parentdev-python/pyrsistent: Version bump to 0.15.6, add py38 (diff)
downloadgentoo-0df1e6f9a85c1a703296fe31d01f2321f93ebf81.tar.gz
gentoo-0df1e6f9a85c1a703296fe31d01f2321f93ebf81.tar.bz2
gentoo-0df1e6f9a85c1a703296fe31d01f2321f93ebf81.zip
dev-python/rfc3339-validator: New package
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/rfc3339-validator')
-rw-r--r--dev-python/rfc3339-validator/Manifest1
-rw-r--r--dev-python/rfc3339-validator/files/rfc3339-validator-0.1.2-remove-pytest-runner.patch24
-rw-r--r--dev-python/rfc3339-validator/metadata.xml11
-rw-r--r--dev-python/rfc3339-validator/rfc3339-validator-0.1.2.ebuild27
4 files changed, 63 insertions, 0 deletions
diff --git a/dev-python/rfc3339-validator/Manifest b/dev-python/rfc3339-validator/Manifest
new file mode 100644
index 000000000000..f99339080f97
--- /dev/null
+++ b/dev-python/rfc3339-validator/Manifest
@@ -0,0 +1 @@
+DIST rfc3339-validator-0.1.2.tar.gz 7429 BLAKE2B 9c08ae6ebe12af043ebad82a716e359f323f318d44e1f23a41759773e1927f90d6dde95566ca3c9463db6ffc9f2c3a31925ee4668f7fbe1defc78e09949ac391 SHA512 42164f8258025b056a6c5584c1c5e76f4c4fddead1a18199cd5b115a5a576d8863676d741e5e9a12bd4b41cbf55e722632a57dc3f76688ff0ad886615286c567
diff --git a/dev-python/rfc3339-validator/files/rfc3339-validator-0.1.2-remove-pytest-runner.patch b/dev-python/rfc3339-validator/files/rfc3339-validator-0.1.2-remove-pytest-runner.patch
new file mode 100644
index 000000000000..00c1cefe239b
--- /dev/null
+++ b/dev-python/rfc3339-validator/files/rfc3339-validator-0.1.2-remove-pytest-runner.patch
@@ -0,0 +1,24 @@
+diff --git a/requirements_dev.txt b/requirements_dev.txt
+index c4f59fc..f8da57f 100644
+--- a/requirements_dev.txt
++++ b/requirements_dev.txt
+@@ -7,6 +7,5 @@ coverage==4.5.4
+ twine==1.14.0
+
+ pytest==4.6.5
+-pytest-runner==5.1
+ hypothesis==4.41.3
+ strict_rfc3339==0.7
+diff --git a/setup.py b/setup.py
+index ada5c92..fb0df5a 100644
+--- a/setup.py
++++ b/setup.py
+@@ -14,7 +14,7 @@ requirements = [
+
+ setup_requirements = []
+
+-test_requirements = ['pytest>=3', 'pytest-runner']
++test_requirements = ['pytest>=3']
+
+ setup(
+ author="Nicolas Aimetti",
diff --git a/dev-python/rfc3339-validator/metadata.xml b/dev-python/rfc3339-validator/metadata.xml
new file mode 100644
index 000000000000..5d6a63f58631
--- /dev/null
+++ b/dev-python/rfc3339-validator/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">rfc3339-validator</remote-id>
+ <remote-id type="github">naimetti/rfc3339-validator</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/rfc3339-validator/rfc3339-validator-0.1.2.ebuild b/dev-python/rfc3339-validator/rfc3339-validator-0.1.2.ebuild
new file mode 100644
index 000000000000..0f1fd7b817d5
--- /dev/null
+++ b/dev-python/rfc3339-validator/rfc3339-validator-0.1.2.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
+inherit distutils-r1
+
+DESCRIPTION="A pure python RFC3339 validator"
+HOMEPAGE="https://github.com/naimetti/rfc3339-validator"
+SRC_URI="https://github.com/naimetti/rfc3339-validator/archive/v0.1.2.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="dev-python/six[${PYTHON_USEDEP}]
+ dev-python/strict-rfc3339[${PYTHON_USEDEP}]"
+BDEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+"
+
+PATCHES=(
+ "${FILESDIR}/rfc3339-validator-0.1.2-remove-pytest-runner.patch"
+)
+
+distutils_enable_tests pytest