summaryrefslogtreecommitdiff
path: root/dev-python/subunit
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-11-14 06:45:35 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-11-14 06:45:35 +0000
commit5abae9e973fe596f28f78b4d83209ffab108e2cd (patch)
tree477f80d561268dec5e074e3883e85c62ef94861f /dev-python/subunit
parenta6cbb3d12ad6754a4197f1ef2917998b377a081c (diff)
downloadbaldeagleos-repo-5abae9e973fe596f28f78b4d83209ffab108e2cd.tar.gz
baldeagleos-repo-5abae9e973fe596f28f78b4d83209ffab108e2cd.tar.xz
baldeagleos-repo-5abae9e973fe596f28f78b4d83209ffab108e2cd.zip
Adding metadata
Diffstat (limited to 'dev-python/subunit')
-rw-r--r--dev-python/subunit/Manifest1
-rw-r--r--dev-python/subunit/files/subunit-1.4.0-werror.patch34
-rw-r--r--dev-python/subunit/metadata.xml16
-rw-r--r--dev-python/subunit/subunit-1.4.4.ebuild91
4 files changed, 0 insertions, 142 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 e99873a6ae7d..000000000000
--- a/dev-python/subunit/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://liguros.gitlab.io/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>
- </upstream>
- <origin>gentoo-staging</origin>
-</pkgmetadata> \ No newline at end of file
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 d383fbfa088e..000000000000
--- a/dev-python/subunit/subunit-1.4.4.ebuild
+++ /dev/null
@@ -1,91 +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_{9,10,11,12,13} pypy3 )
-
-inherit distutils-r1 multilib-minimal autotools
-
-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
- -> ${P}.gh.tar.gz
-"
-
-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
-}