dev-python/ryu: fix QA violation
authorMatthew Thode <prometheanfire@gentoo.org>
Sun, 3 Feb 2019 21:21:22 +0000 (15:21 -0600)
committerMatthew Thode <prometheanfire@gentoo.org>
Sun, 3 Feb 2019 21:21:22 +0000 (15:21 -0600)
Fixes: https://bugs.gentoo.org/677186
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>
dev-python/ryu/ryu-4.26-r1.ebuild [new file with mode: 0644]

diff --git a/dev-python/ryu/ryu-4.26-r1.ebuild b/dev-python/ryu/ryu-4.26-r1.ebuild
new file mode 100644 (file)
index 0000000..833a947
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="Component-based Software-defined Networking Framework"
+HOMEPAGE="http://osrg.github.io/ryu/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE=""
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       dev-python/pbr[${PYTHON_USEDEP}]"
+RDEPEND=""
+
+python_install_all() {
+       distutils-r1_python_install_all
+       mv "${D}"/usr/etc "${D}"/etc
+}