commit:     0386d44a76bc5f6cdabbd93ddcbd1b86ed3c0b24
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 15 17:47:06 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Mar 16 03:59:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0386d44a

dev-python/ovs: Use pypi.eclass

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/ovs/ovs-2.17.1_p1.ebuild | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dev-python/ovs/ovs-2.17.1_p1.ebuild 
b/dev-python/ovs/ovs-2.17.1_p1.ebuild
index 95604fae8bfb..ad19dd3a261f 100644
--- a/dev-python/ovs/ovs-2.17.1_p1.ebuild
+++ b/dev-python/ovs/ovs-2.17.1_p1.ebuild
@@ -5,14 +5,10 @@ EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{9..11} )
-inherit distutils-r1
-
-MY_P=${P/_p/.post}
+inherit distutils-r1 pypi
 
 DESCRIPTION="OVS bindings for python"
 HOMEPAGE="https://github.com/openvswitch/ovs/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
-S=${WORKDIR}/${MY_P}
 
 LICENSE="Apache-2.0"
 SLOT="0"

Reply via email to