From 2f635e82bc5be7efcb2c10a3f0d63d3be02e5c5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Thu, 27 Aug 2020 19:13:55 +0200 Subject: [PATCH] python-stevedore: remove --- srcpkgs/python3-stevedore | 1 - .../template | 22 +++++-------------- 2 files changed, 6 insertions(+), 17 deletions(-) delete mode 120000 srcpkgs/python3-stevedore rename srcpkgs/{python-stevedore => python3-stevedore}/template (52%) diff --git a/srcpkgs/python3-stevedore b/srcpkgs/python3-stevedore deleted file mode 120000 index 8b75fb5ae1b..00000000000 --- a/srcpkgs/python3-stevedore +++ /dev/null @@ -1 +0,0 @@ -python-stevedore \ No newline at end of file diff --git a/srcpkgs/python-stevedore/template b/srcpkgs/python3-stevedore/template similarity index 52% rename from srcpkgs/python-stevedore/template rename to srcpkgs/python3-stevedore/template index 4f781304d3f..481dc073397 100644 --- a/srcpkgs/python-stevedore/template +++ b/srcpkgs/python3-stevedore/template @@ -1,14 +1,14 @@ -# Template file for 'python-stevedore' -pkgname=python-stevedore +# Template file for 'python3-stevedore' +pkgname=python3-stevedore version=1.30.1 revision=2 archs=noarch wrksrc="stevedore-${version}" -build_style=python-module +build_style=python3-module pycompile_module="stevedore" -hostmakedepends="python-setuptools python3-setuptools python-pbr python3-pbr" -depends="python-six" -short_desc="Manage dynamic plugins for Python2 applications" +hostmakedepends="python3-setuptools python3-pbr" +depends="python3-six" +short_desc="Manage dynamic plugins for Python3 applications" maintainer="Alessio Sergi " license="Apache-2.0" homepage="https://git.openstack.org/cgit/openstack/stevedore" @@ -19,13 +19,3 @@ pre_build() { # remove dependency on pbr; it's not a runtime dependency sed -i '/pbr/d' requirements.txt } - -python3-stevedore_package() { - archs=noarch - depends="python3-six" - pycompile_module="stevedore" - short_desc="${short_desc/Python2/Python3}" - pkg_install() { - vmove usr/lib/python3* - } -}