dev-python/backports-unittest-mock: Remove last-rited pkg

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-10-09 09:21:25 +02:00
parent 32b08650cb
commit 644776f076
4 changed files with 0 additions and 86 deletions
@@ -1 +0,0 @@
DIST backports.unittest_mock-1.5.tar.gz 8941 BLAKE2B ba0ba99bd2668ffaf02f10cd5cf511e32660a2592550f879422400265a4b75732e03d2d0627c4563daca0063ac5759d30abf450c13f9d38b6b3a94b85cab9c17 SHA512 2f2d2c34f80009829935f9e97404bf1840d3ead9dad55fc6f967135b80ed572389d7f42ead2f82671ecfe341eb6ccf696a49560c848d1a36ec5570769a5820a5
@@ -1,62 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DISTUTILS_USE_SETUPTOOLS=rdepend
# It is the developer's intention that backports.unittest_mock will be
# used even for Python 3: https://github.com/jaraco/jaraco.timing/pull/1
PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
inherit distutils-r1
MY_PN="${PN/-/.}"
MY_PN="${MY_PN//-/_}"
DESCRIPTION="Backport of unittest.mock"
HOMEPAGE="https://github.com/jaraco/backports.unittest_mock"
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 s390 sparc x86"
IUSE="test"
RDEPEND="
dev-python/backports[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
${RDEPEND}
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${MY_PN}-${PV}"
RESTRICT="!test? ( test )"
distutils_enable_sphinx docs \
'>=dev-python/jaraco-packaging-3.2' \
'>=dev-python/rst-linker-1.9'
python_prepare_all() {
# avoid a setuptools_scm dependency
sed -i "s:use_scm_version=True:version='${PV}':" setup.py || die
sed -r -i "s:setuptools_scm[[:space:]]*([><=]{1,2}[[:space:]]*[0-9.a-zA-Z]+)[[:space:]]*::" \
setup.cfg || die
distutils-r1_python_prepare_all
}
python_test() {
# Override pytest options to skip flake8
pytest -vv --override-ini="addopts=--doctest-modules" \
|| die "tests failed with ${EPYTHON}"
}
python_install() {
# avoid a collision with dev-python/backports
rm "${BUILD_DIR}"/lib/backports/__init__.py || die
distutils-r1_python_install --skip-build
}
@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sbraz@gentoo.org</email>
<name>Louis Sautier</name>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="pypi">backports.unittest_mock</remote-id>
<remote-id type="github">jaraco/backports.unittest_mock</remote-id>
<bugs-to>https://github.com/jaraco/backports.unittest_mock/issues</bugs-to>
<changelog>https://github.com/jaraco/backports.unittest_mock/blob/master/CHANGES.rst</changelog>
</upstream>
</pkgmetadata>
-5
View File
@@ -535,11 +535,6 @@ net-analyzer/mk-livestatus
sci-biology/vienna-rna
sys-fs/owfs
# Louis Sautier <sbraz@gentoo.org> (2020-09-09)
# Masked for removal in 30 days, no revdeps.
# Backport of a module included in Python >= 3.3.
dev-python/backports-unittest-mock
# Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> (2020-09-01)
# Mismatched version (bug #695022). Masked to force upgrade to 2.0.4_pre20200306162733.
# (Mask should remain after ebuilds are deleted, until 2021-03-01 or