dev-php/spdx-licenses: remove "unused" spdx-licenses-1.0.0.ebuild.

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Michael Orlitzky
2018-01-22 21:11:25 -05:00
parent 7fb4007606
commit 24f7a05a46
3 changed files with 0 additions and 49 deletions

View File

@@ -1,2 +1 @@
DIST spdx-licenses-1.0.0.tar.gz 8244 BLAKE2B 57ef1ccb7f4165293c8daca0fe3e04322658a06a10e82b10ee0603974572c51fd005de7a530fce280d8ab3fa78fe18ac3bd64babdf2565eacb1c61a3f3df9ce4 SHA512 1ef19555f252c5e03fe3b0376442f47bd50d894effa04bca58e7644e18fcc2a905239086d1aaf31277ce5928a7f9743e123c767e197c0fa063c015ad14851a14
DIST spdx-licenses-1.2.0.tar.gz 10974 BLAKE2B 52cba9837202b1ae598b6d3b36f4ef67ec27988fa5911f2dfff92d39515d0401f5636922a3d205413489d21fd1dfacbf68f72c907503807317c7c9e51392e016 SHA512 fdb63dd29a099afbc116b30d1deec3d2b46be998a55fd741126f1bc393c5037a9a7477e55f7e030585d826be7d72db26be5ce0b5bb57dd536137cc45890ea9c9

View File

@@ -1,22 +0,0 @@
# Fix the path of res/
--- ./src/SpdxLicenses.php 2015-07-15 19:38:14.000000000 +0200
+++ ./src/SpdxLicenses.php 2016-11-13 19:24:17.659442468 +0100
@@ -170,7 +170,7 @@
private function loadLicenses()
{
if (null === $this->licenses) {
- $jsonFile = file_get_contents(__DIR__ . '/../res/spdx-licenses.json');
+ $jsonFile = file_get_contents(__DIR__ . '/res/spdx-licenses.json');
$this->licenses = json_decode($jsonFile, true);
}
}
@@ -178,7 +178,7 @@
private function loadExceptions()
{
if (null === $this->exceptions) {
- $jsonFile = file_get_contents(__DIR__ . '/../res/spdx-exceptions.json');
+ $jsonFile = file_get_contents(__DIR__ . '/res/spdx-exceptions.json');
$this->exceptions = json_decode($jsonFile, true);
}
}

View File

@@ -1,26 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Tools for working with and validating SPDX licenses"
HOMEPAGE="https://github.com/composer/spdx-licenses"
SRC_URI="https://github.com/composer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-lang/php:*
dev-php/fedora-autoloader"
PATCHES=(
"${FILESDIR}/${PN}-change-res-path.patch"
)
src_install() {
insinto "/usr/share/php/Composer/Spdx"
doins -r src/. res "${FILESDIR}"/autoload.php
dodoc README.md
}