[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 33fe5f694307bda2398576ac159224fb0f3c4fc2 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 18 15:04:47 2024 + Commit: Michał Górny gentoo org> CommitDate: Sun Feb 18 15:05:23 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33fe5f69 dev-python/pendulum: Dekeyword the broken Rust rewrite Bug: https://bugs.gentoo.org/924881 Signed-off-by: Michał Górny gentoo.org> dev-python/pendulum/pendulum-3.0.0-r1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-3.0.0-r1.ebuild b/dev-python/pendulum/pendulum-3.0.0-r1.ebuild index 48e50da8dc21..3b9e83a00602 100644 --- a/dev-python/pendulum/pendulum-3.0.0-r1.ebuild +++ b/dev-python/pendulum/pendulum-3.0.0-r1.ebuild @@ -67,7 +67,6 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/python-dateutil-2.6[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: c345c414fe585afa15b31c620ebbfa416d3d93c1 Author: Sam James gentoo org> AuthorDate: Sun Feb 18 09:56:04 2024 + Commit: Sam James gentoo org> CommitDate: Sun Feb 18 09:56:04 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c345c414 dev-python/pendulum: Stabilize 3.0.0-r1 amd64, #924813 Signed-off-by: Sam James gentoo.org> dev-python/pendulum/pendulum-3.0.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-3.0.0-r1.ebuild b/dev-python/pendulum/pendulum-3.0.0-r1.ebuild index 2baadad9d93e..48e50da8dc21 100644 --- a/dev-python/pendulum/pendulum-3.0.0-r1.ebuild +++ b/dev-python/pendulum/pendulum-3.0.0-r1.ebuild @@ -67,7 +67,7 @@ LICENSE+=" Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unicode-DFS-2016 " SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" RDEPEND=" >=dev-python/python-dateutil-2.6[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/, dev-python/pendulum/files/, profiles/
commit: 201dd83ec2775bf467c9c05eb0ecbc9c14fe45cf Author: Michał Górny gentoo org> AuthorDate: Fri Feb 2 16:57:52 2024 + Commit: Michał Górny gentoo org> CommitDate: Fri Feb 2 17:05:44 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=201dd83e dev-python/pendulum: Bump to 15.0.0 Signed-off-by: Michał Górny gentoo.org> .../files/pendulum-3.0.0-system-tzdata.patch | 50 ++ ...dulum-3.0.0.ebuild => pendulum-3.0.0-r1.ebuild} | 11 - profiles/package.mask | 5 --- 3 files changed, 59 insertions(+), 7 deletions(-) diff --git a/dev-python/pendulum/files/pendulum-3.0.0-system-tzdata.patch b/dev-python/pendulum/files/pendulum-3.0.0-system-tzdata.patch new file mode 100644 index ..c99bbb3ca9ea --- /dev/null +++ b/dev-python/pendulum/files/pendulum-3.0.0-system-tzdata.patch @@ -0,0 +1,50 @@ +From 0143f10dfcc94f5cba1a83912e055026a0282c19 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= +Date: Fri, 2 Feb 2024 17:48:55 +0100 +Subject: [PATCH] Fix `pendulum.tz.timezones()` to use system tzdata + +Fix the `pendulum.tz.available_timezones()` to use +`available_timezones()` function instead of iterating over the files +in `tzdata` package. This is more in line with PEP 615, as the system +timezone functions will operate on system-provided tzdata when +available, and use the `tzdata` package only if it's not available. +Therefore, the previous code would yield a potentially different list +of timezones than the system actually provides. + +Furthermore, Gentoo provides a dummy `tzdata` package that does not +provide any data, since Python always uses system tzdata. This change +is necessary to make pendulum work again on Gentoo. + +Fixes #769 +--- + src/pendulum/tz/__init__.py | 10 ++ + 1 file changed, 2 insertions(+), 8 deletions(-) + +diff --git a/src/pendulum/tz/__init__.py b/src/pendulum/tz/__init__.py +index 36c2c692..8dc64705 100644 +--- a/src/pendulum/tz/__init__.py b/src/pendulum/tz/__init__.py +@@ -9,7 +9,7 @@ + from pendulum.tz.timezone import UTC + from pendulum.tz.timezone import FixedTimezone + from pendulum.tz.timezone import Timezone +-from pendulum.utils._compat import resources ++from pendulum.utils._zoneinfo import available_timezones + + + PRE_TRANSITION = "pre" +@@ -22,13 +22,7 @@ + + + def timezones() -> tuple[str, ...]: +-global _timezones +- +-if _timezones is None: +-with cast(Path, resources.files("tzdata").joinpath("zones")).open() as f: +-_timezones = tuple(tz.strip() for tz in f.readlines()) +- +-return _timezones ++return available_timezones() + + + def fixed_timezone(offset: int) -> FixedTimezone: diff --git a/dev-python/pendulum/pendulum-3.0.0.ebuild b/dev-python/pendulum/pendulum-3.0.0-r1.ebuild similarity index 87% rename from dev-python/pendulum/pendulum-3.0.0.ebuild rename to dev-python/pendulum/pendulum-3.0.0-r1.ebuild index dc6bceec790c..2baadad9d93e 100644 --- a/dev-python/pendulum/pendulum-3.0.0.ebuild +++ b/dev-python/pendulum/pendulum-3.0.0-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 2022-2023 Gentoo Authors +# Copyright 2022-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=maturin -PYTHON_COMPAT=( pypy3 python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..12} ) CRATES=" autocfg@1.1.0 @@ -84,3 +84,10 @@ BDEPEND=" " distutils_enable_tests pytest + +PATCHES=( + # https://github.com/sdispater/pendulum/pull/801 + "${FILESDIR}/${P}-system-tzdata.patch" +) + +QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pendulum/_pendulum.*.so" diff --git a/profiles/package.mask b/profiles/package.mask index cdc1577290bb..76d5710f5c3b 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -348,11 +348,6 @@ x11-libs/snorenotify =net-libs/signond-8.61-r100 ~sys-auth/polkit-qt-0.175.0 -# Michał Górny (2023-12-17) -# Broken due to invalid use of tzdata. -# https://github.com/sdispater/pendulum/issues/769 -=dev-python/pendulum-3.0.0 - # Sam James (2023-12-14) # Gentoo's kernel maintainers have decided to discontinue gentoo-sources and # gentoo-kernel for old kernel LTS branches because of the resources to require
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: d623189eafa070ced2cead6b45edd0772810d5ec Author: Michał Górny gentoo org> AuthorDate: Mon Nov 20 16:19:31 2023 + Commit: Michał Górny gentoo org> CommitDate: Mon Nov 20 16:19:31 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d623189e dev-python/pendulum: Enable pypy3 Sponsored-by: Ex Makhina, Inc. exmakhina.com> Signed-off-by: Michał Górny gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index dcc1239b8504..e836e2af160e 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -5,7 +5,7 @@ EAPI=7 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 6548d01cf3e6bd8110f596ae6e7c6e361603f6a0 Author: Michał Górny gentoo org> AuthorDate: Tue Oct 24 16:50:22 2023 + Commit: Michał Górny gentoo org> CommitDate: Tue Oct 24 17:50:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6548d01c dev-python/pendulum: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 92ab23647da8..dcc1239b8504 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -5,7 +5,7 @@ EAPI=7 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 @@ -39,4 +39,10 @@ BDEPEND=" ) " +EPYTEST_DESELECT=( + # sigh + tests/datetime/test_behavior.py::test_proper_dst + tests/tz/test_timezone.py::test_dst +) + distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 8ed9ec46677b56da9c47ffd807ab86362281d62c Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 1 18:17:08 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 1 18:17:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed9ec46 dev-python/pendulum: Stabilize 2.1.2-r2 ppc64, #914938 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 4f8657b64b8b..92ab23647da8 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 6ca174d500c102ed1d89d5ad56e7df35fc7263c5 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 1 18:17:02 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 1 18:17:34 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ca174d5 dev-python/pendulum: Stabilize 2.1.2-r2 arm64, #914938 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 4dbf00b84779..4f8657b64b8b 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 8ffe4a9951f7e4ae21051a30dd4a85ae6babde74 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 1 18:16:56 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 1 18:17:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ffe4a99 dev-python/pendulum: Stabilize 2.1.2-r2 arm, #914938 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index c8429504685f..4dbf00b84779 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 53536065633059724cdcccdc997cdd9f075831ce Author: WANG Xuerui gentoo org> AuthorDate: Sun Sep 10 05:23:32 2023 + Commit: WANG Xuerui gentoo org> CommitDate: Sun Sep 10 05:26:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53536065 dev-python/pendulum: keyword 2.1.2-r2 for ~loong Signed-off-by: WANG Xuerui gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 2b35c30bf993..c8429504685f 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 280d5e023f4a95241ebfd178997bcad8306a6301 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Aug 20 17:53:01 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Aug 20 17:53:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=280d5e02 dev-python/pendulum: Keyword 2.1.2-r2 hppa, #909029 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 8c31a6ff7ff8..2b35c30bf993 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 12c12cbbef6e38c8f9db118724481a44653fa9f7 Author: Arthur Zamarin gentoo org> AuthorDate: Thu Aug 17 08:41:56 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Thu Aug 17 08:41:56 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c12cbb dev-python/pendulum: Keyword 2.1.2-r2 ppc, #909029 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 624bcd17187c..8c31a6ff7ff8 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 55ccdbe4d4b8cbcb559d337972aa0236f1391687 Author: Jakov Smolić gentoo org> AuthorDate: Mon Aug 14 17:57:20 2023 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Aug 14 17:57:20 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55ccdbe4 dev-python/pendulum: Keyword 2.1.2-r2 riscv, #910584 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 739c8921d1d1..624bcd17187c 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~s390 ~sparc x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~s390 ~sparc x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 3eb9462a44fabb3f49d0e395b2ea484968a1afe3 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Aug 13 19:34:30 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Aug 13 19:34:30 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eb9462a dev-python/pendulum: Stabilize 2.1.2-r2 x86, #912240 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 6301fa1043b7..739c8921d1d1 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~s390 ~sparc x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 548b5a8453334af4525b4371d97579f417c3b8be Author: Arthur Zamarin gentoo org> AuthorDate: Sun Aug 13 16:09:35 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Aug 13 16:09:35 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=548b5a84 dev-python/pendulum: Keyword 2.1.2-r2 ppc64, #910584 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 73756f2d16f1..6301fa1043b7 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~s390 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~s390 ~sparc ~x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: aa4fa0d3cbd157a3a0acfef2985854d00ee2eaf5 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Aug 13 16:04:51 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Aug 13 16:06:18 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa4fa0d3 dev-python/pendulum: Keyword 2.1.2-r2 s390, #909029 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 20e5f5257c3d..73756f2d16f1 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~sparc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~s390 ~sparc ~x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: bfae23dbf33986a51b5a0477ab8cea895857aa53 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Aug 13 16:04:42 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Aug 13 16:06:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfae23db dev-python/pendulum: Keyword 2.1.2-r2 sparc, #909029 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 2c226ba2f6d2..20e5f5257c3d 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~sparc ~x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 1cf9449aec0b2054b18516f4643938affca93902 Author: Arthur Zamarin gentoo org> AuthorDate: Sun Jul 30 17:31:13 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sun Jul 30 17:31:13 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cf9449a dev-python/pendulum: Keyword 2.1.2-r2 arm64, #909029 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index ff1ae532839f..56909169fec5 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI=" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}]
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 235a0a69a2f4319464c1ff39f0f4cf9e5b593f18 Author: Michał Górny gentoo org> AuthorDate: Thu May 4 16:19:57 2023 + Commit: Michał Górny gentoo org> CommitDate: Thu May 4 16:19:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=235a0a69 dev-python/pendulum: Set DISTUTILS_EXT=1 Signed-off-by: Michał Górny gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index a6ec7ab0e778..ff1ae532839f 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -3,6 +3,7 @@ EAPI=7 +DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{9..11} )
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: a1d13f4ae6f48fa14e74039f1263ea7abb7d5af7 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Oct 29 14:30:21 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Oct 29 14:32:18 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1d13f4a dev-python/pendulum: enable py3.11 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pendulum/pendulum-2.1.2-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 8ed0456d4293..0bc4257cedc4 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_PEP517=poetry -PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 720fcecdece2b542fe5f974b6ccf2720494ee8fc Author: Jakov Smolić gentoo org> AuthorDate: Mon Sep 19 20:43:35 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Sep 19 20:43:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720fcecd dev-python/pendulum: drop ALLARCHES Closes: https://bugs.gentoo.org/871654 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pendulum/metadata.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/dev-python/pendulum/metadata.xml b/dev-python/pendulum/metadata.xml index 109a2fcd4182..732b97cab77a 100644 --- a/dev-python/pendulum/metadata.xml +++ b/dev-python/pendulum/metadata.xml @@ -5,7 +5,6 @@ jsmo...@gentoo.org Jakov Smolić - sdispater/pendulum pendulum
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: e33ac8432a3a43b04fd590ebe48af723e5978c15 Author: Michał Górny gentoo org> AuthorDate: Sun Sep 18 13:41:42 2022 + Commit: Michał Górny gentoo org> CommitDate: Sun Sep 18 13:46:50 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e33ac843 dev-python/pendulum: Use PEP517 build Signed-off-by: Michał Górny gentoo.org> dev-python/pendulum/Manifest| 2 +- ...lum-2.1.2-r1.ebuild => pendulum-2.1.2-r2.ebuild} | 21 - 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/dev-python/pendulum/Manifest b/dev-python/pendulum/Manifest index 3e628f72f341..18d42cf9abe1 100644 --- a/dev-python/pendulum/Manifest +++ b/dev-python/pendulum/Manifest @@ -1 +1 @@ -DIST pendulum-2.1.2.tar.gz 159885 BLAKE2B c95cd131fc95a0d19ef11f180cc42126cb8a6ea3aaf4b3bbedbc5ce4c1b37a6624f2a1be92f1a6fd6b1f14f5d20fa5f32e8230f896ab7a216f02f00e85b98738 SHA512 c367320ade0d10b7eb9c880286176161b925d7df052f7de85ddd169594bbe778776ea74df451f00186df98be3e32b7399c68ca4b40123e2c456206410e3a1ab2 +DIST pendulum-2.1.2.gh.tar.gz 159885 BLAKE2B c95cd131fc95a0d19ef11f180cc42126cb8a6ea3aaf4b3bbedbc5ce4c1b37a6624f2a1be92f1a6fd6b1f14f5d20fa5f32e8230f896ab7a216f02f00e85b98738 SHA512 c367320ade0d10b7eb9c880286176161b925d7df052f7de85ddd169594bbe778776ea74df451f00186df98be3e32b7399c68ca4b40123e2c456206410e3a1ab2 diff --git a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild similarity index 66% rename from dev-python/pendulum/pendulum-2.1.2-r1.ebuild rename to dev-python/pendulum/pendulum-2.1.2-r2.ebuild index 602bea9a4764..8ed0456d4293 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r2.ebuild @@ -3,13 +3,21 @@ EAPI=7 -DISTUTILS_USE_SETUPTOOLS=pyproject.toml +DISTUTILS_USE_PEP517=poetry PYTHON_COMPAT=( python3_{8..10} ) + inherit distutils-r1 DESCRIPTION="Drop-in replacement for the standard datetime class" -HOMEPAGE="https://pendulum.eustace.io/ https://github.com/sdispater/pendulum; -SRC_URI="https://github.com/sdispater/pendulum/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE=" + https://pendulum.eustace.io/ + https://github.com/sdispater/pendulum/ + https://pypi.org/project/pendulum/ +" +SRC_URI=" + https://github.com/sdispater/pendulum/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" LICENSE="MIT" SLOT="0" @@ -19,12 +27,15 @@ DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] dev-python/pytzdata[${PYTHON_USEDEP}] " -RDEPEND="${DEPEND}" +RDEPEND=" + ${DEPEND} +" BDEPEND=" test? ( dev-python/Babel[${PYTHON_USEDEP}] dev-python/freezegun[${PYTHON_USEDEP}] dev-python/pytz[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 5c766ace6ff195dbff98b49c024c87aa79a6dbb8 Author: Jakov Smolić gentoo org> AuthorDate: Mon Jun 6 09:32:35 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Mon Jun 6 09:32:39 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c766ace dev-python/pendulum: enable py3.10 and disable py3.7 - Enable tests given they are fixed now and pass on all impls. Closes: https://bugs.gentoo.org/845777 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pendulum/pendulum-2.1.2-r1.ebuild | 28 +++- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild index 32b705122dca..602bea9a4764 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild @@ -4,7 +4,7 @@ EAPI=7 DISTUTILS_USE_SETUPTOOLS=pyproject.toml -PYTHON_COMPAT=( python3_{7..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 DESCRIPTION="Drop-in replacement for the standard datetime class" @@ -15,22 +15,16 @@ LICENSE="MIT" SLOT="0" KEYWORDS="amd64 ~x86" -# Requires timezone information which is not installed by default -# with dev-python/pytzdata, and otherwise approx. 50 out of 1600 -# tests are failing for now. Keeping the test dependencies -# commented for future tests fixups -RESTRICT="test" - DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/pytzdata[${PYTHON_USEDEP}]" + dev-python/pytzdata[${PYTHON_USEDEP}] +" RDEPEND="${DEPEND}" - -#BDEPEND=" -# test? ( -# dev-python/babel[${PYTHON_USEDEP}] -# dev-python/freezegun[${PYTHON_USEDEP}] -# dev-python/pytz[${PYTHON_USEDEP}] -# )" - -# distutils_enable_tests pytest +BDEPEND=" + test? ( + dev-python/Babel[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + dev-python/pytz[${PYTHON_USEDEP}] + )" + +distutils_enable_tests pytest
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: e2816925181fdc5f84271a45161baa592af9e590 Author: Jakov Smolić gentoo org> AuthorDate: Fri Mar 25 19:38:32 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Fri Mar 25 19:38:32 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2816925 dev-python/pendulum: destabilize 2.1.2-r1 for ~x86 Signed-off-by: Jakov Smolić gentoo.org> dev-python/pendulum/pendulum-2.1.2-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild index d02f38eea836..32b705122dca 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2021 Gentoo Authors +# Copyright 2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/sdispater/pendulum/archive/${PV}.tar.gz -> ${P}.tar. LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 x86" +KEYWORDS="amd64 ~x86" # Requires timezone information which is not installed by default # with dev-python/pytzdata, and otherwise approx. 50 out of 1600
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 9f80dfaf0cded1c066c3e5baf66f84268185af49 Author: Sam James gentoo org> AuthorDate: Thu Feb 18 17:12:02 2021 + Commit: Sam James gentoo org> CommitDate: Thu Feb 18 17:12:02 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f80dfaf dev-python/pendulum: Stabilize 2.1.2-r1 amd64, #770742 Signed-off-by: Sam James gentoo.org> dev-python/pendulum/pendulum-2.1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild index 87d8f8fe5c5..d02f38eea83 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/sdispater/pendulum/archive/${PV}.tar.gz -> ${P}.tar. LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" # Requires timezone information which is not installed by default # with dev-python/pytzdata, and otherwise approx. 50 out of 1600
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: c3b8f634a341d05f5ed2866f62b2f2579c4ea934 Author: Sam James gentoo org> AuthorDate: Tue Feb 16 12:26:34 2021 + Commit: Sam James gentoo org> CommitDate: Tue Feb 16 12:26:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b8f634 dev-python/pendulum: Stabilize 2.1.2-r1 x86, #770742 Signed-off-by: Sam James gentoo.org> dev-python/pendulum/pendulum-2.1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild index 5134b18bf3f..87d8f8fe5c5 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/sdispater/pendulum/archive/${PV}.tar.gz -> ${P}.tar. LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" # Requires timezone information which is not installed by default # with dev-python/pytzdata, and otherwise approx. 50 out of 1600
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: a7d3d160b0a194f10e09678463e74077fbaf3234 Author: Sam James gentoo org> AuthorDate: Wed Jan 27 03:49:53 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jan 27 03:49:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7d3d160 dev-python/pendulum: fix WhitespaceFound Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> dev-python/pendulum/pendulum-2.1.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild index c17277cd71f..d11f5759587 100644 --- a/dev-python/pendulum/pendulum-2.1.2-r1.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild @@ -17,7 +17,7 @@ KEYWORDS="~amd64 ~x86" # Requires timezone information which is not installed by default # with dev-python/pytzdata, and otherwise approx. 50 out of 1600 -# tests are failing for now. Keeping the test dependencies +# tests are failing for now. Keeping the test dependencies # commented for future tests fixups RESTRICT="test"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 9e19656755184c28377547903b12f1a73a9e1179 Author: Michał Górny gentoo org> AuthorDate: Sun Jan 17 15:21:56 2021 + Commit: Michał Górny gentoo org> CommitDate: Sun Jan 17 20:37:58 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e196567 dev-python/pendulum: Add pypi remote-id Signed-off-by: Michał Górny gentoo.org> dev-python/pendulum/metadata.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-python/pendulum/metadata.xml b/dev-python/pendulum/metadata.xml index 59e2612c088..2f00533e580 100644 --- a/dev-python/pendulum/metadata.xml +++ b/dev-python/pendulum/metadata.xml @@ -11,5 +11,6 @@ sdispater/pendulum +pendulum
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 25758bbe13f42b824713b0d52661e26d8c6f954d Author: Jakov Smolic sartura hr> AuthorDate: Sat Jan 16 17:00:38 2021 + Commit: Sam James gentoo org> CommitDate: Sat Jan 16 21:47:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25758bbe dev-python/pendulum: set DEPEND Closes: https://bugs.gentoo.org/765637 Signed-off-by: Jakov Smolic sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/19081 Signed-off-by: Sam James gentoo.org> dev-python/pendulum/{pendulum-2.1.2.ebuild => pendulum-2.1.2-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2.ebuild b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild similarity index 99% rename from dev-python/pendulum/pendulum-2.1.2.ebuild rename to dev-python/pendulum/pendulum-2.1.2-r1.ebuild index daf6af9020e..c17277cd71f 100644 --- a/dev-python/pendulum/pendulum-2.1.2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2-r1.ebuild @@ -21,7 +21,7 @@ KEYWORDS="~amd64 ~x86" # commented for future tests fixups RESTRICT="test" -RDEPEND=" +DEPEND=" dev-python/python-dateutil[${PYTHON_USEDEP}] dev-python/pytzdata[${PYTHON_USEDEP}]" RDEPEND="${DEPEND}"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 2f4065de0a94883843bdb7bb6d6231d55ec4052b Author: Joonas Niilola gentoo org> AuthorDate: Sat Jan 16 08:31:17 2021 + Commit: Joonas Niilola gentoo org> CommitDate: Sat Jan 16 08:33:31 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f4065de dev-python/pendulum: add Github to HOMEPAGE Signed-off-by: Joonas Niilola gentoo.org> dev-python/pendulum/pendulum-2.1.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pendulum/pendulum-2.1.2.ebuild b/dev-python/pendulum/pendulum-2.1.2.ebuild index 76cd964624d..daf6af9020e 100644 --- a/dev-python/pendulum/pendulum-2.1.2.ebuild +++ b/dev-python/pendulum/pendulum-2.1.2.ebuild @@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{6..9} ) inherit distutils-r1 DESCRIPTION="Drop-in replacement for the standard datetime class" -HOMEPAGE="https://pendulum.eustace.io/; +HOMEPAGE="https://pendulum.eustace.io/ https://github.com/sdispater/pendulum; SRC_URI="https://github.com/sdispater/pendulum/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="MIT"
[gentoo-commits] repo/gentoo:master commit in: dev-python/pendulum/
commit: 9d903f189f559bc75ff45e30060812984b43e18a Author: Jakov Smolic sartura hr> AuthorDate: Fri Dec 18 20:54:28 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Sat Jan 16 08:33:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d903f18 dev-python/pendulum: Drop-in replacement for the standard datetime class * Dependency of dev-db/pgcli Signed-off-by: Jakov Smolic sartura.hr> Signed-off-by: Joonas Niilola gentoo.org> dev-python/pendulum/Manifest | 1 + dev-python/pendulum/metadata.xml | 15 + dev-python/pendulum/pendulum-2.1.2.ebuild | 36 +++ 3 files changed, 52 insertions(+) diff --git a/dev-python/pendulum/Manifest b/dev-python/pendulum/Manifest new file mode 100644 index 000..3e628f72f34 --- /dev/null +++ b/dev-python/pendulum/Manifest @@ -0,0 +1 @@ +DIST pendulum-2.1.2.tar.gz 159885 BLAKE2B c95cd131fc95a0d19ef11f180cc42126cb8a6ea3aaf4b3bbedbc5ce4c1b37a6624f2a1be92f1a6fd6b1f14f5d20fa5f32e8230f896ab7a216f02f00e85b98738 SHA512 c367320ade0d10b7eb9c880286176161b925d7df052f7de85ddd169594bbe778776ea74df451f00186df98be3e32b7399c68ca4b40123e2c456206410e3a1ab2 diff --git a/dev-python/pendulum/metadata.xml b/dev-python/pendulum/metadata.xml new file mode 100644 index 000..59e2612c088 --- /dev/null +++ b/dev-python/pendulum/metadata.xml @@ -0,0 +1,15 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +jakov.smo...@sartura.hr +Jakov Smolic + + +proxy-ma...@gentoo.org +Proxy Maintainers + + +sdispater/pendulum + + diff --git a/dev-python/pendulum/pendulum-2.1.2.ebuild b/dev-python/pendulum/pendulum-2.1.2.ebuild new file mode 100644 index 000..76cd964624d --- /dev/null +++ b/dev-python/pendulum/pendulum-2.1.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=pyproject.toml +PYTHON_COMPAT=( python3_{6..9} ) +inherit distutils-r1 + +DESCRIPTION="Drop-in replacement for the standard datetime class" +HOMEPAGE="https://pendulum.eustace.io/; +SRC_URI="https://github.com/sdispater/pendulum/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Requires timezone information which is not installed by default +# with dev-python/pytzdata, and otherwise approx. 50 out of 1600 +# tests are failing for now. Keeping the test dependencies +# commented for future tests fixups +RESTRICT="test" + +RDEPEND=" + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/pytzdata[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND}" + +#BDEPEND=" +# test? ( +# dev-python/babel[${PYTHON_USEDEP}] +# dev-python/freezegun[${PYTHON_USEDEP}] +# dev-python/pytz[${PYTHON_USEDEP}] +# )" + +# distutils_enable_tests pytest