dev-python/yarl: add package
authorZac Medico <zmedico@gentoo.org>
Mon, 7 Nov 2016 20:12:53 +0000 (12:12 -0800)
committerZac Medico <zmedico@gentoo.org>
Mon, 7 Nov 2016 20:14:46 +0000 (12:14 -0800)
Package-Manager: portage-2.3.2

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

diff --git a/dev-python/yarl/Manifest b/dev-python/yarl/Manifest
new file mode 100644 (file)
index 0000000..2531477
--- /dev/null
@@ -0,0 +1 @@
+DIST yarl-0.7.0.tar.gz 117786 SHA256 43222e76b17d62e23c2ff62dde7b6d3cd64453be7529876b4967ec5c3e0fa3fd SHA512 a63e5912eef2899773b05188bf4673ce0beb254605da81bff93c5a364e4f8d3864287a1f8165758a1ac86f97613b5d997d77c29f9ed4261c7fe2e9bc861c8470 WHIRLPOOL 353e3cf435127858070e017811419203b04b7e223e4acd106ae183829d2c84f231a20df21d7fe40d8568d2597b9411d53d579c9e59eb7172234fc7700420f2c0
diff --git a/dev-python/yarl/metadata.xml b/dev-python/yarl/metadata.xml
new file mode 100644 (file)
index 0000000..cc1c297
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <upstream>
+               <remote-id type="pypi">yarl</remote-id>
+               <remote-id type="github">aio-libs/yarl</remote-id>
+       </upstream>
+       <maintainer type="person">
+               <email>zmedico@gentoo.org</email>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-python/yarl/yarl-0.7.0.ebuild b/dev-python/yarl/yarl-0.7.0.ebuild
new file mode 100644 (file)
index 0000000..260259a
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=6
+PYTHON_COMPAT=( python3_{4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="Yet another URL library"
+HOMEPAGE="https://github.com/aio-libs/yarl/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="test? ( dev-python/pytest-runner[${PYTHON_USEDEP}] )
+       dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+       esetup.py test || die
+}