summaryrefslogtreecommitdiff
path: root/dev-python/ramlfications
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/ramlfications')
-rw-r--r--dev-python/ramlfications/Manifest6
-rw-r--r--dev-python/ramlfications/metadata.xml25
-rw-r--r--dev-python/ramlfications/ramlfications-0.1.9.ebuild39
-rw-r--r--dev-python/ramlfications/ramlfications-0.1.9_p20160718.ebuild45
4 files changed, 115 insertions, 0 deletions
diff --git a/dev-python/ramlfications/Manifest b/dev-python/ramlfications/Manifest
new file mode 100644
index 000000000000..e05f9218d8dd
--- /dev/null
+++ b/dev-python/ramlfications/Manifest
@@ -0,0 +1,6 @@
+DIST ramlfications-0.1.9.tar.gz 1094577 SHA256 7bb89c11b13bc6b4099ee7fa07c5285a54b64a5e9c71eb6ca99660358fb27677 SHA512 5f93556e8f008b86bbe1e3b96dba3b20a31e583800334931b9c3972da897bc19a93ba5fdd687799e99aee79a93e10e58ca1b3eb5b0f38fb2b28d0f0ba0723e82 WHIRLPOOL b58c21ab3d03578fe69bd29f331744c81ff5d88ce0ed7f03c1d0abd72058069638413043d8b63cb6e8a5a2b11b078b60cb5c1baf2491e73c44a33700cd51c97a
+DIST ramlfications-0.1.9_p20160718.tar.gz 1104645 SHA256 4ce2269408eaeb79c7a3cba1b0a9bc5b59ee3b92e25300e1ee5c99ad877c7807 SHA512 a21330cddb2d390744d7c13ee62edd701f74a83c16f87b897460e2353e265f4171e90e8b51bb0c17762a1f3494ddf8aeaa22c36f0aa093f936b9a51e2d75d1f5 WHIRLPOOL 1834be4b0c23580fb5576bfc7e948acedf492bf684dfd39c4a04eb1c9a837ed7815049a67eac9ec9334960afa0c8eb77f5e9e64cfb844a070431a399c7ee7357
+EBUILD ramlfications-0.1.9.ebuild 976 SHA256 e5451572714dc9f7d642c36f015763609556e952379e65c193d9ec913c560846 SHA512 b9d7ada6825217cc6280cdb663066ffd2b05c386666ccfffe9a0eb9bf777113298dab62a89ce82a92e711c2578417573649103c450c1d15067683e12e628de4f WHIRLPOOL 5b70367b8fc0aba92faa11b478395cf22e84ffa0dbbd326a695fbbf26bc90ff347ef2dd15a979984f88e070a2eb1dbcc64e7fe6ecb57b9a3aa928be25e5a0873
+EBUILD ramlfications-0.1.9_p20160718.ebuild 1188 SHA256 100586553f88efefb32bb0b39b8d6b90740e0e43350821c219cba8ddb2b01ed4 SHA512 a0118fbe7975b1f63df28712d9c83f546ea6d9e7d3944af6bc889aac3394e0afed449cd9c613e9da68e8aeec2073bff8516b05ff2fcbdb4dce3e50b28651f320 WHIRLPOOL 0ae5011813be61e28c38b75b5f366430d5c1e22d536e7540736d686c84ee04d51c3dadadb0e31ed0ae00d873e78157e586c4c1d50da60b7aeadb86f83a0bb7be
+MISC ChangeLog 344 SHA256 5fc22249cc5fee0c185f0f6d1264949999031b2c7fb93ccbc89f2e3c41fb4aa8 SHA512 5f0a3ef1f6d6241fa445f0c61ece46956c1bc2d45c3cd7b2ef1bf7011d05b84d4dfa0c890cd8aa7ec1284f996cb176d100f9dba1af91c559292dd12f47db6702 WHIRLPOOL 5ad273a1fce0f02fb01ccbc6f064c7a67ee360d90fdd945ded550c5d6b29a164653db67a40b74641997f76d6852fad5652e45ba7d54cb9d16bbaead93e6856bb
+MISC metadata.xml 846 SHA256 b57327bb23cd9d389561c9a62029b1d9d7cad16ee3dac964c84283ce57433aec SHA512 962b5b6f020e1b02dd1654e86c45e9cfbd3aa5ef6f7833c06a55f1337c9cd97c4a025ee6ecb06b0ba5277843f6e80a39095a22b243a2bc22fa8763f8f5aab1f1 WHIRLPOOL f2d55ff4be251a3c9a1b7957052212b03cf2ab39d0601fc33a8d8f308f7be005ad03c8763579ce9fe1c55c4aa5141579891e448e5d7469d3cc68044003a82f12
diff --git a/dev-python/ramlfications/metadata.xml b/dev-python/ramlfications/metadata.xml
new file mode 100644
index 000000000000..45bdd7a13c7c
--- /dev/null
+++ b/dev-python/ramlfications/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>dolsen@gentoo.org</email>
+ <name>Brian Dolbec</name>
+ <description>Primary maintainer</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <upstream>
+ <maintainer>
+ <email>spam@lynnroot.com</email>
+ <name>Lynn Root</name>
+ </maintainer>
+ <remote-id type="pypi">ramlfications</remote-id>
+ <remote-id type="github">spotify/ramlfications</remote-id>
+ </upstream>
+ <longdescription>ramlfications is an Apache-2.0 licensed reference implementation
+of a RAML parser in Python intended to be used for parsing API definitions
+(e.g. for static documentation-generation).
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-python/ramlfications/ramlfications-0.1.9.ebuild b/dev-python/ramlfications/ramlfications-0.1.9.ebuild
new file mode 100644
index 000000000000..229e61c21744
--- /dev/null
+++ b/dev-python/ramlfications/ramlfications-0.1.9.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_4 pypy)
+
+inherit eutils distutils-r1
+
+DESCRIPTION="RAML reference implementation in Python"
+HOMEPAGE="https://ramlfications.readthedocs.org/ https://pypi.python.org/pypi/ramlfications/"
+SRC_URI="https://github.com/spotify/${PN}/releases/download/0.1.9/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/markdown2[${PYTHON_USEDEP}]
+ dev-python/jsonref[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/attrs[${PYTHON_USEDEP}]
+ dev-python/termcolor[${PYTHON_USEDEP}]
+ dev-python/xmltodict[${PYTHON_USEDEP}]
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ )
+"
+
+python_test() {
+ esetup.py test
+}
diff --git a/dev-python/ramlfications/ramlfications-0.1.9_p20160718.ebuild b/dev-python/ramlfications/ramlfications-0.1.9_p20160718.ebuild
new file mode 100644
index 000000000000..3ad37f9869b9
--- /dev/null
+++ b/dev-python/ramlfications/ramlfications-0.1.9_p20160718.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6})
+
+COMMIT="32a11cd7d75c4c5b3e3fc01c383314be298b0f9b"
+
+inherit eutils distutils-r1
+
+DESCRIPTION="RAML reference implementation in Python"
+HOMEPAGE="https://ramlfications.readthedocs.org/ https://pypi.python.org/pypi/ramlfications/"
+SRC_URI="https://github.com/spotify/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RDEPEND="
+ dev-python/six[${PYTHON_USEDEP}]
+ dev-python/pyyaml[${PYTHON_USEDEP}]
+ dev-python/markdown2[${PYTHON_USEDEP}]
+ dev-python/jsonref[${PYTHON_USEDEP}]
+ dev-python/click[${PYTHON_USEDEP}]
+ dev-python/attrs[${PYTHON_USEDEP}]
+ dev-python/termcolor[${PYTHON_USEDEP}]
+ dev-python/xmltodict[${PYTHON_USEDEP}]
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-localserver[${PYTHON_USEDEP}]
+ dev-python/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/pytest-cov[${PYTHON_USEDEP}]
+ )
+"
+
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+python_test() {
+ py.test -v || die "Tests fail with ${EPYTHON}"
+}