commit:     58a86ca18609bc67bfddc39d51f5744737605c71
Author:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  1 02:10:52 2022 +0000
Commit:     Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Fri Jul  1 02:10:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a86ca1

app-emulation/cloud-init: cleanup

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>

 app-emulation/cloud-init/Manifest                  |  4 -
 app-emulation/cloud-init/cloud-init-20.4.ebuild    | 93 ---------------------
 app-emulation/cloud-init/cloud-init-21.2.ebuild    | 93 ---------------------
 app-emulation/cloud-init/cloud-init-22.1-r1.ebuild | 88 --------------------
 app-emulation/cloud-init/cloud-init-22.2-r1.ebuild | 94 ----------------------
 app-emulation/cloud-init/cloud-init-22.2.ebuild    | 83 -------------------
 6 files changed, 455 deletions(-)

diff --git a/app-emulation/cloud-init/Manifest 
b/app-emulation/cloud-init/Manifest
index 6d04e1bfaced..683f977d1154 100644
--- a/app-emulation/cloud-init/Manifest
+++ b/app-emulation/cloud-init/Manifest
@@ -1,5 +1 @@
-DIST cloud-init-20.4.tar.gz 1228898 BLAKE2B 
c5697af31e7219a060a82732fbae2e89dd00786e5b0feb638f1f64f6ce861df041ef687a6095cc3bdb5478f4f4c1504286155808102aea9cae853caa97d4ba1b
 SHA512 
da2fa4673b253468380c4472795fd449809c8ac84d8f13ec1472b9b7e7d54e187ae06e5a81a36774793b05f4e1212dca57bc19aa8955b4c7fa7183cb100bfbb9
-DIST cloud-init-21.2.tar.gz 1278878 BLAKE2B 
74e07649a24fc85df54aafcd72797a05f0bdbcceb90fe90c6af7024da09e876780b67bb1d7963cd164d03e3151715944b1f3fd5709d3557ac341a09061409fcc
 SHA512 
8cc24945efc6f16b3c64411c5e7e5b83582d337f1c3f546163d52c14a6177ff752e91ba1fec04b7ade800f921c2b79c04d032df62c2b4171930ca1fb74c49a7d
-DIST cloud-init-22.1.tar.gz 1313034 BLAKE2B 
ca55378db822cdf58808de1bd2b519861c50ad8b08ed699212827833e0134fdc0968b76a4c2a13f39eae1d20ef8b22a99ff99b85ef77e496fd41593f4e2f2d55
 SHA512 
485e358777379a22dd2b0f6aa7afb1751eb44831c6e03ecbbd9c6823eaa20535e6e83fc245818ce1bb207425976839b356dadcfa3cfe62385b9d340b08ff21ab
 DIST cloud-init-22.2.2.tar.gz 1349451 BLAKE2B 
fdb6669e9762984614fefe787834f20f056345d304327679fa8bc7b4d6566509a23ecc4a7ac4e6368b9b9078a72fe6fe35533a67e7aeb0c0accbf5ad014f8aae
 SHA512 
18b75ebbb5e808e19df5ceddb6402cc881c33443fb169f736f54837254ba43836994f2392a26febbd8df3342b3467ee72759b6942cfeb96d07c0e452c11dd0bf
-DIST cloud-init-22.2.tar.gz 1348736 BLAKE2B 
ae95bf04a0229ed0c7bbf6dc6889793eb020ffe6e6223b02f4003b3f38253781a1ed22a41f535b5064a8ba4bde20b197d58eb5d55789d4decd9b39aabd46d1c3
 SHA512 
07fec2f1d6eab20a1161672bb339a0c6b2826540bcb03936f95458b179fcb1b3142773c9a4038fe02b30bb05a5ca48a4153b6b0f59015b43bd6c6602832f9d6f

diff --git a/app-emulation/cloud-init/cloud-init-20.4.ebuild 
b/app-emulation/cloud-init/cloud-init-20.4.ebuild
deleted file mode 100644
index 31a7326ac086..000000000000
--- a/app-emulation/cloud-init/cloud-init-20.4.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-if [[ ${PV} == *9999 ]];then
-       inherit git-r3
-       EGIT_REPO_URI="https://git.launchpad.net/cloud-init";
-else
-       SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz";
-       KEYWORDS="~amd64 ~arm64 ~x86"
-fi
-
-DESCRIPTION="Cloud instance initialisation magic"
-HOMEPAGE="https://launchpad.net/cloud-init";
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="
-       dev-python/jinja[${PYTHON_USEDEP}]
-       dev-python/oauthlib[${PYTHON_USEDEP}]
-       dev-python/pyserial[${PYTHON_USEDEP}]
-       >=dev-python/configobj-5.0.2[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       dev-python/requests[${PYTHON_USEDEP}]
-       dev-python/jsonpatch[${PYTHON_USEDEP}]
-       dev-python/jsonschema[${PYTHON_USEDEP}]
-"
-DEPEND="
-       test? (
-               ${CDEPEND}
-               >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}]
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/pytest[${PYTHON_USEDEP}]
-               dev-python/coverage[${PYTHON_USEDEP}]
-       )
-"
-RDEPEND="
-       ${CDEPEND}
-       net-analyzer/macchanger
-       sys-apps/iproute2
-       sys-fs/growpart
-       virtual/logger
-"
-
-PATCHES=(
-       # Fix Gentoo support
-       # 
https://code.launchpad.net/~gilles-dartiguelongue/cloud-init/+git/cloud-init/+merge/358777
-       "${FILESDIR}/${PN}-18.4-fix-packages-module.patch"
-       "${FILESDIR}/${PN}-20.4-gentoo-support-upstream-templates.patch"
-       "${FILESDIR}"/18.4-fix-filename-for-storing-locale.patch
-       "${FILESDIR}"/18.4-fix-update_package_sources-function.patch
-       "${FILESDIR}"/18.4-add-support-for-package_upgrade.patch
-)
-
-python_prepare_all() {
-       # Fix location of documentation installation
-       sed -i "s:USR + '/share/doc/cloud-init:USR + '/share/doc/${PF}:" 
setup.py || die
-       sed -i 's/version=get_version(),/version=9999,/g' setup.py || die
-       distutils-r1_python_prepare_all
-}
-
-python_test() {
-       # Do not use Makefile target as it does not setup environment correctly
-       esetup.py pytest -v cloudinit/ tests/unittests || die
-}
-
-python_install() {
-       distutils-r1_python_install --init-system=sysvinit_openrc,systemd 
--distro gentoo
-}
-
-python_install_all() {
-       keepdir /etc/cloud
-
-       distutils-r1_python_install_all
-
-       # installs as non-executable
-       chmod +x "${D}"/etc/init.d/*
-}
-
-pkg_postinst() {
-       elog "cloud-init-local needs to be run in the boot runlevel because it"
-       elog "modifies services in the default runlevel.  When a runlevel is 
started"
-       elog "it is cached, so modifications that happen to the current 
runlevel"
-       elog "while you are in it are not acted upon."
-}

diff --git a/app-emulation/cloud-init/cloud-init-21.2.ebuild 
b/app-emulation/cloud-init/cloud-init-21.2.ebuild
deleted file mode 100644
index f99af619353e..000000000000
--- a/app-emulation/cloud-init/cloud-init-21.2.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_7 python3_8 python3_9 )
-DISTUTILS_USE_SETUPTOOLS=rdepend
-
-inherit distutils-r1
-
-if [[ ${PV} == *9999 ]];then
-       inherit git-r3
-       EGIT_REPO_URI="https://git.launchpad.net/cloud-init";
-else
-       SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz";
-       KEYWORDS="amd64 ~arm64 x86"
-fi
-
-DESCRIPTION="Cloud instance initialisation magic"
-HOMEPAGE="https://launchpad.net/cloud-init";
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="
-       dev-python/jinja[${PYTHON_USEDEP}]
-       dev-python/oauthlib[${PYTHON_USEDEP}]
-       dev-python/pyserial[${PYTHON_USEDEP}]
-       >=dev-python/configobj-5.0.2[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       dev-python/requests[${PYTHON_USEDEP}]
-       dev-python/jsonpatch[${PYTHON_USEDEP}]
-       dev-python/jsonschema[${PYTHON_USEDEP}]
-"
-DEPEND="
-               ${CDEPEND}
-       test? (
-               >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}]
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/pytest[${PYTHON_USEDEP}]
-               dev-python/coverage[${PYTHON_USEDEP}]
-       )
-"
-RDEPEND="
-       ${CDEPEND}
-       net-analyzer/macchanger
-       sys-apps/iproute2
-       sys-fs/growpart
-       virtual/logger
-"
-
-PATCHES=(
-       # Fix Gentoo support
-       # 
https://code.launchpad.net/~gilles-dartiguelongue/cloud-init/+git/cloud-init/+merge/358777
-       "${FILESDIR}/${PN}-18.4-fix-packages-module.patch"
-       "${FILESDIR}/${PN}-21.2-gentoo-support-upstream-templates.patch"
-       "${FILESDIR}"/18.4-fix-filename-for-storing-locale.patch
-       "${FILESDIR}"/18.4-fix-update_package_sources-function.patch
-       "${FILESDIR}"/18.4-add-support-for-package_upgrade.patch
-)
-
-python_prepare_all() {
-       # Fix location of documentation installation
-       sed -i "s:USR + '/share/doc/cloud-init:USR + '/share/doc/${PF}:" 
setup.py || die
-       sed -i 's/version=get_version(),/version=9999,/g' setup.py || die
-       distutils-r1_python_prepare_all
-}
-
-python_test() {
-       # Do not use Makefile target as it does not setup environment correctly
-       esetup.py pytest -v cloudinit tests/unittests || die
-}
-
-python_install() {
-       distutils-r1_python_install --init-system=sysvinit_openrc,systemd 
--distro gentoo
-}
-
-python_install_all() {
-       keepdir /etc/cloud
-
-       distutils-r1_python_install_all
-
-       # installs as non-executable
-       chmod +x "${D}"/etc/init.d/*
-}
-
-pkg_postinst() {
-       elog "cloud-init-local needs to be run in the boot runlevel because it"
-       elog "modifies services in the default runlevel.  When a runlevel is 
started"
-       elog "it is cached, so modifications that happen to the current 
runlevel"
-       elog "while you are in it are not acted upon."
-}

diff --git a/app-emulation/cloud-init/cloud-init-22.1-r1.ebuild 
b/app-emulation/cloud-init/cloud-init-22.1-r1.ebuild
deleted file mode 100644
index 667839f99352..000000000000
--- a/app-emulation/cloud-init/cloud-init-22.1-r1.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-if [[ ${PV} == *9999 ]];then
-       inherit git-r3
-       EGIT_REPO_URI="https://git.launchpad.net/cloud-init";
-else
-       SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz";
-       KEYWORDS="~amd64 ~arm64 ~x86"
-fi
-
-DESCRIPTION="Cloud instance initialisation magic"
-HOMEPAGE="https://launchpad.net/cloud-init";
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="
-       dev-python/jinja[${PYTHON_USEDEP}]
-       dev-python/oauthlib[${PYTHON_USEDEP}]
-       dev-python/pyserial[${PYTHON_USEDEP}]
-       >=dev-python/configobj-5.0.2[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       dev-python/requests[${PYTHON_USEDEP}]
-       dev-python/jsonpatch[${PYTHON_USEDEP}]
-       dev-python/jsonschema[${PYTHON_USEDEP}]
-       dev-python/netifaces[${PYTHON_USEDEP}]
-"
-BDEPEND="
-       ${CDEPEND}
-       test? (
-               >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}]
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/coverage[${PYTHON_USEDEP}]
-       )
-"
-RDEPEND="
-       ${CDEPEND}
-       net-analyzer/macchanger
-       sys-apps/iproute2
-       sys-fs/growpart
-       virtual/logger
-"
-
-PATCHES=(
-       # Fix Gentoo support
-       # 
https://code.launchpad.net/~gilles-dartiguelongue/cloud-init/+git/cloud-init/+merge/358777
-       "${FILESDIR}"/22.1-fix-update_package_sources-function.patch
-       "${FILESDIR}"/22.1-add-support-for-package_upgrade.patch
-)
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-       # Fix location of documentation installation
-       sed -i "s:USR + '/share/doc/cloud-init:USR + '/share/doc/${PF}:" 
setup.py || die
-       sed -i 's/version=get_version(),/version=9999,/g' setup.py || die
-       distutils-r1_python_prepare_all
-}
-
-python_install() {
-       distutils-r1_python_install --init-system=sysvinit_openrc,systemd 
--distro gentoo
-}
-
-python_install_all() {
-       keepdir /etc/cloud
-
-       distutils-r1_python_install_all
-
-       # installs as non-executable
-       chmod +x "${D}"/etc/init.d/*
-}
-
-pkg_postinst() {
-       elog "cloud-init-local needs to be run in the boot runlevel because it"
-       elog "modifies services in the default runlevel.  When a runlevel is 
started"
-       elog "it is cached, so modifications that happen to the current 
runlevel"
-       elog "while you are in it are not acted upon."
-}

diff --git a/app-emulation/cloud-init/cloud-init-22.2-r1.ebuild 
b/app-emulation/cloud-init/cloud-init-22.2-r1.ebuild
deleted file mode 100644
index 082f34e59987..000000000000
--- a/app-emulation/cloud-init/cloud-init-22.2-r1.ebuild
+++ /dev/null
@@ -1,94 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# Disabled for now: bug #850628
-# https://bugs.launchpad.net/cloud-init/+bug/1978328
-#DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1 udev
-
-if [[ ${PV} == *9999 ]]; then
-       inherit git-r3
-       EGIT_REPO_URI="https://git.launchpad.net/cloud-init";
-else
-       SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz";
-       KEYWORDS="amd64 arm64 ppc64 x86"
-fi
-
-DESCRIPTION="Cloud instance initialisation magic"
-HOMEPAGE="https://launchpad.net/cloud-init";
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="
-       dev-python/jinja[${PYTHON_USEDEP}]
-       dev-python/oauthlib[${PYTHON_USEDEP}]
-       dev-python/pyserial[${PYTHON_USEDEP}]
-       >=dev-python/configobj-5.0.2[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       dev-python/requests[${PYTHON_USEDEP}]
-       dev-python/jsonpatch[${PYTHON_USEDEP}]
-       dev-python/jsonschema[${PYTHON_USEDEP}]
-       dev-python/netifaces[${PYTHON_USEDEP}]
-"
-BDEPEND="
-       ${CDEPEND}
-       test? (
-               >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}]
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/pytest-mock[${PYTHON_USEDEP}]
-               dev-python/responses[${PYTHON_USEDEP}]
-               dev-python/setuptools[${PYTHON_USEDEP}]
-       )
-"
-RDEPEND="
-       ${CDEPEND}
-       net-analyzer/macchanger
-       sys-apps/iproute2
-       sys-fs/growpart
-       virtual/logger
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-       # Fix location of documentation installation
-       sed -i "s:USR + '/share/doc/cloud-init:USR + '/share/doc/${PF}:" 
setup.py || die
-
-       if [[ ${PV} == *9999 ]] ; then
-               sed -i 's/version=get_version(),/version=9999,/g' setup.py || 
die
-       fi
-       distutils-r1_python_prepare_all
-}
-
-python_install() {
-       distutils-r1_python_install --init-system=sysvinit_openrc,systemd 
--distro gentoo
-}
-
-python_install_all() {
-       keepdir /etc/cloud
-
-       distutils-r1_python_install_all
-
-       # installs as non-executable
-       chmod +x "${D}"/etc/init.d/* || die
-}
-
-pkg_prerm() {
-       udev_reload
-}
-
-pkg_postinst() {
-       udev_reload
-
-       elog "cloud-init-local needs to be run in the boot runlevel because it"
-       elog "modifies services in the default runlevel.  When a runlevel is 
started"
-       elog "it is cached, so modifications that happen to the current 
runlevel"
-       elog "while you are in it are not acted upon."
-}

diff --git a/app-emulation/cloud-init/cloud-init-22.2.ebuild 
b/app-emulation/cloud-init/cloud-init-22.2.ebuild
deleted file mode 100644
index 071baaffc9f0..000000000000
--- a/app-emulation/cloud-init/cloud-init-22.2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-if [[ ${PV} == *9999 ]];then
-       inherit git-r3
-       EGIT_REPO_URI="https://git.launchpad.net/cloud-init";
-else
-       SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz";
-       KEYWORDS="amd64 arm64 ppc64 x86"
-fi
-
-DESCRIPTION="Cloud instance initialisation magic"
-HOMEPAGE="https://launchpad.net/cloud-init";
-
-LICENSE="GPL-3"
-SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-CDEPEND="
-       dev-python/jinja[${PYTHON_USEDEP}]
-       dev-python/oauthlib[${PYTHON_USEDEP}]
-       dev-python/pyserial[${PYTHON_USEDEP}]
-       >=dev-python/configobj-5.0.2[${PYTHON_USEDEP}]
-       dev-python/pyyaml[${PYTHON_USEDEP}]
-       dev-python/requests[${PYTHON_USEDEP}]
-       dev-python/jsonpatch[${PYTHON_USEDEP}]
-       dev-python/jsonschema[${PYTHON_USEDEP}]
-       dev-python/netifaces[${PYTHON_USEDEP}]
-"
-BDEPEND="
-       ${CDEPEND}
-       test? (
-               >=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}]
-               dev-python/mock[${PYTHON_USEDEP}]
-               dev-python/pytest-mock[${PYTHON_USEDEP}]
-               dev-python/responses[${PYTHON_USEDEP}]
-               dev-python/setuptools[${PYTHON_USEDEP}]
-       )
-"
-RDEPEND="
-       ${CDEPEND}
-       net-analyzer/macchanger
-       sys-apps/iproute2
-       sys-fs/growpart
-       virtual/logger
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
-       # Fix location of documentation installation
-       sed -i "s:USR + '/share/doc/cloud-init:USR + '/share/doc/${PF}:" 
setup.py || die
-       sed -i 's/version=get_version(),/version=9999,/g' setup.py || die
-       distutils-r1_python_prepare_all
-}
-
-python_install() {
-       distutils-r1_python_install --init-system=sysvinit_openrc,systemd 
--distro gentoo
-}
-
-python_install_all() {
-       keepdir /etc/cloud
-
-       distutils-r1_python_install_all
-
-       # installs as non-executable
-       chmod +x "${D}"/etc/init.d/*
-}
-
-pkg_postinst() {
-       elog "cloud-init-local needs to be run in the boot runlevel because it"
-       elog "modifies services in the default runlevel.  When a runlevel is 
started"
-       elog "it is cached, so modifications that happen to the current 
runlevel"
-       elog "while you are in it are not acted upon."
-}

Reply via email to