public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/
Date: Fri, 11 Nov 2022 06:41:04 +0000 (UTC)	[thread overview]
Message-ID: <1668148843.c0e5ba211fb2a7ff365366bb636fc726b01cee23.arthurzam@gentoo> (raw)

commit:     c0e5ba211fb2a7ff365366bb636fc726b01cee23
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 11 06:28:42 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 11 06:40:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0e5ba21

dev-python/zope-exceptions: add 4.6

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/zope-exceptions/Manifest                |  1 +
 .../zope-exceptions/zope-exceptions-4.6.ebuild     | 46 ++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest
index d3cc351c6b45..5cb9f50beeae 100644
--- a/dev-python/zope-exceptions/Manifest
+++ b/dev-python/zope-exceptions/Manifest
@@ -1 +1,2 @@
 DIST zope.exceptions-4.5.tar.gz 29609 BLAKE2B 63c853105d3a588418f79e877aeedf0b001bbe52eb3e6c82687127a8cc0b8e424143e75c7a77b224ede31c5db0efb1bbc126e851dbc8bef5b856615b0717f6ea SHA512 f3f75b2f9ecfe74d3bb081904750769bf331fb594d266907782b7ce7f9d062c261b2f95a50ce21cf8917c56a25899274dae466a5b59afa5ec66480182df55bd2
+DIST zope.exceptions-4.6.tar.gz 30876 BLAKE2B 9cc9a040269aa2f813018670e3692c9897fbea3a346b37e72fc54e72fb33dbaf0f14c192a76a7c40f57674caee4e17e86aec5f1d60e1c0e6a801d859d9629189 SHA512 d28a4434b27f6611040b290dcece26c1880982853092c89d5a8d74093cb9339a62834d7c3949d5ea28c4d3fc01c6f36180df22031cded6e4c963acfff65c2ec4

diff --git a/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild
new file mode 100644
index 000000000000..89ee54d44763
--- /dev/null
+++ b/dev-python/zope-exceptions/zope-exceptions-4.6.ebuild
@@ -0,0 +1,46 @@
+# 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} pypy3 )
+
+inherit distutils-r1
+
+MY_P=${P/-/.}
+DESCRIPTION="General purpose exceptions for Zope packages"
+HOMEPAGE="
+	https://pypi.org/project/zope.exceptions/
+	https://github.com/zopefoundation/zope.exceptions/
+"
+SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="ZPL"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND="
+	dev-python/zope-interface[${PYTHON_USEDEP}]
+	!dev-python/namespace-zope
+"
+
+distutils_enable_tests unittest
+
+src_prepare() {
+	# strip rdep specific to namespaces
+	sed -i -e "/'setuptools'/d" setup.py || die
+	distutils-r1_src_prepare
+}
+
+python_compile() {
+	distutils-r1_python_compile
+	find "${BUILD_DIR}" -name '*.pth' -delete || die
+}
+
+python_test() {
+	cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+	distutils_write_namespace zope
+	eunittest
+}


             reply	other threads:[~2022-11-11  6:41 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-11  6:41 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-31  5:24 [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/ Michał Górny
2024-06-18 15:56 Michał Górny
2024-06-07 14:48 Michał Górny
2023-07-24 11:34 Michał Górny
2023-07-11 10:41 Michał Górny
2023-06-30  2:56 Michał Górny
2023-06-06  6:13 Michał Górny
2023-03-21  6:49 Michał Górny
2023-03-17 18:28 Michał Górny
2022-11-14  5:07 Michał Górny
2022-11-11  6:41 Arthur Zamarin
2022-04-22 15:35 Michał Górny
2022-04-11 19:58 Michał Górny
2022-04-09 19:12 Michał Górny
2022-02-11  9:42 Michał Górny
2021-03-02  8:40 Sam James
2020-12-04 12:38 Michał Górny
2020-12-03 17:31 Michał Górny
2020-10-16 18:22 Michał Górny
2020-08-22  7:13 Michał Górny
2020-08-18 14:59 Sam James
2020-08-02  9:33 Michał Górny
2020-03-29 12:22 Michał Górny
2020-01-12 20:19 Matthew Thode
2019-11-30  8:28 Michał Górny
2019-11-30  8:28 Michał Górny
2017-05-07 18:43 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1668148843.c0e5ba211fb2a7ff365366bb636fc726b01cee23.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox