diff options
author | Brian Evans <grknight@gentoo.org> | 2022-03-25 12:41:58 -0400 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2022-03-25 12:42:28 -0400 |
commit | 55f25ab60be014ed9f36626a693394c890a7752b (patch) | |
tree | 48740116a31bc21004270d71f09f2a9fd50775fe /dev-php/twig/twig-1.42.3-r1.ebuild | |
parent | dev-php/twig: Add 1.44.6 the final v1 version (diff) | |
download | gentoo-55f25ab60be014ed9f36626a693394c890a7752b.tar.gz gentoo-55f25ab60be014ed9f36626a693394c890a7752b.tar.bz2 gentoo-55f25ab60be014ed9f36626a693394c890a7752b.zip |
dev-php/twig: Drop old
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php/twig/twig-1.42.3-r1.ebuild')
-rw-r--r-- | dev-php/twig/twig-1.42.3-r1.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/dev-php/twig/twig-1.42.3-r1.ebuild b/dev-php/twig/twig-1.42.3-r1.ebuild deleted file mode 100644 index 1b651a90eb5c..000000000000 --- a/dev-php/twig/twig-1.42.3-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -MY_PN="Twig" -S="${WORKDIR}/${MY_PN}-${PV}" - -DESCRIPTION="PHP templating engine with syntax similar to Django" -HOMEPAGE="http://twig.sensiolabs.org/" -SRC_URI="https://github.com/twigphp/${MY_PN}/archive/v${PV}.tar.gz - -> ${P}.tar.gz" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc test" - -RDEPEND="dev-lang/php:*[ctype] dev-php/fedora-autoloader" -DEPEND="test? ( dev-php/phpunit ${RDEPEND} )" -# Test fail due to missing Symphony dependencies -RESTRICT="test" - -src_install() { - # The autoloader requires the 'T' in "Twig" capitalized. - insinto "/usr/share/php/${MY_PN}/lib/${MY_PN}" - doins -r lib/"${MY_PN}"/* - insinto "/usr/share/php/${MY_PN}/src" - doins -r src/* - insinto "/usr/share/php/${MY_PN}" - doins "${FILESDIR}/Autoloader.php" - - dodoc README.rst CHANGELOG - - # This installs the reStructuredText source documents. There's got - # to be some way to turn them into HTML using Sphinx, but upstream - # doesn't provide for it. - use doc && dodoc -r doc -} - -src_test() { - cp "${FILESDIR}/Autoloader.php" "${S}" || die - phpunit --bootstrap Autoloader.php || die "test suite failed" - rm "${S}/Autoloader.php" || die -} - -pkg_postinst() { - elog "${PN} has been installed in /usr/share/php/${MY_PN}/." - elog "To use it in a script, require('${MY_PN}/Autoloader.php')" -} |