public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2023-12-20  9:10 David Roman
  0 siblings, 0 replies; 11+ messages in thread
From: David Roman @ 2023-12-20  9:10 UTC (permalink / raw
  To: gentoo-commits

commit:     fb989d9073d510eb2e6e61aa0e8fba54d3aa3ca3
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Dec 19 16:53:41 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Dec 19 16:54:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fb989d90

dev-util/mock: new package, add 5.3

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/Manifest        |  1 +
 dev-util/mock/metadata.xml    | 11 ++++++
 dev-util/mock/mock-5.3.ebuild | 86 +++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 98 insertions(+)

diff --git a/dev-util/mock/Manifest b/dev-util/mock/Manifest
new file mode 100644
index 0000000000..7bf4b35e88
--- /dev/null
+++ b/dev-util/mock/Manifest
@@ -0,0 +1 @@
+DIST mock-5.3.tar.gz 173290 BLAKE2B 4892fc58757607ecad4014833d57403cc2be4034870e5af6153f91dc85c851323e001262aa98089abff3d43b574fd340e73ed109f994bde58c9f0cb6af6e8c35 SHA512 ffef6d024a68003ff40ac32c9c541e8f45eccffb429e7f427319e9a62d397cb05cf84721f60382b3629a8145d0de16c1cb128176f51442109fe5d1268c2cb83d

diff --git a/dev-util/mock/metadata.xml b/dev-util/mock/metadata.xml
new file mode 100644
index 0000000000..5d58876470
--- /dev/null
+++ b/dev-util/mock/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>pastalian46@gmail.com</email>
+		<name>Takuya Wakazono</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">rpm-software-management/mock</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/dev-util/mock/mock-5.3.ebuild b/dev-util/mock/mock-5.3.ebuild
new file mode 100644
index 0000000000..0e71b796c0
--- /dev/null
+++ b/dev-util/mock/mock-5.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_11 )
+
+inherit bash-completion-r1 optfeature python-single-r1
+
+DESCRIPTION="Simple chroot build environment manager for building RPMs"
+HOMEPAGE="
+	https://rpm-software-management.github.io/mock/
+	https://github.com/rpm-software-management/mock/
+"
+SRC_URI="https://github.com/rpm-software-management/mock/releases/download/${P}-1/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+#DEPEND=""
+RDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_cond_dep '
+		app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
+		dev-python/backoff[${PYTHON_USEDEP}]
+		dev-python/distro[${PYTHON_USEDEP}]
+		dev-python/pyroute2[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+		dev-python/rpmautospec-core[${PYTHON_USEDEP}]
+		dev-python/templated-dictionary[${PYTHON_USEDEP}]
+	')
+	acct-group/mock
+	app-containers/podman
+	dev-util/distribution-gpg-keys
+	dev-util/mock-core-configs
+"
+
+src_prepare() {
+	default
+
+	sed -i -e "s|^VERSION\s*=.*|VERSION=\"${PV}\"|" \
+		-e "s|^SYSCONFDIR\s*=.*|SYSCONFDIR=\"${EPREFIX}/etc\"|" \
+		-e "s|^PYTHONDIR\s*=.*|PYTHONDIR=\"$(python_get_sitedir)\"|" \
+		-e "s|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR=\"$(python_get_sitedir)/mockbuild\"|" \
+		py/mockbuild/constants.py py/mock-parse-buildlog.py || die
+
+	sed -i -e "s|^_MOCK_NVR = None$|_MOCK_NVR = \"${P}-1\"|" py/mock.py || die
+	sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
+
+	sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
+}
+
+src_compile() { :; }
+
+src_install() {
+	python_domodule py/mockbuild
+	python_newscript py/mock.py mock
+	python_newscript py/mock-parse-buildlog.py mock-parse-buildlog
+	dobin mockchain
+
+	exeinto /usr/libexec/mock
+	doexe create_default_route_in_container.sh
+
+	dobashcomp etc/bash_completion.d/mock
+	bashcomp_alias mock mock-parse-buildlog
+	dodoc docs/site-defaults.cfg
+	doman docs/mock.1 docs/mock-parse-buildlog.1
+
+	insinto /etc/mock
+	doins etc/mock/*
+	insinto /etc/pki/mock
+	doins etc/pki/*
+
+	diropts -m0775 -o root -g mock
+	keepdir /var/lib/mock
+}
+
+pkg_postinst() {
+	optfeature "chain mode support" app-arch/createrepo_c
+	optfeature "pigz in root_cache plugin" app-arch/pigz
+	optfeature "nspawn instead of chroot" sys-apps/systemd
+	optfeature "lvm_root plugin support" sys-fs/lvm2
+	optfeature "procenv plugin support" sys-process/procenv
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2023-12-23  7:32 Viorel Munteanu
  0 siblings, 0 replies; 11+ messages in thread
From: Viorel Munteanu @ 2023-12-23  7:32 UTC (permalink / raw
  To: gentoo-commits

commit:     b288b65d5e67eaaca38e02bb7a2d62028c2a2b0c
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Dec 22 10:09:33 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Dec 22 10:09:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b288b65d

dev-util/mock: override src_test function

Closes: https://bugs.gentoo.org/920445
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/mock-5.3.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/dev-util/mock/mock-5.3.ebuild b/dev-util/mock/mock-5.3.ebuild
index 0e71b796c0..e8d27cf57e 100644
--- a/dev-util/mock/mock-5.3.ebuild
+++ b/dev-util/mock/mock-5.3.ebuild
@@ -17,9 +17,10 @@ SRC_URI="https://github.com/rpm-software-management/mock/releases/download/${P}-
 LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="~amd64"
+IUSE="test"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
 
-#DEPEND=""
 RDEPEND="
 	${PYTHON_DEPS}
 	$(python_gen_cond_dep '
@@ -36,6 +37,10 @@ RDEPEND="
 	dev-util/distribution-gpg-keys
 	dev-util/mock-core-configs
 "
+BDEPEND="
+	${PYTHON_DEPS}
+	test? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )
+"
 
 src_prepare() {
 	default
@@ -77,6 +82,10 @@ src_install() {
 	keepdir /var/lib/mock
 }
 
+src_test() {
+	epytest tests
+}
+
 pkg_postinst() {
 	optfeature "chain mode support" app-arch/createrepo_c
 	optfeature "pigz in root_cache plugin" app-arch/pigz


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2023-12-27 20:23 David Roman
  0 siblings, 0 replies; 11+ messages in thread
From: David Roman @ 2023-12-27 20:23 UTC (permalink / raw
  To: gentoo-commits

commit:     467adf69c0c4084dbd0a934101f68acc8b29a826
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Tue Dec 26 09:22:59 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Dec 26 09:25:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=467adf69

dev-util/mock: fix PYTHONPATH

Closes: https://bugs.gentoo.org/920633
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/mock-5.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/mock/mock-5.3.ebuild b/dev-util/mock/mock-5.3.ebuild
index e8d27cf57e..0aa46fb218 100644
--- a/dev-util/mock/mock-5.3.ebuild
+++ b/dev-util/mock/mock-5.3.ebuild
@@ -83,7 +83,7 @@ src_install() {
 }
 
 src_test() {
-	epytest tests
+	PYTHONPATH=py epytest tests
 }
 
 pkg_postinst() {


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2024-02-15 14:58 David Roman
  0 siblings, 0 replies; 11+ messages in thread
From: David Roman @ 2024-02-15 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     b7708dd47db137d5c3869402d637836c1626f191
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 15 10:09:23 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb 15 10:25:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b7708dd4

dev-util/mock: drop 5.4

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/Manifest        |  1 -
 dev-util/mock/mock-5.4.ebuild | 95 -------------------------------------------
 2 files changed, 96 deletions(-)

diff --git a/dev-util/mock/Manifest b/dev-util/mock/Manifest
index 2572397d7b..e4d83fea5f 100644
--- a/dev-util/mock/Manifest
+++ b/dev-util/mock/Manifest
@@ -1,2 +1 @@
-DIST mock-5.4.tar.gz 173302 BLAKE2B 285a198f99c8733fae9787c95715db7a2c89760d25e8121844dff85a74a6b818e411f93b9f87a2c421e8cc9edd300f060e9cdb13b3622cee0d1d6aa798c94b3d SHA512 8dceb22cf4eafbdca3012268b22430855864f474d68950e1aa01250ce9fb5184bed5662287fb89769d0d945ac47a18c73ab1531137e055246c1aace6055afa6b
 DIST mock-5.5.tar.gz 178460 BLAKE2B b97bd621676b3142c782ff4c61c12a18a65bb2196925c2e4383a38e98547805f23db08e6c92e62cf2f207c9347378f692524b5a64d92299842f80bc1ccff1c1b SHA512 40739f4cd480e43d990650046c91da423422917362accdb0b6ce103833b6929af6b5bd17c8477bf36dcf8c1aabb1cbcdf43ece08559ec87edd9d9c76aaa7f3a9

diff --git a/dev-util/mock/mock-5.4.ebuild b/dev-util/mock/mock-5.4.ebuild
deleted file mode 100644
index 3041eb78aa..0000000000
--- a/dev-util/mock/mock-5.4.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit bash-completion-r1 optfeature python-single-r1
-
-DESCRIPTION="Simple chroot build environment manager for building RPMs"
-HOMEPAGE="
-	https://rpm-software-management.github.io/mock/
-	https://github.com/rpm-software-management/mock/
-"
-SRC_URI="https://github.com/rpm-software-management/mock/releases/download/${P}-1/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	${PYTHON_DEPS}
-	$(python_gen_cond_dep '
-		app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
-		dev-python/backoff[${PYTHON_USEDEP}]
-		dev-python/distro[${PYTHON_USEDEP}]
-		dev-python/pyroute2[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-python/rpmautospec-core[${PYTHON_USEDEP}]
-		dev-python/templated-dictionary[${PYTHON_USEDEP}]
-	')
-	acct-group/mock
-	app-containers/podman
-	dev-util/distribution-gpg-keys
-	dev-util/mock-core-configs
-"
-BDEPEND="
-	${PYTHON_DEPS}
-	test? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )
-"
-
-src_prepare() {
-	default
-
-	sed -i -e "s|^VERSION\s*=.*|VERSION=\"${PV}\"|" \
-		-e "s|^SYSCONFDIR\s*=.*|SYSCONFDIR=\"${EPREFIX}/etc\"|" \
-		-e "s|^PYTHONDIR\s*=.*|PYTHONDIR=\"$(python_get_sitedir)\"|" \
-		-e "s|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR=\"$(python_get_sitedir)/mockbuild\"|" \
-		py/mockbuild/constants.py py/mock-parse-buildlog.py || die
-
-	sed -i -e "s|^_MOCK_NVR = None$|_MOCK_NVR = \"${P}-1\"|" py/mock.py || die
-	sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
-
-	sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
-}
-
-src_compile() { :; }
-
-src_install() {
-	python_domodule py/mockbuild
-	python_newscript py/mock.py mock
-	python_newscript py/mock-parse-buildlog.py mock-parse-buildlog
-	dobin mockchain
-
-	exeinto /usr/libexec/mock
-	doexe create_default_route_in_container.sh
-
-	dobashcomp etc/bash_completion.d/mock
-	bashcomp_alias mock mock-parse-buildlog
-	dodoc docs/site-defaults.cfg
-	doman docs/mock.1 docs/mock-parse-buildlog.1
-
-	insinto /etc/mock
-	doins etc/mock/*
-	insinto /etc/pki/mock
-	doins etc/pki/*
-
-	diropts -m0775 -o root -g mock
-	keepdir /var/lib/mock
-}
-
-src_test() {
-	PYTHONPATH=py epytest tests
-}
-
-pkg_postinst() {
-	optfeature "chain mode support" app-arch/createrepo_c
-	optfeature "pigz in root_cache plugin" app-arch/pigz
-	optfeature "nspawn instead of chroot" sys-apps/systemd
-	optfeature "lvm_root plugin support" sys-fs/lvm2
-	optfeature "procenv plugin support" sys-process/procenv
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2024-02-15 14:58 David Roman
  0 siblings, 0 replies; 11+ messages in thread
From: David Roman @ 2024-02-15 14:58 UTC (permalink / raw
  To: gentoo-commits

commit:     65f6c1ec35c296ce903cf436af063e783e7bb707
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Thu Feb 15 10:09:12 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Feb 15 10:25:21 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=65f6c1ec

dev-util/mock: add 5.5

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/Manifest        |  1 +
 dev-util/mock/mock-5.5.ebuild | 95 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/dev-util/mock/Manifest b/dev-util/mock/Manifest
index c8ec024441..2572397d7b 100644
--- a/dev-util/mock/Manifest
+++ b/dev-util/mock/Manifest
@@ -1 +1,2 @@
 DIST mock-5.4.tar.gz 173302 BLAKE2B 285a198f99c8733fae9787c95715db7a2c89760d25e8121844dff85a74a6b818e411f93b9f87a2c421e8cc9edd300f060e9cdb13b3622cee0d1d6aa798c94b3d SHA512 8dceb22cf4eafbdca3012268b22430855864f474d68950e1aa01250ce9fb5184bed5662287fb89769d0d945ac47a18c73ab1531137e055246c1aace6055afa6b
+DIST mock-5.5.tar.gz 178460 BLAKE2B b97bd621676b3142c782ff4c61c12a18a65bb2196925c2e4383a38e98547805f23db08e6c92e62cf2f207c9347378f692524b5a64d92299842f80bc1ccff1c1b SHA512 40739f4cd480e43d990650046c91da423422917362accdb0b6ce103833b6929af6b5bd17c8477bf36dcf8c1aabb1cbcdf43ece08559ec87edd9d9c76aaa7f3a9

diff --git a/dev-util/mock/mock-5.5.ebuild b/dev-util/mock/mock-5.5.ebuild
new file mode 100644
index 0000000000..3041eb78aa
--- /dev/null
+++ b/dev-util/mock/mock-5.5.ebuild
@@ -0,0 +1,95 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit bash-completion-r1 optfeature python-single-r1
+
+DESCRIPTION="Simple chroot build environment manager for building RPMs"
+HOMEPAGE="
+	https://rpm-software-management.github.io/mock/
+	https://github.com/rpm-software-management/mock/
+"
+SRC_URI="https://github.com/rpm-software-management/mock/releases/download/${P}-1/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_cond_dep '
+		app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
+		dev-python/backoff[${PYTHON_USEDEP}]
+		dev-python/distro[${PYTHON_USEDEP}]
+		dev-python/pyroute2[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+		dev-python/rpmautospec-core[${PYTHON_USEDEP}]
+		dev-python/templated-dictionary[${PYTHON_USEDEP}]
+	')
+	acct-group/mock
+	app-containers/podman
+	dev-util/distribution-gpg-keys
+	dev-util/mock-core-configs
+"
+BDEPEND="
+	${PYTHON_DEPS}
+	test? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )
+"
+
+src_prepare() {
+	default
+
+	sed -i -e "s|^VERSION\s*=.*|VERSION=\"${PV}\"|" \
+		-e "s|^SYSCONFDIR\s*=.*|SYSCONFDIR=\"${EPREFIX}/etc\"|" \
+		-e "s|^PYTHONDIR\s*=.*|PYTHONDIR=\"$(python_get_sitedir)\"|" \
+		-e "s|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR=\"$(python_get_sitedir)/mockbuild\"|" \
+		py/mockbuild/constants.py py/mock-parse-buildlog.py || die
+
+	sed -i -e "s|^_MOCK_NVR = None$|_MOCK_NVR = \"${P}-1\"|" py/mock.py || die
+	sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
+
+	sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
+}
+
+src_compile() { :; }
+
+src_install() {
+	python_domodule py/mockbuild
+	python_newscript py/mock.py mock
+	python_newscript py/mock-parse-buildlog.py mock-parse-buildlog
+	dobin mockchain
+
+	exeinto /usr/libexec/mock
+	doexe create_default_route_in_container.sh
+
+	dobashcomp etc/bash_completion.d/mock
+	bashcomp_alias mock mock-parse-buildlog
+	dodoc docs/site-defaults.cfg
+	doman docs/mock.1 docs/mock-parse-buildlog.1
+
+	insinto /etc/mock
+	doins etc/mock/*
+	insinto /etc/pki/mock
+	doins etc/pki/*
+
+	diropts -m0775 -o root -g mock
+	keepdir /var/lib/mock
+}
+
+src_test() {
+	PYTHONPATH=py epytest tests
+}
+
+pkg_postinst() {
+	optfeature "chain mode support" app-arch/createrepo_c
+	optfeature "pigz in root_cache plugin" app-arch/pigz
+	optfeature "nspawn instead of chroot" sys-apps/systemd
+	optfeature "lvm_root plugin support" sys-fs/lvm2
+	optfeature "procenv plugin support" sys-process/procenv
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2024-05-20  0:18 Julien Roy
  0 siblings, 0 replies; 11+ messages in thread
From: Julien Roy @ 2024-05-20  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     c165362cb2d26b06a873684ceab817c5e57aee5c
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun May 19 04:28:55 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun May 19 04:28:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c165362c

dev-util/mock: add 5.6

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/Manifest        |  1 +
 dev-util/mock/mock-5.6.ebuild | 95 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/dev-util/mock/Manifest b/dev-util/mock/Manifest
index e4d83fea5f..723943e431 100644
--- a/dev-util/mock/Manifest
+++ b/dev-util/mock/Manifest
@@ -1 +1,2 @@
 DIST mock-5.5.tar.gz 178460 BLAKE2B b97bd621676b3142c782ff4c61c12a18a65bb2196925c2e4383a38e98547805f23db08e6c92e62cf2f207c9347378f692524b5a64d92299842f80bc1ccff1c1b SHA512 40739f4cd480e43d990650046c91da423422917362accdb0b6ce103833b6929af6b5bd17c8477bf36dcf8c1aabb1cbcdf43ece08559ec87edd9d9c76aaa7f3a9
+DIST mock-5.6.tar.gz 179325 BLAKE2B 752d07d8dbc8627648764459fab818941999ae874e83c9787a7c7b3f1d526d7ad9840adb31b18a2ea9c83144c3c6dfe7195f48334a0e5ed1bff04723af7b1fa3 SHA512 96dea8001ad1cb1509730175b6874078369313ba0f911b7d44e896686d945cb819d0cc3604da31a20d51ae3cf3538bdd39073f27fd7f8c88fe8843c9059efd04

diff --git a/dev-util/mock/mock-5.6.ebuild b/dev-util/mock/mock-5.6.ebuild
new file mode 100644
index 0000000000..3041eb78aa
--- /dev/null
+++ b/dev-util/mock/mock-5.6.ebuild
@@ -0,0 +1,95 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit bash-completion-r1 optfeature python-single-r1
+
+DESCRIPTION="Simple chroot build environment manager for building RPMs"
+HOMEPAGE="
+	https://rpm-software-management.github.io/mock/
+	https://github.com/rpm-software-management/mock/
+"
+SRC_URI="https://github.com/rpm-software-management/mock/releases/download/${P}-1/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_cond_dep '
+		app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
+		dev-python/backoff[${PYTHON_USEDEP}]
+		dev-python/distro[${PYTHON_USEDEP}]
+		dev-python/pyroute2[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+		dev-python/rpmautospec-core[${PYTHON_USEDEP}]
+		dev-python/templated-dictionary[${PYTHON_USEDEP}]
+	')
+	acct-group/mock
+	app-containers/podman
+	dev-util/distribution-gpg-keys
+	dev-util/mock-core-configs
+"
+BDEPEND="
+	${PYTHON_DEPS}
+	test? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )
+"
+
+src_prepare() {
+	default
+
+	sed -i -e "s|^VERSION\s*=.*|VERSION=\"${PV}\"|" \
+		-e "s|^SYSCONFDIR\s*=.*|SYSCONFDIR=\"${EPREFIX}/etc\"|" \
+		-e "s|^PYTHONDIR\s*=.*|PYTHONDIR=\"$(python_get_sitedir)\"|" \
+		-e "s|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR=\"$(python_get_sitedir)/mockbuild\"|" \
+		py/mockbuild/constants.py py/mock-parse-buildlog.py || die
+
+	sed -i -e "s|^_MOCK_NVR = None$|_MOCK_NVR = \"${P}-1\"|" py/mock.py || die
+	sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
+
+	sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
+}
+
+src_compile() { :; }
+
+src_install() {
+	python_domodule py/mockbuild
+	python_newscript py/mock.py mock
+	python_newscript py/mock-parse-buildlog.py mock-parse-buildlog
+	dobin mockchain
+
+	exeinto /usr/libexec/mock
+	doexe create_default_route_in_container.sh
+
+	dobashcomp etc/bash_completion.d/mock
+	bashcomp_alias mock mock-parse-buildlog
+	dodoc docs/site-defaults.cfg
+	doman docs/mock.1 docs/mock-parse-buildlog.1
+
+	insinto /etc/mock
+	doins etc/mock/*
+	insinto /etc/pki/mock
+	doins etc/pki/*
+
+	diropts -m0775 -o root -g mock
+	keepdir /var/lib/mock
+}
+
+src_test() {
+	PYTHONPATH=py epytest tests
+}
+
+pkg_postinst() {
+	optfeature "chain mode support" app-arch/createrepo_c
+	optfeature "pigz in root_cache plugin" app-arch/pigz
+	optfeature "nspawn instead of chroot" sys-apps/systemd
+	optfeature "lvm_root plugin support" sys-fs/lvm2
+	optfeature "procenv plugin support" sys-process/procenv
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2024-05-20  0:18 Julien Roy
  0 siblings, 0 replies; 11+ messages in thread
From: Julien Roy @ 2024-05-20  0:18 UTC (permalink / raw
  To: gentoo-commits

commit:     0c0c39cc77faa0c31b3d9743d70858353b9859d4
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sun May 19 04:29:03 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun May 19 04:29:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c0c39cc

dev-util/mock: drop 5.5

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/Manifest        |  1 -
 dev-util/mock/mock-5.5.ebuild | 95 -------------------------------------------
 2 files changed, 96 deletions(-)

diff --git a/dev-util/mock/Manifest b/dev-util/mock/Manifest
index 723943e431..81f6297fb7 100644
--- a/dev-util/mock/Manifest
+++ b/dev-util/mock/Manifest
@@ -1,2 +1 @@
-DIST mock-5.5.tar.gz 178460 BLAKE2B b97bd621676b3142c782ff4c61c12a18a65bb2196925c2e4383a38e98547805f23db08e6c92e62cf2f207c9347378f692524b5a64d92299842f80bc1ccff1c1b SHA512 40739f4cd480e43d990650046c91da423422917362accdb0b6ce103833b6929af6b5bd17c8477bf36dcf8c1aabb1cbcdf43ece08559ec87edd9d9c76aaa7f3a9
 DIST mock-5.6.tar.gz 179325 BLAKE2B 752d07d8dbc8627648764459fab818941999ae874e83c9787a7c7b3f1d526d7ad9840adb31b18a2ea9c83144c3c6dfe7195f48334a0e5ed1bff04723af7b1fa3 SHA512 96dea8001ad1cb1509730175b6874078369313ba0f911b7d44e896686d945cb819d0cc3604da31a20d51ae3cf3538bdd39073f27fd7f8c88fe8843c9059efd04

diff --git a/dev-util/mock/mock-5.5.ebuild b/dev-util/mock/mock-5.5.ebuild
deleted file mode 100644
index 3041eb78aa..0000000000
--- a/dev-util/mock/mock-5.5.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit bash-completion-r1 optfeature python-single-r1
-
-DESCRIPTION="Simple chroot build environment manager for building RPMs"
-HOMEPAGE="
-	https://rpm-software-management.github.io/mock/
-	https://github.com/rpm-software-management/mock/
-"
-SRC_URI="https://github.com/rpm-software-management/mock/releases/download/${P}-1/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	${PYTHON_DEPS}
-	$(python_gen_cond_dep '
-		app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
-		dev-python/backoff[${PYTHON_USEDEP}]
-		dev-python/distro[${PYTHON_USEDEP}]
-		dev-python/pyroute2[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-python/rpmautospec-core[${PYTHON_USEDEP}]
-		dev-python/templated-dictionary[${PYTHON_USEDEP}]
-	')
-	acct-group/mock
-	app-containers/podman
-	dev-util/distribution-gpg-keys
-	dev-util/mock-core-configs
-"
-BDEPEND="
-	${PYTHON_DEPS}
-	test? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )
-"
-
-src_prepare() {
-	default
-
-	sed -i -e "s|^VERSION\s*=.*|VERSION=\"${PV}\"|" \
-		-e "s|^SYSCONFDIR\s*=.*|SYSCONFDIR=\"${EPREFIX}/etc\"|" \
-		-e "s|^PYTHONDIR\s*=.*|PYTHONDIR=\"$(python_get_sitedir)\"|" \
-		-e "s|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR=\"$(python_get_sitedir)/mockbuild\"|" \
-		py/mockbuild/constants.py py/mock-parse-buildlog.py || die
-
-	sed -i -e "s|^_MOCK_NVR = None$|_MOCK_NVR = \"${P}-1\"|" py/mock.py || die
-	sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
-
-	sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
-}
-
-src_compile() { :; }
-
-src_install() {
-	python_domodule py/mockbuild
-	python_newscript py/mock.py mock
-	python_newscript py/mock-parse-buildlog.py mock-parse-buildlog
-	dobin mockchain
-
-	exeinto /usr/libexec/mock
-	doexe create_default_route_in_container.sh
-
-	dobashcomp etc/bash_completion.d/mock
-	bashcomp_alias mock mock-parse-buildlog
-	dodoc docs/site-defaults.cfg
-	doman docs/mock.1 docs/mock-parse-buildlog.1
-
-	insinto /etc/mock
-	doins etc/mock/*
-	insinto /etc/pki/mock
-	doins etc/pki/*
-
-	diropts -m0775 -o root -g mock
-	keepdir /var/lib/mock
-}
-
-src_test() {
-	PYTHONPATH=py epytest tests
-}
-
-pkg_postinst() {
-	optfeature "chain mode support" app-arch/createrepo_c
-	optfeature "pigz in root_cache plugin" app-arch/pigz
-	optfeature "nspawn instead of chroot" sys-apps/systemd
-	optfeature "lvm_root plugin support" sys-fs/lvm2
-	optfeature "procenv plugin support" sys-process/procenv
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2024-09-27 17:02 David Roman
  0 siblings, 0 replies; 11+ messages in thread
From: David Roman @ 2024-09-27 17:02 UTC (permalink / raw
  To: gentoo-commits

commit:     e4ac4625fd8b81a978cf2da5d6e0fd8f019a2fd2
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Sep 27 16:22:37 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Sep 27 16:22:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e4ac4625

dev-util/mock: add 5.7

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/Manifest        |   1 +
 dev-util/mock/mock-5.7.ebuild | 105 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/dev-util/mock/Manifest b/dev-util/mock/Manifest
index 81f6297fb..c57819f7a 100644
--- a/dev-util/mock/Manifest
+++ b/dev-util/mock/Manifest
@@ -1 +1,2 @@
 DIST mock-5.6.tar.gz 179325 BLAKE2B 752d07d8dbc8627648764459fab818941999ae874e83c9787a7c7b3f1d526d7ad9840adb31b18a2ea9c83144c3c6dfe7195f48334a0e5ed1bff04723af7b1fa3 SHA512 96dea8001ad1cb1509730175b6874078369313ba0f911b7d44e896686d945cb819d0cc3604da31a20d51ae3cf3538bdd39073f27fd7f8c88fe8843c9059efd04
+DIST mock-5.7.tar.gz 193087 BLAKE2B dade170ecef393f5c0a8a8c783d3600828356ea398bd1ab78dfb7db75fdcf313122c72cd8fe472677f431d18e2c93e4349b30d76bd439ddb9ddd3eac4004400e SHA512 1edf699d62ccc92e1d2459cb04bf34a34942125907cb3335f0f3dcdaeb73cb70ad80c939e5dfe205c56eeb217144a651adac6cd1caa7e6a7ecbc4fa3518d5d4c

diff --git a/dev-util/mock/mock-5.7.ebuild b/dev-util/mock/mock-5.7.ebuild
new file mode 100644
index 000000000..04f8153f2
--- /dev/null
+++ b/dev-util/mock/mock-5.7.ebuild
@@ -0,0 +1,105 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit bash-completion-r1 optfeature python-single-r1
+
+DESCRIPTION="Simple chroot build environment manager for building RPMs"
+HOMEPAGE="
+	https://rpm-software-management.github.io/mock/
+	https://github.com/rpm-software-management/mock/
+"
+SRC_URI="https://github.com/rpm-software-management/mock/releases/download/${P}-1/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_cond_dep '
+		app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
+		dev-python/backoff[${PYTHON_USEDEP}]
+		dev-python/distro[${PYTHON_USEDEP}]
+		dev-python/pyroute2[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+		dev-python/rpmautospec-core[${PYTHON_USEDEP}]
+		dev-python/templated-dictionary[${PYTHON_USEDEP}]
+	')
+	acct-group/mock
+	app-containers/podman
+	dev-util/distribution-gpg-keys
+	dev-util/mock-core-configs
+"
+BDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_cond_dep 'dev-python/argparse-manpage[${PYTHON_USEDEP}]')
+	test? ( $(python_gen_cond_dep '
+		dev-python/jsonschema[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+	') )
+"
+
+src_prepare() {
+	default
+
+	sed -i -e "s|^VERSION\s*=.*|VERSION=\"${PV}\"|" \
+		-e "s|^SYSCONFDIR\s*=.*|SYSCONFDIR=\"${EPREFIX}/etc\"|" \
+		-e "s|^PYTHONDIR\s*=.*|PYTHONDIR=\"$(python_get_sitedir)\"|" \
+		-e "s|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR=\"$(python_get_sitedir)/mockbuild\"|" \
+		py/mockbuild/constants.py py/mock-parse-buildlog.py || die
+
+	sed -i -e "s|^_MOCK_NVR = None$|_MOCK_NVR = \"${P}-1\"|" py/mock.py || die
+	sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
+
+	sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
+
+	# bug #928266: remove unnecessary completion target for us
+	sed -i -e "s/ mock.py//" -e "s/ mock-parse-buildlog.py//" etc/bash_completion.d/mock || die
+}
+
+src_compile() {
+	argparse-manpage --pyfile py/mock-hermetic-repo.py --function _argparser > mock-hermetic-repo.1 || die
+}
+
+src_install() {
+	python_domodule py/mockbuild
+	python_newscript py/mock.py mock
+	python_newscript py/mock-hermetic-repo.py mock-hermetic-repo
+	python_newscript py/mock-parse-buildlog.py mock-parse-buildlog
+	dobin mockchain
+
+	exeinto /usr/libexec/mock
+	doexe create_default_route_in_container.sh
+
+	dobashcomp etc/bash_completion.d/mock
+	bashcomp_alias mock mock-parse-buildlog
+	dodoc docs/site-defaults.cfg
+	doman docs/mock.1 docs/mock-parse-buildlog.1 mock-hermetic-repo.1
+
+	insinto /etc/mock
+	doins etc/mock/*
+	insinto /etc/pki/mock
+	doins etc/pki/*
+
+	diropts -m0775 -o root -g mock
+	keepdir /var/lib/mock
+}
+
+src_test() {
+	PYTHONPATH=py epytest tests
+}
+
+pkg_postinst() {
+	optfeature "chain mode support" app-arch/createrepo_c
+	optfeature "pigz in root_cache plugin" app-arch/pigz
+	optfeature "nspawn instead of chroot" sys-apps/systemd
+	optfeature "lvm_root plugin support" sys-fs/lvm2
+	optfeature "procenv plugin support" sys-process/procenv
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2024-09-27 17:02 David Roman
  0 siblings, 0 replies; 11+ messages in thread
From: David Roman @ 2024-09-27 17:02 UTC (permalink / raw
  To: gentoo-commits

commit:     b62e33c2d2e84380e46c865eb38146178165e4e4
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Fri Sep 27 16:22:37 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Sep 27 16:22:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b62e33c2

dev-util/mock: drop 5.6-r1

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/Manifest           |  1 -
 dev-util/mock/mock-5.6-r1.ebuild | 98 ----------------------------------------
 2 files changed, 99 deletions(-)

diff --git a/dev-util/mock/Manifest b/dev-util/mock/Manifest
index c57819f7a..ec4208f09 100644
--- a/dev-util/mock/Manifest
+++ b/dev-util/mock/Manifest
@@ -1,2 +1 @@
-DIST mock-5.6.tar.gz 179325 BLAKE2B 752d07d8dbc8627648764459fab818941999ae874e83c9787a7c7b3f1d526d7ad9840adb31b18a2ea9c83144c3c6dfe7195f48334a0e5ed1bff04723af7b1fa3 SHA512 96dea8001ad1cb1509730175b6874078369313ba0f911b7d44e896686d945cb819d0cc3604da31a20d51ae3cf3538bdd39073f27fd7f8c88fe8843c9059efd04
 DIST mock-5.7.tar.gz 193087 BLAKE2B dade170ecef393f5c0a8a8c783d3600828356ea398bd1ab78dfb7db75fdcf313122c72cd8fe472677f431d18e2c93e4349b30d76bd439ddb9ddd3eac4004400e SHA512 1edf699d62ccc92e1d2459cb04bf34a34942125907cb3335f0f3dcdaeb73cb70ad80c939e5dfe205c56eeb217144a651adac6cd1caa7e6a7ecbc4fa3518d5d4c

diff --git a/dev-util/mock/mock-5.6-r1.ebuild b/dev-util/mock/mock-5.6-r1.ebuild
deleted file mode 100644
index 9d9a92c2d..000000000
--- a/dev-util/mock/mock-5.6-r1.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit bash-completion-r1 optfeature python-single-r1
-
-DESCRIPTION="Simple chroot build environment manager for building RPMs"
-HOMEPAGE="
-	https://rpm-software-management.github.io/mock/
-	https://github.com/rpm-software-management/mock/
-"
-SRC_URI="https://github.com/rpm-software-management/mock/releases/download/${P}-1/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	${PYTHON_DEPS}
-	$(python_gen_cond_dep '
-		app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
-		dev-python/backoff[${PYTHON_USEDEP}]
-		dev-python/distro[${PYTHON_USEDEP}]
-		dev-python/pyroute2[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-python/rpmautospec-core[${PYTHON_USEDEP}]
-		dev-python/templated-dictionary[${PYTHON_USEDEP}]
-	')
-	acct-group/mock
-	app-containers/podman
-	dev-util/distribution-gpg-keys
-	dev-util/mock-core-configs
-"
-BDEPEND="
-	${PYTHON_DEPS}
-	test? ( $(python_gen_cond_dep 'dev-python/pytest[${PYTHON_USEDEP}]') )
-"
-
-src_prepare() {
-	default
-
-	sed -i -e "s|^VERSION\s*=.*|VERSION=\"${PV}\"|" \
-		-e "s|^SYSCONFDIR\s*=.*|SYSCONFDIR=\"${EPREFIX}/etc\"|" \
-		-e "s|^PYTHONDIR\s*=.*|PYTHONDIR=\"$(python_get_sitedir)\"|" \
-		-e "s|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR=\"$(python_get_sitedir)/mockbuild\"|" \
-		py/mockbuild/constants.py py/mock-parse-buildlog.py || die
-
-	sed -i -e "s|^_MOCK_NVR = None$|_MOCK_NVR = \"${P}-1\"|" py/mock.py || die
-	sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
-
-	sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
-
-	# bug #928266: remove unnecessary completion target for us
-	sed -i -e "s/ mock.py//" -e "s/ mock-parse-buildlog.py//" etc/bash_completion.d/mock || die
-}
-
-src_compile() { :; }
-
-src_install() {
-	python_domodule py/mockbuild
-	python_newscript py/mock.py mock
-	python_newscript py/mock-parse-buildlog.py mock-parse-buildlog
-	dobin mockchain
-
-	exeinto /usr/libexec/mock
-	doexe create_default_route_in_container.sh
-
-	dobashcomp etc/bash_completion.d/mock
-	bashcomp_alias mock mock-parse-buildlog
-	dodoc docs/site-defaults.cfg
-	doman docs/mock.1 docs/mock-parse-buildlog.1
-
-	insinto /etc/mock
-	doins etc/mock/*
-	insinto /etc/pki/mock
-	doins etc/pki/*
-
-	diropts -m0775 -o root -g mock
-	keepdir /var/lib/mock
-}
-
-src_test() {
-	PYTHONPATH=py epytest tests
-}
-
-pkg_postinst() {
-	optfeature "chain mode support" app-arch/createrepo_c
-	optfeature "pigz in root_cache plugin" app-arch/pigz
-	optfeature "nspawn instead of chroot" sys-apps/systemd
-	optfeature "lvm_root plugin support" sys-fs/lvm2
-	optfeature "procenv plugin support" sys-process/procenv
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2024-10-02 13:59 David Roman
  0 siblings, 0 replies; 11+ messages in thread
From: David Roman @ 2024-10-02 13:59 UTC (permalink / raw
  To: gentoo-commits

commit:     3a84d5bec8acffcc3aecc90c110c8c6746db0574
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Wed Oct  2 13:50:06 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Oct  2 13:50:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a84d5be

dev-util/mock: add 5.9

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/Manifest        |   1 +
 dev-util/mock/mock-5.9.ebuild | 105 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 106 insertions(+)

diff --git a/dev-util/mock/Manifest b/dev-util/mock/Manifest
index ec4208f09..b5c7c52bd 100644
--- a/dev-util/mock/Manifest
+++ b/dev-util/mock/Manifest
@@ -1 +1,2 @@
 DIST mock-5.7.tar.gz 193087 BLAKE2B dade170ecef393f5c0a8a8c783d3600828356ea398bd1ab78dfb7db75fdcf313122c72cd8fe472677f431d18e2c93e4349b30d76bd439ddb9ddd3eac4004400e SHA512 1edf699d62ccc92e1d2459cb04bf34a34942125907cb3335f0f3dcdaeb73cb70ad80c939e5dfe205c56eeb217144a651adac6cd1caa7e6a7ecbc4fa3518d5d4c
+DIST mock-5.9.tar.gz 193204 BLAKE2B d4c33f19288079c6741b3806016ad1de5f09ce9d6895ed7675b36bb724551f9d45d1c147693c7024f75da8e03a5833bfd3208dcd41fe2f2fe65f612d730e0826 SHA512 5f7444e0fcbd02203b6d569ee3b5e73c565d8adce50d68a2a0d672924747fa8cc60b3397c77345868f8f6a2a692e3f96d26661503a450b6f1b60df855b1316c1

diff --git a/dev-util/mock/mock-5.9.ebuild b/dev-util/mock/mock-5.9.ebuild
new file mode 100644
index 000000000..04f8153f2
--- /dev/null
+++ b/dev-util/mock/mock-5.9.ebuild
@@ -0,0 +1,105 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..12} )
+
+inherit bash-completion-r1 optfeature python-single-r1
+
+DESCRIPTION="Simple chroot build environment manager for building RPMs"
+HOMEPAGE="
+	https://rpm-software-management.github.io/mock/
+	https://github.com/rpm-software-management/mock/
+"
+SRC_URI="https://github.com/rpm-software-management/mock/releases/download/${P}-1/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_cond_dep '
+		app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
+		dev-python/backoff[${PYTHON_USEDEP}]
+		dev-python/distro[${PYTHON_USEDEP}]
+		dev-python/pyroute2[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+		dev-python/rpmautospec-core[${PYTHON_USEDEP}]
+		dev-python/templated-dictionary[${PYTHON_USEDEP}]
+	')
+	acct-group/mock
+	app-containers/podman
+	dev-util/distribution-gpg-keys
+	dev-util/mock-core-configs
+"
+BDEPEND="
+	${PYTHON_DEPS}
+	$(python_gen_cond_dep 'dev-python/argparse-manpage[${PYTHON_USEDEP}]')
+	test? ( $(python_gen_cond_dep '
+		dev-python/jsonschema[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+	') )
+"
+
+src_prepare() {
+	default
+
+	sed -i -e "s|^VERSION\s*=.*|VERSION=\"${PV}\"|" \
+		-e "s|^SYSCONFDIR\s*=.*|SYSCONFDIR=\"${EPREFIX}/etc\"|" \
+		-e "s|^PYTHONDIR\s*=.*|PYTHONDIR=\"$(python_get_sitedir)\"|" \
+		-e "s|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR=\"$(python_get_sitedir)/mockbuild\"|" \
+		py/mockbuild/constants.py py/mock-parse-buildlog.py || die
+
+	sed -i -e "s|^_MOCK_NVR = None$|_MOCK_NVR = \"${P}-1\"|" py/mock.py || die
+	sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
+
+	sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
+
+	# bug #928266: remove unnecessary completion target for us
+	sed -i -e "s/ mock.py//" -e "s/ mock-parse-buildlog.py//" etc/bash_completion.d/mock || die
+}
+
+src_compile() {
+	argparse-manpage --pyfile py/mock-hermetic-repo.py --function _argparser > mock-hermetic-repo.1 || die
+}
+
+src_install() {
+	python_domodule py/mockbuild
+	python_newscript py/mock.py mock
+	python_newscript py/mock-hermetic-repo.py mock-hermetic-repo
+	python_newscript py/mock-parse-buildlog.py mock-parse-buildlog
+	dobin mockchain
+
+	exeinto /usr/libexec/mock
+	doexe create_default_route_in_container.sh
+
+	dobashcomp etc/bash_completion.d/mock
+	bashcomp_alias mock mock-parse-buildlog
+	dodoc docs/site-defaults.cfg
+	doman docs/mock.1 docs/mock-parse-buildlog.1 mock-hermetic-repo.1
+
+	insinto /etc/mock
+	doins etc/mock/*
+	insinto /etc/pki/mock
+	doins etc/pki/*
+
+	diropts -m0775 -o root -g mock
+	keepdir /var/lib/mock
+}
+
+src_test() {
+	PYTHONPATH=py epytest tests
+}
+
+pkg_postinst() {
+	optfeature "chain mode support" app-arch/createrepo_c
+	optfeature "pigz in root_cache plugin" app-arch/pigz
+	optfeature "nspawn instead of chroot" sys-apps/systemd
+	optfeature "lvm_root plugin support" sys-fs/lvm2
+	optfeature "procenv plugin support" sys-process/procenv
+}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/
@ 2024-10-02 13:59 David Roman
  0 siblings, 0 replies; 11+ messages in thread
From: David Roman @ 2024-10-02 13:59 UTC (permalink / raw
  To: gentoo-commits

commit:     209644c785bac7146f0c04ba21e99ac642808390
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Wed Oct  2 13:50:06 2024 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Oct  2 13:50:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=209644c7

dev-util/mock: drop 5.7

Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 dev-util/mock/Manifest        |   1 -
 dev-util/mock/mock-5.7.ebuild | 105 ------------------------------------------
 2 files changed, 106 deletions(-)

diff --git a/dev-util/mock/Manifest b/dev-util/mock/Manifest
index b5c7c52bd..9a39eab73 100644
--- a/dev-util/mock/Manifest
+++ b/dev-util/mock/Manifest
@@ -1,2 +1 @@
-DIST mock-5.7.tar.gz 193087 BLAKE2B dade170ecef393f5c0a8a8c783d3600828356ea398bd1ab78dfb7db75fdcf313122c72cd8fe472677f431d18e2c93e4349b30d76bd439ddb9ddd3eac4004400e SHA512 1edf699d62ccc92e1d2459cb04bf34a34942125907cb3335f0f3dcdaeb73cb70ad80c939e5dfe205c56eeb217144a651adac6cd1caa7e6a7ecbc4fa3518d5d4c
 DIST mock-5.9.tar.gz 193204 BLAKE2B d4c33f19288079c6741b3806016ad1de5f09ce9d6895ed7675b36bb724551f9d45d1c147693c7024f75da8e03a5833bfd3208dcd41fe2f2fe65f612d730e0826 SHA512 5f7444e0fcbd02203b6d569ee3b5e73c565d8adce50d68a2a0d672924747fa8cc60b3397c77345868f8f6a2a692e3f96d26661503a450b6f1b60df855b1316c1

diff --git a/dev-util/mock/mock-5.7.ebuild b/dev-util/mock/mock-5.7.ebuild
deleted file mode 100644
index 04f8153f2..000000000
--- a/dev-util/mock/mock-5.7.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{11..12} )
-
-inherit bash-completion-r1 optfeature python-single-r1
-
-DESCRIPTION="Simple chroot build environment manager for building RPMs"
-HOMEPAGE="
-	https://rpm-software-management.github.io/mock/
-	https://github.com/rpm-software-management/mock/
-"
-SRC_URI="https://github.com/rpm-software-management/mock/releases/download/${P}-1/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RESTRICT="!test? ( test )"
-
-RDEPEND="
-	${PYTHON_DEPS}
-	$(python_gen_cond_dep '
-		app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
-		dev-python/backoff[${PYTHON_USEDEP}]
-		dev-python/distro[${PYTHON_USEDEP}]
-		dev-python/pyroute2[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-python/rpmautospec-core[${PYTHON_USEDEP}]
-		dev-python/templated-dictionary[${PYTHON_USEDEP}]
-	')
-	acct-group/mock
-	app-containers/podman
-	dev-util/distribution-gpg-keys
-	dev-util/mock-core-configs
-"
-BDEPEND="
-	${PYTHON_DEPS}
-	$(python_gen_cond_dep 'dev-python/argparse-manpage[${PYTHON_USEDEP}]')
-	test? ( $(python_gen_cond_dep '
-		dev-python/jsonschema[${PYTHON_USEDEP}]
-		dev-python/pytest[${PYTHON_USEDEP}]
-	') )
-"
-
-src_prepare() {
-	default
-
-	sed -i -e "s|^VERSION\s*=.*|VERSION=\"${PV}\"|" \
-		-e "s|^SYSCONFDIR\s*=.*|SYSCONFDIR=\"${EPREFIX}/etc\"|" \
-		-e "s|^PYTHONDIR\s*=.*|PYTHONDIR=\"$(python_get_sitedir)\"|" \
-		-e "s|^PKGPYTHONDIR\s*=.*|PKGPYTHONDIR=\"$(python_get_sitedir)/mockbuild\"|" \
-		py/mockbuild/constants.py py/mock-parse-buildlog.py || die
-
-	sed -i -e "s|^_MOCK_NVR = None$|_MOCK_NVR = \"${P}-1\"|" py/mock.py || die
-	sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
-
-	sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
-
-	# bug #928266: remove unnecessary completion target for us
-	sed -i -e "s/ mock.py//" -e "s/ mock-parse-buildlog.py//" etc/bash_completion.d/mock || die
-}
-
-src_compile() {
-	argparse-manpage --pyfile py/mock-hermetic-repo.py --function _argparser > mock-hermetic-repo.1 || die
-}
-
-src_install() {
-	python_domodule py/mockbuild
-	python_newscript py/mock.py mock
-	python_newscript py/mock-hermetic-repo.py mock-hermetic-repo
-	python_newscript py/mock-parse-buildlog.py mock-parse-buildlog
-	dobin mockchain
-
-	exeinto /usr/libexec/mock
-	doexe create_default_route_in_container.sh
-
-	dobashcomp etc/bash_completion.d/mock
-	bashcomp_alias mock mock-parse-buildlog
-	dodoc docs/site-defaults.cfg
-	doman docs/mock.1 docs/mock-parse-buildlog.1 mock-hermetic-repo.1
-
-	insinto /etc/mock
-	doins etc/mock/*
-	insinto /etc/pki/mock
-	doins etc/pki/*
-
-	diropts -m0775 -o root -g mock
-	keepdir /var/lib/mock
-}
-
-src_test() {
-	PYTHONPATH=py epytest tests
-}
-
-pkg_postinst() {
-	optfeature "chain mode support" app-arch/createrepo_c
-	optfeature "pigz in root_cache plugin" app-arch/pigz
-	optfeature "nspawn instead of chroot" sys-apps/systemd
-	optfeature "lvm_root plugin support" sys-fs/lvm2
-	optfeature "procenv plugin support" sys-process/procenv
-}


^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-10-02 13:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-23  7:32 [gentoo-commits] repo/proj/guru:master commit in: dev-util/mock/ Viorel Munteanu
  -- strict thread matches above, loose matches on Subject: below --
2024-10-02 13:59 David Roman
2024-10-02 13:59 David Roman
2024-09-27 17:02 David Roman
2024-09-27 17:02 David Roman
2024-05-20  0:18 Julien Roy
2024-05-20  0:18 Julien Roy
2024-02-15 14:58 David Roman
2024-02-15 14:58 David Roman
2023-12-27 20:23 David Roman
2023-12-20  9:10 David Roman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox