diff options
author | 2024-11-13 21:08:01 +0100 | |
---|---|---|
committer | 2024-11-13 21:40:56 +0100 | |
commit | ad806778f682f6cd766327c653c460dc4534bf4e (patch) | |
tree | 5a5ffb79f5295fd78f068cce4cea2f201fe679b8 /dev-python/subunit | |
parent | dev-python/subunit: Prepare for rename (diff) | |
download | gentoo-ad806778f682f6cd766327c653c460dc4534bf4e.tar.gz gentoo-ad806778f682f6cd766327c653c460dc4534bf4e.tar.bz2 gentoo-ad806778f682f6cd766327c653c460dc4534bf4e.zip |
Rename dev-python/{subunit → python-subunit}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/subunit')
-rw-r--r-- | dev-python/subunit/Manifest | 1 | ||||
-rw-r--r-- | dev-python/subunit/files/subunit-1.4.0-werror.patch | 34 | ||||
-rw-r--r-- | dev-python/subunit/metadata.xml | 17 | ||||
-rw-r--r-- | dev-python/subunit/subunit-1.4.4.ebuild | 93 |
4 files changed, 0 insertions, 145 deletions
diff --git a/dev-python/subunit/Manifest b/dev-python/subunit/Manifest deleted file mode 100644 index fc68f55c9485..000000000000 --- a/dev-python/subunit/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST subunit-1.4.4.gh.tar.gz 105357 BLAKE2B 5937c62357d9cb70e25242aa7678d89f79fed3d8d28fb5306bc21e28d643665e563078a84a9dd64b9192809e542d69218154227c8e5d281c861085d3175c73c4 SHA512 a666e45951afab70ea85cf9614d5e60c8884c0e2d7987e690bf7acedec5c544c412407b02134a125b4dca8772c0b1ce17fdbd9546d97ef06592119ec49b2a21f diff --git a/dev-python/subunit/files/subunit-1.4.0-werror.patch b/dev-python/subunit/files/subunit-1.4.0-werror.patch deleted file mode 100644 index e64f74a655ef..000000000000 --- a/dev-python/subunit/files/subunit-1.4.0-werror.patch +++ /dev/null @@ -1,34 +0,0 @@ -# https://bugs.gentoo.org/744313 - ---- a/configure.ac -+++ b/configure.ac -@@ -4,11 +4,11 @@ - m4_define([SUBUNIT_VERSION], - m4_defn([SUBUNIT_MAJOR_VERSION]).m4_defn([SUBUNIT_MINOR_VERSION]).m4_defn([SUBUNIT_MICRO_VERSION])) - AC_PREREQ([2.59]) - AC_INIT([subunit], [SUBUNIT_VERSION], [subunit-dev@lists.launchpad.net]) - AC_CONFIG_SRCDIR([c/lib/child.c]) --AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects]) -+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects]) - AC_CONFIG_MACRO_DIR([m4]) - [SUBUNIT_MAJOR_VERSION]=SUBUNIT_MAJOR_VERSION - [SUBUNIT_MINOR_VERSION]=SUBUNIT_MINOR_VERSION - [SUBUNIT_MICRO_VERSION]=SUBUNIT_MICRO_VERSION - [SUBUNIT_VERSION]=SUBUNIT_VERSION -@@ -26,14 +26,14 @@ - AC_PROG_LIBTOOL - AM_PATH_PYTHON - - AS_IF([test "$GCC" = "yes"], - [ -- SUBUNIT_CFLAGS="-Wall -Werror -Wextra -Wstrict-prototypes " -+ SUBUNIT_CFLAGS="-Wall -Wextra -Wstrict-prototypes " - SUBUNIT_CFLAGS="$SUBUNIT_CFLAGS -Wmissing-prototypes -Wwrite-strings " - SUBUNIT_CFLAGS="$SUBUNIT_CFLAGS -Wno-variadic-macros " -- SUBUNIT_CXXFLAGS="-Wall -Werror -Wextra -Wwrite-strings -Wno-variadic-macros" -+ SUBUNIT_CXXFLAGS="-Wall -Wextra -Wwrite-strings -Wno-variadic-macros" - ]) - - AM_CFLAGS="$SUBUNIT_CFLAGS -I\$(top_srcdir)/c/include" - AM_CXXFLAGS="$SUBUNIT_CXXFLAGS -I\$(top_srcdir)/c/include" - AC_SUBST(AM_CFLAGS) diff --git a/dev-python/subunit/metadata.xml b/dev-python/subunit/metadata.xml deleted file mode 100644 index d7e73ee6e3af..000000000000 --- a/dev-python/subunit/metadata.xml +++ /dev/null @@ -1,17 +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> - <name>Python</name> - </maintainer> - <maintainer type="project"> - <email>openstack@gentoo.org</email> - <name>Openstack</name> - </maintainer> - <upstream> - <remote-id type="launchpad">subunit</remote-id> - <remote-id type="pypi">python-subunit</remote-id> - <remote-id type="github">testing-cabal/subunit</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-python/subunit/subunit-1.4.4.ebuild b/dev-python/subunit/subunit-1.4.4.ebuild deleted file mode 100644 index df59299dc819..000000000000 --- a/dev-python/subunit/subunit-1.4.4.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} pypy3 ) - -inherit distutils-r1 multilib-minimal autotools - -MY_P=subunit-${PV} -DESCRIPTION="A streaming protocol for test results" -HOMEPAGE=" - https://launchpad.net/subunit/ - https://pypi.org/project/python-subunit/ -" -SRC_URI=" - https://github.com/testing-cabal/subunit/archive/${PV}.tar.gz - -> ${MY_P}.gh.tar.gz -" -S=${WORKDIR}/${MY_P} - -LICENSE="Apache-2.0 BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" -IUSE="static-libs test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] - dev-python/iso8601[${PYTHON_USEDEP}] -" -DEPEND=" - ${RDEPEND} - >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] - >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] - >=virtual/pkgconfig-0-r1 - test? ( - dev-python/fixtures[${PYTHON_USEDEP}] - dev-python/hypothesis[${PYTHON_USEDEP}] - dev-python/testscenarios[${PYTHON_USEDEP}] - ) -" - -PATCHES=( - "${FILESDIR}/subunit-1.4.0-werror.patch" -) - -src_prepare() { - mv all_tests.py python/ || die - - distutils-r1_src_prepare - eautoreconf - multilib_copy_sources -} - -multilib_src_configure() { - ECONF_SOURCE=${S} \ - econf \ - --enable-shared \ - $(use_enable static-libs static) -} - -multilib_src_compile() { - default - multilib_is_native_abi && distutils-r1_src_compile -} - -python_test() { - cd python || die - "${EPYTHON}" -m testtools.run -v all_tests.test_suite || - die "Testing failed with ${EPYTHON}" -} - -multilib_src_test() { - multilib_is_native_abi && distutils-r1_src_test -} - -multilib_src_install() { - local targets=( - install-include_subunitHEADERS - install-pcdataDATA - install-libLTLIBRARIES - ) - emake DESTDIR="${D}" "${targets[@]}" - - multilib_is_native_abi && distutils-r1_src_install -} - -multilib_src_install_all() { - einstalldocs - find "${D}" -name '*.la' -delete || die -} |