commit:     9397f6d8bd732a52bf50be0950877dd411979e11
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 14 11:16:20 2023 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 11:16:20 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9397f6d8

dev-python/backports-zoneinfo: treeclean

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/backports-zoneinfo/Manifest             |  1 -
 .../backports-zoneinfo-0.2.1-r2.ebuild             | 56 ----------------------
 .../files/backports-zoneinfo-0.2.1-py38.patch      | 22 ---------
 dev-python/backports-zoneinfo/metadata.xml         | 10 ----
 4 files changed, 89 deletions(-)

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

diff --git a/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r2.ebuild 
b/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r2.ebuild
deleted file mode 100644
index aaf846dbcb93..000000000000
--- a/dev-python/backports-zoneinfo/backports-zoneinfo-0.2.1-r2.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 2020-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_8 )
-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="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~x64-macos"
-
-BDEPEND="
-       test? (
-               >=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
-
-PATCHES=(
-       # fix segv in py3.8.7rc1+
-       # https://github.com/pganssle/zoneinfo/pull/97
-       "${FILESDIR}"/${P}-py38.patch
-)
-
-python_test() {
-       if [[ ${EPYTHON} == pypy3 ]]; then
-               # pypy3.6 does not support dataclasses, and the backport
-               # does not work with pypy
-               local pypy3_version=$(best_version -b 'dev-python/pypy3')
-               if [[ ${pypy3_version} != *_p37* ]]; then
-                       einfo "Skipping tests on pypy3.6 due to missing deps"
-                       return
-               fi
-       fi
-
-       "${EPYTHON}" -m unittest discover -v ||
-               die "Tests failed with ${EPYTHON}"
-}
-
-python_install() {
-       # avoid file collisions
-       rm "${BUILD_DIR}"/lib/backports/__init__.py || die
-       distutils-r1_python_install
-}

diff --git 
a/dev-python/backports-zoneinfo/files/backports-zoneinfo-0.2.1-py38.patch 
b/dev-python/backports-zoneinfo/files/backports-zoneinfo-0.2.1-py38.patch
deleted file mode 100644
index dbe9695a9a53..000000000000
--- a/dev-python/backports-zoneinfo/files/backports-zoneinfo-0.2.1-py38.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 0e42cc3999b4e3833b5f3f41857b8c1e3c9143f3 Mon Sep 17 00:00:00 2001
-From: Pablo Galindo <pablog...@gmail.com>
-Date: Mon, 21 Dec 2020 02:02:34 +0000
-Subject: [PATCH] Decrement the refcount of _PyLong_One in the correct branch
-
----
- lib/zoneinfo_module.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/lib/zoneinfo_module.c b/lib/zoneinfo_module.c
-index e0c72d3..07ef603 100644
---- a/lib/zoneinfo_module.c
-+++ b/lib/zoneinfo_module.c
-@@ -616,7 +616,7 @@ zoneinfo_fromutc(PyObject *obj_self, PyObject *dt)
-             Py_DECREF(args);
-             Py_DECREF(kwargs);
-             Py_DECREF(replace);
--#ifndef ATLEAST_37
-+#ifdef ATLEAST_37
-             Py_DECREF(one);
- #endif
- 

diff --git a/dev-python/backports-zoneinfo/metadata.xml 
b/dev-python/backports-zoneinfo/metadata.xml
deleted file mode 100644
index c8a2de863dfb..000000000000
--- a/dev-python/backports-zoneinfo/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="project">
-               <email>pyt...@gentoo.org</email>
-       </maintainer>
-       <upstream>
-               <remote-id type="pypi">backports.zoneinfo</remote-id>
-       </upstream>
-</pkgmetadata>

Reply via email to