Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/citeproc-py/, dev-python/citeproc-py/files/
Date: Sat, 18 Mar 2023 16:45:32
Message-Id: 1679157770.036f13bd551b180be19c63e9f9bf380b9a40ae6e.soap@gentoo
1 commit: 036f13bd551b180be19c63e9f9bf380b9a40ae6e
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 18 16:42:50 2023 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 18 16:42:50 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=036f13bd
7
8 dev-python/citeproc-py: treeclean
9
10 Closes: https://bugs.gentoo.org/662280
11 Closes: https://bugs.gentoo.org/720386
12 Closes: https://bugs.gentoo.org/888239
13 Signed-off-by: David Seifert <soap <AT> gentoo.org>
14
15 dev-python/citeproc-py/Manifest | 2 -
16 dev-python/citeproc-py/citeproc-py-0.6.0.ebuild | 45 ----------------------
17 .../files/stop_test_from_accessing_git-0.6.0.patch | 13 -------
18 dev-python/citeproc-py/metadata.xml | 12 ------
19 profiles/package.mask | 7 ----
20 5 files changed, 79 deletions(-)
21
22 diff --git a/dev-python/citeproc-py/Manifest b/dev-python/citeproc-py/Manifest
23 deleted file mode 100644
24 index f226fa1ed986..000000000000
25 --- a/dev-python/citeproc-py/Manifest
26 +++ /dev/null
27 @@ -1,2 +0,0 @@
28 -DIST citeproc-py-0.6.0.tar.gz 140624 BLAKE2B 169129c6be29a5a5c4678ccc2e2dd0b9ef58248ae66339ac32c6fab887058c7bbd2884d2ce959ce52287a622be4abded7e1ab06cae9c0952be47352671f951c4 SHA512 901a62c59189a652b589e4aa12e489f72f5ea40db1349fcdc0e4ffd6f5be8d364dccdc23cfab1a9003fbc672d75c5bdf06c74b9b5e1fcfb2c12e84df39fe1fb1
29 -DIST citeproc-py-test-suite-c3db429ab7c6b9b9ccaaa6d3c6bb9e503f0d7b11.tar.gz 990340 BLAKE2B acf02bec956765d0bea794a96ce7b86104c98aa4c0f8620dbfaeb7f16f37fe07e5b45883c04a1c639fad9098e3733339c90deaf8cdd794fadb8db1456972d16b SHA512 8653ea8968fa108c0814f43744f6e569a0a32cf4e82addec667f75a28b9c1fd9c7714c0c75a85e0d6f7f579e554494925ba4ab05e21e4dcb6b727d00b6a16df7
30
31 diff --git a/dev-python/citeproc-py/citeproc-py-0.6.0.ebuild b/dev-python/citeproc-py/citeproc-py-0.6.0.ebuild
32 deleted file mode 100644
33 index b3938812ea05..000000000000
34 --- a/dev-python/citeproc-py/citeproc-py-0.6.0.ebuild
35 +++ /dev/null
36 @@ -1,45 +0,0 @@
37 -# Copyright 1999-2023 Gentoo Authors
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=8
41 -
42 -PYPI_NO_NORMALIZE=1
43 -PYTHON_COMPAT=( python3_{9..10} )
44 -
45 -# Keep synced with tests/citeproc-test.py
46 -TEST_SUITE_COMMIT="c3db429ab7c6b9b9ccaaa6d3c6bb9e503f0d7b11"
47 -
48 -inherit distutils-r1 pypi
49 -
50 -DESCRIPTION="Yet another Python CSL Processor"
51 -HOMEPAGE="https://pypi.org/project/citeproc-py/"
52 -SRC_URI+="
53 - test? (
54 - https://github.com/citation-style-language/test-suite/archive/${TEST_SUITE_COMMIT}.tar.gz
55 - -> ${PN}-test-suite-${TEST_SUITE_COMMIT}.tar.gz
56 - )
57 -"
58 -
59 -LICENSE="BSD-2"
60 -SLOT="0"
61 -KEYWORDS="~amd64 ~x86"
62 -
63 -BDEPEND=">=app-text/rnc2rng-2.6.3[${PYTHON_USEDEP}]"
64 -RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
65 -
66 -PATCHES=( "${FILESDIR}/stop_test_from_accessing_git-${PV}.patch" )
67 -
68 -distutils_enable_tests nose
69 -
70 -src_prepare() {
71 - default
72 -
73 - if use test ; then
74 - mv "${WORKDIR}/test-suite-${TEST_SUITE_COMMIT}" "${S}/tests/test-suite" || die
75 - fi
76 -}
77 -
78 -python_test() {
79 - nosetests -v --ignore-files=citeproc-test.py || die "Tests failed with ${EPYTHON}"
80 - ${EPYTHON} tests/citeproc-test.py -vs || die "Tests failed with ${EPYTHON}"
81 -}
82
83 diff --git a/dev-python/citeproc-py/files/stop_test_from_accessing_git-0.6.0.patch b/dev-python/citeproc-py/files/stop_test_from_accessing_git-0.6.0.patch
84 deleted file mode 100644
85 index e04ff1be1b87..000000000000
86 --- a/dev-python/citeproc-py/files/stop_test_from_accessing_git-0.6.0.patch
87 +++ /dev/null
88 @@ -1,13 +0,0 @@
89 -diff --git a/tests/citeproc-test.py b/tests/citeproc-test.py
90 -index 11bd47d..8934700 100644
91 ---- a/tests/citeproc-test.py
92 -+++ b/tests/citeproc-test.py
93 -@@ -288,7 +288,7 @@ if __name__ == '__main__':
94 - glob_pattern = '*'
95 - run_all_tests = True
96 -
97 -- test_repo_has_updates = clone_test_suite()
98 -+ test_repo_has_updates = False
99 -
100 - # import the text fixture parser included with citeproc-test
101 - try: # Python 3.3+
102
103 diff --git a/dev-python/citeproc-py/metadata.xml b/dev-python/citeproc-py/metadata.xml
104 deleted file mode 100644
105 index 38432292de71..000000000000
106 --- a/dev-python/citeproc-py/metadata.xml
107 +++ /dev/null
108 @@ -1,12 +0,0 @@
109 -<?xml version="1.0" encoding="UTF-8"?>
110 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
111 -<pkgmetadata>
112 - <maintainer type="person">
113 - <email>alexxy@g.o</email>
114 - <name>Alexey Shvetsov</name>
115 - </maintainer>
116 - <upstream>
117 - <remote-id type="github">brechtm/citeproc-py</remote-id>
118 - <remote-id type="pypi">citeproc-py</remote-id>
119 - </upstream>
120 -</pkgmetadata>
121
122 diff --git a/profiles/package.mask b/profiles/package.mask
123 index 9369da13ab84..922d7ed98ca4 100644
124 --- a/profiles/package.mask
125 +++ b/profiles/package.mask
126 @@ -280,13 +280,6 @@ dev-python/pytest-flake8
127 acct-user/jabber
128 acct-group/jabber
129
130 -# Michał Górny <mgorny@g.o> (2023-02-02)
131 -# dev-python/citeproc-py requires dev-python/nose and is not maintained
132 -# upstream. Its only revdep, dev-python/duecredit has no reverse
133 -# dependencies left.
134 -# Removal on 2023-03-04. Bug #888239.
135 -dev-python/citeproc-py
136 -
137 # Michał Górny <mgorny@g.o> (2023-02-01)
138 # dev-python/blockdiag still requires dev-python/nose. There was a PR
139 # made to switch to pytest in Feb 2020 but it's not progressing at all.