summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-07-26 20:13:30 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-07-26 20:25:13 +0300
commit9e5b2ad39d17d1463b1fd60206be42254ea146f0 (patch)
tree96b0f2bfdd162b656065119acb4830140cbf17b7 /dev-php
parentdev-php/phpdepend: treeclean (diff)
downloadgentoo-9e5b2ad39d17d1463b1fd60206be42254ea146f0.tar.gz
gentoo-9e5b2ad39d17d1463b1fd60206be42254ea146f0.tar.bz2
gentoo-9e5b2ad39d17d1463b1fd60206be42254ea146f0.zip
dev-php/composer: treeclean
Closes: https://bugs.gentoo.org/934666 (pkgremoved) Closes: https://bugs.gentoo.org/877639 (pkgremoved) Closes: https://bugs.gentoo.org/900100 (pkgremoved) Bug: https://bugs.gentoo.org/838268 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/composer/Manifest1
-rw-r--r--dev-php/composer/composer-2.1.12.ebuild80
-rw-r--r--dev-php/composer/files/autoload.php.tpl12
-rw-r--r--dev-php/composer/metadata.xml23
4 files changed, 0 insertions, 116 deletions
diff --git a/dev-php/composer/Manifest b/dev-php/composer/Manifest
deleted file mode 100644
index 469dac5c757d..000000000000
--- a/dev-php/composer/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST composer-2.1.12.tar.gz 535017 BLAKE2B 1eb0f7266f81efacbb0a9607828ebd8baf7147a161c478c75968ac02b5e32688601a8be53ef03f66162847b3e2f15b47398f6f57b7e3d9da7743d34c1a19cd7c SHA512 5848a686568cf2bf587b4f4c21fc095b2e6578c2a4897329411e473ce6250e6304726a47078f70f19fb168359fb991109ec975241b868f8b71dcf30c32a888c5
diff --git a/dev-php/composer/composer-2.1.12.ebuild b/dev-php/composer/composer-2.1.12.ebuild
deleted file mode 100644
index 83641942e9e8..000000000000
--- a/dev-php/composer/composer-2.1.12.ebuild
+++ /dev/null
@@ -1,80 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="8"
-
-DESCRIPTION="Dependency Manager for PHP"
-HOMEPAGE="https://github.com/composer/composer"
-SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-BDEPEND="dev-php/theseer-Autoload"
-
-RDEPEND="dev-lang/php:*[curl]
- >=dev-php/ca-bundle-1.0
- dev-php/fedora-autoloader
- >=dev-php/jsonlint-1.4
- >=dev-php/json-schema-5.2.11
- >=dev-php/metadata-minifier-1.0
- >=dev-php/phar-utils-1.0
- >=dev-php/psr-log-1.0
- >=dev-php/reactphp-promise-2.7
- >=dev-php/semver-3.0
- >=dev-php/spdx-licenses-1.2
- >=dev-php/symfony-console-2.8.52
- >=dev-php/symfony-filesystem-2.8.52
- >=dev-php/symfony-finder-2.8.52
- >=dev-php/symfony-process-2.8.52
- >=dev-php/xdebug-handler-2"
-
-src_prepare() {
- default
-
- mkdir vendor || die
-
- phpab \
- --output vendor/autoload.php \
- --template "${FILESDIR}"/autoload.php.tpl \
- --basedir src \
- src \
- || die
-
- cat >> vendor/autoload.php <<EOF || die "failed to extend autoload.php"
-
-// Dependencies
-\Fedora\Autoloader\Dependencies::required([
- '/usr/share/php/Composer/CaBundle/autoload.php',
- '/usr/share/php/Composer/MetadataMinifier/autoload.php',
- '/usr/share/php/Composer/Semver/autoload.php',
- '/usr/share/php/Composer/Spdx/autoload.php',
- '/usr/share/php/Composer/XdebugHandler/autoload.php',
- '/usr/share/php/JsonSchema/autoload.php',
- '/usr/share/php/Psr/Log/autoload.php',
- '/usr/share/php/Seld/JsonLint/autoload.php',
- '/usr/share/php/Seld/PharUtils/autoload.php',
- '/usr/share/php/Symfony/Component/Console/autoload.php',
- '/usr/share/php/Symfony/Component/Filesystem/autoload.php',
- '/usr/share/php/Symfony/Component/Finder/autoload.php',
- '/usr/share/php/Symfony/Component/Process/autoload.php',
- '/usr/share/php/React/Promise/autoload.php'
-]);
-EOF
-}
-
-src_install() {
- insinto "/usr/share/${PN}"
-
- # Composer expects the LICENSE file to be there, and the
- # easiest thing to do is to give it what it wants.
- doins -r LICENSE res src vendor
-
- exeinto "/usr/share/${PN}/bin"
- doexe "bin/${PN}"
- dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
-
- dodoc CHANGELOG.md README.md doc/*.md
- dodoc -r doc/articles doc/faqs
-}
diff --git a/dev-php/composer/files/autoload.php.tpl b/dev-php/composer/files/autoload.php.tpl
deleted file mode 100644
index b740c5593c25..000000000000
--- a/dev-php/composer/files/autoload.php.tpl
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-// @codingStandardsIgnoreFile
-// @codeCoverageIgnoreStart
-require_once 'Fedora/Autoloader'.'/autoload.php';
-
-\Fedora\Autoloader\Autoload::addClassMap(
- array(
- ___CLASSLIST___,
- ),
- __DIR__ . '/../src'
-);
-// @codeCoverageIgnoreEnd
diff --git a/dev-php/composer/metadata.xml b/dev-php/composer/metadata.xml
deleted file mode 100644
index 129c05e88ac9..000000000000
--- a/dev-php/composer/metadata.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person" proxied="yes">
- <email>guillaumeseren@gmail.com</email>
- <name>Guillaume Seren</name>
- </maintainer>
- <maintainer type="project" proxied="proxy">
- <email>proxy-maint@gentoo.org</email>
- <name>Proxy Maintainers</name>
- </maintainer>
- <maintainer type="project">
- <email>php-bugs@gentoo.org</email>
- </maintainer>
- <longdescription>
- Composer is a tool for dependency management in PHP.
- It allows you to declare the libraries your project depends on
- and it will manage (install/update) them for you.
- </longdescription>
- <upstream>
- <remote-id type="github">composer/composer</remote-id>
- </upstream>
-</pkgmetadata>