public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/backports-zoneinfo/
Date: Thu,  3 Dec 2020 10:50:27 +0000 (UTC)	[thread overview]
Message-ID: <1606992624.975ee4c1c32d120af3d0d4265f0fe4db0b817afd.mgorny@gentoo> (raw)

commit:     975ee4c1c32d120af3d0d4265f0fe4db0b817afd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  3 10:23:47 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec  3 10:50:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=975ee4c1

dev-python/backports-zoneinfo: New backport, dep of Babel

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

 dev-python/backports-zoneinfo/Manifest             |  1 +
 .../backports-zoneinfo-0.2.1.ebuild                | 45 ++++++++++++++++++++++
 dev-python/backports-zoneinfo/metadata.xml         |  7 ++++
 3 files changed, 53 insertions(+)

diff --git a/dev-python/backports-zoneinfo/Manifest b/dev-python/backports-zoneinfo/Manifest
new file mode 100644
index 00000000000..7beb8440024
--- /dev/null
+++ b/dev-python/backports-zoneinfo/Manifest
@@ -0,0 +1 @@
+DIST zoneinfo-0.2.1.tar.gz 85385 BLAKE2B a6382560dbe8c4207c5a53971431497126a3bad7374580f4a67ffd1ffe5940701f13a09bc3a5ba4b729ab8d2484516ea2dc71131b7276f5339b1f60fc39c4ab1 SHA512 1f17ce34eef489dcd263665d58780ab54cf8aa83a601d31148bb4316e600f94d0af1d0baa1d6554d069c0801af906e21b9d5535db2bf76de32333820c61e2364

diff --git a/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1.ebuild b/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1.ebuild
new file mode 100644
index 00000000000..a801aa6a0fe
--- /dev/null
+++ b/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} pypy3 )
+inherit distutils-r1
+
+MY_P=${P#backports-}
+DESCRIPTION="Backport of the standard library zoneinfo module"
+HOMEPAGE="https://github.com/pganssle/zoneinfo/"
+SRC_URI="
+	https://github.com/pganssle/zoneinfo/archive/${PV}.tar.gz
+		-> ${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+	$(python_gen_cond_dep '
+		dev-python/importlib_resources[${PYTHON_USEDEP}]
+	' python3_6 pypy3)"
+BDEPEND="
+	test? (
+		$(python_gen_cond_dep '
+			dev-python/dataclasses[${PYTHON_USEDEP}]
+		' python3_6)
+		$(python_gen_cond_dep '
+			dev-python/importlib_metadata[${PYTHON_USEDEP}]
+		' python3_{6,7})
+		>=dev-python/hypothesis-5.7.0[${PYTHON_USEDEP}]
+		dev-python/pytest[${PYTHON_USEDEP}]
+	)"
+
+# pytest is used only for one skip, and requires unpackaged
+# pytest-subtests
+distutils_enable_tests unittest
+
+python_install() {
+	# avoid file collisions
+	rm "${BUILD_DIR}"/lib/backports/__init__.py || die
+	distutils-r1_python_install
+}

diff --git a/dev-python/backports-zoneinfo/metadata.xml b/dev-python/backports-zoneinfo/metadata.xml
new file mode 100644
index 00000000000..266e3f19ca5
--- /dev/null
+++ b/dev-python/backports-zoneinfo/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="project">
+		<email>python@gentoo.org</email>
+	</maintainer>
+</pkgmetadata>


             reply	other threads:[~2020-12-03 10:50 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-03 10:50 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-12-03 14:34 [gentoo-commits] repo/gentoo:master commit in: dev-python/backports-zoneinfo/ Michał Górny
2020-12-04 19:51 Sergei Trofimovich
2020-12-04 20:45 Sergei Trofimovich
2020-12-04 20:45 Sergei Trofimovich
2020-12-04 20:45 Sergei Trofimovich
2020-12-06 20:58 Sam James
2020-12-06 23:50 Sam James
2020-12-07  0:03 Sam James
2020-12-07  3:59 Matt Turner
2020-12-13  1:06 Sam James
2020-12-20 11:49 Mikle Kolyada
2021-01-05 14:14 Sergei Trofimovich
2021-01-05 21:00 Sam James
2021-01-06  8:09 Sam James
2021-01-07  1:08 Sam James
2021-01-07  1:12 Sam James
2021-01-07 11:36 Sam James
2021-01-07 20:15 Sam James
2021-01-18 14:53 Sam James
2021-01-21 21:30 Sergei Trofimovich
2021-02-22  6:32 Joshua Kinard
2021-09-26  7:05 James Le Cuirot
2021-11-09 14:01 Michał Górny
2022-11-30 19:21 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=1606992624.975ee4c1c32d120af3d0d4265f0fe4db0b817afd.mgorny@gentoo \
    --to=mgorny@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