Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/apipkg/files/, dev-python/apipkg/
Date: Sat, 25 Sep 2021 22:00:33
Message-Id: 1632607218.1a0cd6fa1c265f4e80e93b1e455c5204056bb355.mgorny@gentoo
1 commit: 1a0cd6fa1c265f4e80e93b1e455c5204056bb355
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 25 21:42:14 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 25 22:00:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0cd6fa
7
8 dev-python/apipkg: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/apipkg/Manifest | 2 --
13 dev-python/apipkg/apipkg-1.5-r1.ebuild | 24 ---------------------
14 dev-python/apipkg/apipkg-2.0.0_rc1.ebuild | 26 -----------------------
15 dev-python/apipkg/files/apipkg-1.5-pytest-4.patch | 25 ----------------------
16 4 files changed, 77 deletions(-)
17
18 diff --git a/dev-python/apipkg/Manifest b/dev-python/apipkg/Manifest
19 index b278a85fa85..403db0b6dfa 100644
20 --- a/dev-python/apipkg/Manifest
21 +++ b/dev-python/apipkg/Manifest
22 @@ -1,3 +1 @@
23 -DIST apipkg-1.5.tar.gz 11186 BLAKE2B f703a37b38b412228348520a9daa0276a69c3be47a9586e1c2797cf525a024bb0fda81dbfad7d4b1404e1ebcd3eec0e9ce2231beef5072bf9915240e2e5fb445 SHA512 828937ca5e203915248fac54db8e7c13f941e006403f2a415c27fa4d1aa114790be3d7b5dd892f528611e5e6dfe75114ee80f4f4589a03c3f789ae6ddfcae0bf
24 DIST apipkg-2.0.0.gh.tar.gz 11724 BLAKE2B 3ad0ab8915bef0632b522de662c9c2424e0ba9c13c0d9bb415d66112ccd0621a226b546c9d248939e83f16311069fbe8170224b8e2e373f194df8d6654671347 SHA512 d1c336f835d28a11640904a6ae63b15a01c3bde2e100eb2ed31877fc7037e538e0fe1d107556d48fb288c3b72a53586122c4ec17e089179aadc222ae80938c53
25 -DIST apipkg-2.0.0rc1.gh.tar.gz 11737 BLAKE2B 5c2c109dcab512f4154f275fb0bac42c626d753ca0b9f7c5bec91a0f7d0048c4ddadb8ea580626e51a2a879ac487ea9fcb06109d271a0b214dea3c5a1758126a SHA512 2bdfda86bb8d3a5d57868adf5e44de895f95d37b1928f4e24796bdde3a02eb9f8c51a017060c8b9c4a918c85d5d2d8348c634fc11f5eea9a9e333c14cabb1c23
26
27 diff --git a/dev-python/apipkg/apipkg-1.5-r1.ebuild b/dev-python/apipkg/apipkg-1.5-r1.ebuild
28 deleted file mode 100644
29 index a32262c3cb9..00000000000
30 --- a/dev-python/apipkg/apipkg-1.5-r1.ebuild
31 +++ /dev/null
32 @@ -1,24 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -PYTHON_COMPAT=( python3_{7,8,9} pypy3 )
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="Namespace control and lazy-import mechanism"
42 -HOMEPAGE="https://pypi.org/project/apipkg/"
43 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
44 -
45 -LICENSE="MIT"
46 -SLOT="0"
47 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
48 -
49 -BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
50 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
51 -
52 -PATCHES=(
53 - "${FILESDIR}"/${P}-pytest-4.patch
54 -)
55 -
56 -distutils_enable_tests pytest
57
58 diff --git a/dev-python/apipkg/apipkg-2.0.0_rc1.ebuild b/dev-python/apipkg/apipkg-2.0.0_rc1.ebuild
59 deleted file mode 100644
60 index 76108e8d3a4..00000000000
61 --- a/dev-python/apipkg/apipkg-2.0.0_rc1.ebuild
62 +++ /dev/null
63 @@ -1,26 +0,0 @@
64 -# Copyright 1999-2021 Gentoo Authors
65 -# Distributed under the terms of the GNU General Public License v2
66 -
67 -EAPI=7
68 -PYTHON_COMPAT=( python3_{7..10} pypy3 )
69 -
70 -inherit distutils-r1
71 -
72 -MY_P=${P/_/}
73 -DESCRIPTION="Namespace control and lazy-import mechanism"
74 -HOMEPAGE="https://pypi.org/project/apipkg/"
75 -SRC_URI="
76 - https://github.com/pytest-dev/apipkg/archive/v${PV/_/}.tar.gz
77 - -> ${MY_P}.gh.tar.gz"
78 -S=${WORKDIR}/${MY_P}
79 -
80 -LICENSE="MIT"
81 -SLOT="0"
82 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
83 -
84 -BDEPEND="
85 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
86 -
87 -distutils_enable_tests pytest
88 -
89 -export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
90
91 diff --git a/dev-python/apipkg/files/apipkg-1.5-pytest-4.patch b/dev-python/apipkg/files/apipkg-1.5-pytest-4.patch
92 deleted file mode 100644
93 index 0053e7078e2..00000000000
94 --- a/dev-python/apipkg/files/apipkg-1.5-pytest-4.patch
95 +++ /dev/null
96 @@ -1,25 +0,0 @@
97 -From 81dc0f46754afd44358b8c97ea832030436ac7cb Mon Sep 17 00:00:00 2001
98 -From: Andy Postnikov <apostnikov@×××××.com>
99 -Date: Sun, 27 Jan 2019 03:27:18 +0200
100 -Subject: [PATCH] testing/py-apipkg: fix tests
101 -
102 -https://github.com/pytest-dev/apipkg/issues/14
103 ----
104 - testing/py-apipkg/14.patch | 11 +++++++++++
105 - testing/py-apipkg/APKBUILD | 7 ++++---
106 - 2 files changed, 15 insertions(+), 3 deletions(-)
107 - create mode 100644 testing/py-apipkg/14.patch
108 -
109 -[inner patch extracted for Gentoo use]
110 -
111 ---- a/test_apipkg.py
112 -+++ b/test_apipkg.py
113 -@@ -13,7 +13,7 @@
114 - class TestRealModule:
115 -
116 - def setup_class(cls):
117 -- cls.tmpdir = py.test.ensuretemp('test_apipkg')
118 -+ cls.tmpdir = py.path.local('test_apipkg')
119 - sys.path = [str(cls.tmpdir)] + sys.path
120 - pkgdir = cls.tmpdir.ensure('realtest', dir=1)
121 -