* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2015-08-22 13:56 Brian Evans
0 siblings, 0 replies; 17+ messages in thread
From: Brian Evans @ 2015-08-22 13:56 UTC (permalink / raw
To: gentoo-commits
commit: 1e4a7bcf3470c415cf147001d071c62b9af6f9ca
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 13:54:55 2015 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 13:54:55 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e4a7bcf
dev-php/twig: Security bump for bug 558420
Package-Manager: portage-2.2.20.1
dev-php/twig/Manifest | 1 +
dev-php/twig/twig-1.20.0.ebuild | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index 8aba592..de87f56 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1,2 +1,3 @@
DIST Twig-1.12.3.tgz 81967 SHA256 1aafe50c3f4c1a16064ff0dd7352edaa732c6dc2bd5a5db704e2a91807ed0922 SHA512 42887a367ac1ab1b8a201083ef09ba88372a764644c990b19d9ec26bd5edf2032347ca77b6be35d368cb7dcc5fbf8be57286ec1fe2804c22235aeb4aec97a83d WHIRLPOOL 2fe4e331a34e4eade4917695c368e8425dae06fd12fc954815d2791e66f970aad652c1f95a0de2bff84d7b9173a579e92be82b760005b8ebc455cc59ce2bfd49
DIST Twig-1.16.3.tgz 87723 SHA256 f5ff9fadf10529e658a2d23abe19301cc799304c7ac85d0d572a341e28767b1f SHA512 36cf2c01d7550f3e9021d516ba905c34d8759c22ecef2c8a242dede43970af87d7145de22b27a06d077cdee01edbdd8e9d6a9f2f44fa53ed6b53d3e0da9d7abc WHIRLPOOL 36553498fe8aebb10965192b5e346e51ec0aaafee2db6bc1cb7bfa101c2276a20d5cf8970f73daae6c00e52292e0e152fa4938a1074cb0e57ed5cb5ac17f11fa
+DIST Twig-1.20.0.tgz 93341 SHA256 8f41a64e548d7819daf7c4471a52ab0143836b8edeeba774152973e1f74af5a7 SHA512 de033a85e1952ce6b2fdf7f27d19757b2de9ad3112aff794bbe7786d37f9e693e1cfb2754b2768e2d7d902df988929bbf2ac8f4a4d3f0c8e21fac12e7b94d4dd WHIRLPOOL 0fe61486952df23516e347b5177ac59766b054caa173d679239be25ad0edb5fb0b1d0acfd0023b0ca62e7c5514131e270514c1808b5e24875935c94e120351b3
diff --git a/dev-php/twig/twig-1.20.0.ebuild b/dev-php/twig/twig-1.20.0.ebuild
new file mode 100644
index 0000000..f0f6180
--- /dev/null
+++ b/dev-php/twig/twig-1.20.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml"
+PHP_PEAR_PN="Twig"
+PHP_PEAR_URI="pear.twig-project.org"
+inherit php-pear-lib-r1
+
+DESCRIPTION="PHP templating engine with syntax similar to Django"
+HOMEPAGE="http://twig.sensiolabs.org/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_install() {
+ dodoc CHANGELOG README.rst
+ php-pear-lib-r1_src_install
+ rm -r "${D}"/usr/share/php/docs
+}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2015-08-22 13:56 Brian Evans
0 siblings, 0 replies; 17+ messages in thread
From: Brian Evans @ 2015-08-22 13:56 UTC (permalink / raw
To: gentoo-commits
commit: f94a8cbcf50428bf1d05d8f52b34620be4cb87f4
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 22 13:55:48 2015 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Sat Aug 22 13:55:48 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f94a8cbc
dev-php/twig: Drop vulernable versions for bug 558420
Package-Manager: portage-2.2.20.1
dev-php/twig/Manifest | 2 --
dev-php/twig/twig-1.12.3.ebuild | 28 ----------------------------
dev-php/twig/twig-1.16.3.ebuild | 28 ----------------------------
3 files changed, 58 deletions(-)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index de87f56..0b88ab6 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1,3 +1 @@
-DIST Twig-1.12.3.tgz 81967 SHA256 1aafe50c3f4c1a16064ff0dd7352edaa732c6dc2bd5a5db704e2a91807ed0922 SHA512 42887a367ac1ab1b8a201083ef09ba88372a764644c990b19d9ec26bd5edf2032347ca77b6be35d368cb7dcc5fbf8be57286ec1fe2804c22235aeb4aec97a83d WHIRLPOOL 2fe4e331a34e4eade4917695c368e8425dae06fd12fc954815d2791e66f970aad652c1f95a0de2bff84d7b9173a579e92be82b760005b8ebc455cc59ce2bfd49
-DIST Twig-1.16.3.tgz 87723 SHA256 f5ff9fadf10529e658a2d23abe19301cc799304c7ac85d0d572a341e28767b1f SHA512 36cf2c01d7550f3e9021d516ba905c34d8759c22ecef2c8a242dede43970af87d7145de22b27a06d077cdee01edbdd8e9d6a9f2f44fa53ed6b53d3e0da9d7abc WHIRLPOOL 36553498fe8aebb10965192b5e346e51ec0aaafee2db6bc1cb7bfa101c2276a20d5cf8970f73daae6c00e52292e0e152fa4938a1074cb0e57ed5cb5ac17f11fa
DIST Twig-1.20.0.tgz 93341 SHA256 8f41a64e548d7819daf7c4471a52ab0143836b8edeeba774152973e1f74af5a7 SHA512 de033a85e1952ce6b2fdf7f27d19757b2de9ad3112aff794bbe7786d37f9e693e1cfb2754b2768e2d7d902df988929bbf2ac8f4a4d3f0c8e21fac12e7b94d4dd WHIRLPOOL 0fe61486952df23516e347b5177ac59766b054caa173d679239be25ad0edb5fb0b1d0acfd0023b0ca62e7c5514131e270514c1808b5e24875935c94e120351b3
diff --git a/dev-php/twig/twig-1.12.3.ebuild b/dev-php/twig/twig-1.12.3.ebuild
deleted file mode 100644
index d17888e..0000000
--- a/dev-php/twig/twig-1.12.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml"
-PHP_PEAR_PN="Twig"
-PHP_PEAR_URI="pear.twig-project.org"
-inherit php-pear-lib-r1
-
-DESCRIPTION="PHP templating engine with syntax similar to Django"
-HOMEPAGE="http://twig.sensiolabs.org/"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_install() {
- pwd
- dodoc AUTHORS README.markdown
- #rm AUTHORS README.markdown
- php-pear-lib-r1_src_install
- rm -r "${D}"/usr/share/php/docs
-}
diff --git a/dev-php/twig/twig-1.16.3.ebuild b/dev-php/twig/twig-1.16.3.ebuild
deleted file mode 100644
index b3eaca6..0000000
--- a/dev-php/twig/twig-1.16.3.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml"
-PHP_PEAR_PN="Twig"
-PHP_PEAR_URI="pear.twig-project.org"
-inherit php-pear-lib-r1
-
-DESCRIPTION="PHP templating engine with syntax similar to Django"
-HOMEPAGE="http://twig.sensiolabs.org/"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_install() {
- pwd
- dodoc CHANGELOG README.rst
- #rm AUTHORS README.markdown
- php-pear-lib-r1_src_install
- rm -r "${D}"/usr/share/php/docs
-}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2016-12-22 0:58 Michael Orlitzky
0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2016-12-22 0:58 UTC (permalink / raw
To: gentoo-commits
commit: 8c4b6858a198135640c9128d64f1cf865ae420b6
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 00:08:44 2016 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 00:56:12 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c4b6858
dev-php/twig: add twig-1.29.0 with support for building the C extension.
A few versions of Twig have been released since the version we have in
the tree, so the first goal of the new ebuild is simply to bring our
tree to parity with upstream.
But the new ebuild also adds a feature, the ability to build the C
extension for Twig. In older versions of PHP, the C implementation
provides improved performance over the pure-PHP implementation. The
only "older version" we support is php:5.6, so the C extension is only
built when the user's PHP_TARGETS contains "php5-6". The extension
will only be built with USE=extension; otherwise users who did not
want the extension would be required to add "php5-6" to PHP_TARGETS in
order to appease our eclass.
Upstream does not currently support building the extension against
php:7.0 or php:7.1, but the performance improvement is not so great
with those versions of PHP anyway.
Gentoo-Bug: 566468
Gentoo-Bug: 566470
Suggested-by: Dennis Schridde
Package-Manager: portage-2.3.0
dev-php/twig/Manifest | 1 +
dev-php/twig/metadata.xml | 7 ++++-
dev-php/twig/twig-1.29.0.ebuild | 60 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 67 insertions(+), 1 deletion(-)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index 0b88ab6..fc83a66 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1 +1,2 @@
DIST Twig-1.20.0.tgz 93341 SHA256 8f41a64e548d7819daf7c4471a52ab0143836b8edeeba774152973e1f74af5a7 SHA512 de033a85e1952ce6b2fdf7f27d19757b2de9ad3112aff794bbe7786d37f9e693e1cfb2754b2768e2d7d902df988929bbf2ac8f4a4d3f0c8e21fac12e7b94d4dd WHIRLPOOL 0fe61486952df23516e347b5177ac59766b054caa173d679239be25ad0edb5fb0b1d0acfd0023b0ca62e7c5514131e270514c1808b5e24875935c94e120351b3
+DIST twig-1.29.0.tar.gz 240051 SHA256 ca9823ae05a1d4225d0197590735116984da4473173db52a7d590a572a9b054e SHA512 ba6fabb5d8be89f045763ed491ca78e2df4af34f3903271b1f974ecb444d96c1ccd6dff983e900a9b482629b50f59c62d2172089bd30f7ffe80fd83fc10c97ff WHIRLPOOL 3f212cd794e75f022e7a4f3e2730dd322baa9e91ca0dfba41da7b5a39d02285d76b377eb18ba11210a77eca00b1fbc1d6a086fdaec90925a08d752434a92b3cf
diff --git a/dev-php/twig/metadata.xml b/dev-php/twig/metadata.xml
index d768205..dabafbf 100644
--- a/dev-php/twig/metadata.xml
+++ b/dev-php/twig/metadata.xml
@@ -9,4 +9,9 @@
<email>php-bugs@gentoo.org</email>
<name>PHP</name>
</maintainer>
- </pkgmetadata>
+ <use>
+ <flag name="extension">
+ Build the C extension (only for php-5.6.x).
+ </flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-php/twig/twig-1.29.0.ebuild b/dev-php/twig/twig-1.29.0.ebuild
new file mode 100644
index 00000000..0cfa0e1
--- /dev/null
+++ b/dev-php/twig/twig-1.29.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PN="Twig"
+USE_PHP="php5-6"
+S="${WORKDIR}/${MY_PN}-${PV}"
+PHP_EXT_S="${S}/ext/${PN}"
+PHP_EXT_NAME="${PN}"
+PHP_EXT_OPTIONAL_USE="extension"
+
+inherit php-ext-source-r3
+
+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 extension test"
+
+DEPEND="test? ( dev-php/phpunit )"
+
+src_prepare(){
+ # We need to call eapply_user ourselves, just in case the user's
+ # PHP_TARGETS is essentially empty (does not contain "php5-6"). In
+ # that case the eclass src_prepare does nothing.
+ eapply_user
+ php-ext-source-r3_src_prepare
+}
+
+src_install(){
+ php-ext-source-r3_src_install
+
+ cd "${S}" || die
+ # The autoloader requires the 'T' in "Twig" capitalized.
+ insinto "/usr/share/php/${MY_PN}"
+ doins -r lib/"${MY_PN}"/*
+
+ 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(){
+ phpunit --bootstrap test/bootstrap.php || die "test suite failed"
+}
+
+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'),"
+ elog "and then run \"Twig_Autoloader::register();\". Most of"
+ elog "the examples in the documentation should work without"
+ elog "further modification."
+}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2017-01-06 21:51 Michael Orlitzky
0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2017-01-06 21:51 UTC (permalink / raw
To: gentoo-commits
commit: 14f2ab0158367ccebb091bb7a023c367cec45e48
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 6 21:50:11 2017 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Jan 6 21:50:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14f2ab01
dev-php/twig: don't run eclass phases when USE="extension" is unset.
If the user does not wish to build the C extension, there is no need
to run the php-ext-source-r3 eclass phases. Doing so can lead to a
build failure because those eclass phases use DEPENDencies that are
only required conditionally on USE=extension.
Gentoo-Bug: 604874
Package-Manager: portage-2.3.0
dev-php/twig/twig-1.29.0.ebuild | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/dev-php/twig/twig-1.29.0.ebuild b/dev-php/twig/twig-1.29.0.ebuild
index 0cfa0e1..679424c 100644
--- a/dev-php/twig/twig-1.29.0.ebuild
+++ b/dev-php/twig/twig-1.29.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -25,22 +25,26 @@ IUSE="doc extension test"
DEPEND="test? ( dev-php/phpunit )"
src_prepare(){
- # We need to call eapply_user ourselves, just in case the user's
+ # We need to call eapply_user ourselves, because it may be skipped
+ # if either the "extension" USE flag is not set, or if the user's
# PHP_TARGETS is essentially empty (does not contain "php5-6"). In
- # that case the eclass src_prepare does nothing.
+ # the latter case, the eclass src_prepare does nothing.
eapply_user
- php-ext-source-r3_src_prepare
+ use extension && php-ext-source-r3_src_prepare
}
src_install(){
- php-ext-source-r3_src_install
+ use extension && php-ext-source-r3_src_install
cd "${S}" || die
# The autoloader requires the 'T' in "Twig" capitalized.
insinto "/usr/share/php/${MY_PN}"
doins -r lib/"${MY_PN}"/*
+ # The eclass src_install calls einstalldocs, so we may install a few
+ # files twice. Doing so should be harmless.
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.
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2017-01-06 22:39 Michael Orlitzky
0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2017-01-06 22:39 UTC (permalink / raw
To: gentoo-commits
commit: 25971a5a27a4e2dec8ef93ac9915de1045e7a67e
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 6 22:11:27 2017 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Jan 6 22:39:14 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25971a5a
dev-php/twig: fix build with USE=extension unset.
In commit 14f2ab0, I accidentally broke building with
USE="-extension". The eclass src_prepare phase was correctly skipped
(a new change), but then afterwards it became possible for the eclass
src_configure and src_compile to fail. Now those phases are skipped
when USE="-extension", too. For consistency and for a minor
performance improvement, the eclass src_unpack phase is skipped, too.
A new revision was made because I'm not 100% certain that it wasn't
possible to install the extension with USE="-extension" before. If
it was possible, any victims would want to re-emerge twig. I have
also added an unconditional RDEPEND on "dev-lang/php" that could
have been omitted before; that would itself justify a new revision.
Gentoo-Bug: 604874
Package-Manager: portage-2.3.0
.../{twig-1.29.0.ebuild => twig-1.29.0-r1.ebuild} | 30 +++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/dev-php/twig/twig-1.29.0.ebuild b/dev-php/twig/twig-1.29.0-r1.ebuild
similarity index 66%
rename from dev-php/twig/twig-1.29.0.ebuild
rename to dev-php/twig/twig-1.29.0-r1.ebuild
index 679424c..55c8675 100644
--- a/dev-php/twig/twig-1.29.0.ebuild
+++ b/dev-php/twig/twig-1.29.0-r1.ebuild
@@ -24,15 +24,43 @@ IUSE="doc extension test"
DEPEND="test? ( dev-php/phpunit )"
+# We always require *some* version of PHP; the eclass (conditionally)
+# requires *specific* versions.
+RDEPEND="dev-lang/php"
+
+src_unpack() {
+ # Don't make copies of the source tree if they won't be used.
+ if use extension; then
+ php-ext-source-r3_src_unpack
+ else
+ default
+ fi
+}
+
src_prepare(){
# We need to call eapply_user ourselves, because it may be skipped
# if either the "extension" USE flag is not set, or if the user's
# PHP_TARGETS is essentially empty (does not contain "php5-6"). In
- # the latter case, the eclass src_prepare does nothing.
+ # the latter case, the eclass src_prepare does nothing. We only call
+ # the eclass phase conditionally because the correct version of
+ # e.g. "phpize" may not be there unless USE=extension is set.
eapply_user
use extension && php-ext-source-r3_src_prepare
}
+src_configure() {
+ # The eclass phase will try to run the ./configure script even if it
+ # doesn't exist (in contrast to the default src_configure), so we
+ # need to skip it if the eclass src_prepare (that creates said
+ # script) is not run.
+ use extension && php-ext-source-r3_src_configure
+}
+
+src_compile() {
+ # Avoids the same problem as in src_configure.
+ use extension && php-ext-source-r3_src_compile
+}
+
src_install(){
use extension && php-ext-source-r3_src_install
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2017-01-25 14:44 Michael Orlitzky
0 siblings, 0 replies; 17+ messages in thread
From: Michael Orlitzky @ 2017-01-25 14:44 UTC (permalink / raw
To: gentoo-commits
commit: 12652e3059077d0b923c124f57f3dfacaa20aa8d
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 25 14:43:44 2017 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Jan 25 14:43:44 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12652e30
dev-php/twig: new version 1.31.0.
Package-Manager: portage-2.3.0
dev-php/twig/Manifest | 2 +-
dev-php/twig/{twig-1.29.0-r1.ebuild => twig-1.31.0.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index 382ee66..8db9581 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1 +1 @@
-DIST twig-1.29.0.tar.gz 240051 SHA256 ca9823ae05a1d4225d0197590735116984da4473173db52a7d590a572a9b054e SHA512 ba6fabb5d8be89f045763ed491ca78e2df4af34f3903271b1f974ecb444d96c1ccd6dff983e900a9b482629b50f59c62d2172089bd30f7ffe80fd83fc10c97ff WHIRLPOOL 3f212cd794e75f022e7a4f3e2730dd322baa9e91ca0dfba41da7b5a39d02285d76b377eb18ba11210a77eca00b1fbc1d6a086fdaec90925a08d752434a92b3cf
+DIST twig-1.31.0.tar.gz 242247 SHA256 b4e6d00466a60aa21b165786829b39ed74a1b41810bade3b0f11bbdefa6cda23 SHA512 c8c25139b2568d40c9d1b14d8f489047abe13b1598c9d3292ddd3898a685ac69ede00a516c12c4f22805314fca4712991cd27e39dd9c4f57e5576f86e2746401 WHIRLPOOL ce2d15de20c857008aba172601aa3f46fe04b809c39247bac119b5c4c98027be7d42b37aa96c3eba930a27ef079281792a8124f479b9864a8156e1a8999aab29
diff --git a/dev-php/twig/twig-1.29.0-r1.ebuild b/dev-php/twig/twig-1.31.0.ebuild
similarity index 100%
rename from dev-php/twig/twig-1.29.0-r1.ebuild
rename to dev-php/twig/twig-1.31.0.ebuild
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2018-03-22 1:29 Brian Evans
0 siblings, 0 replies; 17+ messages in thread
From: Brian Evans @ 2018-03-22 1:29 UTC (permalink / raw
To: gentoo-commits
commit: 5bf524680497415e22851264b8847e0db8039e7d
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 13 00:31:23 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 01:28:14 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf52468
dev-php/twig: Remove src_unpack as changes to eclass make it obsolete
dev-php/twig/twig-1.31.0.ebuild | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/dev-php/twig/twig-1.31.0.ebuild b/dev-php/twig/twig-1.31.0.ebuild
index e62d3486a73..7e678f068e6 100644
--- a/dev-php/twig/twig-1.31.0.ebuild
+++ b/dev-php/twig/twig-1.31.0.ebuild
@@ -27,15 +27,6 @@ DEPEND="test? ( dev-php/phpunit )"
# requires *specific* versions.
RDEPEND="dev-lang/php"
-src_unpack() {
- # Don't make copies of the source tree if they won't be used.
- if use extension; then
- php-ext-source-r3_src_unpack
- else
- default
- fi
-}
-
src_prepare(){
# We need to call eapply_user ourselves, because it may be skipped
# if either the "extension" USE flag is not set, or if the user's
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2018-03-27 20:36 Brian Evans
0 siblings, 0 replies; 17+ messages in thread
From: Brian Evans @ 2018-03-27 20:36 UTC (permalink / raw
To: gentoo-commits
commit: ed75bb0f78cd0b53f94e8c3a347cea99133c1af5
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 27 19:50:19 2018 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Tue Mar 27 20:36:10 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed75bb0f
dev-php/twig: Version bump
Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-php/twig/Manifest | 1 +
dev-php/twig/twig-1.35.3.ebuild | 82 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 83 insertions(+)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index b95ee3dfecc..22fa33348e9 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1 +1,2 @@
DIST twig-1.31.0.tar.gz 242247 BLAKE2B f11195b235c5dd8cda5373394d94306c81810d46c155194cc11bfcb832778b03085bf05de10b636ebda9223876ab9b752214e8676c000578c702f6d9b832ffe1 SHA512 c8c25139b2568d40c9d1b14d8f489047abe13b1598c9d3292ddd3898a685ac69ede00a516c12c4f22805314fca4712991cd27e39dd9c4f57e5576f86e2746401
+DIST twig-1.35.3.tar.gz 256758 BLAKE2B e96f6651fddd2fab3a1d379a2996ded594942bcb511548d419a56e8e4cc6c6b30e6a0a96b44211351ce9b3d2f36cde6b1c85acd46e51d5c2e19793703fccecc4 SHA512 c27d4407b5ad0e51724599fe0371a5951e8a8654df443ca6ac817a9c6958c3235b4d56a396eeceb71eaf707887420a6beace10ca42f1c09882988039c932fe7b
diff --git a/dev-php/twig/twig-1.35.3.ebuild b/dev-php/twig/twig-1.35.3.ebuild
new file mode 100644
index 00000000000..b4bbd806de7
--- /dev/null
+++ b/dev-php/twig/twig-1.35.3.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="Twig"
+USE_PHP="php5-6"
+S="${WORKDIR}/${MY_PN}-${PV}"
+PHP_EXT_S="${S}/ext/${PN}"
+PHP_EXT_NAME="${PN}"
+PHP_EXT_OPTIONAL_USE="extension"
+
+inherit php-ext-source-r3
+
+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 extension test"
+
+DEPEND="test? ( dev-php/phpunit )"
+
+# We always require *some* version of PHP; the eclass (conditionally)
+# requires *specific* versions.
+RDEPEND="dev-lang/php"
+
+src_prepare(){
+ # We need to call eapply_user ourselves, because it may be skipped
+ # if either the "extension" USE flag is not set, or if the user's
+ # PHP_TARGETS is essentially empty (does not contain "php5-6"). In
+ # the latter case, the eclass src_prepare does nothing. We only call
+ # the eclass phase conditionally because the correct version of
+ # e.g. "phpize" may not be there unless USE=extension is set.
+ eapply_user
+ use extension && php-ext-source-r3_src_prepare
+}
+
+src_configure() {
+ # The eclass phase will try to run the ./configure script even if it
+ # doesn't exist (in contrast to the default src_configure), so we
+ # need to skip it if the eclass src_prepare (that creates said
+ # script) is not run.
+ use extension && php-ext-source-r3_src_configure
+}
+
+src_compile() {
+ # Avoids the same problem as in src_configure.
+ use extension && php-ext-source-r3_src_compile
+}
+
+src_install(){
+ use extension && php-ext-source-r3_src_install
+
+ cd "${S}" || die
+ # The autoloader requires the 'T' in "Twig" capitalized.
+ insinto "/usr/share/php/${MY_PN}"
+ doins -r lib/"${MY_PN}"/*
+
+ # The eclass src_install calls einstalldocs, so we may install a few
+ # files twice. Doing so should be harmless.
+ 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(){
+ phpunit --bootstrap test/bootstrap.php || die "test suite failed"
+}
+
+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'),"
+ elog "and then run \"Twig_Autoloader::register();\". Most of"
+ elog "the examples in the documentation should work without"
+ elog "further modification."
+}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2019-05-08 20:00 Dirkjan Ochtman
0 siblings, 0 replies; 17+ messages in thread
From: Dirkjan Ochtman @ 2019-05-08 20:00 UTC (permalink / raw
To: gentoo-commits
commit: fbfc7330bf19313e2aa121d786a2cfdbb4e8c12e
Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Wed May 8 20:00:23 2019 +0000
Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Wed May 8 20:00:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbfc7330
dev-php/twig: clean up vulnerable versions
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
dev-php/twig/Manifest | 2 -
dev-php/twig/twig-1.31.0.ebuild | 82 -----------------------------------------
dev-php/twig/twig-1.35.3.ebuild | 82 -----------------------------------------
3 files changed, 166 deletions(-)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index 1650929d3b1..2d9b40a94e2 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1,3 +1 @@
-DIST twig-1.31.0.tar.gz 242247 BLAKE2B f11195b235c5dd8cda5373394d94306c81810d46c155194cc11bfcb832778b03085bf05de10b636ebda9223876ab9b752214e8676c000578c702f6d9b832ffe1 SHA512 c8c25139b2568d40c9d1b14d8f489047abe13b1598c9d3292ddd3898a685ac69ede00a516c12c4f22805314fca4712991cd27e39dd9c4f57e5576f86e2746401
-DIST twig-1.35.3.tar.gz 256758 BLAKE2B e96f6651fddd2fab3a1d379a2996ded594942bcb511548d419a56e8e4cc6c6b30e6a0a96b44211351ce9b3d2f36cde6b1c85acd46e51d5c2e19793703fccecc4 SHA512 c27d4407b5ad0e51724599fe0371a5951e8a8654df443ca6ac817a9c6958c3235b4d56a396eeceb71eaf707887420a6beace10ca42f1c09882988039c932fe7b
DIST twig-1.40.1.tar.gz 274081 BLAKE2B 0e73bd9fff58677446ba03ed560bff17c1879192b79cca9f718ccd330e1eac64ee1195d7034fa52ec009e323868d1cc1bedc182e90f0a77c8b54d6aa16022554 SHA512 de174e5dd14562a155515a3238aa07ef5a22c3bf0eff8ecc320f1a972e56f1ec759a53ee24579c6434e286b3775044e88c753fd08930037314b45c9577b310b1
diff --git a/dev-php/twig/twig-1.31.0.ebuild b/dev-php/twig/twig-1.31.0.ebuild
deleted file mode 100644
index 7e678f068e6..00000000000
--- a/dev-php/twig/twig-1.31.0.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="Twig"
-USE_PHP="php5-6"
-S="${WORKDIR}/${MY_PN}-${PV}"
-PHP_EXT_S="${S}/ext/${PN}"
-PHP_EXT_NAME="${PN}"
-PHP_EXT_OPTIONAL_USE="extension"
-
-inherit php-ext-source-r3
-
-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 extension test"
-
-DEPEND="test? ( dev-php/phpunit )"
-
-# We always require *some* version of PHP; the eclass (conditionally)
-# requires *specific* versions.
-RDEPEND="dev-lang/php"
-
-src_prepare(){
- # We need to call eapply_user ourselves, because it may be skipped
- # if either the "extension" USE flag is not set, or if the user's
- # PHP_TARGETS is essentially empty (does not contain "php5-6"). In
- # the latter case, the eclass src_prepare does nothing. We only call
- # the eclass phase conditionally because the correct version of
- # e.g. "phpize" may not be there unless USE=extension is set.
- eapply_user
- use extension && php-ext-source-r3_src_prepare
-}
-
-src_configure() {
- # The eclass phase will try to run the ./configure script even if it
- # doesn't exist (in contrast to the default src_configure), so we
- # need to skip it if the eclass src_prepare (that creates said
- # script) is not run.
- use extension && php-ext-source-r3_src_configure
-}
-
-src_compile() {
- # Avoids the same problem as in src_configure.
- use extension && php-ext-source-r3_src_compile
-}
-
-src_install(){
- use extension && php-ext-source-r3_src_install
-
- cd "${S}" || die
- # The autoloader requires the 'T' in "Twig" capitalized.
- insinto "/usr/share/php/${MY_PN}"
- doins -r lib/"${MY_PN}"/*
-
- # The eclass src_install calls einstalldocs, so we may install a few
- # files twice. Doing so should be harmless.
- 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(){
- phpunit --bootstrap test/bootstrap.php || die "test suite failed"
-}
-
-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'),"
- elog "and then run \"Twig_Autoloader::register();\". Most of"
- elog "the examples in the documentation should work without"
- elog "further modification."
-}
diff --git a/dev-php/twig/twig-1.35.3.ebuild b/dev-php/twig/twig-1.35.3.ebuild
deleted file mode 100644
index b4bbd806de7..00000000000
--- a/dev-php/twig/twig-1.35.3.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_PN="Twig"
-USE_PHP="php5-6"
-S="${WORKDIR}/${MY_PN}-${PV}"
-PHP_EXT_S="${S}/ext/${PN}"
-PHP_EXT_NAME="${PN}"
-PHP_EXT_OPTIONAL_USE="extension"
-
-inherit php-ext-source-r3
-
-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 extension test"
-
-DEPEND="test? ( dev-php/phpunit )"
-
-# We always require *some* version of PHP; the eclass (conditionally)
-# requires *specific* versions.
-RDEPEND="dev-lang/php"
-
-src_prepare(){
- # We need to call eapply_user ourselves, because it may be skipped
- # if either the "extension" USE flag is not set, or if the user's
- # PHP_TARGETS is essentially empty (does not contain "php5-6"). In
- # the latter case, the eclass src_prepare does nothing. We only call
- # the eclass phase conditionally because the correct version of
- # e.g. "phpize" may not be there unless USE=extension is set.
- eapply_user
- use extension && php-ext-source-r3_src_prepare
-}
-
-src_configure() {
- # The eclass phase will try to run the ./configure script even if it
- # doesn't exist (in contrast to the default src_configure), so we
- # need to skip it if the eclass src_prepare (that creates said
- # script) is not run.
- use extension && php-ext-source-r3_src_configure
-}
-
-src_compile() {
- # Avoids the same problem as in src_configure.
- use extension && php-ext-source-r3_src_compile
-}
-
-src_install(){
- use extension && php-ext-source-r3_src_install
-
- cd "${S}" || die
- # The autoloader requires the 'T' in "Twig" capitalized.
- insinto "/usr/share/php/${MY_PN}"
- doins -r lib/"${MY_PN}"/*
-
- # The eclass src_install calls einstalldocs, so we may install a few
- # files twice. Doing so should be harmless.
- 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(){
- phpunit --bootstrap test/bootstrap.php || die "test suite failed"
-}
-
-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'),"
- elog "and then run \"Twig_Autoloader::register();\". Most of"
- elog "the examples in the documentation should work without"
- elog "further modification."
-}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2019-07-07 18:42 Dirkjan Ochtman
0 siblings, 0 replies; 17+ messages in thread
From: Dirkjan Ochtman @ 2019-07-07 18:42 UTC (permalink / raw
To: gentoo-commits
commit: faf866ceb51f0dd240d1b68dbe3fe3e339787feb
Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 3 20:06:24 2019 +0000
Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org>
CommitDate: Sun Jul 7 18:42:32 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=faf866ce
dev-php/twig: version bump to 1.42.2
Revert faulty patching strategy.
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
dev-php/twig/Manifest | 1 +
dev-php/twig/twig-1.42.2.ebuild | 86 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index 2d9b40a94e2..787f3db0ac1 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1 +1,2 @@
DIST twig-1.40.1.tar.gz 274081 BLAKE2B 0e73bd9fff58677446ba03ed560bff17c1879192b79cca9f718ccd330e1eac64ee1195d7034fa52ec009e323868d1cc1bedc182e90f0a77c8b54d6aa16022554 SHA512 de174e5dd14562a155515a3238aa07ef5a22c3bf0eff8ecc320f1a972e56f1ec759a53ee24579c6434e286b3775044e88c753fd08930037314b45c9577b310b1
+DIST twig-1.42.2.tar.gz 277760 BLAKE2B c72462b172f1cda85ca8a7988870e20abf09bdc6114eb428213508fcf9c19a2b10e180e8fa052b8e51e8aee749c7c0ded936e5792ca1f8b5c7024872335df3fb SHA512 17ccfcea750d9d9154841598b34de8882aa1144696d912c8175b1add996db4f31b3cb85bc68dc75f62944fe858345811ebbf952aabb0c3ff8c1bbc2a0f1a2576
diff --git a/dev-php/twig/twig-1.42.2.ebuild b/dev-php/twig/twig-1.42.2.ebuild
new file mode 100644
index 00000000000..54c306ddc74
--- /dev/null
+++ b/dev-php/twig/twig-1.42.2.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_PN="Twig"
+USE_PHP="php5-6"
+S="${WORKDIR}/${MY_PN}-${PV}"
+PHP_EXT_S="${S}/ext/${PN}"
+PHP_EXT_NAME="${PN}"
+PHP_EXT_OPTIONAL_USE="extension"
+
+inherit eutils php-ext-source-r3
+
+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 extension test"
+
+DEPEND="test? ( dev-php/phpunit )"
+
+# We always require *some* version of PHP; the eclass (conditionally)
+# requires *specific* versions.
+RDEPEND="dev-lang/php"
+
+src_prepare(){
+ # We need to call eapply_user ourselves, because it may be skipped
+ # if either the "extension" USE flag is not set, or if the user's
+ # PHP_TARGETS is essentially empty (does not contain "php5-6"). In
+ # the latter case, the eclass src_prepare does nothing. We only call
+ # the eclass phase conditionally because the correct version of
+ # e.g. "phpize" may not be there unless USE=extension is set.
+ eapply_user
+ use extension && php-ext-source-r3_src_prepare
+}
+
+src_configure() {
+ # The eclass phase will try to run the ./configure script even if it
+ # doesn't exist (in contrast to the default src_configure), so we
+ # need to skip it if the eclass src_prepare (that creates said
+ # script) is not run.
+ use extension && php-ext-source-r3_src_configure
+}
+
+src_compile() {
+ # Avoids the same problem as in src_configure.
+ use extension && php-ext-source-r3_src_compile
+}
+
+src_install(){
+ use extension && php-ext-source-r3_src_install
+
+ cd "${S}" || die
+ # The autoloader requires the 'T' in "Twig" capitalized.
+ insinto "/usr/share/php/${MY_PN}/lib"
+ doins -r lib/*
+ insinto "/usr/share/php/${MY_PN}/src"
+ doins -r src/*
+ insinto "/usr/share/php/${MY_PN}"
+ #dosym "lib/Autoloader.php" "/usr/share/php/${MY_PN}/Autoloader.php"
+
+ # The eclass src_install calls einstalldocs, so we may install a few
+ # files twice. Doing so should be harmless.
+ 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(){
+ phpunit --bootstrap test/bootstrap.php || die "test suite failed"
+}
+
+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'),"
+ elog "and then run \"Twig_Autoloader::register();\". Most of"
+ elog "the examples in the documentation should work without"
+ elog "further modification."
+}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2019-08-26 13:37 Brian Evans
0 siblings, 0 replies; 17+ messages in thread
From: Brian Evans @ 2019-08-26 13:37 UTC (permalink / raw
To: gentoo-commits
commit: 4930bce96e7ad6271f3f79ea8983ed63e880e50d
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 26 13:33:06 2019 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Aug 26 13:33:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4930bce9
dev-php/twig: Version bump for 1.42.3
Package-Manager: Portage-2.3.72, Repoman-2.3.17
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
dev-php/twig/Manifest | 1 +
dev-php/twig/twig-1.42.3.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index 787f3db0ac1..36d6379ab8f 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1,2 +1,3 @@
DIST twig-1.40.1.tar.gz 274081 BLAKE2B 0e73bd9fff58677446ba03ed560bff17c1879192b79cca9f718ccd330e1eac64ee1195d7034fa52ec009e323868d1cc1bedc182e90f0a77c8b54d6aa16022554 SHA512 de174e5dd14562a155515a3238aa07ef5a22c3bf0eff8ecc320f1a972e56f1ec759a53ee24579c6434e286b3775044e88c753fd08930037314b45c9577b310b1
DIST twig-1.42.2.tar.gz 277760 BLAKE2B c72462b172f1cda85ca8a7988870e20abf09bdc6114eb428213508fcf9c19a2b10e180e8fa052b8e51e8aee749c7c0ded936e5792ca1f8b5c7024872335df3fb SHA512 17ccfcea750d9d9154841598b34de8882aa1144696d912c8175b1add996db4f31b3cb85bc68dc75f62944fe858345811ebbf952aabb0c3ff8c1bbc2a0f1a2576
+DIST twig-1.42.3.tar.gz 278164 BLAKE2B 4bff9f7f85ce8ca00871e9342ec11a68d4b930f7761bc7404f504322483d328570e9e540e2518b5e1ad513002ce95686b7a1a47ff7aa4b28c16b2871ba759b01 SHA512 9dc892d80445f9fa9a3bde5cfdc49f2975a43f36123c1f4bbbb40740269e9aa4355d0d8668552e535f74a8ff27cc8ee1dc6983b50567993c1deab09569a7c5e3
diff --git a/dev-php/twig/twig-1.42.3.ebuild b/dev-php/twig/twig-1.42.3.ebuild
new file mode 100644
index 00000000000..c06e5c62736
--- /dev/null
+++ b/dev-php/twig/twig-1.42.3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 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"
+ 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')"
+}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2019-11-25 15:57 Brian Evans
0 siblings, 0 replies; 17+ messages in thread
From: Brian Evans @ 2019-11-25 15:57 UTC (permalink / raw
To: gentoo-commits
commit: d1382bb9c74d035c1daf63ad57351b91151f0b99
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 25 15:57:11 2019 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Mon Nov 25 15:57:11 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1382bb9
dev-php/twig: Fix install locations of PSR-0 files
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
dev-php/twig/twig-1.42.3-r1.ebuild | 49 ++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/dev-php/twig/twig-1.42.3-r1.ebuild b/dev-php/twig/twig-1.42.3-r1.ebuild
new file mode 100644
index 00000000000..6e54e768880
--- /dev/null
+++ b/dev-php/twig/twig-1.42.3-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 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')"
+}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2022-03-25 16:42 Brian Evans
0 siblings, 0 replies; 17+ messages in thread
From: Brian Evans @ 2022-03-25 16:42 UTC (permalink / raw
To: gentoo-commits
commit: dd8eb15bec4f41166a37fb7c7a7d041fd9d70724
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 16:41:05 2022 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 16:42:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd8eb15b
dev-php/twig: Add 1.44.6 the final v1 version
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
dev-php/twig/Manifest | 1 +
dev-php/twig/twig-1.44.6.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index 5f5c81ed5330..cf2d6d95c510 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1,2 +1,3 @@
DIST twig-1.40.1.tar.gz 274081 BLAKE2B 0e73bd9fff58677446ba03ed560bff17c1879192b79cca9f718ccd330e1eac64ee1195d7034fa52ec009e323868d1cc1bedc182e90f0a77c8b54d6aa16022554 SHA512 de174e5dd14562a155515a3238aa07ef5a22c3bf0eff8ecc320f1a972e56f1ec759a53ee24579c6434e286b3775044e88c753fd08930037314b45c9577b310b1
DIST twig-1.42.3.tar.gz 278164 BLAKE2B 4bff9f7f85ce8ca00871e9342ec11a68d4b930f7761bc7404f504322483d328570e9e540e2518b5e1ad513002ce95686b7a1a47ff7aa4b28c16b2871ba759b01 SHA512 9dc892d80445f9fa9a3bde5cfdc49f2975a43f36123c1f4bbbb40740269e9aa4355d0d8668552e535f74a8ff27cc8ee1dc6983b50567993c1deab09569a7c5e3
+DIST twig-1.44.6.tar.gz 126880 BLAKE2B a838a5ae8bc82b6e0a39b55ba7d3817dd0ac0c2995881662fc5e7327a5dea83dea4740952282c9320016b379c08f02cb53a850004ecd2c919ca84da6267d0a56 SHA512 a443a700b71f982ea47187d9753ba9903e879f272ed53ff399211f5a76e7dd84774d5071a24cb8d5df6ffa754ce989fac152d0fe124ca460b8f167a553be86e7
diff --git a/dev-php/twig/twig-1.44.6.ebuild b/dev-php/twig/twig-1.44.6.ebuild
new file mode 100644
index 000000000000..6bdc6cf5c7c3
--- /dev/null
+++ b/dev-php/twig/twig-1.44.6.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="Twig"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+DESCRIPTION="PHP templating engine with syntax similar to Django"
+HOMEPAGE="https://twig.symfony.com/"
+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"
+BDEPEND="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')"
+}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2022-03-25 16:42 Brian Evans
0 siblings, 0 replies; 17+ messages in thread
From: Brian Evans @ 2022-03-25 16:42 UTC (permalink / raw
To: gentoo-commits
commit: 55f25ab60be014ed9f36626a693394c890a7752b
Author: Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 25 16:41:58 2022 +0000
Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Fri Mar 25 16:42:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f25ab6
dev-php/twig: Drop old
Signed-off-by: Brian Evans <grknight <AT> gentoo.org>
dev-php/twig/Manifest | 2 --
dev-php/twig/twig-1.40.1-r1.ebuild | 49 --------------------------------------
dev-php/twig/twig-1.42.3-r1.ebuild | 49 --------------------------------------
dev-php/twig/twig-1.42.3.ebuild | 49 --------------------------------------
4 files changed, 149 deletions(-)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index cf2d6d95c510..9dd8fb8fdb33 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1,3 +1 @@
-DIST twig-1.40.1.tar.gz 274081 BLAKE2B 0e73bd9fff58677446ba03ed560bff17c1879192b79cca9f718ccd330e1eac64ee1195d7034fa52ec009e323868d1cc1bedc182e90f0a77c8b54d6aa16022554 SHA512 de174e5dd14562a155515a3238aa07ef5a22c3bf0eff8ecc320f1a972e56f1ec759a53ee24579c6434e286b3775044e88c753fd08930037314b45c9577b310b1
-DIST twig-1.42.3.tar.gz 278164 BLAKE2B 4bff9f7f85ce8ca00871e9342ec11a68d4b930f7761bc7404f504322483d328570e9e540e2518b5e1ad513002ce95686b7a1a47ff7aa4b28c16b2871ba759b01 SHA512 9dc892d80445f9fa9a3bde5cfdc49f2975a43f36123c1f4bbbb40740269e9aa4355d0d8668552e535f74a8ff27cc8ee1dc6983b50567993c1deab09569a7c5e3
DIST twig-1.44.6.tar.gz 126880 BLAKE2B a838a5ae8bc82b6e0a39b55ba7d3817dd0ac0c2995881662fc5e7327a5dea83dea4740952282c9320016b379c08f02cb53a850004ecd2c919ca84da6267d0a56 SHA512 a443a700b71f982ea47187d9753ba9903e879f272ed53ff399211f5a76e7dd84774d5071a24cb8d5df6ffa754ce989fac152d0fe124ca460b8f167a553be86e7
diff --git a/dev-php/twig/twig-1.40.1-r1.ebuild b/dev-php/twig/twig-1.40.1-r1.ebuild
deleted file mode 100644
index 5935eab4bd1d..000000000000
--- a/dev-php/twig/twig-1.40.1-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"
- 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')"
-}
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')"
-}
diff --git a/dev-php/twig/twig-1.42.3.ebuild b/dev-php/twig/twig-1.42.3.ebuild
deleted file mode 100644
index 5935eab4bd1d..000000000000
--- a/dev-php/twig/twig-1.42.3.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"
- 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')"
-}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2022-04-29 4:49 Sam James
0 siblings, 0 replies; 17+ messages in thread
From: Sam James @ 2022-04-29 4:49 UTC (permalink / raw
To: gentoo-commits
commit: 864a3ae7fc502029fb191c6ffa662ad1654e23ca
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 29 04:49:40 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 29 04:49:40 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=864a3ae7
dev-php/twig: retire djc
Signed-off-by: Sam James <sam <AT> gentoo.org>
dev-php/twig/metadata.xml | 4 ----
1 file changed, 4 deletions(-)
diff --git a/dev-php/twig/metadata.xml b/dev-php/twig/metadata.xml
index 6619337fad39..10c660f698a7 100644
--- a/dev-php/twig/metadata.xml
+++ b/dev-php/twig/metadata.xml
@@ -1,10 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>djc@gentoo.org</email>
- <name>Dirkjan Ochtman</name>
- </maintainer>
<maintainer type="project">
<email>php-bugs@gentoo.org</email>
<name>PHP</name>
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2023-04-19 4:12 John Helmert III
0 siblings, 0 replies; 17+ messages in thread
From: John Helmert III @ 2023-04-19 4:12 UTC (permalink / raw
To: gentoo-commits
commit: 5663f7e15244378caa1c3c94c1b657a0057268bb
Author: John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 19 04:09:26 2023 +0000
Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Wed Apr 19 04:12:28 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5663f7e1
dev-php/twig: add 1.44.7
Closes: https://bugs.gentoo.org/873358
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
dev-php/twig/Manifest | 1 +
dev-php/twig/twig-1.44.7.ebuild | 49 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index 9dd8fb8fdb33..4c387b5ab2f5 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1 +1,2 @@
DIST twig-1.44.6.tar.gz 126880 BLAKE2B a838a5ae8bc82b6e0a39b55ba7d3817dd0ac0c2995881662fc5e7327a5dea83dea4740952282c9320016b379c08f02cb53a850004ecd2c919ca84da6267d0a56 SHA512 a443a700b71f982ea47187d9753ba9903e879f272ed53ff399211f5a76e7dd84774d5071a24cb8d5df6ffa754ce989fac152d0fe124ca460b8f167a553be86e7
+DIST twig-1.44.7.tar.gz 126915 BLAKE2B 2a88840cbea671dae367d39422d4b222e275236aab511fa8f5e4704093b53c3c8e5f335aac4930d84d43b05bcbe759993228de40d1aa2dd90e7b84ca8e5af7e6 SHA512 134d43f310f4277902ea06d632a7946de475ce1907cb33176f82cc49ffefc1c13b9d3f4cf76846c0084bb5a1636b001b6eb72d25e3770e118b7c1e4e4a30a373
diff --git a/dev-php/twig/twig-1.44.7.ebuild b/dev-php/twig/twig-1.44.7.ebuild
new file mode 100644
index 000000000000..01310215fa64
--- /dev/null
+++ b/dev-php/twig/twig-1.44.7.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_PN="Twig"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+DESCRIPTION="PHP templating engine with syntax similar to Django"
+HOMEPAGE="https://twig.symfony.com/"
+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"
+BDEPEND="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')"
+}
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/
@ 2023-04-30 23:38 John Helmert III
0 siblings, 0 replies; 17+ messages in thread
From: John Helmert III @ 2023-04-30 23:38 UTC (permalink / raw
To: gentoo-commits
commit: 881bdd2431f6e53381892ae810861e72eea85993
Author: John Helmert III <ajak <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 30 23:37:55 2023 +0000
Commit: John Helmert III <ajak <AT> gentoo <DOT> org>
CommitDate: Sun Apr 30 23:37:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=881bdd24
dev-php/twig: drop 1.44.6
Bug: https://bugs.gentoo.org/873358
Signed-off-by: John Helmert III <ajak <AT> gentoo.org>
dev-php/twig/Manifest | 1 -
dev-php/twig/twig-1.44.6.ebuild | 49 -----------------------------------------
2 files changed, 50 deletions(-)
diff --git a/dev-php/twig/Manifest b/dev-php/twig/Manifest
index 4c387b5ab2f5..3ebb75db4aec 100644
--- a/dev-php/twig/Manifest
+++ b/dev-php/twig/Manifest
@@ -1,2 +1 @@
-DIST twig-1.44.6.tar.gz 126880 BLAKE2B a838a5ae8bc82b6e0a39b55ba7d3817dd0ac0c2995881662fc5e7327a5dea83dea4740952282c9320016b379c08f02cb53a850004ecd2c919ca84da6267d0a56 SHA512 a443a700b71f982ea47187d9753ba9903e879f272ed53ff399211f5a76e7dd84774d5071a24cb8d5df6ffa754ce989fac152d0fe124ca460b8f167a553be86e7
DIST twig-1.44.7.tar.gz 126915 BLAKE2B 2a88840cbea671dae367d39422d4b222e275236aab511fa8f5e4704093b53c3c8e5f335aac4930d84d43b05bcbe759993228de40d1aa2dd90e7b84ca8e5af7e6 SHA512 134d43f310f4277902ea06d632a7946de475ce1907cb33176f82cc49ffefc1c13b9d3f4cf76846c0084bb5a1636b001b6eb72d25e3770e118b7c1e4e4a30a373
diff --git a/dev-php/twig/twig-1.44.6.ebuild b/dev-php/twig/twig-1.44.6.ebuild
deleted file mode 100644
index 6bdc6cf5c7c3..000000000000
--- a/dev-php/twig/twig-1.44.6.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MY_PN="Twig"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-DESCRIPTION="PHP templating engine with syntax similar to Django"
-HOMEPAGE="https://twig.symfony.com/"
-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"
-BDEPEND="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')"
-}
^ permalink raw reply related [flat|nested] 17+ messages in thread
end of thread, other threads:[~2023-04-30 23:38 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-26 13:37 [gentoo-commits] repo/gentoo:master commit in: dev-php/twig/ Brian Evans
-- strict thread matches above, loose matches on Subject: below --
2023-04-30 23:38 John Helmert III
2023-04-19 4:12 John Helmert III
2022-04-29 4:49 Sam James
2022-03-25 16:42 Brian Evans
2022-03-25 16:42 Brian Evans
2019-11-25 15:57 Brian Evans
2019-07-07 18:42 Dirkjan Ochtman
2019-05-08 20:00 Dirkjan Ochtman
2018-03-27 20:36 Brian Evans
2018-03-22 1:29 Brian Evans
2017-01-25 14:44 Michael Orlitzky
2017-01-06 22:39 Michael Orlitzky
2017-01-06 21:51 Michael Orlitzky
2016-12-22 0:58 Michael Orlitzky
2015-08-22 13:56 Brian Evans
2015-08-22 13:56 Brian Evans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox