commit:     95af27ce45dfa40431e17da59282dfae23de469c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 17 20:19:08 2025 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Mar 17 20:38:04 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95af27ce

dev-php/swoole: treeclean (php:8.1)

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 dev-php/swoole/Manifest                       |  1 -
 dev-php/swoole/files/swoole-4.8.7-gcc13.patch | 19 -------
 dev-php/swoole/metadata.xml                   | 11 ----
 dev-php/swoole/swoole-4.8.7.ebuild            | 72 ---------------------------
 4 files changed, 103 deletions(-)

diff --git a/dev-php/swoole/Manifest b/dev-php/swoole/Manifest
deleted file mode 100644
index f83ffe54f33e..000000000000
--- a/dev-php/swoole/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST swoole-4.8.7.tgz 1851160 BLAKE2B 
3e5c9d664f1897b7bd490a1e9dbc4c3c03117a18ae58586efe534c617578a7af5be779e6ca44a5bf2f782abc2eb57bc21e3dc4e3445c3299918bc189547dc75c
 SHA512 
36f36aface71435233aaa8c81e023b813c6175d3ed00a9de20acb690b58b464d99670c3b96f247ab1147f95e099d44785d60d5f1e36f519ccfeb09b3bddba264

diff --git a/dev-php/swoole/files/swoole-4.8.7-gcc13.patch 
b/dev-php/swoole/files/swoole-4.8.7-gcc13.patch
deleted file mode 100644
index a99088af87cf..000000000000
--- a/dev-php/swoole/files/swoole-4.8.7-gcc13.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-https://bugs.gentoo.org/895232
-https://github.com/swoole/swoole-src/issues/4983
-https://github.com/swoole/swoole-src/commit/402eec43ec385b63307b3ba772f871f0f86fa299
-
-From 402eec43ec385b63307b3ba772f871f0f86fa299 Mon Sep 17 00:00:00 2001
-From: Remi Collet <[email protected]>
-Date: Sun, 19 Feb 2023 13:00:01 +0100
-Subject: [PATCH] Fix #4983 Add missing header for GCC 13 (#4985)
-
---- a/include/swoole_proxy.h
-+++ b/include/swoole_proxy.h
-@@ -17,6 +17,7 @@
- #pragma once
- 
- #include <string>
-+#include <cstdint>
- 
- #define SW_SOCKS5_VERSION_CODE 0x05
- 

diff --git a/dev-php/swoole/metadata.xml b/dev-php/swoole/metadata.xml
deleted file mode 100644
index edb85e79ce7f..000000000000
--- a/dev-php/swoole/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-<maintainer type="project">
-<email>[email protected]</email>
-<name>PHP Project</name>
-</maintainer>
-<upstream>
-  <remote-id type="github">swoole/swoole-src</remote-id>
-</upstream>
-</pkgmetadata>

diff --git a/dev-php/swoole/swoole-4.8.7.ebuild 
b/dev-php/swoole/swoole-4.8.7.ebuild
deleted file mode 100644
index df9af9c5d2da..000000000000
--- a/dev-php/swoole/swoole-4.8.7.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-PHP_EXT_NAME="swoole"
-PHP_EXT_INI="yes"
-PHP_EXT_ZENDEXT="no"
-PHP_EXT_SAPIS="cli"
-PHP_EXT_NEEDED_USE="cli,sockets?"
-DOCS=( README.md )
-
-USE_PHP="php8-1"
-
-inherit php-ext-pecl-r3
-
-HOMEPAGE="https://www.swoole.co.uk";
-KEYWORDS="amd64 ~x86"
-
-DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking 
engine"
-LICENSE="Apache-2.0"
-SLOT="0"
-# Tests require network access for composer libraries under 
tests/include/lib/vendor
-RESTRICT="test"
-
-DEPEND="
-       app-arch/brotli:0=
-       dev-libs/libpcre
-       sys-libs/zlib:0=
-       ssl? (
-               dev-libs/openssl:0=
-       )
-       mysql? (
-               php_targets_php8-1? ( dev-lang/php:8.1[mysql,mysqli(+)] )
-       )
-"
-
-RDEPEND="${DEPEND}"
-
-IUSE="debug http2 mysql sockets ssl"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-gcc13.patch
-)
-
-src_configure() {
-       # JEMalloc not included as it refuses to find a 
${ESYSROOT}/usr/includes/jemalloc subdirectory
-       local PHP_EXT_ECONF_ARGS=(
-               --enable-swoole
-               $(use_enable debug)
-               $(use_enable http2)
-               $(use_enable mysql mysqlnd)
-               $(use_enable ssl openssl)
-               $(use_with ssl openssl-dir "${ESYSROOT}/usr")
-               $(use_enable sockets)
-       )
-
-       php-ext-source-r3_src_configure
-}
-
-src_test() {
-       ulimit -n 16384 > /dev/null 2>&1
-       local slot
-       for slot in $(php_get_slots); do
-               php_init_slot_env "${slot}"
-               cd tests || die
-               if has_version ">=dev-php/xdebug-3" ; then
-                       sed -i 's/xdebug.default_enable=0/xdebug.mode=off/' 
run-tests || die
-               fi
-               PHPT=1 "${PHPCLI}" -d "memory_limit=1024m" ./run-tests swoole_* 
|| die
-       done
-}

Reply via email to