mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
dev-python/fake-py: Remove last-rited pkg
Bug: https://bugs.gentoo.org/966327 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
DIST fake.py-0.11.10.gh.tar.gz 118399 BLAKE2B 7bd1d12152c0be9f4e4e7887e3b3ffb372207d464a773acc8bd28035899ff72f6aa82c625fbfd97d4f27c92014db04795efe958d23a431ff7b6ad9ea923023ea SHA512 def8f9dfe89f038c6ff11fc6d40e18c20c5ffa36e3c6a5a3c6f90c08ffd8018b343e455a9763594d3aeb92152c9ac608ed941a75137cb1fc1d1157b2adbbf061
|
||||
DIST fake.py-0.11.12.gh.tar.gz 118743 BLAKE2B fdc764a1d5b87fa84f2a5908f20c3ac1935654aa7afb1e9955ebb60dd8dc087dffa1b2b1349c7725a4e41be75c9d8ee54675b9b44de4839516298999099c35d5 SHA512 667feb1d24e1bd27291e52ff80a345ceb097f417df475c101abb513411457db13dad22aed1ccf745e6d8823d2475037ab52a75e49ad5ffe06aaa00a214a43ac8
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_PN=fake.py
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${P/-/.}
|
||||
DESCRIPTION="Minimalistic, standalone alternative fake data generator with no dependencies"
|
||||
HOMEPAGE="
|
||||
https://github.com/barseghyanartur/fake.py/
|
||||
https://pypi.org/project/fake-py/
|
||||
"
|
||||
# upstream removed examples (and their tests) from sdist around 0.11.8
|
||||
SRC_URI="
|
||||
https://github.com/barseghyanartur/fake.py/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( hypothesis )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# avoid pytest-codeblock which is another nightmare NIH package
|
||||
rm conftest.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# This package is a mess with tests thrown all over the place,
|
||||
# and they need to be run separately because of how messy this is.
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
# fails when started via 'python -m pytest' because of different
|
||||
# argparse output
|
||||
fake.py::TestCLI::test_no_command
|
||||
)
|
||||
|
||||
epytest -o addopts= fake.py
|
||||
|
||||
local suite
|
||||
for suite in customisation dataclasses hypothesis lazyfuzzy; do
|
||||
pushd "examples/${suite}" >/dev/null || die
|
||||
epytest -o addopts=
|
||||
popd >/dev/null || die
|
||||
done
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_PN=fake.py
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${P/-/.}
|
||||
DESCRIPTION="Minimalistic, standalone alternative fake data generator with no dependencies"
|
||||
HOMEPAGE="
|
||||
https://github.com/barseghyanartur/fake.py/
|
||||
https://pypi.org/project/fake-py/
|
||||
"
|
||||
# upstream removed examples (and their tests) from sdist around 0.11.8
|
||||
SRC_URI="
|
||||
https://github.com/barseghyanartur/fake.py/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( hypothesis )
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
|
||||
# avoid pytest-codeblock which is another nightmare NIH package
|
||||
rm conftest.py || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# This package is a mess with tests thrown all over the place,
|
||||
# and they need to be run separately because of how messy this is.
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
# fails when started via 'python -m pytest' because of different
|
||||
# argparse output
|
||||
fake.py::TestCLI::test_no_command
|
||||
)
|
||||
|
||||
epytest -o addopts= fake.py
|
||||
|
||||
local suite
|
||||
for suite in customisation dataclasses hypothesis lazyfuzzy; do
|
||||
pushd "examples/${suite}" >/dev/null || die
|
||||
epytest -o addopts=
|
||||
popd >/dev/null || die
|
||||
done
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="github">barseghyanartur/fake.py</remote-id>
|
||||
<remote-id type="pypi">fake.py</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -209,12 +209,6 @@ app-emacs/docker-tramp
|
||||
# See bug #966299.
|
||||
=dev-util/librnp-0.18.0
|
||||
|
||||
# Michał Górny <mgorny@gentoo.org> (2025-11-22)
|
||||
# A NIH replacement for dev-python/faker with a very slow test suite.
|
||||
# No reverse dependencies left.
|
||||
# Removal on 2025-12-22. Bug #966327.
|
||||
dev-python/fake-py
|
||||
|
||||
# Sam James <sam@gentoo.org> (2025-10-13)
|
||||
# Crashes in memtodest when handling PATH. Not yet reported upstream.
|
||||
=app-shells/dash-0.5.13.1
|
||||
|
||||
Reference in New Issue
Block a user