parent
a38f27bf17
commit
e8f8794fab
@ -1,9 +1,29 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST eselect-python-20091230.tar.bz2 5476 SHA256 34df248d55f656b5bf251b087d64a81be985ca9a0b1444d221d65a975853c49e SHA512 6b4b663cdcd6857c89002f8f0e7d25337715e1f44d308e51ce6a30ee72a23a2d51ab710681900de1b637c89245064d887a20fef0536caf137df4c7b1c8c0ec97 WHIRLPOOL 6c79e896f025b817031e25e2d3cd1264d87df2355a791d01f82ca05b2f37834b2ad1844615fa98847598119d04414267b4ba5d759592ecdb48f131ee5f3a5e8e
|
||||
DIST eselect-python-20100321.tar.bz2 6006 SHA256 b287e910abd46b865ebeb303a4c61aa53dd70185efbe42a296af556559173523 SHA512 fad14afcf30afb95f42d91bb0737d4d055df04d09719abb2f0ebcfd08e895ff6e6a88fcb01d3b7cc735ac09696d4c2c1d177f3ea08d669b880e2acaae21353d9 WHIRLPOOL 704d107360357a7d2692b7bcb971f45fc356ef08fcf3f1aea2939c8fc7544ad5ffe74e6940e2e8c64182c4d016104c31ff20bcd5249fd6fc0f8d59c359dbf344
|
||||
DIST eselect-python-20111108.tar.bz2 64959 SHA256 34d7618808a3c1d22e6763bc6c67d5ae47a1fa371f5e91de95a911da9aceba5e SHA512 59a493128753ae968c6fa30eb870f52198de7bb5090213ef0b8c0d3d8b1f552ac514174dd1e97e54dd9434432be1a68ad01853d1ffb21e53d28d08f623199dac WHIRLPOOL 605730de7fee70cf5a33e15c8e16a938807c5ed32f80ff0435a196f03cb38ce397092626c88df598b1b88dab7ee3b8c7f3105b9f3b88acb13fe532f964b8aced
|
||||
EBUILD eselect-python-20091230.ebuild 1347 SHA256 4ed3356749d4d28560a70b650911da6e390a051ab52d13af0ea4be00818b12f5 SHA512 940c8cf88ce8d78c26cb6d2aa27b998bfb7fced21d0a8294dca6d8a8a9260c654d385f7a3ece0ebb38e2590fad41c8a2b28e5faa0a1166534c2f9f8038ae1bcb WHIRLPOOL c10ff02b22e22337739aa95875ce4edaa3e91caee84842c2581c202068eb69d52518b8a48e898342a21f8e8b4441b6511a39c03bf66e02f439934bb5319bc909
|
||||
EBUILD eselect-python-20100321.ebuild 1318 SHA256 7e668f3a823aabd9fa3d1b089a8ae523b62dafb487147f120f1c608a594703e1 SHA512 54ee17c338d7e11472897e9b44ba79ae4046f912cdb6505ecd115a1f3940e16860ee5a63119a988679c86dcaaa0c414117a3a6b0defa2992744720f91e4544c1 WHIRLPOOL 1eb02b162fb70a4ce28c13d00449b7139e2718ad89ee855d6dde28269d828fb59f9edaf7422bbba5a176ed3e589af5cb6236f27423f0063d576a1d9c3f9685b1
|
||||
EBUILD eselect-python-20111108.ebuild 1540 SHA256 2b57b142e14d7e7f4ef2fc4cc404a2503893a401f6660f7f7a26e963a029c032 SHA512 90564428fb1af24eeb45a53ba14d6449747c0ec5718daa6a5af801b6040992e8c8e5ea3568d0559fab74c4fcb921c4b7ff94b412f33d0f7df069ea84b7610851 WHIRLPOOL 70f4f3c32229afb350f851b64d72629138f661596c7045f9d746d411d5cdfab8d3a8fb6f87b613fa9d7c9c9b7f711febd86bdbadf4a86ad6dc238c044085a93c
|
||||
EBUILD eselect-python-99999999.ebuild 1540 SHA256 9570310913e98f8add41ff1c635b0cd0dffeb011cd32b45df6e4f16e2d5043f0 SHA512 2293d8e971638a1fc9f26569f554d544c85379ca48cb5e2f80aa14b9f0af850521ce8918937c49690e9624e3f28fda1e69c5f5e18747439627b81ac670b4b00d WHIRLPOOL b2e416fa1c88931d4a178eee523d0898e6b4874cfc41bb6bc21059952dafed58d56b07f1f12a852f71ac9ef544cf5a71a56221aca091ef5f6309cf287d1520c8
|
||||
MISC ChangeLog 10059 SHA256 70be607ac27e6b680ca66f9113899f8a8a333a0be3c289d3741a23b0fb444fdb SHA512 8e2af46d8dd5c4d6389a68419d2cc4641b4732c4523ed7f47531f9cfcdf894cbc2e5bb315de63c8a5143dd7638603db20b3ffa80be55e0d08e16622d39c789f2 WHIRLPOOL 36997947b00ee0258ca7deaf8d09d95f2264a91538c0465f444571ab84485ecf2927340edb094037183946e60d4831ad386bbd2852e381c2c4645ea29d5b3d07
|
||||
EBUILD eselect-python-20091230.ebuild 1362 SHA256 3c66091de5f5930020cdaf6d108ef02a4cac8923d2461f0abb3a2fa0bb719caf SHA512 002c3fc1118a4b072ae79fbca0f1573ce6c2035316693d0da4a9e33e89d34296f638556b94f5366c6de8fb9ad27702080230171f71a19ea7cb3a75cb98bef4aa WHIRLPOOL 9b93028051e8592e0cd2f138a4ac6e2253196520ea47da98e75c3d9d3278c4d2c04f839ebd49d3047e2c37814467208e6fc2c42b742a164f4ee43251460467c9
|
||||
EBUILD eselect-python-20100321.ebuild 1333 SHA256 bd8cf38da558018271a7c5d86119774d4e87646b123af3f97672ba27adb0acdb SHA512 c36eb7edccdf54d9cc39cadff7adfe4500836107a7a6c33bcad56c193543f10f3e5ac00725b2f1f38a99634289484bcab79be33c8b1f48620e97aaec4e859e82 WHIRLPOOL 3dac10504b101959e27e54cd0d876d01bb194dd7368c04d9a41fbdcdc5316ed9c2a4ecf9c7cf7c99a8b2e44f894c4c978097d27a94482130e70692b2de6df7aa
|
||||
EBUILD eselect-python-20111108.ebuild 1554 SHA256 01db09fcff279f2324db32a2fb4901e611bae41df0ce0f9cc40855d37a2b11dc SHA512 6c052b7f51fd25a52efd3648de8eed2f42eb97a53edd2a9591efe1ba49d631b3844e6d9b92e173985fe46ae43a96eac13dd759aa244742911c0ec5e80a8e085d WHIRLPOOL d198ed29f7290d4529174d9828cbb26812681ea1ec1fdd82f054430c35e6292aaa66fd117bc57dcf8b8e93f69e622269b57af7af907187bde3beb394e8516214
|
||||
EBUILD eselect-python-99999999.ebuild 1377 SHA256 eff122d3da801dbf22288d44be81770ac89fc3a7c40d7426a53d3784a84c2a35 SHA512 fd1350fe036255324589b972a13abf4a79f6b3f80bad7fc1c69f2273d8f485671e6a7bdcdd375f91815cca9b3bb11cfb50e57df0f8a7ac2e988c3a9b97988017 WHIRLPOOL 01d98019767ade19fd4bd543c77ca200088103e35932b63f73a9af695425ce1ee78401e75ff5d212e910b10a917547319fe54359ab9a5d11e762104058540579
|
||||
MISC ChangeLog 10443 SHA256 342493b48d42c0c28f88e3ae2800ad2f681478058a91cfed352660989e5e5a71 SHA512 03be611346393b250fd86d9aced03e04ef559e5f083df736becef33b3cb07295e88549d5d132eca31b826a06ac669ab7fa9d84e655ec44f323c7dd7096a0ee45 WHIRLPOOL aa83387819099bfd81e07199fc6a4d1c90da2546108858aecd2a3fd1ae3e0d65f8c59d6909dacef00b250e70302eb89a5c94a4ac296ed662cc84316e55408b10
|
||||
MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRS9AuAAoJELEHsLL7fEFWY9IP/3QvEK3ahNDGMq7j3g10itZM
|
||||
VCIIi+tyn2fMtWppLUlrxc6eHdpaWTOYXk4S1s5fgUOpIUFG6Gy4EB9OdmHmaWSk
|
||||
hUq6ukMASRpAtTWUsWCzpHb+FbcSZXaf4DnPD9bhtL3ZcTAtt1Le5IBj04bkvqJP
|
||||
QZ46e8JNdFF9EttPL04jTWPV0iYE4i5F6m7UNmH+CIha4bsmDxPuGvG3UoJ0Bgb3
|
||||
29TphrTvkDsBxPVcD2sj1V9H0yZoMPet28pGg7XpSficCNUNEs5xL6s+awcg6FO+
|
||||
DG5REvbvWCHylGcs1nMWIW29fACA2M9T3fJw271XTXcfg/qdWr8NXyXpI2srpjgb
|
||||
it1O1AZkezUL+XSzpjt1dcMz9j04/fpjaxMTFf2uQktuscPU70d5zmCS0QoJ1f2u
|
||||
t7Mynyl6q3j0ERrSLBG3xQKr6f+NAApeee7fBLRCRcu3nFmmM3YE1X2sHQux9ii3
|
||||
erVdkWMsmbrctpbLUA/icRxnR+eCnpqv1Ve1DKNSJhD2sB5LxPXD7HxnIpUcYQqe
|
||||
HNpS3tQ24qtU06jkGBF0GuTp9Kav5cKp/Yu80ZpO1SW4Pl3xvPr9g34LMG83A7CX
|
||||
PttQ37Ec/e/KSlA0HX/hvW4iglOeoYv9+xu6iX9uLcri5IYJ4IVkkzWosScLbOAV
|
||||
52GOwMujAMRD3EN0lily
|
||||
=5W1z
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,30 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
if [ "${SVCNAME}" = "puppetmaster" ] ; then
|
||||
PUPPETMASTER_PID="master"
|
||||
else
|
||||
PUPPETMASTER_PID="${SVCNAME#*.}"
|
||||
fi
|
||||
PUPPETMASTER_PID_DIR="${PUPPETMASTER_PID_DIR:-/var/run/puppet}"
|
||||
pidfile="${PUPPETMASTER_PID_DIR}/${PUPPETMASTER_PID}.pid"
|
||||
PUPPET_LOG_DIR="/var/log/puppet"
|
||||
|
||||
command_args="master --pidfile ${pidfile} ${PUPPETMASTER_EXTRA_OPTS}"
|
||||
if [ -n "${PUPPETMASTER_PORT}" ] ; then
|
||||
command_args="${command_args} --masterport ${PUPPETMASTER_PORT}"
|
||||
fi
|
||||
|
||||
command="/usr/bin/puppet"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
use dns logger slapd netmount nfsmount
|
||||
}
|
||||
|
||||
start_pre() {
|
||||
checkpath --directory --owner puppet:puppet "${PUPPETMASTER_PID_DIR}"
|
||||
checkpath --directory --owner puppet:puppet --mode 750 ${PUPPET_LOG_DIR}
|
||||
checkpath --file --owner puppet:puppet --mode 640 "${PUPPET_LOG_DIR}/masterhttp.log"
|
||||
}
|
@ -0,0 +1,158 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/puppet/puppet-3.1.1-r1.ebuild,v 1.1 2013/03/22 13:24:34 flameeyes Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils user ruby-ng versionator
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software"
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://www.puppetlabs.com/downloads/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite3 vim-syntax xemacs"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
>=dev-ruby/facter-1.6.2
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite3? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )"
|
||||
RDEPEND="${RDEPEND}
|
||||
ruby_targets_ruby19? ( dev-lang/ruby:1.9[yaml] )
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
${RUBY} install.rb --destdir="${D}" install || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
newinitd "${FILESDIR}"/puppet.init-r1 puppet
|
||||
|
||||
# Initial configuration files
|
||||
insinto /etc/puppet
|
||||
|
||||
# Location of log and data files
|
||||
keepdir /var/log/puppet
|
||||
fowners -R puppet:puppet /var/log/puppet
|
||||
|
||||
if use minimal ; then
|
||||
rm "${ED}/etc/puppet/auth.conf"
|
||||
else
|
||||
newinitd "${FILESDIR}"/puppetmaster.init-r1 puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
|
||||
|
||||
insinto /etc/puppet
|
||||
|
||||
keepdir /etc/puppet/manifests
|
||||
keepdir /etc/puppet/modules
|
||||
|
||||
keepdir /var/lib/puppet/ssl
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"; dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Puppet uses eix to get information about currently installed packages,"
|
||||
elog "so please keep the eix metadata cache updated so puppet is able to properly"
|
||||
elog "handle package installations."
|
||||
elog
|
||||
elog "Currently puppet only supports adding and removing services to the default"
|
||||
elog "runlevel, if you want to add/remove a service from another runlevel you may"
|
||||
elog "do so using symlinking."
|
||||
elog
|
||||
|
||||
if [ \
|
||||
-f "${EPREFIX}/etc/puppet/puppetd.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \
|
||||
-f "${EPREFIX}/etc/puppet/puppetca.conf" \
|
||||
] ; then
|
||||
elog
|
||||
elog "Please remove deprecated config files."
|
||||
elog " /etc/puppet/puppetca.conf"
|
||||
elog " /etc/puppet/puppetd.conf"
|
||||
elog " /etc/puppet/puppetmasterd.conf"
|
||||
elog
|
||||
fi
|
||||
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "2" ]; then
|
||||
elog
|
||||
elog "If you're upgrading from 2.x then we strongly suggest you to read:"
|
||||
elog "http://docs.puppetlabs.com/guides/upgrading.html"
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- libipulog/Makefile.in.orig 2013-03-20 19:18:05.000692936 +0400
|
||||
+++ libipulog/Makefile.in 2013-03-20 19:18:12.987692835 +0400
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
|
||||
include @top_srcdir@/Rules.make
|
||||
-CFLAGS+=-Iinclude -I/usr/src/linux/include
|
||||
+CFLAGS+=-Iinclude
|
||||
|
||||
libipulog.a: libipulog.o
|
||||
$(LD) -i $< -o $@
|
@ -0,0 +1,110 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/phoronix-test-suite/phoronix-test-suite-4.2.0.ebuild,v 1.1 2013/03/22 04:32:34 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils bash-completion
|
||||
|
||||
DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite"
|
||||
HOMEPAGE="http://www.phoronix-test-suite.com"
|
||||
SRC_URI="http://www.phoronix-test-suite.com/download.php?file=${P} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
# php 5.3 doesn't have pcre and reflection useflags anymore
|
||||
RDEPEND="dev-lang/php[cli,curl,gd,json,posix,pcntl,truetype,zip]
|
||||
dev-php/pecl-ps"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \
|
||||
phoronix-test-suite
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/${PN}
|
||||
insinto /usr/share/${PN}
|
||||
|
||||
doman documentation/man-pages/phoronix-test-suite.1
|
||||
dodoc AUTHORS CHANGE-LOG
|
||||
dohtml -r documentation/
|
||||
doicon pts-core/static/images/phoronix-test-suite.png
|
||||
doicon pts-core/static/images/openbenchmarking.png
|
||||
domenu pts-core/static/phoronix-test-suite.desktop
|
||||
rm -f pts-core/static/phoronix-test-suite.desktop
|
||||
|
||||
doins -r pts-core
|
||||
exeinto /usr/bin
|
||||
doexe phoronix-test-suite
|
||||
|
||||
fperms a+x /usr/share/${PN}/pts-core/static/scripts/root-access.sh
|
||||
fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh
|
||||
|
||||
dobashcompletion pts-core/static/bash_completion ${PN}
|
||||
|
||||
# Need to fix the cli-php config for downloading to work. Very naughty!
|
||||
local slots
|
||||
local slot
|
||||
if [[ "x${PHP_TARGETS}" == "x" ]] ; then
|
||||
ewarn
|
||||
ewarn "PHP_TARGETS seems empty, php.ini file can't be configure."
|
||||
ewarn "Make sure that PHP_TARGETS in /etc/make.conf is set."
|
||||
ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
|
||||
ewarn "for downloading to work properly."
|
||||
ewarn
|
||||
else
|
||||
for slot in ${PHP_TARGETS}; do
|
||||
slots+=" ${slot/-/.}"
|
||||
done
|
||||
fi
|
||||
|
||||
for slot in ${slots}; do
|
||||
local PHP_INI_FILE="/etc/php/cli-${slot}/php.ini"
|
||||
if [[ -f ${PHP_INI_FILE} ]] ; then
|
||||
dodir $(dirname ${PHP_INI_FILE})
|
||||
cp ${PHP_INI_FILE} "${D}${PHP_INI_FILE}"
|
||||
sed -e 's|^allow_url_fopen .*|allow_url_fopen = On|g' -i "${D}${PHP_INI_FILE}"
|
||||
else
|
||||
if [[ "x$(eselect php show cli)" == "x${slot}" ]] ; then
|
||||
ewarn
|
||||
ewarn "${slot} hasn't a php.ini file."
|
||||
ewarn "phoronix-test-suite needs the 'allow_url_fopen' option set to \"On\""
|
||||
ewarn "for downloading to work properly."
|
||||
ewarn "Check that your PHP_INI_VERSION is set during ${slot} merge"
|
||||
ewarn
|
||||
else
|
||||
elog
|
||||
elog "${slot} hasn't a php.ini file."
|
||||
elog "phoronix-test-suite may need the 'allow_url_fopen' option set to \"On\""
|
||||
elog "for downloading to work properly if you switch to ${slot}"
|
||||
elog "Check that your PHP_INI_VERSION is set during ${slot} merge"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
ewarn
|
||||
ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all"
|
||||
ewarn "your tests because"
|
||||
ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/"
|
||||
ewarn "moves to"
|
||||
ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/"
|
||||
ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in"
|
||||
ewarn "pts-install.xml file."
|
||||
ewarn
|
||||
}
|
@ -1,20 +1,20 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
EBUILD emacs-vcs-24.3.9999.ebuild 11128 SHA256 5f5692fbc8236bf46aec072eebc25043a98815b4591b2841eec725d4f7d78c4c SHA512 8fd93ddabdbb2e0f2daef2bf28dba61ebd14c40f1d5728623572bba939b2659dc5ce6d6da46e4cb12bb3cd82f37013889aaa135e660dc66415ef7941bb5ddd63 WHIRLPOOL c93715eabfdf3b4043d0598e3a4261dbf08677b6cbc2c5bd79bbd3e86a9616a49d848fdd395dc790da0a4ec49dc662c3ab3af9b90644a1ad69091c4474516b1f
|
||||
MISC ChangeLog 72099 SHA256 a4368cae7fee10765a972674f9173834e3b7ca8dd6c788e8be3b025731b41309 SHA512 bc23e93cc79d359aed19af736df5088c0cb95aace3b7a7cd86d76fc5b0bdd88c91eff94c246b2592edb550909abc03ed53561fc3479a2d8612beb05814df1323 WHIRLPOOL fd322a9ebac685728ca9d660b6ce23716bd747cbf9e0da25767f1e21c9ebed89827449704307aa3a7e20647e7e16608fde49e911a75473f4e537c8bcab74b459
|
||||
MISC metadata.xml 2506 SHA256 12bb4fa9649ddeb523c66fb522e21194a18cbef15949f96b11493a81e2cf0e2b SHA512 d73393a30974d91f7dcaa36a939617b4dee96723e7264a92b995f112607eb0da83f19645b1e7915b491a6c76241f6562162db060085c7490e4f0ab6c0f0ca597 WHIRLPOOL fae270bc46b7d81a5e44870c5b6c168f444b3359eb47f441557520d58590b969dc28f1242de9a8ab287f3533e1c1e64c6b6b36fed792ce601a45720701fede43
|
||||
EBUILD emacs-vcs-24.3.9999.ebuild 11129 SHA256 ef258629638eb014322f8d946aa89132d694a844038a8143619740c6f8fa77f2 SHA512 ea0aa21e2a3e7c6e1927325ff6ab1bca5d49e6932afc2fadedb9fcfb400af2d0328a9640d61fa0344af4073bbc9a6907960c2cb19e4b166f29b1190cb84f93bc WHIRLPOOL 6bcbafba367d5b9c51a86e644c043b59e88c7b8d5bc9d01833ec5e225e93241f0e67de73a8603af22088c2309ca18d600de444f727a0537faeaf25c94a70af2a
|
||||
MISC ChangeLog 72266 SHA256 d161b1d10213ebf338fa300a9f8ccb8293baaf9c524667221ba4bde4c0c648fa SHA512 d2dff2dbfeda6e9f2ee330e34b62c5b9ec04cf320d2488ab15ce1cc307c104d6be491e08a619317e2cb426e2d8d8d0c6f41b639611545736ec131584ae4a1ec0 WHIRLPOOL b4bc129f43fa396fb0359eccd894d0296e8b52923309d8ae413acee9c773f5e42feb385e1652fb4da5cc34183bd02f90cdc4ffd454840d09513a8120f9413bf1
|
||||
MISC metadata.xml 2431 SHA256 f5b0a24ab6e525de4d80cffb7a635260e47c88552e7c2b3fe694b76b130d36f1 SHA512 9345b4871208b2cdc7b1ef4d1981cad54aae6da91ba3fe2aa482df8a242b87d7d1c1288f132ed70ef2cab0372418275a50754c7249bb06adc7f5a17403a40fe7 WHIRLPOOL 73f2ce2c94b5e0b83cd1d06ce975b83004d54f51d573f3330450d60c2e7c5220c4bf92ca0af403a322ed9a67806b3cb11190f81f93e135bf1f8e0d8dee0cf220
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQGcBAEBCAAGBQJRSl+NAAoJEJQzkH1pP7W4fkQL/jHiy8Yywuu/Au0CAhWe47uJ
|
||||
4RKkdUZWxaQjP1Fy/NFM4aJ7exnqUQzHkUzdIwgU+pFXP8F9mCcAVLN3PJLqBO5j
|
||||
VqXdjzzmWfbrr7xzaXj/xs/lF7A+m+jR9PcvjANoMvwjfpzvkIEeFm8lQ/JyF4ag
|
||||
EbDpsjBpIbbzlwh3o4nE60WiwWtKcJhygKTSzDOUnburHCmfvNnxyTCrryP60kQW
|
||||
M6Od3lGMkPmPTJL+M8wRrJkQ6glPjDFCdVd8kQSHrFKD11n2eL3UWWRyyLRLHyaC
|
||||
t1fGFlCUnSar+Lucvuak6omJ9VH27nDTrdrfTj3sxqQRWxUmJGbbOiJVQoxazgrm
|
||||
NN5rZX7eCEyGwzVUoxbaPwdZseYhupfFtM8h1JejVCSaCuVYaZiTLm8W18e+mqye
|
||||
CRNJO1kp3dTSv+/29ujXzp+zVvJ5SClqrTtUfMWVuBmu5fZh8cWT5cMddKYP3EqE
|
||||
nJiIl8gnntS3uZ12ltDhCZ+OhUzD1dKZsxq2ass0Uw==
|
||||
=JJQ0
|
||||
iQGcBAEBCAAGBQJRS0rfAAoJEJQzkH1pP7W4FN4L/2s60RUspqmAMz4j9gTMDUG5
|
||||
TnzD0xe9ijTeq6bUWhG19TwaxtGbWrNGQ98BaCRLOJnrkCtDrprGUL/qNTipWpjI
|
||||
6Epj3f74nlNGNnEmaxyQp0t5TzHcn2FoEhEY3XuX1PvSyR2/u3bUDh6Pv+kv/o+O
|
||||
MlekUSRf2CZA7LDSdGY0jT5csRa0ZLwHD/hhnazLAbUa0HKdPFJzWs9WfIVf2zk4
|
||||
p5So1rEO87kYcPq5rqHXKF9gNQoQV33Pff5A1jyEC9ZZbTZmdSJ9g40jZaxJo2kp
|
||||
wD++mpHdjk/hmAkq4IDoZnBEiZDACsHp5EQUY5D3CyXK9kjUFE/TaWbwKladk99L
|
||||
jLSMERNvnfhKErxRQTebieParLwDs5DzAqGMnsaKZAL1tJ/VoMxYS479RqVi6rZ4
|
||||
6pyVTlEnpkrzHp4qar/sjFH/qnIZzF+DT6h4Kn4f7pbln757ZBgZcyAo/MljQ1IC
|
||||
LQ80Owznd6F6aR724OOUSAcbSv6RuRCD78lHjxwZew==
|
||||
=NNHc
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/pgpool2/pgpool2-3.2.3.ebuild,v 1.1 2013/03/22 05:32:16 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
[[ ${PV} == 9999 ]] && MY_P=${PN/2/-II} || MY_P="${PN/2/-II}-${PV}"
|
||||
|
||||
ECVS_SERVER="cvs.pgfoundry.org:/cvsroot/pgpool"
|
||||
ECVS_MODULE="pgpool-II"
|
||||
[[ ${PV} == 9999 ]] && SCM_ECLASS="cvs"
|
||||
inherit base autotools ${SCM_ECLASS}
|
||||
unset SCM_ECLASS
|
||||
|
||||
DESCRIPTION="Connection pool server for PostgreSQL"
|
||||
HOMEPAGE="http://www.pgpool.net/"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="http://www.pgpool.net/download.php?f=${MY_P}.tar.gz -> ${MY_P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
# Don't move KEYWORDS on the previous line or ekeyword won't work # 399061
|
||||
[[ ${PV} == 9999 ]] || \
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="memcached pam ssl static-libs"
|
||||
|
||||
RDEPEND="
|
||||
dev-db/postgresql-base
|
||||
memcached? ( dev-libs/libmemcached )
|
||||
pam? ( sys-auth/pambase )
|
||||
ssl? ( dev-libs/openssl )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/bison
|
||||
!!dev-db/pgpool
|
||||
"
|
||||
|
||||
AUTOTOOLS_IN_SOURCE_BUILD="1"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup postgres 70
|
||||
enewuser pgpool -1 -1 -1 postgres
|
||||
|
||||
# We need the postgres user as well so we can set the proper
|
||||
# permissions on the sockets without getting into fights with
|
||||
# PostgreSQL's initialization scripts.
|
||||
enewuser postgres 70 /bin/bash /var/lib/postgresql postgres
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/pgpool_run_paths.patch"
|
||||
|
||||
local pg_config_manual="$(pg_config --includedir)/pg_config_manual.h"
|
||||
local pgsql_socket_dir=$(grep DEFAULT_PGSOCKET_DIR "${pg_config_manual}" | \
|
||||
sed 's|.*\"\(.*\)\"|\1|g')
|
||||
local pgpool_socket_dir="$(dirname $pgsql_socket_dir)/pgpool"
|
||||
|
||||
sed "s|@PGSQL_SOCKETDIR@|${pgsql_socket_dir}|g" \
|
||||
-i *.conf.sample* pool.h || die
|
||||
|
||||
sed "s|@PGPOOL_SOCKETDIR@|${pgpool_socket_dir}|g" \
|
||||
-i *.conf.sample* pool.h || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
use memcached && \
|
||||
myconf="--with-memcached=\"${EROOT%/}/usr/include/libmemcached\""
|
||||
use pam && myconf+=' --with-pam'
|
||||
|
||||
econf \
|
||||
--disable-rpath \
|
||||
--sysconfdir="${EROOT%/}/etc/${PN}" \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_enable static-libs static) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
cd sql
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
cd sql
|
||||
emake DESTDIR="${D}" install
|
||||
cd "${S}"
|
||||
|
||||
# `contrib' moved to `extension' with PostgreSQL 9.1
|
||||
local pgslot=$(postgresql-config show)
|
||||
if [[ ${pgslot//.} > 90 ]] ; then
|
||||
cd "${ED%/}$(pg_config --sharedir)"
|
||||
mv contrib extension || die
|
||||
cd "${S}"
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
|
||||
# Documentation
|
||||
dodoc NEWS TODO doc/where_to_send_queries.{pdf,odg}
|
||||
dohtml -r doc
|
||||
|
||||
# Examples and extras
|
||||
insinto "/usr/share/${PN}"
|
||||
doins doc/{pgpool_remote_start,basebackup.sh,recovery.conf.sample}
|
||||
mv "${ED%/}/usr/share/${PN/2/-II}" "${ED%/}/usr/share/${PN}" || die
|
||||
|
||||
# One more thing: Evil la files!
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
@ -1,875 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.5.0_alpha2.ebuild,v 1.1 2013/01/01 13:44:17 olemarkus Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
SUHOSIN_VERSION=""
|
||||
FPM_VERSION="builtin"
|
||||
EXPECTED_TEST_FAILURES=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/dsp/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"suhosin")
|
||||
echo "http://download.suhosin.org/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="0"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then
|
||||
# in some cases we use our own suhosin patch (very recent version,
|
||||
# patch conflicts, etc.)
|
||||
SUHOSIN_TYPE="olemarkus"
|
||||
else
|
||||
SUHOSIN_TYPE="suhosin"
|
||||
fi
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch";
|
||||
SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )"
|
||||
fi
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
suhosin? ( ${SUHOSIN_URI} )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# Gentoo-specific, common features
|
||||
IUSE="kolab"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug doc
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib"
|
||||
|
||||
# Enable suhosin if available
|
||||
[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.6.2
|
||||
>=dev-libs/libpcre-8.12[unicode]
|
||||
apache2? ( www-servers/apache[threads=] )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kolab? ( >=net-libs/c-client-2004g-r1 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg
|
||||
media-libs/libpng sys-libs/zlib
|
||||
)
|
||||
xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xsl? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
kolab? ( imap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? (
|
||||
=${CATEGORY}/${PN}-${SLOT}*[unicode] )"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# They are in PDEPEND because we need PHP installed first!
|
||||
PDEPEND="doc? ( app-doc/php-docs )"
|
||||
|
||||
# No longer depend on the extension. The suhosin USE flag only installs the
|
||||
# patch
|
||||
#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/70_mod_php${PHP_MV}.conf-apache2" \
|
||||
"70_mod_php${PHP_MV}.conf"
|
||||
fi
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_INIT_VER} ]] && PHP_FPM_INIT_VER=3
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
dodir "/etc/init.d"
|
||||
insinto "/etc/init.d"
|
||||
newinitd "${FILESDIR}/php-fpm-r${PHP_FPM_INIT_VER}.init" "php-fpm"
|
||||
# dosym "${PHP_DESTDIR#${EPREFIX}}/bin/php-fpm" "/usr/bin/php-fpm"
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
if [[ ${SLOT} == '5.2' ]]; then
|
||||
newdoc php.ini-dist php.ini-development
|
||||
newdoc php.ini-recommended php.ini-production
|
||||
fi
|
||||
|
||||
if [[ ${SLOT} == '5.3' ]]; then
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
fi
|
||||
|
||||
if [[ ${SLOT} == '5.4' ]]; then
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# kolab support (support for imap annotations)
|
||||
use kolab && epatch "${WORKDIR}/patches/opt/imap-kolab-annotations.patch"
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
local ver=$(get_version_component_range 3)
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Apply generic PHP patches
|
||||
EPATCH_SOURCE="${WORKDIR}/patches/generic" EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Prevent PHP from activating the Apache config,
|
||||
# as we will do that ourselves
|
||||
sed -i \
|
||||
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
# Suhosin support
|
||||
if [[ -n $SUHOSIN_VERSION ]] ; then
|
||||
if use suhosin ; then
|
||||
epatch "${WORKDIR}/${SUHOSIN_PATCH}"
|
||||
fi
|
||||
else
|
||||
ewarn "Please note that this version of PHP does not yet come with a suhosin patch"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_with curlwrappers curlwrappers "${EPREFIX}"/usr)
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv )
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with mssql mssql "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xsl xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 ${EPREFIX}/usr)
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm ${EPREFIX}/usr)
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm ${EPREFIX}/usr)"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir ${EPREFIX}/usr)
|
||||
$(use_with truetype t1lib ${EPREFIX}/usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir ${EPREFIX}/usr)
|
||||
$(use_with gd png-dir ${EPREFIX}/usr)
|
||||
$(use_with xpm xpm-dir ${EPREFIX}/usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
if use mysql ; then
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
fi
|
||||
|
||||
# MySQLi support
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli ${EPREFIX}/usr/bin/mysql_config)"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )"
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
if use pic ; then
|
||||
my_conf="${my_conf} --with-pic"
|
||||
fi
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
|
||||
if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then
|
||||
ewarn
|
||||
ewarn "The suhosin USE flag now only installs the suhosin patch!"
|
||||
ewarn "If you want the suhosin extension, make sure you install"
|
||||
ewarn " dev-php/suhosin"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
local sapi
|
||||
local slot
|
||||
for sapi in ${SAPIS}; do
|
||||
slot=$(eselect php show $sapi 2> /dev/null)
|
||||
slot=${slot/php/}
|
||||
if [[ $slot == $SLOT ]]; then
|
||||
ewarn "You have removed the active version of the $sapi SAPI"
|
||||
ewarn "Fix the issue using \`eselect php\`"
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,875 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/php/php-5.5.0_alpha4.ebuild,v 1.1 2013/02/07 13:58:17 olemarkus Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils autotools flag-o-matic versionator depend.apache apache-module db-use libtool
|
||||
|
||||
SUHOSIN_VERSION=""
|
||||
FPM_VERSION="builtin"
|
||||
EXPECTED_TEST_FAILURES=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
function php_get_uri ()
|
||||
{
|
||||
case "${1}" in
|
||||
"php-pre")
|
||||
echo "http://downloads.php.net/dsp/${2}"
|
||||
;;
|
||||
"php")
|
||||
echo "http://www.php.net/distributions/${2}"
|
||||
;;
|
||||
"suhosin")
|
||||
echo "http://download.suhosin.org/${2}"
|
||||
;;
|
||||
"olemarkus")
|
||||
echo "http://dev.gentoo.org/~olemarkus/php/${2}"
|
||||
;;
|
||||
"gentoo")
|
||||
echo "mirror://gentoo/${2}"
|
||||
;;
|
||||
*)
|
||||
die "unhandled case in php_get_uri"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
|
||||
# alias, so we can handle different types of releases (finals, rcs, alphas,
|
||||
# betas, ...) w/o changing the whole ebuild
|
||||
PHP_PV="${PV/_rc/RC}"
|
||||
PHP_PV="${PHP_PV/_alpha/alpha}"
|
||||
PHP_PV="${PHP_PV/_beta/beta}"
|
||||
PHP_RELEASE="php"
|
||||
[[ ${PV} == ${PV/_alpha/} ]] || PHP_RELEASE="php-pre"
|
||||
[[ ${PV} == ${PV/_rc/} ]] || PHP_RELEASE="php-pre"
|
||||
PHP_P="${PN}-${PHP_PV}"
|
||||
|
||||
PHP_PATCHSET_LOC="olemarkus"
|
||||
|
||||
PHP_SRC_URI="$(php_get_uri "${PHP_RELEASE}" "${PHP_P}.tar.bz2")"
|
||||
|
||||
PHP_PATCHSET="0"
|
||||
PHP_PATCHSET_URI="
|
||||
$(php_get_uri "${PHP_PATCHSET_LOC}" "php-patchset-${SLOT}-r${PHP_PATCHSET}.tar.bz2")"
|
||||
|
||||
PHP_FPM_INIT_VER="4"
|
||||
PHP_FPM_CONF_VER="1"
|
||||
|
||||
if [[ ${SUHOSIN_VERSION} == *-gentoo ]]; then
|
||||
# in some cases we use our own suhosin patch (very recent version,
|
||||
# patch conflicts, etc.)
|
||||
SUHOSIN_TYPE="olemarkus"
|
||||
else
|
||||
SUHOSIN_TYPE="suhosin"
|
||||
fi
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SUHOSIN_PATCH="suhosin-patch-${SUHOSIN_VERSION}.patch";
|
||||
SUHOSIN_URI="$(php_get_uri ${SUHOSIN_TYPE} ${SUHOSIN_PATCH}.gz )"
|
||||
fi
|
||||
|
||||
SRC_URI="
|
||||
${PHP_SRC_URI}
|
||||
${PHP_PATCHSET_URI}"
|
||||
|
||||
if [[ -n ${SUHOSIN_VERSION} ]]; then
|
||||
SRC_URI="${SRC_URI}
|
||||
suhosin? ( ${SUHOSIN_URI} )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs."
|
||||
HOMEPAGE="http://php.net/"
|
||||
LICENSE="PHP-3"
|
||||
|
||||
S="${WORKDIR}/${PHP_P}"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2"
|
||||
|
||||
# Gentoo-specific, common features
|
||||
IUSE="kolab"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl curlwrappers debug doc
|
||||
enchant exif frontbase +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit mhash
|
||||
mssql mysql mysqlnd mysqli nls
|
||||
oci8-instant-client odbc pcntl pdo +phar pic +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sybase-ct sysvipc tidy +tokenizer truetype unicode wddx
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xsl zip zlib"
|
||||
|
||||
# Enable suhosin if available
|
||||
[[ -n $SUHOSIN_VERSION ]] && IUSE="${IUSE} suhosin"
|
||||
|
||||
DEPEND="
|
||||
>=app-admin/eselect-php-0.6.2
|
||||
>=dev-libs/libpcre-8.12[unicode]
|
||||
apache2? ( www-servers/apache[threads=] )
|
||||
berkdb? ( =sys-libs/db-4* )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg
|
||||
media-libs/libpng
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.2 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kolab? ( >=net-libs/c-client-2004g-r1 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
!mysqlnd? (
|
||||
mysql? ( virtual/mysql )
|
||||
mysqli? ( >=virtual/mysql-4.1 )
|
||||
)
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql-base )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? ( >=dev-libs/openssl-0.9.7 )
|
||||
sybase-ct? ( dev-db/freetds )
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
>=media-libs/t1lib-5.0.0
|
||||
!gd? (
|
||||
virtual/jpeg media-libs/libpng sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg
|
||||
media-libs/libpng sys-libs/zlib
|
||||
)
|
||||
xsl? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
virtual/mta
|
||||
"
|
||||
|
||||
php="=${CATEGORY}/${PF}"
|
||||
|
||||
REQUIRED_USE="
|
||||
truetype? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xsl? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
kolab? ( imap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
mysqlnd? ( || (
|
||||
mysql
|
||||
mysqli
|
||||
pdo
|
||||
) )
|
||||
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysql !mysqli )
|
||||
sharedmem? ( !threads )
|
||||
|
||||
!cli? ( !cgi? ( !fpm? ( !apache2? ( !embed? ( cli ) ) ) ) )"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
[[ -n $SUHOSIN_VERSION ]] && RDEPEND="${RDEPEND} suhosin? (
|
||||
=${CATEGORY}/${PN}-${SLOT}*[unicode] )"
|
||||
|
||||
RDEPEND="${RDEPEND} fpm? ( selinux? ( sec-policy/selinux-phpfpm ) )"
|
||||
|
||||
DEPEND="${DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# They are in PDEPEND because we need PHP installed first!
|
||||
PDEPEND="doc? ( app-doc/php-docs )"
|
||||
|
||||
# No longer depend on the extension. The suhosin USE flag only installs the
|
||||
# patch
|
||||
#[[ -n $SUHOSIN_VERSION ]] && PDEPEND="${PDEPEND} suhosin? ( dev-php${PHP_MV}/suhosin )"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
PHP_INI_VERSION="development"
|
||||
;;
|
||||
esac
|
||||
|
||||
PHP_INI_UPSTREAM="php.ini-${PHP_INI_VERSION}"
|
||||
PHP_INI_FILE="php.ini"
|
||||
|
||||
want_apache
|
||||
|
||||
pkg_setup() {
|
||||
depend.apache_pkg_setup
|
||||
}
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${phpinisrc}"
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}"
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" -i "${phpinisrc}"
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}"
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" "${PHP_INI_FILE}"
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
insinto "${APACHE_MODULES_CONFDIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/70_mod_php${PHP_MV}.conf-apache2" \
|
||||
"70_mod_php${PHP_MV}.conf"
|
||||
fi
|
||||
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
[[ -z ${PHP_FPM_INIT_VER} ]] && PHP_FPM_INIT_VER=3
|
||||
[[ -z ${PHP_FPM_CONF_VER} ]] && PHP_FPM_CONF_VER=0
|
||||
einfo "Installing FPM CGI config file php-fpm.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${FILESDIR}/php-fpm-r${PHP_FPM_CONF_VER}.conf" php-fpm.conf
|
||||
dodir "/etc/init.d"
|
||||
insinto "/etc/init.d"
|
||||
newinitd "${FILESDIR}/php-fpm-r${PHP_FPM_INIT_VER}.init" "php-fpm"
|
||||
# dosym "${PHP_DESTDIR#${EPREFIX}}/bin/php-fpm" "/usr/bin/php-fpm"
|
||||
|
||||
# Remove bogus /etc/php-fpm.conf.default (bug 359906)
|
||||
[[ -f "${ED}/etc/php-fpm.conf.default" ]] && rm "${ED}/etc/php-fpm.conf.default"
|
||||
fi
|
||||
|
||||
# Install PHP ini files into /usr/share/php
|
||||
if [[ ${SLOT} == '5.2' ]]; then
|
||||
newdoc php.ini-dist php.ini-development
|
||||
newdoc php.ini-recommended php.ini-production
|
||||
fi
|
||||
|
||||
if [[ ${SLOT} == '5.3' ]]; then
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
fi
|
||||
|
||||
if [[ ${SLOT} == '5.4' ]]; then
|
||||
dodoc php.ini-development
|
||||
dodoc php.ini-production
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# USE=sharedmem (session/mod_mm to be exact) tries to mmap() this path
|
||||
# ([empty session.save_path]/session_mm_[sapi][gid].sem)
|
||||
# there is no easy way to circumvent that, all php calls during
|
||||
# install use -n, so no php.ini file will be used.
|
||||
# As such, this is the easiest way to get around
|
||||
addpredict /session_mm_cli250.sem
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# kolab support (support for imap annotations)
|
||||
use kolab && epatch "${WORKDIR}/patches/opt/imap-kolab-annotations.patch"
|
||||
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
local ver=$(get_version_component_range 3)
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Apply generic PHP patches
|
||||
EPATCH_SOURCE="${WORKDIR}/patches/generic" EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_MULTI_MSG="Applying generic patches and fixes from upstream..." epatch
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Prevent PHP from activating the Apache config,
|
||||
# as we will do that ourselves
|
||||
sed -i \
|
||||
-e "s,-i -a -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
-e "s,-i -A -n php${PHP_MV},-i -n php${PHP_MV},g" \
|
||||
configure sapi/apache2filter/config.m4 sapi/apache2handler/config.m4
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
# Suhosin support
|
||||
if [[ -n $SUHOSIN_VERSION ]] ; then
|
||||
if use suhosin ; then
|
||||
epatch "${WORKDIR}/${SUHOSIN_PATCH}"
|
||||
fi
|
||||
else
|
||||
ewarn "Please note that this version of PHP does not yet come with a suhosin patch"
|
||||
fi
|
||||
|
||||
#Add user patches #357637
|
||||
epatch_user
|
||||
|
||||
#force rebuilding aclocal.m4
|
||||
rm aclocal.m4
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# This is a global variable and should be in caps. It isn't because the
|
||||
# phpconfutils eclass relies on exactly this name...
|
||||
# for --with-libdir see bug #327025
|
||||
my_conf="
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}"/man
|
||||
--infodir="${PHP_DESTDIR}"/info
|
||||
--libdir="${PHP_DESTDIR}"/lib
|
||||
--with-libdir=$(get_libdir)
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)"
|
||||
|
||||
# extension USE flag shared
|
||||
my_conf+="
|
||||
$(use_enable bcmath bcmath )
|
||||
$(use_with bzip2 bz2 "${EPREFIX}"/usr)
|
||||
$(use_enable calendar calendar )
|
||||
$(use_enable ctype ctype )
|
||||
$(use_with curl curl "${EPREFIX}"/usr)
|
||||
$(use_with curlwrappers curlwrappers "${EPREFIX}"/usr)
|
||||
$(use_enable xml dom )
|
||||
$(use_with enchant enchant "${EPREFIX}"/usr)
|
||||
$(use_enable exif exif )
|
||||
$(use_enable fileinfo fileinfo )
|
||||
$(use_enable filter filter )
|
||||
$(use_enable ftp ftp )
|
||||
$(use_with nls gettext "${EPREFIX}"/usr)
|
||||
$(use_with gmp gmp "${EPREFIX}"/usr)
|
||||
$(use_enable hash hash )
|
||||
$(use_with mhash mhash "${EPREFIX}"/usr)
|
||||
$(use_with iconv iconv )
|
||||
$(use_enable intl intl )
|
||||
$(use_enable ipv6 ipv6 )
|
||||
$(use_enable json json )
|
||||
$(use_with kerberos kerberos "${EPREFIX}"/usr)
|
||||
$(use_enable xml libxml )
|
||||
$(use_with xml libxml-dir "${EPREFIX}"/usr)
|
||||
$(use_enable unicode mbstring )
|
||||
$(use_with crypt mcrypt "${EPREFIX}"/usr)
|
||||
$(use_with mssql mssql "${EPREFIX}"/usr)
|
||||
$(use_with unicode onig "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl "${EPREFIX}"/usr)
|
||||
$(use_with ssl openssl-dir "${EPREFIX}"/usr)
|
||||
$(use_enable pcntl pcntl )
|
||||
$(use_enable phar phar )
|
||||
$(use_enable pdo pdo )
|
||||
$(use_with postgres pgsql "${EPREFIX}"/usr)
|
||||
$(use_enable posix posix )
|
||||
$(use_with spell pspell "${EPREFIX}"/usr)
|
||||
$(use_with recode recode "${EPREFIX}"/usr)
|
||||
$(use_enable simplexml simplexml )
|
||||
$(use_enable sharedmem shmop )
|
||||
$(use_with snmp snmp "${EPREFIX}"/usr)
|
||||
$(use_enable soap soap )
|
||||
$(use_enable sockets sockets )
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}"/usr)
|
||||
$(use_with sybase-ct sybase-ct "${EPREFIX}"/usr)
|
||||
$(use_enable sysvipc sysvmsg )
|
||||
$(use_enable sysvipc sysvsem )
|
||||
$(use_enable sysvipc sysvshm )
|
||||
$(use_with tidy tidy "${EPREFIX}"/usr)
|
||||
$(use_enable tokenizer tokenizer )
|
||||
$(use_enable wddx wddx )
|
||||
$(use_enable xml xml )
|
||||
$(use_enable xmlreader xmlreader )
|
||||
$(use_enable xmlwriter xmlwriter )
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xsl xsl "${EPREFIX}"/usr)
|
||||
$(use_enable zip zip )
|
||||
$(use_with zlib zlib "${EPREFIX}"/usr)
|
||||
$(use_enable debug debug )"
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
my_conf="${my_conf} --enable-dba${shared}"
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
my_conf+="
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 ${EPREFIX}/usr)
|
||||
$(use_enable flatfile flatfile )
|
||||
$(use_with gdbm gdbm ${EPREFIX}/usr)
|
||||
$(use_enable inifile inifile )
|
||||
$(use_with qdbm qdbm ${EPREFIX}/usr)"
|
||||
|
||||
# Support for the GD graphics library
|
||||
my_conf+="
|
||||
$(use_with truetype freetype-dir ${EPREFIX}/usr)
|
||||
$(use_with truetype t1lib ${EPREFIX}/usr)
|
||||
$(use_enable cjk gd-jis-conv )
|
||||
$(use_with gd jpeg-dir ${EPREFIX}/usr)
|
||||
$(use_with gd png-dir ${EPREFIX}/usr)
|
||||
$(use_with xpm xpm-dir ${EPREFIX}/usr)"
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
my_conf+="
|
||||
$(use_with gd gd)"
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
my_conf+="
|
||||
$(use_with imap imap ${EPREFIX}/usr)
|
||||
$(use_with ssl imap-ssl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
|
||||
if use firebird ; then
|
||||
my_conf+="
|
||||
$(use_with firebird interbase ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
my_conf+="
|
||||
$(use_with ldap ldap ${EPREFIX}/usr)
|
||||
$(use_with ldap-sasl ldap-sasl ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
if use mysql ; then
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with mysql mysql-sock ${EPREFIX}/var/run/mysqld/mysqld.sock)"
|
||||
fi
|
||||
|
||||
# MySQLi support
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysqli mysqli ${EPREFIX}/usr/bin/mysql_config)"
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
if use odbc ; then
|
||||
my_conf+="
|
||||
$(use_with odbc unixODBC ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
if use iodbc ; then
|
||||
my_conf+="
|
||||
$(use_with iodbc iodbc ${EPREFIX}/usr)"
|
||||
fi
|
||||
|
||||
# Oracle support
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client oci8)"
|
||||
fi
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
my_conf+="
|
||||
$(use_with mssql pdo-dblib )"
|
||||
if use mysqlnd ; then
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql mysqlnd)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_with mysql pdo-mysql ${EPREFIX}/usr)"
|
||||
fi
|
||||
my_conf+="
|
||||
$(use_with postgres pdo-pgsql )
|
||||
$(use_with sqlite pdo-sqlite ${EPREFIX}/usr)
|
||||
$(use_with odbc pdo-odbc unixODBC,${EPREFIX}/usr)"
|
||||
if use oci8-instant-client ; then
|
||||
my_conf+="
|
||||
$(use_with oci8-instant-client pdo-oci)"
|
||||
fi
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
my_conf+="
|
||||
$(use_with readline readline ${EPREFIX}/usr)
|
||||
$(use_with libedit libedit ${EPREFIX}/usr)"
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
my_conf+="
|
||||
$(use_with sharedmem mm ${EPREFIX}/usr)"
|
||||
else
|
||||
my_conf+="
|
||||
$(use_enable session session )"
|
||||
fi
|
||||
|
||||
if use pic ; then
|
||||
my_conf="${my_conf} --with-pic"
|
||||
fi
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
my_conf="${my_conf} --with-pcre-regex=${EPREFIX}/usr --with-pcre-dir=${EPREFIX}/usr"
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
my_conf="${my_conf} ${EXTRA_ECONF:-}"
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build"
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
cp -r "${S}" "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${one_sapi}"
|
||||
|
||||
sapi_conf="${my_conf} --with-config-file-path=${PHP_INI_DIR}
|
||||
--with-config-file-scan-dir=${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --enable-${sapi}"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --disable-${sapi}"
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf="${sapi_conf} --with-apxs2=${EPREFIX}/usr/sbin/apxs"
|
||||
else
|
||||
sapi_conf="${sapi_conf} --without-apxs2"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
econf ${sapi_conf}
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi"
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs \
|
||||
|| die "emake install failed"
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir /usr/share/php${PHP_MV}
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}"
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp5$(get_libname)" "libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}" || die "Unable to install ${sapi} sapi"
|
||||
else
|
||||
dobin "${source}" || die "Unable to install ${sapi} sapi"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" \
|
||||
"20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
sed -e "s|php5|php${SLOT}|g" -i \
|
||||
"${ED}/etc/env.d/20php${SLOT}"
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d "session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d "session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
APACHE2_MOD_DEFINE="PHP5"
|
||||
APACHE2_MOD_CONF="70_mod_php5"
|
||||
apache-module_pkg_postinst
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT}
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
elog "Make sure that PHP_TARGETS in ${EPREFIX}/etc/make.conf includes php${SLOT/./-} in order"
|
||||
elog "to compile extensions for the ${SLOT} ABI"
|
||||
elog
|
||||
if ! use readline && use cli ; then
|
||||
ewarn "Note that in order to use php interactivly, you need to enable"
|
||||
ewarn "the readline USE flag or php -a will hang"
|
||||
fi
|
||||
elog
|
||||
elog "This ebuild installed a version of php.ini based on php.ini-${PHP_INI_VERSION} version."
|
||||
elog "You can chose which version of php.ini to install by default by setting PHP_INI_VERSION to either"
|
||||
elog "'production' or 'development' in ${EPREFIX}/etc/make.conf"
|
||||
elog "Both versions of php.ini can be found in ${EPREFIX}/usr/share/doc/${PF}"
|
||||
|
||||
elog
|
||||
elog "For more details on how minor version slotting works (PHP_TARGETS) please read the upgrade guide:"
|
||||
elog "http://www.gentoo.org/proj/en/php/php-upgrading.xml"
|
||||
elog
|
||||
|
||||
if ( [[ -z SUHOSIN_VERSION ]] && use suhosin && version_is_at_least 5.3.6_rc1 ) ; then
|
||||
ewarn
|
||||
ewarn "The suhosin USE flag now only installs the suhosin patch!"
|
||||
ewarn "If you want the suhosin extension, make sure you install"
|
||||
ewarn " dev-php/suhosin"
|
||||
ewarn
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
local sapi
|
||||
local slot
|
||||
for sapi in ${SAPIS}; do
|
||||
slot=$(eselect php show $sapi 2> /dev/null)
|
||||
slot=${slot/php/}
|
||||
if [[ $slot == $SLOT ]]; then
|
||||
ewarn "You have removed the active version of the $sapi SAPI"
|
||||
ewarn "Fix the issue using \`eselect php\`"
|
||||
fi
|
||||
done
|
||||
}
|
@ -1,7 +1,24 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX libebml-1.2.0-makefile-fixup.patch 3568 SHA256 f3d1432c6b9b72e12621cc11679d80014b93ba553f8b20e0870f15147a922929 SHA512 2453b0fbc4401feb5f7fb32791bdc8aab02be0aff674df776f2b1f33da23e03219978c887e93f111b85af12088fdceba60c4869584ab397e0af8886cf2cc2eb4 WHIRLPOOL b64989f758fbc7e9fc05e0df2c9d432571887895d6c453d6a22d9321c0c75b6e402f871f41b3700bf931a873e1ea4bc6d4a8462c651640b741282220e3f80abb
|
||||
AUX libebml-1.3.0-makefile.patch 3291 SHA256 50d2fd586ca057bdeb4c000047de09b853594c2c8fae8e5ed299e651f228a72d SHA512 d88b94bdf1497a400bbedf48db9501310e8511632d5972134c931b790ffc15dd5bf74a2c8f297c0457734a5972a485b3a2bdfb6e681c2beef0f96c11cc526db1 WHIRLPOOL 118348a769e06e16c7b127a72da8cca287396d7e8d7d88218827af6c891f9ac70980544d25e93fabafda9777d8ed4fabb4597846044f49ce49fd0b1de2913638
|
||||
DIST libebml-1.2.1.tar.bz2 60662 SHA256 8f9e06630eab83f337d280d38eff53e41e030530015a4c423d509a20f6ea81b2 SHA512 c8bd4d903fcd6ea70cd6aace2096768c7e62deb8ddd41d354b71527d6f4595f06b86169996f2ed56e1da0531b9f7ebcac4c9ccdd2e208614f7cd3271b8cf0f4d WHIRLPOOL 4d1207143fc618b8c0f3d93aecd9d1f063845486c9ddcdaa7cd697d9e27ff01dcd31526c52b33e46e4fc5191689009e7960ebc384321a90a34e7c4770f1d6b17
|
||||
DIST libebml-1.2.2.tar.bz2 60802 SHA256 476b08c6436a96c024a53e788e7c945ce9b41cd8654165763444aa7e5245b7a5 SHA512 aa9b446aadbfea6cd7031a08a8cd0251a764febb8ef43ee3ba44d066b945698311bda7db6bb2d983d5f0c1e24f108ae4cf1c6551b04337210b13daf7e2236135 WHIRLPOOL 5bfa5ee38b9e4bb6cbc8bc27e949e64621ecc8fe3cf76a0686c85b53579d80ee53bca520ef70b9af13bbf589fd51e5f20eae908928ee0b651d23951a532777e0
|
||||
DIST libebml-1.3.0.tar.gz 70425 SHA256 cd48a6d943905afe877e86f421647092956d71c7345dc9264a5123750ca8b158 SHA512 804b8e9e29add421304ef104f48170ee434cc97d6063dc4338b7fd6ad559733ed1bffd8440146674b70b3d6906f45ded4cc482d606c94c8c04bf424fd85c366e WHIRLPOOL b5656fa835753bee8b4cfa995db220de85d69604d7332e793c6b45c13100e4041e0fee8517940bde600909b529d3eee959340d3f997b174b249f13c4183ed5cd
|
||||
EBUILD libebml-1.2.1.ebuild 1146 SHA256 1041edbe84660d0e0f058887bd9831232ab4d4f0474816b0082beca22120da0f SHA512 a8ef627ba9ba2b44b2b947feacc8030681adc85edf7232de6aff08af5a8fc6520b9599ee147d00593f40defc995fe66e82c0bd28675753fcbc2b8c9d2bf55e69 WHIRLPOOL 4a408e66bbea2f22ee806f71cc14cbb1cc30608d7721e3b19399fbed68e730bfa4507be79f460911dd707799fc543d2500f3a133c1b5240554b748914a8c431f
|
||||
EBUILD libebml-1.2.2.ebuild 1587 SHA256 7ab161250f8b77bc6220b9b208844180f8347fb595fd7a7b69ef4beef0e21500 SHA512 34c1c4d4c596e7e04fe8c00e5543563f755d7241ed142858beb8bd8f42e452ff878445b46d8b54ba685502f4cb76b92eb194d2172a7819d79ad68c8ab849f9a2 WHIRLPOOL 911986bd73f914cc2e32a101ea5e0990228a2b8a7e79e2eeee9b02937f81b5f4ec9945c6a7ea252f66db9376d2246ccf3b5eb98abbe6689c6f92320a02bec8a6
|
||||
MISC ChangeLog 17077 SHA256 306f59f93f18211b88190d9926fd0933b46b6dc08d27cd9b19b40fabd26b2d2d SHA512 8d5cdbc531a0ea9531febd8f42cd324532151ff9448e845717100b70c5a47d54ab086185e0786d895d39630a5b0ef8d4343195f7ff4f1e1935fb32e65145be2b WHIRLPOOL 6bb336f38294251fa644a90dd53aa833b33cbfb56d4aa96ead27813441ac112e21a775ec1cb8fcd1fbf04331d11943fb2558f9f20b9f0623f038420c775a012e
|
||||
EBUILD libebml-1.3.0.ebuild 1702 SHA256 972b32726f043980e28ad8191b0bf3bdcb66bf6b73c039a60934f4f46840eae0 SHA512 580e5fda9c9b633448e1baf97de64921bc29ee43ad09fdaf7e58ff5702176bf492a707c3d2e56d746c8293f003743ca20505e1cdaf1259a55d04568987cc38d1 WHIRLPOOL 22f224d335bf753c953e76b77dcfe4a77f4ce1ed5396df66d3f392fa3f95e3946b4d396f4e728b6dc3aae27233be9febea069f258360af3ebb9c7ae8e3db4a0c
|
||||
MISC ChangeLog 17252 SHA256 d6f6fb31833520385f5c8bed0e149fc01bca583a4b91c5949bbf0886e601dbb6 SHA512 92c13ca5d7ea96ca658dc9f58379a0cc5fcfdd9798ea84af93a6a7e8a91d312388b20157a92a8a8db5a6292265cfd80fb729c1517422c7067bda330c218747a9 WHIRLPOOL 38097bc1f71081a02ea14dfda7e3b67af417918be43da8386f763c2d1bd10348ef109a8e989e4606672c4d190610bc44c4aaba1279c8191f66824c5f38af5ec2
|
||||
MISC metadata.xml 225 SHA256 1a7f3e805478b42bc379b2a36944579d34d7e66ba5bf418a651e1cd58ad0a7f5 SHA512 79bf53ca11044e2cbddf8ba8c661abd2a6f7602748ef4dc1d1a3447d4f0e5a15a4d69f6e1f60e0f854465097019607a6fe7157906bc41ddfe41fb747de3ca7d6 WHIRLPOOL d257430e16390fc27365e2f58796f0f0b7c2c818f1bae76bb2a13b7971e5d33baa9d8aa33a12605653d05e0c7bd52b020aa96b737c56ac1038c32897c481a12c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQEcBAEBCAAGBQJRSs54AAoJEEqz6FtPBkyjsfAH/jNNqbhF2VwOn1DL/RYmV5Xy
|
||||
rtFXDAHX70/dCe+KTA14pqa0GdMowDxtEj9BT/AD7CkcWzX9KIqosw+ZbzIM65uS
|
||||
mp4gCDJdF/RL0FJbsCUckTa81qSKGZ43Hy20Y2oy+hLNPvK6erlGQcwOCSj68YOS
|
||||
I2r8WdgN0FU05W2P8x33NN5ZGQBRRsIfqBA8dQgeMrR0Rl0TunDTgVKtmalEpD59
|
||||
En77yVaAdkiNAPVl38SXhlw0q25jejB+MWOqax/f2KKqNIMQeapV0dJGAcgjzJfn
|
||||
whcte0ORC5aZvFCSaD4RuBhMqOT+z2gy+X0CxEspbABinH0oKpFNFCmlN4Jh6X8=
|
||||
=ivDb
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,102 @@
|
||||
--- libebml-release-1.3.0/make/linux/Makefile
|
||||
+++ libebml-release-1.3.0/make/linux/Makefile
|
||||
@@ -50,6 +50,8 @@
|
||||
LIBRARY=libebml.a
|
||||
LIBRARY_SO=libebml.so
|
||||
LIBRARY_SO_VER=libebml.so.4
|
||||
+LIBRARY_DYLIB=libebml.dylib
|
||||
+LIBRARY_DYLIB_VER=libebml.4.dylib
|
||||
|
||||
# source-files
|
||||
sources:=$(wildcard ${SRC_DIR}*$(EXTENSION))
|
||||
@@ -66,7 +68,7 @@
|
||||
DEPENDFLAGS = $(CXXFLAGS) $(INCLUDE)
|
||||
|
||||
ifeq (Darwin,$(shell uname -s))
|
||||
-all: staticlib
|
||||
+all: staticlib macholib
|
||||
else
|
||||
all: staticlib sharedlib
|
||||
endif
|
||||
@@ -75,8 +77,10 @@
|
||||
|
||||
sharedlib: $(LIBRARY_SO)
|
||||
|
||||
+macholib: $(LIBRARY_DYLIB)
|
||||
+
|
||||
lib:
|
||||
- @echo "Use the 'staticlib', 'sharedlib' or 'all' targets."
|
||||
+ @echo "Use the 'staticlib', 'sharedlib', 'macholib' or 'all' targets."
|
||||
@false
|
||||
|
||||
# Build rules
|
||||
@@ -91,15 +95,22 @@
|
||||
$(RANLIB) $@
|
||||
|
||||
$(LIBRARY_SO): $(objects_so)
|
||||
- $(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so)
|
||||
+ $(CXX) $(LDFLAGS) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so)
|
||||
rm -f $(LIBRARY_SO)
|
||||
ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
|
||||
|
||||
+$(LIBRARY_DYLIB): $(objects_so)
|
||||
+ $(CXX) $(LDFLAGS) -dynamiclib -install_name $(libdir)/$(LIBRARY_DYLIB_VER) -o $(LIBRARY_DYLIB_VER) $(objects_so) $(LIBS)
|
||||
+ rm -f $(LIBRARY_DYLIB)
|
||||
+ ln -s $(LIBRARY_DYLIB_VER) $(LIBRARY_DYLIB)
|
||||
+
|
||||
clean:
|
||||
rm -f $(objects) $(objects_so)
|
||||
rm -f $(LIBRARY)
|
||||
rm -f $(LIBRARY_SO)
|
||||
rm -f $(LIBRARY_SO_VER)
|
||||
+ rm -f $(LIBRARY_DYLIB)
|
||||
+ rm -f $(LIBRARY_DYLIB_VER)
|
||||
rm -f CORE
|
||||
|
||||
distclean dist-clean: clean
|
||||
@@ -116,30 +127,34 @@
|
||||
done
|
||||
|
||||
ifeq (Darwin,$(shell uname -s))
|
||||
-install: install_staticlib install_headers
|
||||
+install: install_staticlib install_macholib install_headers
|
||||
else
|
||||
install: install_staticlib install_sharedlib install_headers
|
||||
endif
|
||||
|
||||
install_headers:
|
||||
- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)
|
||||
+ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)
|
||||
for i in $(INCLUDE_DIR)/*.h; do \
|
||||
- $(INSTALL) $(INSTALL_OPTS) $$i $(includedir) ; \
|
||||
+ $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir) ; \
|
||||
done
|
||||
- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(includedir)/c
|
||||
+ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(includedir)/c
|
||||
for i in $(INCLUDE_DIR)/c/*.h; do \
|
||||
- $(INSTALL) $(INSTALL_OPTS) $$i $(includedir)/c ; \
|
||||
+ $(INSTALL) $(INSTALL_OPTS) $$i $(DESTDIR)$(includedir)/c ; \
|
||||
done
|
||||
|
||||
install_staticlib: $(LIBRARY)
|
||||
- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
|
||||
- $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(libdir)
|
||||
+ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
|
||||
+ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY) $(DESTDIR)$(libdir)
|
||||
|
||||
install_sharedlib: $(LIBRARY_SO)
|
||||
- $(INSTALL) $(INSTALL_DIR_OPTS) -d $(libdir)
|
||||
- $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(libdir)
|
||||
- ln -fs $(LIBRARY_SO_VER) $(libdir)/$(LIBRARY_SO)
|
||||
-
|
||||
+ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
|
||||
+ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)
|
||||
+ ln -fs $(LIBRARY_SO_VER) $(DESTDIR)$(libdir)/$(LIBRARY_SO)
|
||||
+
|
||||
+install_macholib: $(LIBRARY_DYLIB)
|
||||
+ $(INSTALL) $(INSTALL_DIR_OPTS) -d $(DESTDIR)$(libdir)
|
||||
+ $(INSTALL) $(INSTALL_OPTS_LIB) $(LIBRARY_DYLIB_VER) $(DESTDIR)$(libdir)
|
||||
+ ln -fs $(LIBRARY_DYLIB_VER) $(DESTDIR)$(libdir)/$(LIBRARY_DYLIB)
|
||||
|
||||
ifneq ($(wildcard .depend),)
|
||||
include .depend
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libebml/libebml-1.3.0.ebuild,v 1.1 2013/03/21 09:10:12 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils multilib toolchain-funcs
|
||||
|
||||
DESCRIPTION="Extensible binary format library (kinda like XML)"
|
||||
HOMEPAGE="http://www.matroska.org/ https://github.com/Matroska-Org/libebml/"
|
||||
SRC_URI="https://github.com/Matroska-Org/${PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/4" # subslot = soname major version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="debug static-libs"
|
||||
|
||||
S=${WORKDIR}/${PN}-release-${PV}/make/linux
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
||||
|
||||
sed -i "s:\(DEBUGFLAGS=\)-g :\1:" Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local targets
|
||||
if [[ ${CHOST} != *-darwin* ]] ; then
|
||||
targets="sharedlib"
|
||||
else
|
||||
targets="macholib"
|
||||
fi
|
||||
use static-libs && targets+=" staticlib"
|
||||
|
||||
# keep the prefix in here to make sure the binary is built with a correct
|
||||
# install_name on Darwin
|
||||
emake \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
AR="$(tc-getAR)" \
|
||||
CC="$(tc-getCC)" \
|
||||
CXX="$(tc-getCXX)" \
|
||||
$(use debug && echo DEBUG=yes || echo DEBUG=no) \
|
||||
${targets}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local targets="install_headers"
|
||||
if [[ ${CHOST} != *-darwin* ]] ; then
|
||||
targets+=" install_sharedlib"
|
||||
else
|
||||
targets+=" install_macholib"
|
||||
fi
|
||||
use static-libs && targets+=" install_staticlib"
|
||||
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
prefix="${EPREFIX}"/usr \
|
||||
libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
${targets}
|
||||
|
||||
dodoc "${WORKDIR}"/${PN}-release-${PV}/ChangeLog
|
||||
}
|
@ -1,10 +1,5 @@
|
||||
DIST bitstring-2.2.0.zip 584654 SHA256 7c39ffcc2a2d62f6ea5a0114ea903c9bafd05056c94d5385c56d04bb9d0f4a3d SHA512 a8f0908e91bfcb0cc862ab1a7586a7863792dc9e31e7a87a7bc61df701feb8a475391e30c0dfe7999d1c2b856646576b0d25e1336f0d1509ca30e9757c01cd9f WHIRLPOOL 5cf0739b7d5492c3ebea877a588bf4080decdcdb147dc8708fb1a05088394f7879664eedf2959cdc240a3ec87c7b13b726279053cea85361f4917c5c5c306aa1
|
||||
DIST bitstring-3.0.1.zip 623680 SHA256 d75d20f1c4c7543cf500e95eab9596877fa1c4d7d9952d7402dae77dc410419e SHA512 9a9728cc513d1692d4f4800b43b5de36841d49620c63cbe637fa06cfb554f23bd6276b51a096a71f649a4adb8b905127332f517e7f214f48a672502611c603da WHIRLPOOL fb8f15991340662cccf8a0e2936e8564734f54d145b6529b91985b6d27441debb2b22e1a197e39216159b93d875bd79106e7e1547462574d2256b72c62031780
|
||||
DIST bitstring-3.0.2.zip 618856 SHA256 1ff42c7192b694774e09ad70a6dd40a0e655ec022ed4f090c929ea69f21b8ebc SHA512 6b0f4d926b693a2c9f28a61902000a446ce76778a0e31ea845891fccc3bdbe8b5f369a457fcc653801777c0c83a801a663a77c932fa4d6233976fad142987825 WHIRLPOOL d402b12d4f589bfe256944508fe6d8491f829907f32ac451d560222bded611bbeaf28e36c659e0d5967a2a60bcf1de5e3c8b35f7fba25a98721456beafa0608d
|
||||
DIST bitstring-3.1.0.zip 620245 SHA256 a85b382481985e1382de09e9e00fc4e31ef7c2f36c2f0724c4d008a9a0691c3f SHA512 23e4b7584acce15e452900d7354284dc75cccddee3bbedfcfd53c955af3ae701ee2f089dd6f019e3960b9b86f22b80b92786b2e85ededa48ad33bb02c3ff797b WHIRLPOOL a9fa999d832c12d9f29297e1937cea482f2af9841b950dca3ebff906085e4543770292cf1b9b62f50b27b41b1ef1de8d2f8cc80051ae3483414dff861afbd73b
|
||||
EBUILD bitstring-2.2.0.ebuild 747 SHA256 a36146d1d1da04ddbea5fe661a4241e14cea4b7220d327b36ee36511435aac2f SHA512 59798af500365a923c1bb8bcc4bfbaede373dff59c53c38897e0ecbd4a843651e3f103a3970b84afa6bfe7636cb734053bbe92618932f7f1fd81d4923b3221ca WHIRLPOOL 0bef462f661378b83f9c07b33f62b186673831318346f649cedf0a3f8f73eabf100462d0fb433c887f8eedb0266380876729be65227d01d1efec8ce2d158e8ea
|
||||
EBUILD bitstring-3.0.1.ebuild 747 SHA256 45c0c1202f0536e50421a5a324a411148dd9be6aa85e47d2d6af4595a39537f9 SHA512 920c629255e3cdbbea0155f8dfe85fcbcc6286895a6ec9241b10b2ffb9c745b842e7da977587800c305f3f84fd84a1c3f9b24383969ece76f8aeb16d3cd82c3a WHIRLPOOL 061ad8d6ef2b3cabde7fe3368b8bb4982b28b1087664444c65016ac0b3fd288b370d66a151de91f4e39f9af1373a08cc55b678fc193898517c11eada4ae4cec1
|
||||
EBUILD bitstring-3.0.2.ebuild 747 SHA256 f98ce5529bca38028b81700208cf46f2d204b753fb96be7aa48363fce9107d3a SHA512 df3bbefd06adb0268911546560745c257e5668755078e9ce2d5f865edd07be3dc6b7c86c17687919c2209a76f3047b3136b1de02228d889af58021f6cdc81d55 WHIRLPOOL ab6fc25217055a2914d260e29ee3101293dfd0744a93ae8cdebfc920849802e763d1d5f9c104a7e5d5ad10ea25f0c10b7b75f9a346eb9b21dc8b277efadedcb9
|
||||
EBUILD bitstring-3.1.0-r1.ebuild 1302 SHA256 2ced1f954118d70b8e3b44790dac87f02f3da3eb2fcd615984032cbdcd6ad935 SHA512 fb02d6b6caf01380c8efbe35c2adbcc3ee4cb0870883b7e87bf2dcea0cbbf1d77058b98c337da0eb48437863ff884aac52aa5205d08208bd9b8785ac8adca201 WHIRLPOOL a1fcd1176e72042dffdfc71ef79fa1bd5ad281a4c9b74a8b91ebf59d4853fe7f4671982fa61fe1beef4cb9f710ca504578f9c933df7300637b07a1fc00ec99ab
|
||||
EBUILD bitstring-3.1.0.ebuild 747 SHA256 4836675891464a3743d4049b2525e2fa081e72b829fb2b41c7dc63d4402a8425 SHA512 b135701a300dbd9a5a977004f5d69aed32d69c40d368e5c4775525d13afb28db7d2aa8ef05319ffbdffab0b74450d5b82c2a37c7b139647cf3b4046ce0d99423 WHIRLPOOL 2c854eb4cd4adc69e4027fe53168665a53a4bb385829305399add0527aa58f0425e8225019b9d050a606f2ae52596ab773649a7b5d1162e9887addd7816fb37d
|
||||
MISC ChangeLog 1264 SHA256 082cfd83b7d9f7eb2028497f49838895354d8df07d60d4eac21a2f14fd30a3e1 SHA512 b807ee3f02d1b4122f4f8849ac71515051b0d1a015672a61b0b1df6377c41a3c4f3263b49db8f36030813ed4fc91cd5168a6c8b7bc58f14eda2c8a86a772aece WHIRLPOOL 1dd0d8ce9ff2a6f52e1c2509b3da0394bfda191a3ac1c7640639360e4dc186d3fd00ea3ef1cf20337e2fe86d6e29f6d69c06f6efe0083aed72bbb460a1db04be
|
||||
MISC ChangeLog 1500 SHA256 270f894dc34ada961e12339b705f882b8a8921846c9342307a198403ed23d7f0 SHA512 acd3945d3a53b14464160c26dfa46eae67f852459d94115f2505bb07528d639def1fe5e771aca5161f40bbb61609a9463ec52fdd7870b16e169d88ffff8c9ae5 WHIRLPOOL daf40cc64dda8903dbcec4b9e7547da2b55e554810d40205e8ed9f424d89f38389ccc1ddaf23ee609a495aca820141f6fa23c3a9193ae5c99c7e0f0346e1017d
|
||||
MISC metadata.xml 499 SHA256 203005944842e7ab894bfa0475d7c984945f68fef9423d66c2d22163ee16423d SHA512 ffe7fc48209304b539c835c327112d8ccf3e923f4b2db4d4da54c71ae4a3cc22a83e8bdc00fb1e4ec761e47b3033343a88f74a16a1d15c8e8434061e46cd221a WHIRLPOOL 78ccaf0adf758789861e37d536fad9e9851d6c1af7ac36ad0df1aa8780b95e9e58c44842cf99b29443495ac1eb2d4c4d1d1c0fec2d7fbb055a8398be9de54c5c
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/bitstring-2.2.0.ebuild,v 1.2 2012/02/21 03:38:15 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="2.5"
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A pure Python module for creation and analysis of binary data"
|
||||
HOMEPAGE="http://python-bitstring.googlecode.com/"
|
||||
SRC_URI="http://python-bitstring.googlecode.com/files/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" test_${PN}.py
|
||||
}
|
||||
pushd test > /dev/null
|
||||
python_execute_function testing
|
||||
popd > /dev/null
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/bitstring-3.0.1.ebuild,v 1.2 2012/02/21 03:38:15 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="2.5"
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A pure Python module for creation and analysis of binary data"
|
||||
HOMEPAGE="http://python-bitstring.googlecode.com/"
|
||||
SRC_URI="http://python-bitstring.googlecode.com/files/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" test_${PN}.py
|
||||
}
|
||||
pushd test > /dev/null
|
||||
python_execute_function testing
|
||||
popd > /dev/null
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/bitstring-3.0.2.ebuild,v 1.2 2012/02/21 03:38:15 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="2.5"
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A pure Python module for creation and analysis of binary data"
|
||||
HOMEPAGE="http://python-bitstring.googlecode.com/"
|
||||
SRC_URI="http://python-bitstring.googlecode.com/files/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
PYTHONPATH="../build-${PYTHON_ABI}/lib" "$(PYTHON)" test_${PN}.py
|
||||
}
|
||||
pushd test > /dev/null
|
||||
python_execute_function testing
|
||||
popd > /dev/null
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/bitstring/bitstring-3.1.0-r1.ebuild,v 1.1 2013/03/22 12:30:55 grozin Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pure Python module for creation and analysis of binary data"
|
||||
HOMEPAGE="http://python-bitstring.googlecode.com/"
|
||||
SRC_URI="http://python-bitstring.googlecode.com/files/${P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
pushd test > /dev/null
|
||||
PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_bitarray || die "test_bitarray failed"
|
||||
PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_bits || die "test_bits failed"
|
||||
PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_bitstore || die "test_bitstore failed"
|
||||
PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_bitstream || die "test_bitstream failed"
|
||||
PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_bitstring || die "test_bitstring failed"
|
||||
PYTHONPATH="${BUILD_DIR}"/lib "${PYTHON}" -m unittest test_constbitstream || die "test_constbitstream failed"
|
||||
popd > /dev/null
|
||||
}
|
@ -1,12 +1,32 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX kombu-2.1.1-add-assertIsInstance-with-unittest.patch 467 SHA256 a38902c382dbf9b062751f69bf1cabe0807144c597c1c3ccb770f48618e9852c SHA512 cc4764547a267b7573a0f6b58ee5cd6b7967f688d4dadf6a082cfe4a257f0b6f0ad645a50e1887727d14b0b61487b0b888c5f6f6782c2cac1663cc668d49a24a WHIRLPOOL 0a8a94eb5e2a951f932548f47777017d8e9543bbfc1dc97351e750ab7a620f79f13b67d783eeb16d28eb3d54b7c2fda6b65c753e6226e91ec738dabb8262f23b
|
||||
DIST kombu-1.0.4.tar.gz 201925 SHA256 a876b9dd923e2d719afa7491e6d7a90829ebc9d836d8c4f71332984042693140 SHA512 fd321400c8b28d445f7665322671f2311b336d8ef94ca26ebcaf2d30b02a81d312564b863a873cda2df9b5f0f62a28bfe10b52fc21ffa89b3e66a4caa9fb1df7 WHIRLPOOL 0f1d4e918d194860798292d28e6f9a21b5ee6939a5ad2bd6966aaa2d77c171d5531006ba206fcef8fdd264e53799a7aa2ff7958158b69076796f9cd4489ae5a5
|
||||
DIST kombu-2.4.10.tar.gz 291204 SHA256 211cb68b133578338aac0990d31d9255ed54b5f1861fb2cd54c1bb28bdbc8a6e SHA512 e2d10d2d3c13072b079e29f12094b9a88e55f58e1368da1ebc0eedface3c1e0bdd5d3d7ac00469027051b61c3285a30f7b6d47a0fe8345d8bf04cb2a7b1f8748 WHIRLPOOL 6e4324dbabc1a61c7f4596e6bd54d750fc6f39f28e364c13213f130149a070153bd36fd76e2fef3ceaea4ded4cd79b3cc1c3708a2da20be4c5f1d06a2fa3bc6c
|
||||
DIST kombu-2.5.4.tar.gz 300506 SHA256 92cfb82af1d3e8753258d660003769461b75abe0f1a03d720709a211042f358b SHA512 5b6ba84de66f3b86b68778d1473cae4ddbab96f27aedb0906d258b496be3180fcd72c387bf76e46f98f899090cd1f9d25e38a8278b903759127a3e411c581604 WHIRLPOOL c94b54b35536a287ebd16b7f18634a918cba03702d38ccc70391671cce3e29e1a1ef7218bb853bad205eaa58740a3f990af80df8d71fed7f3e507f345dc358c7
|
||||
DIST kombu-2.5.6.tar.gz 301670 SHA256 01c0ba72782535df913b519d6509835f8210b4dbfde652d3a1c6f545d737beb9 SHA512 f67354d71ce5f187aa7e914e3e1336ec7b1deb2cba376784b7c9998eb5d12daf4510d0071670f4d3039e8b0b570fed772558b28a37d1680af29721e7aafa7791 WHIRLPOOL 3057c8835cab3dc6ac3ecce8cd36279c61d1b1a40b44cf506fc61d82b41d5d0c3b57cb514d33640010ca313a8d5a4efa60f4bb4a326e0e2b2effed44738d8571
|
||||
EBUILD kombu-1.0.4.ebuild 1722 SHA256 ab7ffa171812f8fd4a0cbce84e48533b76eeaea498278ca2c0f8e66e8ad4640c SHA512 cf1ae332caec133662382b4169ed6316ff8ef61418e8f9d19e050d894b2491f92dddefdc615452fb9c162cfa0000afc75bd743e50bc9bc56015216fe81105db2 WHIRLPOOL 020e6890ba7bb3eb46fba2d636598be46acdeb43fbfe450dfb25e34f18c5ce92ab6bc64352bf8ad33c540280424a69464879c8e18cc473b394da4b2691523a96
|
||||
EBUILD kombu-1.0.4.ebuild 1720 SHA256 07500957aab20081f7869e98faa5eb66b38a238534a7d6948dffe22f0cd114d4 SHA512 71310681131f66dd2c00965c5bd8e3e853bfdb8340c15e5856087ba23a0e2f4ada78132f09cf8eb1d987f401c9818da7c7cc313923d8c3c39a09f57a4c33d552 WHIRLPOOL 1e457496d005ad94b514e8b97d1c8d4df6eaf503635bbcc2fac4f269c3f0536820ebe1d505997165e17c6df3421f44cf4fdc991e4538f3930b3c84c0fe1b41e2
|
||||
EBUILD kombu-2.4.10.ebuild 1715 SHA256 37a80da2922453deeb6c3cf390a8e06f116044480aa1f4fd5f3072f80fe2941b SHA512 d6120508d00395133937902690e8157bec9c54f8ca694f4a5ba71f98f9417ee320f7287979addbb03dc8a9858209acdb7d98cd964524f54843c10662350c8fb2 WHIRLPOOL 92595c85039176a899ea037d712f6016b03cff64fa38611fdba9009d437afa103ba1a364d823e526a1fe40c88c143d6a778e9550337b1347e31e4c591bc05c28
|
||||
EBUILD kombu-2.5.4-r1.ebuild 1774 SHA256 24ba8fc9901782a2b1b910aa48e5a03e8f1485e0a389c8110a84dc21d22606e2 SHA512 212277b03a906f1f60c391e96c12612b9da37a108df045807148413859078eadc7882665d8dd11f4e5ca3f75c6c48e0f651028456a48c019c933cdebf7f3e090 WHIRLPOOL ab234102e82448fd465d986950b93abb03a9795389b8e67f816f334133139bca58a54ddaccb6bec1214529f9a4996938aab66b840ff326f8a2a865fe814dee29
|
||||
EBUILD kombu-2.5.4.ebuild 1737 SHA256 3c6a5bf33457365b50bccf1ff587d0a50e6205766262b2951f49889021e93142 SHA512 77e5247696a57371280b0f2ccc906ad9ce849f612ec40475d013e1e6ce3c2bb78ba8a81f34c5eb9724a346ae2f55e08fcdac33333f9ca3af678cb30d1be36b38 WHIRLPOOL f8d5baee045b9ea09c08b686b0b0ff20bd85c152b83e1829fa867bf296c166953b0cbeb5d8d386a9970f448bfabf73c6f35d803c360fcb33d2091d89a1772098
|
||||
EBUILD kombu-2.5.6.ebuild 1771 SHA256 5453c0c46a30bedd28a85998dd19c9fd8f91129332042fb5796cfd5a06495d92 SHA512 cc36234cb74fd3ff0c5aef70159bf5b517c85d8ae97a36d7aceb584035b3246892048784b077e00911113a95c2a76bc59cc3393b343ff5841baf55de4e283759 WHIRLPOOL 0fa04938c22375d9babda0d6d0fd7ff28569f4f4d4444b540b79810b783ba8d4dcc74e03cb00f2c073ad8577ce80e3af12b71d5c083966b245667b3009613412
|
||||
MISC ChangeLog 3131 SHA256 5c4392ea3928120a00445ca6e278d40b38b5065e68464ea44709c07ac42ab776 SHA512 6660825c0320a76242ad175394a3bc82bd39b8e308846b0c09a4eac458951ebb2c85aab17aa7b47ea8d75ee9a56bd1537ad694732d9521357dc2f030af1817e6 WHIRLPOOL babeff4eca21ea9c31413150e21c9659fa042387e169e6e16be2fa0c24aae4d49dfdff53486bb13d55cacd3f12393a997dce6b36747dc311b6ac995db0d632ff
|
||||
MISC ChangeLog 3306 SHA256 b1db3dd9b9c887f87e993ca9c58016770648e4b9c36d00a89a1793ceca2eb71f SHA512 9d4abe0eef175d6a833f20cd14e3e6a41d2005ba5a36bbfcece18cbea76bcf42361d6a53e6d38ab357c00b9bd830b90142a795b044b1ce7bfe18e97d28d751e5 WHIRLPOOL c081dffd1c2e95dafc6612b03682a7fcaf37fbdb5bd83354e44e99bf54b4d618967e0ba1cab9e586951cff0e22e6349bae310ad1b18ae66f320f291997a6826c
|
||||
MISC metadata.xml 442 SHA256 db2c85a2a5fc522803bb17e2bf90be7267379e3dd3c8e39d7c7b85037ca38d49 SHA512 eb393fdc027ca9963457582caec128c33beddefcf2fcb3c0367bd87d41dd7d99c5a5af523ce669d5b26d741695d86d8407642e5b8144ccbddb238d84ca646e1d WHIRLPOOL 02dc4dd964d585336151f31c2ba620bc277863e7b36bf1b45c8a197fd9397ef8ae0bf5f7c68b9476c4adf6bc9ecd1cc73779ba816d80110db5780ff333cf363f
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRS1Q4AAoJECRx6z5ArFrDD1QQANjhk6wgL6Y/17qMRNG2E11a
|
||||
9GNdB4R/WsG43xbau/egRUWKU66bPxSjUdDA8ZunTdUh0llu5h1/J2foGNDwavYc
|
||||
1knlv1x3yxR7BFcTncP0cbdiqF6194ZOKw0yaFg/AH7p7i/Fxvh8UeOfHIVxTlfj
|
||||
xvxNYSltp4FyMyB2tuX8GJTh9eA+IsS9VG+wU4Y92cxhPygc2viVLs1eRl4GqLKT
|
||||
sVERq9ri4b3e6B1In2PG3bv+220Ul4jz7ABzu0DGCaOcnbduBhUA9jCLw+7lg2DQ
|
||||
V+N/7fOi5xgBaYe5GcBNUbqugxvROEgbDpieAJFo0FzhC3nQu+3kiaOpUeTyPdBs
|
||||
f6XpQjKgf6vJeEaH0fNO+lHABMwFXF7A4oMh5Qxxh9CH6n/JvX7sRi+Oar5UmE3d
|
||||
rjnSSQSLWestweKHM0Jmlom/eZQQq94pzVej/EXVCIq76Pbmfvg9nIzWSdrH6z78
|
||||
AwOKNW+PydwGf/CIgVqIqcN6mgZJTVEs6buLNkNSMlOTzx2t+cwTDMAaMuiXiZK+
|
||||
qd23ST1SOgLUNrRxQ/jCj6fjAz8YRr3KlmFTat7I8koVQbbtCDr0Jc5PAJ2AcHxB
|
||||
zpnBBaqqHkOhf2cNZ7QLwXNdMzs6NLb5rH1mVBicSu8nG8HUZ60ilzeY00z7n2MM
|
||||
WIhR03QfAew/FKsjOveU
|
||||
=jKMi
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,16 +1,16 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST milk-0.4.3.tar.gz 83072 SHA256 ac34d688a493ccd7ff45e79b2638fa0b26e4260c725f179d9b3a8f17c2a18fdd SHA512 9350b0e60550bad7dd44b77b252b6a061a693fbd8ad2fa4b5cac66c8b2c59d21e507f71f0f3f7aae626e5ccec8625f050a0cdeb61948efb6bd9a9e4c116f3137 WHIRLPOOL c4de15da8c89b4e55424f3d948d80ec418be838b6063fc8bed7d1bcb0ce1ad324a0e9f9c00136659311ef28b758486b76db3c0e1ac7c7888e9cf9898da5a4edb
|
||||
DIST milk-0.5.1.tar.gz 623685 SHA256 f7fedd0f50967130bc0ddd6c1ce99a644305855d1d2d3c5d6d36b103bb749d37 SHA512 3ac6811f4c15b65de87cae0089ce3fd8372d4b349ea9b7e49db581dcd29e27baf6e33ddca9c6d96e832ebe499e9032de253da532d3241fbbaa4ac124d97a8386 WHIRLPOOL 096fee2ab0f5676c1bec9b3876f43a1d12eab215c5931bb2306d77d466924b7f0d3ac3fb026265cbed0123dec2f6eb15f917be060e7ddd5bc677a2c93a7da0da
|
||||
DIST milk-0.5.tar.gz 135964 SHA256 69be63eb301873f5dd39a23e669a671ff68ff118f328907637f839445a29bec5 SHA512 b9f818a23bfbd9ef2726bdaba746fcb693af1aaa8471b0211328b4c70e25e01cb95e6c0bc663b49284398d1da1e9ee8c5d073546a331ff11831274cedd1c0e5c WHIRLPOOL 0ed09fead5b4c560ab02b08cb680eb2d4864e38f8be5d902c89927497c02ffda6a325c1a2b2ec5bd9ad7753ace48c861c063b1851104119be22a7f7f07999ce1
|
||||
EBUILD milk-0.4.3.ebuild 702 SHA256 c72e20b399b7c0b5517b9266851bd2f56341977d71c1b26491ef33a1e555ac62 SHA512 dc96367109c3da032ac9efd06144c22cce218619ee77b7f140b266082537ac648e49f979c49634c019f8a05710911642a905fc1db8c9a7bb89483c39dd0a54e0 WHIRLPOOL 039beba0f7f2e207e15c26c1718b3da2d4316787a2239551506c8ef3a11c0491c61352429283a08e7fe9a3c2c31cc97c75f83685e95e46761afcf820ef7e753f
|
||||
EBUILD milk-0.5.1.ebuild 653 SHA256 dd82cc5b7f1b0427e5d243f1a2cf6a1969560e5673cd08b060db0fca9d31487c SHA512 c7fd6793c001a07b6f040ed2523783ecfaf7f1b6b99deb1f5ed89ba7eb571ee52e9b58e446bcb443052d9a619bf6c0b0e61ca1da8f9ebd2a55046103ab110aa2 WHIRLPOOL ff61a5be0c256ef8d9476586fb7e92465872bc393acd293cacf17ff5d4ef155bdd1d4c8807acbb74dbd099d0771690393d2512dafc4f3250534ee3c684177779
|
||||
EBUILD milk-0.5.ebuild 717 SHA256 d6a0cf544ccbcb793c39354d300bfae50ce663416eb91afe6430b6f3f4e1c39e SHA512 8cca88c177ff289421548752ac606343b596d4179230b52ef25337d36bebadfbdf0e656e3f3efab286502a79e52c4cd029f0ab2c00449af9682bac7e2f145a27 WHIRLPOOL 9daedca1a169de7778319dc7cf6e39ec3f7425f7e7f33ee7a6982663708ced6b05d2a75b629d04a199545d15c6deeaf8116330f23db61199028f3e8e8b52ba40
|
||||
MISC ChangeLog 1283 SHA256 2d98ceb644b60a651689ae5ecc5f64dcab444261e31abe9d07bbf2b722f75d28 SHA512 48ba7a13b4105f9ff7a23f19ee5613b61ed7aaf8a6d276ab8fc1293d1a6de471400823a9f1f5dc9ec58c8131f5f6eec81664b25267ef64a76709ff6c20af3845 WHIRLPOOL 68dcfa6edfa199a4b680c621bd8654de73b2716d913e34b9dd834ff7b5eb068c6b90f336cfaf83ee6c73c0675785b8c836dd6b8c85a068c3a78af4ffbf1661a1
|
||||
MISC metadata.xml 992 SHA256 46eb1da27171e96dcb7a3e49a095af80bbb185fbc8b35e32a879b93c73f731b2 SHA512 06a4c8ee513624a7149a1970d3c09e287a2d29bf621f260afa3970a37e2fa0ab0b527f38de43063f308cea318cdfa2d1c8756b716a6cb1d9b3894b0c3cb43a7e WHIRLPOOL 41d71e13b4c690ed13804f667d19b74e1b41c652d7eeef4ef55667649d704b767e8e4dbef4c5c46c331ae4f9b51fb2dea4c30243bffc6b9804669981a296988d
|
||||
MISC ChangeLog 1438 SHA256 183eea26c8a4ea63ab759e456776632c8f2254e5b35ac6e5f2af2724da25f226 SHA512 b46a7c85e0c06cbc79fb8d47d5388b7a575bee690950290b552d85787ab1213afbc2ccb4e8ac8370bf3689db679f43dc1cad9d2d0c3d1556293d1a55aaf42754 WHIRLPOOL 249c099767c79e7d6209a1edc12e09b3708909a8c55a53424c2f14ff499f8ae001d4bc4ceeaa2c01324ecc644a857eb04e4d8ea5cb36a7faf426fa3384e74f27
|
||||
MISC metadata.xml 1057 SHA256 fa86bd8d9a1d1c65e2e62643682a898c15364de75f2d216a02816c5d6c80b6d3 SHA512 c3af9cd88c4441ee32a0f8db9ac8bfca9dc8b34abf25767629b44d4d538b2383ac0c47797f8b06ed0f204c3d521e6dbbb7aeeae7fb8a8eaf3ae76261754b14d6 WHIRLPOOL c185000051699718b65c91450eb6ec9204a32b740f0f19b3c426cb24d3a9a0e37c53a6c9f014ff141c2e466a3713451c7bbe388329b9fc6b224f37f9cf41f020
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlCu+/4ACgkQ1ycZbhPLE2C7HQCeLC5I694L1eCjqsnk8OwpR0Do
|
||||
h9wAnRv/voptsQ12qQsuX5K0z6JbAd8/
|
||||
=+1PI
|
||||
iEYEAREIAAYFAlFLRTcACgkQ1ycZbhPLE2Cw4QCfcu/qR7kf/p0UL1C1CzA5COmT
|
||||
Oi0An1I/OIRPJtjuMI2w0D8ulKmdqA7G
|
||||
=93EE
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/mozrunner/mozrunner-5.15.ebuild,v 1.1 2013/03/21 07:36:42 patrick Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Reliable start/stop/configuration of Mozilla Applications (Firefox, Thunderbird, etc.)"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/mozrunner"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/simplejson
|
||||
>=dev-python/mozinfo-0.3.3
|
||||
>=dev-python/mozprocess-0.7
|
||||
>=dev-python/mozprofile-0.4
|
||||
dev-python/setuptools"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/\(moz.*\) ==/\1 >=/' -i setup.py
|
||||
distutils_src_prepare
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/prettytable/prettytable-0.6-r1.ebuild,v 1.1 2013/03/21 19:02:26 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_6 python2_7 python3_2 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python library for easily displaying tabular data in a
|
||||
visually appealing ASCII table format."
|
||||
HOMEPAGE="https://code.google.com/p/prettytable/"
|
||||
SRC_URI="https://prettytable.googlecode.com/files/prettytable-0.6.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,27 +1,25 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST python-keystoneclient-0.2.1.tar.gz 131997 SHA256 ab0bad758450cb50a91eca71cf738b88f4443a7f9aef317ad50447c3caeba692 SHA512 207ac0531d04f5bfd3a0d3e385dff94778c20300c264961fb78fd0f391074892267a844f2a05b48e4a55b58c1748a332231550c876417d133451160b8690c467 WHIRLPOOL 698dc7cbe88cc5208b331282f22695c27925c91921581735a024c729a6232799a2481acc2bae624810f468ec885c5833e604935966c3453ab981472a2f4b4b46
|
||||
DIST python-keystoneclient-0.2.2.tar.gz 171725 SHA256 8dc4ec5864c4b72c07f29cf2089f0f394880d8e0b0f420c06479bb268ac0e346 SHA512 edb058f4c390cbb8df3a7bab8ccb6ba05dbb47f936eae09c3a16013174d03151411e6e867377b765246580e6cf72fd5027376ac29df5a868c4879ad6f5d86e86 WHIRLPOOL 39c9ff5d20f8e00d56626b290ef633072f915329892892110d61f33c97cf04bbea17e2630bf9279b2d93e70bf38702e301a0192eb59b69548a13510c06f9df90
|
||||
EBUILD python-keystoneclient-0.2.1-r1.ebuild 1307 SHA256 a6b825aae22750a4aca95ea49cb125d63a62a76f185e17905f1c79394364c458 SHA512 5e431f05bd2e1d27805b48361cf4e1cdaf4ffd87b45e620cdf329a665ed8b265151389ba40855c03b5dbedb80b5a779ead24c9c18c3d747d0a456bc385dda108 WHIRLPOOL c5af2e4461693695ae373cb13931658e4ffe24dd7e5a2065ec22a43e3e17f85a99df6b8296f781a6b910fe81e77677486f397d498c25b8fe6eb07b4bb8e9f269
|
||||
EBUILD python-keystoneclient-0.2.2.ebuild 1651 SHA256 aa151808ba49e065063b2ac15c60dcf088cb10f6bbf84e59560f7e1943f4bffb SHA512 8511446ab796a360804f91e7c963e4bfcf04c981bfd654dbc132d8c33d3c9e783dee7ecd1db4d40e5abcc7659b9ddd6cd68dbc51ccef42867a85a119b93c78c7 WHIRLPOOL fd3834d0223aebea7eadbf28327ab0bddbce11b226ce3397764226c3e3abf97299dc67eab676bb0895ed0cbad17a5f371162f37496e8a0e49507750d9bf7f22e
|
||||
EBUILD python-keystoneclient-9999.ebuild 1615 SHA256 6094ce133259d5e3533f7eda2aa5e871e4a130b7e4766f849d5e3404b850704e SHA512 dced46efb226e7aa7db9bdfecd7e698a1edeba5ceb13cba272df7cffba19a052946fdef2c0fbc963ee557a41bdf254c6938a13a7474d862fd3a48800bfb7755a WHIRLPOOL 7b1599a1be65264e459074da1d877d69e0a3b8d9ad1fd0357aa9b0a441a4e99b44b52abaa27afdbfe6d466db303cb400c708f305db3dc552e3d70f20cf4cd261
|
||||
MISC ChangeLog 1306 SHA256 d73cecaf56ae10776fed63428c699541226179a531dbacd62c936be69ba9e301 SHA512 9c0497e6cb7b4c754e6c91dad2ad6596fdbda58c8db64e2ebb85b4945d7acdb17c630760b251dfe0a94c361b5b63cac4d5142840734dacc85632d952411ffc33 WHIRLPOOL daa6e6e00419a35eb1a15f078cbddb9692e5d7a85ac3115bb870fc48b4c4b4b85569eebbf9683e05526e7529a5e06648e5bb3b8a5d707019801e43bb2fbc7a0b
|
||||
MISC ChangeLog 1446 SHA256 7d3c2b0a21f6478d72d0d3d7f6a3bd2d5716a7e4c55c7e2c456d0331b6988697 SHA512 129d70d9bd3cb3877a105f978c3372fdeccc5627a411ec8c2cfee9e6cd009364ef6751ee8b7daee43a939c32b093bba0489b85e75a70cda5be861ca5a20f87c0 WHIRLPOOL 6b493885fe58a30c7404d9686fb3801b107dd0b8b69f57384541bff715a83f375f4d5298aacf4087a98acf9220217b9866b3b14b0fc8856341e3172666151666
|
||||
MISC metadata.xml 343 SHA256 716e96a66916d216f80e7ce0283db63bd6d18a95e2365d9d1a35964b2ef461f9 SHA512 fd28e5434f725af6a835205ae8cfae1354983f8e68f6c25f9a4f56ec17041ac9bb1a460ff8e82d0e165ab19c5b0f26e0f0c8c5124dfcc37723c786e12cd4d3bf WHIRLPOOL b486328b67aa7f6e4b68adc757bf5d3983077a894d7ded68be7723fe5655805324a73e5914fda0f81ae334e75db9557e2675a43e9437df633311590758466c5c
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRPS9yAAoJECRx6z5ArFrDWjYQAMCOZiFIXUifcH9O1i0iWVWi
|
||||
xWbKOuSfXk80aVCGC6Gl06DZFDrWJg/3sd9JaxzzZaKPuXuf3Xd+ZZlcE+nyQdBb
|
||||
pIBytFBpybGukFpfXZYMP7VRqAXyH96O+iB76avFZVV1Rmj/A50qjmkjzsxDRMDw
|
||||
yfxY9NayMGWNEp1Xjs09CKVfS+t2vrc/xdDwwDB3SEjkZ7Y1GTCaHYzTyIFgEXDz
|
||||
KkThi+zPhbnglnYw5KFWKnDkNVMkWd+jxN9Z0inUWH7w0NSYrkbqm/gp0XWQQQk+
|
||||
xriBKhqvrYMvy2sgfbeQavxm+dnmoKflPFbobTlNocx02IRDGFS0JljnRlUunGGL
|
||||
dtYaNQOQYPhyMBg9ASAIHbkhauYT9ykDIKfenJASEGUPvh1jbSiTQr7agAIjh0Zy
|
||||
9jLp1WRi/QLuq+1J0Ghe9ZHFQu+RvBDSvw9/JV/Vf/OO4NCd0rBRJQYBB5FHQN8j
|
||||
jfVmm/J5LeH9dpd51wcAiMlPAh2m5Xkuu2Elyb2iCQ+5WeEsehDILQj4ARxTqRex
|
||||
utJxaDDA006XsFIrjtC6cOU6jkbfmAwgHE7rc8gI01J5jpEgHaOZannqzTUZvGXJ
|
||||
u3RO8BsMDtMrEUn2T4VxGAfTc0t6CVs6Zk1j4YibWZCDBIbqN6c8gi9IknJcq749
|
||||
5178sVSLjJL+FSSSjRlo
|
||||
=dKSD
|
||||
iQIcBAEBCAAGBQJRS1YWAAoJECRx6z5ArFrDNLwP/1BhclLac4JyXernJvoo2F+e
|
||||
O7TqW/BaCPrJ2XipROkSXxRY73WpeD3Hb9R4qp80TOff6zhkTXAlEaf5yFnFNFPz
|
||||
Ur/z/nehI669zxpgUeUP+PJ941W7678oi3qvptdFi5Hcqe27ZhCQrnVE3HA4FOEW
|
||||
7ddTj10Oo9nga6Whefk7xIUJcwa53igELP5lOw8KNCEIHIpve8OBnXtUXkNqLITS
|
||||
KoM4/mWY37Gvk3TH4Wj1dDz3wGs55IZB8aauc4NGEz0uIHHePodiVZxQFv3TQYoQ
|
||||
HrKQDaxRWYBY5EFVoP0QlIJ8k8XyoscshuVU4LTb8SLp1opMZhwMyQUUcgTXQ19C
|
||||
ao8IdHBpfDzdZrvF4R0Yhw0XHa4rfB7U7mg+ufRHDAqqdZjXrcblPSGc8OznRnU4
|
||||
+BboiigOqzXUdexGB6haHMNBFxJ7+m4tRUF+VStnL8dreUOnzqN1cgajSlQ4UWA5
|
||||
AHxaH/wyocFbI1laF6/9br5A2HH78iSP0amlyaMXEBf+N8PdBdNAC8rklnXe2DM0
|
||||
3rOSNooLvTdLQcLH+NH1ZP1Vh3ygmeGV5nGxegnLAtTRKh93oWHOTXYCwh47IX9A
|
||||
gpHVK23jk4ovSLMIlaLIWMCJFflYEvMGJpvEWSAFfHTXdMAClAdLzDrfwfQB71yk
|
||||
2C+9VJS8i88iIuTNOwLZ
|
||||
=mAcO
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-keystoneclient/python-keystoneclient-0.2.1-r1.ebuild,v 1.1 2013/01/11 22:19:40 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
#restricted due to packages missing and bad depends in the test ==webob-1.0.8
|
||||
RESTRICT="test"
|
||||
PYTHON_COMPAT=( python2_5 python2_6 python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Keystone API"
|
||||
HOMEPAGE="https://github.com/openstack/python-keystoneclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
#IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="dev-python/httplib2
|
||||
dev-python/prettytable
|
||||
dev-python/requests
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
# test? ( dev-python/Babel
|
||||
# dev-python/coverage
|
||||
# dev-python/iso8601
|
||||
# dev-python/keyring
|
||||
# dev-python/mock
|
||||
# dev-python/mox
|
||||
# dev-python/nose
|
||||
# dev-python/nose-exclude #not packaged
|
||||
# dev-python/nosehtmloutput #not packaged
|
||||
# >=dev-python/pep8-1.3.3
|
||||
# >=app-misc/sphinx-1.1.2
|
||||
# dev-python/unittest2
|
||||
# >=dev-python/webob-1.0.8 )"
|
||||
#
|
||||
#python_test() {
|
||||
# "${PYTHON} setup.py nosetests || die
|
||||
#}
|
@ -1,25 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
Hash: SHA512
|
||||
|
||||
AUX rpath.cmake 393 SHA256 b89f3698d321e30afef0f7c32be009d5d926f92ba310ad44b384cdbc1a6a104d SHA512 b9f2d3b34fd31a7e289e3aa1c96110f92bc66f45e5bfaf796f86d52eb832e960caca0e314b87248d0a41c13c95f04402607cbb5ad7d0b3238d5bab5580c3a65f WHIRLPOOL 79dbd32a58b6bf8a408f8fef3dd918c1946c89c32731b515984cb0ed8230c63cd724150db636523484d525c2ebad1f78217c7ccb6a294221aa8d2ca8dcce6a1d
|
||||
DIST shiboken-1.1.2.tar.bz2 1067457 SHA256 8f9e8fbe7b3667aafdf6bc88663d28f43999d7ccbfdc3e63aa791db1a554a9dd SHA512 520818743497d82ca2e111a617176068d9daf47b96e8a545949ca644f000d2281dac4d0bd1c12af7822a4895b4019a6e1a76eca47121e792669be0f5ba6f6bd6 WHIRLPOOL b85747663a969c8bac711d55ca4b20de03715777289ef453d6c88354e1ede39f1a3f9c1286ddbcb130570cd49bbfd4f299b46aca822b6f6edcf23e039db9c126
|
||||
EBUILD shiboken-1.1.2-r1.ebuild 2070 SHA256 e4c7cf5b17035f4b151f9dc23a849de6232cd00ecd5049256c1723d1e49ef118 SHA512 0e5b016d4b05c5fa9587c0b7010bd34ace632a73d0afb309269a574eb30da3cc861b1b141ad3be6609e2e05a3d1031fa2cad19c7063878e9ad8ef2a1dcd80282 WHIRLPOOL f2037f369a9379eb3881c41cccc73e5be1b3a23b1d2054c0a8d9613ca809e7ce1b6ffd7da8d87848a746a372f41399531b2d8e77ff7965d5dfdd2038345c09c7
|
||||
MISC ChangeLog 6687 SHA256 7236c2c85a23879791314db74ea848500878b52f03f29ed39b43183e0109d908 SHA512 a2b88fff7eb55433994081e191531ffdc9a8203d61ce1b8514013375acfb7c540f10920cb0d3abf00f702ad8fbbfb48465ceea61689fc042b026c762f50040c9 WHIRLPOOL 7b738024ef8cff285629b6e71975ca2df7ef4c3c00e378302f386d02313e94d6a55c68e5385c81e2f3d7c5bd261f32038ba0491c3b77c7bc3849ce716b320cea
|
||||
MISC metadata.xml 155 SHA256 94ed5876ef16dbc191744ff6b8939a0f428fcb8add316d898880e1c4c880b9e7 SHA512 f05c8982778167c3667c9246b9730ba49fec2967731ed2c615e31a7fddc220fcea8c0843caa70a14957c8c4910892c512b6f2e00a9724d65e6032e1289f4562a WHIRLPOOL 25ccd49f04da07c8525fe18b21229764bb4104938abefc6c953bf9caa533dd5c10ae7b3f80a1251182e6c1520c09383d9f1d0ac1dc74832a99299c9be27406c4
|
||||
EBUILD shiboken-1.1.2-r1.ebuild 2041 SHA256 4329c233fbf9f6cfe4412ae3923e350c028f93c2e7dd706403d4dcb41f8f9741 SHA512 0c7f3e876dbfc684a111ea8f51ada96eb20ed778c03b9b7194af79c1d9aa8f69aefbb433ae5979093c948cb20045ee91bc2a2f55182c48ace0413802bf0b8469 WHIRLPOOL c7675aa257ea63a8dfc054deab943ab3484c89c2074967282d48bcccc5fffacd42857af3f910c52e684b6a252e52930c6ccedcbd3802ff641e76a3f3082203dd
|
||||
MISC ChangeLog 6810 SHA256 f02b035533bd6201e35e73b40f829174172be0b2e310fb61d9f9ad29d338a961 SHA512 aa331f4dbcc8277f934b84a8e0de2291a11b53d84471fb518e6c6599d64e77a4e37cee0ecd700d683c6d000824d7061ae0fcf67fd5eaf7941f7e9af0f24a60d9 WHIRLPOOL 1f0ffb907f3ee90bddf0f112e694ab52104c8ef2e9dfdde00ea9856c178199734a6341ce828c1b992e19c94238af37609de7a67d3dfc9b6739932bc092d46cfa
|
||||
MISC metadata.xml 157 SHA256 a2ffc792d4df94c3f8088e329c4bf74804540c2797f3e24ab0030acbdfd4b535 SHA512 9f259ee8df00db96dd396c6c886624c53728c3e26f28071cc1f9a286798271cdfac3485a081d308c93ff3067cb6568f9ea55ca164334abeee776491307244213 WHIRLPOOL bcb16b3d9ab21125e5581aed1225d2b399015d76bc7c6f9deae53e2e38fffdc47e0b5aae9bd632e85db242a37b4de5aa05d6f97c087cad085df9390530a0a597
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJROaMkAAoJENXLsxwXqFxyF2QP/0JUq6pHmBlghhe76aLDW5xb
|
||||
CZBgB66Dx8BrIZ/aAfazGKrN/Y4EHgV+LqHeubxWrDx/rjWxioDqlJAJCaVYwjsq
|
||||
3CkQGoBbrjotTIbrYZa1V3HSb54j7Ao+oz/Z0SDp9LAqK3iJOdzfwK+NwJfgOaWc
|
||||
La3PljrzJfvx7i7W1iulybPq0XXmLB0b4z19EZ9l8w1AhphW4lt7X0iIyVIgPIeS
|
||||
+mutfJCpZwLMQ6nIbNulFLDZvUi8vJvBQhkJaiRfNsLhqBTpcAhTnWnZdpCOz7rS
|
||||
munPvSHxMyATSR+TOa/rxhJgYIF+APtBYI4aoC2CkMxw8klQw4UuH8/47iyPWwlm
|
||||
HH0YX8pnsvO0F7Ej9rTUY018ZoL8f3Up3ewvW/RFedVNsdPA7wYSJfKmPwyxZKTk
|
||||
N5iVL6hlbGg1VX88wZEB9RyOcXhlhDeej/8qpNo3eMFcevEymZRIbcnOhjpNFvjm
|
||||
KpgsAHrNeYg5sMVv1tJmG8rCgwMxB9LEgWY7Vvjp8nCDF9k5xAXy2RGrQCoEfc8d
|
||||
xFfgshMLDzXSe4hER5qlfkkVquv2bfmmbuTOFb6wwghjmvlhvKjFRoW+3A1fQIJv
|
||||
S67p5LZAjBYNCmffDManELXI0jv9juu+7XFn1UulhWxGYI2wSRce9PpB0p5+ONd0
|
||||
lKLa+9m4D7PreAz8xkql
|
||||
=MVL3
|
||||
iEYEAREKAAYFAlFK5YUACgkQgAnW8HDreRaXkACcDFYfDQAJqDLOJrtWuPJTengR
|
||||
PRoAnRNOEPNs0zJFcr5v6Ze4SFCDjQb/
|
||||
=qic/
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<herd>qt</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/vatnumber/vatnumber-1.0-r1.ebuild,v 1.1 2013/03/21 16:16:28 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Module to validate VAT numbers"
|
||||
HOMEPAGE="http://code.google.com/p/vatnumber/"
|
||||
SRC_URI="http://vatnumber.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test vies"
|
||||
|
||||
RDEPEND="vies? ( dev-python/suds )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/suds )"
|
||||
|
||||
PARCHES=( "${FILESDIR}"/${P}-skiptest.patch )
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
dodoc COPYRIGHT README CHANGELOG
|
||||
}
|
@ -1,4 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST versiontools-1.9.1.tar.gz 19089 SHA256 a969332887a18a9c98b0df0ea4d4ca75972f24ca94f06fb87d591377e83414f6 SHA512 f062eecc9998bf194dcac7c52065757ef546aa94bbe7d5b6786ba10f1e44486df997e9a314ff60a0d4e88a2620824217c8add516011baa2ee4e26ec19f762892 WHIRLPOOL a191e18b8ecc9994b2508abe5259aada09eb23906e589b68b23588a1743cfda88048b9199d5e8627a7bb35019ea0f8fa4f09a01595cb18f8c15cb0a6fb9712fe
|
||||
EBUILD versiontools-1.9.1-r1.ebuild 716 SHA256 022d629c75abc6c8c38f541a1f487c2de005b91af54b59c0f0b31e04274c04f6 SHA512 0212323a745ca215d834bb46997a420cbe1aaa4a6c937f274791d038497a8ae4dd1829b57797b1e4a0335074a58f5fb00a8a96f390ae6df178429e1f1b24612a WHIRLPOOL 685f809c8b8ac90817f15d70641ce5fe2f44355043e1c6989a9c5e7709c2db6ca7b12cdbef08d5eb1d28c911cc92e9026a424853eeecc6855bb3ec18a15aadab
|
||||
EBUILD versiontools-1.9.1.ebuild 1011 SHA256 55e40e3629d845a8ca6d62e8f5e64c70754530ad092a2613a2f03d8e17bc311a SHA512 7a62d152ddaba097134e953f43f514026d37e4d3f0fdd1a37b738bd2cb354759384b4ddb3d6cc1bfb42426afda96c489db7d0176fc64621c560043cc66a61f61 WHIRLPOOL 0503c81656ea2891e3f729c839ae79c5e25327881014c452611cd55f8fb9a19e6b456f2132ffae7a2221e07e50daad2230f5af94d6e86217cbe6f11caa10790e
|
||||
MISC ChangeLog 905 SHA256 5cbb65c1b2b636bbf7d22ebbb5f91fef84290297c7045b3a5372ad57518029ec SHA512 9c28f4a149f2cf8747f09392ddbf2eb696b475529e4ef6cd4aa484e547f8e4d242315d96cab74613a335658ac26dbe6db3a153bc6d2e60d6cf4230ce1962540e WHIRLPOOL dd8cb38cc09dff70a8def08ab04e05b493b07e4e134cfdf0d35f76c3a6fa987feb34224755de673a4b059d91570da2ef6904be89d40dd0fca9b9dabd1e3ad4a8
|
||||
MISC ChangeLog 1116 SHA256 723a17a6f0d9cd5619f8b5d88cb6ded98cd9b8a61413342e0097d2b7e9982d4b SHA512 aee4cde7223f23b87b8b636f94c29b5e29e9f07dd7c6aa25fc92b896145e5cbffc72d83a134cc5e747207ea794cf3cb9b3d403ddd4a06dcc1f0ebf5ef7ad3326 WHIRLPOOL b11e0daab3a3ff43ec3c75204091200c58abb2df11cd79505b664919a33d2e3102a553dea0c6b1d26271ddc12ffb0633d0e9f1cab8731d58e0dff7aee1c1c816
|
||||
MISC metadata.xml 260 SHA256 aa42fd34367f8532e3ec288da5a0ccaec0973c77a3ff9e1b5f7f529a7ca0140b SHA512 358bb417582243eea5b359fba2198daea33f24b411a3334552560210bc7f112d00b5243c83fd4c6621f4470d4d80c47f99ff29b745e6c5a2cbc797bf4669b62a WHIRLPOOL 714636fb56e549ccef61f50adfd5f858aca9a4a1183fe17e0ab0a7fe9e6070a65e33bd55581a430eb18c17780bbe2b704389e89206d167f1ff1e5b8f8f6b2bf4
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlFLHX8ACgkQso7CE7gHKw2V0gCfWm8YN1wQBwXkXlFYsDnRra5G
|
||||
LckAnRR7SWUwwpbNnXiSG7rNGeeW/HIB
|
||||
=7ZTy
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/versiontools/versiontools-1.9.1-r1.ebuild,v 1.1 2013/03/21 14:47:10 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} pypy{1_9,2_0} )
|
||||
#DISTUTILS_SRC_TEST=setup.py
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Smart replacement for plain tuple used in __version__"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/versiontools/ https://launchpad.net/versiontools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,4 +1,15 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST virtualenv-clone-0.2.4.tar.gz 6192 SHA256 6797e96bc2a1ab41995bcabdfe08ac1b02c55c719c62036ccf53a0ed5430b935 SHA512 0cfcbd32cbffe4c913fabd3f8e609112920f3952cfdc9b8e25080f39d2e3e1062246c04035ad0989d5fce313f1eea228449cd428ea0eda70da1124ef9a4c3c17 WHIRLPOOL 2e71196caeb30d5e6e2c6a15512425b5736a9f7086c340c9d54a5f18864be92bf18c28b22ff2606fce9c4c57676fc43806f26db5104ecbc45d529e63859e5e84
|
||||
EBUILD virtualenv-clone-0.2.4-r1.ebuild 587 SHA256 6c232c0cbc7f2ab6989c63e923e7eb5308b41c2b0655cbbb9403a3ec4ba55d1b SHA512 4bf198c0db67b955646721d7217524609a9475f8163876be397ff6316c74dbd7275067f21c0f2147a4a44806b412c67edbbdef272dd2ee5db6319ab09f53f16b WHIRLPOOL 4b51d6ca9574909afcf18500b53859b75e012d178f37754e86841d91b64878b85b105a2df6e048ba2cb47536a5df06d834f6c9d1ca5a766ed8695689b3344e2d
|
||||
EBUILD virtualenv-clone-0.2.4.ebuild 630 SHA256 b05c17afe2912e347520b6c3833af4651691d9e7e094f84e8776fb31ea321131 SHA512 34d80a5c6f7b026e35b5fba41fcaaa2b7d400811111c0e49c4592af1ff777013b62da271d06c397e434078ce492744352956ace803db319f0bba1c18c5ca5bea WHIRLPOOL 9680eeea35804566d823f2fa219dad4bcfa13376cdca24b50ca8aad8734603372441103b250503be27c5ec2f6ec70311d488bbbab8ba90efc975fb23261cf528
|
||||
MISC ChangeLog 420 SHA256 faa3e51be5f1835ec7a5356c9987ac80d2c61922691ea73268a57f5b260f3a72 SHA512 66ef7539617a0cfe98d7e13fe6d5ab327ab97feeabd2dbb1b496132b091da412f1099e797f95b6379f808433348f19c294bed5c2e72b8a59505e4e774d00691e WHIRLPOOL b0a6c8ca68cf9786cf62e69f09e9ca1bb539062782636d5a315313da8388558407566242a40abcd3b7416719e246f81e823811c6eee57ada9b4d384237365f6e
|
||||
MISC ChangeLog 568 SHA256 aca184dd9f1910f1530da72cc4928fb4d4f1c0b5bbc4add68bc50919a42e1e9c SHA512 cd4e773b933c46a9885c491a97891faab04c4a70b4642255856bd986ec087d88b6acaaa30341a8cc520552e1f3991fb7c9c2b6d9b4a0d5ce8e243292242210ce WHIRLPOOL 22a4c6fc7c4cafb1bbc4508787f943f7c4e0b8c4d88aff9fbeebd8c65f6ce2ba3078d3df18428812e13f02379ad03b2d8323d330a125f42650583869857a43e6
|
||||
MISC metadata.xml 160 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a SHA512 7c02a1de1ddcb6b7c6378cceff0458da3a15d5381417f7cdf01874e7c372664b8899863f41b3a2fd8d6ad67ceb732dac6da0cc17575bf8e3e6d89480417c6628 WHIRLPOOL ed2795e4466eda8c804d5067c87386e269a59fe959393057ca5ddc36851e00f5210c4da1adf4bbdfdbb7d1d3d5c60aced25727ca12fdc8305d9e263a3aca9b13
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlFLBkMACgkQso7CE7gHKw3lfQCcDj25jnyKusOA3CzIzwG5Nnd+
|
||||
ll8AoKNvmGSz81wT2PKEZ294TUEb+AZ3
|
||||
=zgPN
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv-clone/virtualenv-clone-0.2.4-r1.ebuild,v 1.1 2013/03/21 13:08:04 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} python{3_1,3_2} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A script for cloning a non-relocatable virtualenv."
|
||||
HOMEPAGE="http://github.com/edwardgeorge/virtualenv-clone"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,51 @@
|
||||
mkdtemp works against pypy's libdir
|
||||
diff -ur virtualenv-1.9.1.orig/tests/test_virtualenv.py virtualenv-1.9.1/tests/test_virtualenv.py
|
||||
--- virtualenv-1.9.1.orig/tests/test_virtualenv.py 2013-03-08 07:14:17.000000000 +0800
|
||||
+++ virtualenv-1.9.1/tests/test_virtualenv.py 2013-03-21 21:59:59.180297883 +0800
|
||||
@@ -97,27 +97,28 @@
|
||||
cop.update_defaults(defaults)
|
||||
assert defaults == {'system_site_packages': 0}
|
||||
|
||||
-def test_install_python_bin():
|
||||
- """Should create the right python executables and links"""
|
||||
- tmp_virtualenv = tempfile.mkdtemp()
|
||||
- try:
|
||||
- home_dir, lib_dir, inc_dir, bin_dir = \
|
||||
+if not hasattr(sys, 'pypy_version_info'):
|
||||
+ def test_install_python_bin():
|
||||
+ """Should create the right python executables and links"""
|
||||
+ tmp_virtualenv = tempfile.mkdtemp()
|
||||
+ try:
|
||||
+ home_dir, lib_dir, inc_dir, bin_dir = \
|
||||
virtualenv.path_locations(tmp_virtualenv)
|
||||
- virtualenv.install_python(home_dir, lib_dir, inc_dir, bin_dir, False,
|
||||
+ virtualenv.install_python(home_dir, lib_dir, inc_dir, bin_dir, False,
|
||||
False)
|
||||
|
||||
- if virtualenv.is_win:
|
||||
- required_executables = [ 'python.exe', 'pythonw.exe']
|
||||
- else:
|
||||
- py_exe_no_version = 'python'
|
||||
- py_exe_version_major = 'python%s' % sys.version_info[0]
|
||||
- py_exe_version_major_minor = 'python%s.%s' % (
|
||||
- sys.version_info[0], sys.version_info[1])
|
||||
- required_executables = [ py_exe_no_version, py_exe_version_major,
|
||||
+ if virtualenv.is_win:
|
||||
+ required_executables = [ 'python.exe', 'pythonw.exe']
|
||||
+ else:
|
||||
+ py_exe_no_version = 'python'
|
||||
+ py_exe_version_major = 'python%s' % sys.version_info[0]
|
||||
+ py_exe_version_major_minor = 'python%s.%s' % (
|
||||
+ sys.version_info[0], sys.version_info[1])
|
||||
+ required_executables = [ py_exe_no_version, py_exe_version_major,
|
||||
py_exe_version_major_minor ]
|
||||
|
||||
- for pth in required_executables:
|
||||
- assert os.path.exists(os.path.join(bin_dir, pth)), ("%s should "
|
||||
+ for pth in required_executables:
|
||||
+ assert os.path.exists(os.path.join(bin_dir, pth)), ("%s should "
|
||||
"exist in bin_dir" % pth)
|
||||
- finally:
|
||||
- shutil.rmtree(tmp_virtualenv)
|
||||
+ finally:
|
||||
+ shutil.rmtree(tmp_virtualenv)
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/virtualenv/virtualenv-1.9.1-r1.ebuild,v 1.1 2013/03/21 14:18:11 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2} pypy{1_9,2_0} )
|
||||
#DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils-r1 vcs-snapshot
|
||||
|
||||
DESCRIPTION="Virtual Python Environment builder"
|
||||
HOMEPAGE="http://www.virtualenv.org/ http://pypi.python.org/pypi/virtualenv"
|
||||
SRC_URI="https://github.com/pypa/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
|
||||
DOCS="docs/index.txt docs/news.txt"
|
||||
PYTHON_MODNAME="virtualenv.py virtualenv_support"
|
||||
|
||||
# let the python eclass handle script versioning
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.8.2-no-versioned-script.patch
|
||||
"${FILESDIR}"/${P}-pypy.patch )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && dohtml -r docs/_build/html/
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests "${S}"/tests || die
|
||||
}
|
@ -1,8 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST w3lib-1.0.tar.gz 6079 SHA256 27c89291dac8c1539a119eb2c0ff6f5baac346a45062ca36f9545e88043d22b2 SHA512 007c6c08708c97be542937c598731dea07449e67ec90c5ce66aec5dce9286681ab04c007ed180fa1b7274ae74ecb8dc3c6520e422debee6f0420d9817f30bc03 WHIRLPOOL 3519627619a1f1f307a71238e7ffd6c375817de4b8f0d177c6677a7337db0028f1a4fbee2b503b11e63b51b71aa558b8e0673b34f9f2043acd750d7818d846e6
|
||||
DIST w3lib-1.1.tar.gz 8583 SHA256 2492995816c94d0441853ddf85b03b6587717b3e8928e6612608e11818c441ae SHA512 654f7faed189c45a1a57dc19a24db45164754b31521b5500d794d1411a4146c61e970f849a2c89e52d9cd1bd334c13750f81efdcb2b2bb8148ecc7a31c8bca2b WHIRLPOOL d3b955a946533d0921a9b0e359443ca7359352e83f7a06f9fe336ed960cee698d009c8df1c968002a2bef5fd789d1990c89c3e3ab560ec547bfc9f257ad8ee23
|
||||
DIST w3lib-1.2.tar.gz 8584 SHA256 61f27e225635da7f4d005409e4874748cd63a1e1ffef3495edb7254c4d5ac339 SHA512 81a8e3ba4692b0792e5e316503a3f9a760252caf53bb3ad2496a45f84aa90e912c032e1f9b71c9fbe5bea71dc8c009a8cd04622c33c8036fb73bbd8a85a27449 WHIRLPOOL dd60f55c70a0615bd09e574d8fd2873d9080091af891a793bd87255b8f575ea0f2a256818697e28ab1a65c4edc6b8a931f266f5ed5158401cf9980a86d9ff6e0
|
||||
EBUILD w3lib-1.0.ebuild 514 SHA256 6c90cc653b70f842c4b025c59077352b2774a37c89f39eb28d4a6db85cb42c01 SHA512 f6d06119df976350edf8bd395f74cac81d242a2efad8b36cede5777b25281d0f24561ec9c084d31cf917ecc923cbcd2e50d55d38c77b0baaca27ed5e17d06e69 WHIRLPOOL 0618feced73a9dc50f6f929696eb17be89ac3dc4432365d7f27739a2b2145d05a265c07144c8b82bc66c5bd7531aee4661da0a642fdb14e749ad80a594c78efd
|
||||
EBUILD w3lib-1.1.ebuild 514 SHA256 683c984898463e4820745c0d71bedf3ebc7db52d65046d7626f76bd6b2288dcb SHA512 4d5ed502317a00779e05703bf3f341e60fd358fefbc8264c93b0d84a79eb3c2cb74c994ddc64cf3fae24b306442fbdbe2fbd949289b9cddb0d692e73a88d79cf WHIRLPOOL f37da61a673d4226040b75b407462fed599a0f27d252c145fdcf6837d347224a80c7adf16e634440800ec8e4619344654aaa94c9326a8a2d3ae8a42fdd52984e
|
||||
EBUILD w3lib-1.2-r1.ebuild 505 SHA256 2381e8e1d433143a9bfb9dfd57def81d2422fcd9d42182fbae5030746b500503 SHA512 50d2fd9e6d5eae00e68f4f96d81c5ada7c1dbefd33a93a2553da7ce5f301051c8e1dd287fd05c1ef5438628e4d672c336a1edd042de8e8ae612881ec590cb15a WHIRLPOOL 1f3e50680e33eba756d29a05944bbcd46b061dc5b07a1799577c3a5428bcd6a7e599fecb0b8d9b86cdd13562ded55f4e7df1d397ed61845caaecfe50b4d0a626
|
||||
EBUILD w3lib-1.2.ebuild 514 SHA256 121937264e1a04fb3923c537f423c95001944e63875af0cbe74039b14fa08f06 SHA512 7eef13ded4b875ac0aeadd5ea827a57df413cc370a960dc823697352a34db7e3816945c9391d3ecda2a30e3ecb30c5929ccd20dc406cd2a4799ec98d66c23781 WHIRLPOOL dc173b2ba0e0cebc7f28fb729d709415effcbd7914923517572d6915aadf02369c4b51cf8a41378cbd853021d49a66ee0590536de0081e8548e3750e5050287c
|
||||
MISC ChangeLog 672 SHA256 9e14bd7fe8e0befff6614d259622dcac9da0a19037cd01f88bb0063dc7b38afa SHA512 4aba1f795253e9afba0cccf6f0578ab6f79590e423b0e7081942ed778423bac7a23e1351d36fa6881a7f64e51322a74e5e7cc8c2a25cc3d51a4a493161fa4b9d WHIRLPOOL 16bce58df003dbfc0c2d5fa979a0361f5bc22d10cae17eac7a4d652f15a3656d8fa1a94ad3641dd53125ec4af84367c15b662b80331870cc36bd4e3e2b61a61b
|
||||
MISC ChangeLog 792 SHA256 863b5ec26adf3838db53cccc0c7dac6467cf287951ee83aaf99ca233aa09bc70 SHA512 20666d4489d4ecf1f62325a004bb298ad817ff029be138bf0c914d8e408bee1bc985987391bb0a4b02da36be1ac8e9c28474518f98b445ef85b40d3f9eec7c4e WHIRLPOOL f0f4ef5b3f1db616306cd3df141a956e801ba05856c785e7cb8a991b92c7d109e6edb913bde01fc6c621c71167c9a8cc6d76648e0d08f1c76bba98e0bf3da41f
|
||||
MISC metadata.xml 295 SHA256 536aca0e2d3f5ebee738b29f3f1b0660e6bcb2055d4aafbf0e530925abb0c474 SHA512 49a8976e442e5bf458c91e7968d540837e8fc49eebb631232259b3f1a1f0891b35394d0634ffe1c7f49eb8917d40f024d438c62677457b6b5051cba1a56346d7 WHIRLPOOL cc8ca06446b1e0777c2fcdab5dc84cb5f7c55f44f6677fed341a9279882676cd57552cde30c4efaba0881b3669e4a563cdc27942642d325e43ffc79f349bb2cf
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlFLAggACgkQso7CE7gHKw0vQACfeUJBZlxxazj16nw4mhfwB3mp
|
||||
I4YAoLLfmQIrx35JK8NrNSwTrao6or1i
|
||||
=HunU
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/w3lib/w3lib-1.2-r1.ebuild,v 1.1 2013/03/21 12:49:57 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library of web-related functions"
|
||||
HOMEPAGE="http://github.com/scrapy/w3lib"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
@ -1,8 +1,19 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
DIST web.py-0.34.tar.gz 79925 SHA256 53d350c83fec92f2638326bb5f97daace753c4f1e7cc2b007d8866469c11995e SHA512 b7222c9330f9f188194f6801d71402e0b389d373437b848ac6112e32d246925e6e147890ff4962c11bf447e88c10fe8b093b3f49c93d983de37872794792c4a9 WHIRLPOOL c480c19bb505cad014665f40c56239b46b6646bef0ccec6508dd011e0fc636a6b1fc70e31516918fe8acca074b343b174ee9e5cb7a54d90245eec8cea708f59c
|
||||
DIST web.py-0.36.tar.gz 87951 SHA256 c45ec5b5feaaba53bbae69dd971c281832f1332d5949cd6e5ca27747fe92256a SHA512 fcad0992bd1e7bcc8bd89c59a0774ed59224e60c0e16bbd3d9f7aebe99cc18d4893b4dbad730e5b589b60b82a9201422352017107cbb890cdf1650cebbc29edf WHIRLPOOL def713570125774d18ef8c33872b13e85214a123c48eb567a1ea81990534c46f9abc141724814b9c0edad91ad5d245b4ec2b4e9566b042e3c866c0fedb16e263
|
||||
DIST web.py-0.37.tar.gz 90232 SHA256 748c7e99ad9e36f62ea19f7965eb7dd7860b530e8f563ed60ce3e53e7409a550 SHA512 766e24d9df6ab1c3a214156794a19c23fcb16ca7a4ee7586a7723f802eab2ba0b8cda4653c2504ef63f773609436ac12dfd40bbe6cf20e2f93bf95493f041628 WHIRLPOOL 4782dc9b4b894ee1787478a77c1afe193096046feeebbe5ce4f904c26d22d5814c606d2d0112614de1ab19851a2e40a78e56f74c1dc59f94ec9462fd33842110
|
||||
EBUILD webpy-0.34.ebuild 983 SHA256 79aa10eafee6c928d2a837b03ffc16fd7b1e65a5f39d8e431eb07e9bb73744ab SHA512 98b9aa744da7b9c98f6fc4bd445c67cd48999789c8fdc0d32c060aabc58234cb8516d13a8c0d0fc7cf71553ffdece7c22a0f56bc2b867356cecd10bef811bf97 WHIRLPOOL 54a1faae24aeaa3b91eab11548e23da1de2c47081e27ccbde3fa096f16f4730c7c8c638018aa661f187c4697b984b018efde10b342c2943103b38b8785a9133d
|
||||
EBUILD webpy-0.36.ebuild 986 SHA256 2f494ee73e9d24c626abb798a3f60df7af5438511f1eeff64dd3357070b22f15 SHA512 d14f6ab4b523d044d2738312d5b0765edfaeaede835db58ad42709258d87da68959557ebf04160b651de3343eebf4cc912cf5118d0dc1b13d231d5117d38a7ac WHIRLPOOL ad497cb546a36b9a3636da55b6c44ee51f359ee129035514751377a40bed2567eade000997df1334092622bbb18f354bf7b6c09dca22a059ae19ed86840bd6f1
|
||||
EBUILD webpy-0.37-r1.ebuild 876 SHA256 eb4e03de845ca214f0e9de498d2b19690c565e8dd9ac7c350ebf5b6ebab7204e SHA512 93de5a2cefb0c7762ead29cd17fd195c46655f378c6d41d8bca98e573b8cc0ee4d387c901c70bb63a600147737ccd4ee38168a5432d7a793ef91e3ecd0b57e3a WHIRLPOOL 3c265ba8e7cf2b50de3f7a2cb3af8a24ba89fd26aff7781435d00c4221c57c56ec28f2c74bee58db0bae7d640a0e345509879b2233ec39e97723ec2310e994f4
|
||||
EBUILD webpy-0.37.ebuild 992 SHA256 24ea2b6d0287c7b7cc14f20c765a56ade0530002de4c8005bfd572af1d0bfb24 SHA512 1badd80d782e3a28f8798735274f9312555e2d742a48eb552536b494519be8a685f5ff8cf49fd61440f617052bf9a91d3ab951cea1dc39f30341462dca710fc7 WHIRLPOOL 92c2ffe7bea3c8babd6d65f9280ee8145c18a47b9b8f4ba941c2ffaff4683002622f338a15cfcdf5ec841f925740a14cdad9cd7111f5cf689d05765bf3841704
|
||||
MISC ChangeLog 3432 SHA256 9a4465ba45929d5e3ed782c34ad35a1c51f028892d994ce5091b437446783f02 SHA512 b56b0c5218b6222fb28bba91a0602c64ebc1206d12af50eb87e3aa1a86b89b526da4a9e65a89a6e50cbf1a2589a3d17a26faecc29ad73ce7c774c4aadc585d81 WHIRLPOOL 4d37767d214667d818d4d19991c7a1bda92a27da5a50a5c56e7a91362193d297343cc74ac8aa17009fd9392eb0715305331b9939d0d93f34f45d9a389fb385e6
|
||||
MISC ChangeLog 3554 SHA256 1c14587c5fd789c1188ebcfbf0162fd8ad23ec4b0ba3a321ff7732ecbd674550 SHA512 d788986d5070515515a4889d19255223094f291c3b667deaa1d2f584ccb114a163a7ee77b85cf0918d2587a7dc95a6431067a23a5ddccd195edc4fa297b7115b WHIRLPOOL 5fea9eee1e3e3a120f8257ee58fca23da31e42b1e7ca858eac9b391695cf0ca046a0e3fd6a273a16e9802621f049829648ddc8445dd32e3e014a09bb12f3d7a8
|
||||
MISC metadata.xml 324 SHA256 7ec3ce4112364dcb56aebca43eee836a162b39b8faef16c6a1c37719e556c00d SHA512 c7e0c89beb4fe703d485e0c4d2a3c73af3e6967ee6fce7e8d56d70cc8855a157099a3ebd9ca0168bd2cc9dcb988ec64c047363343b2f194e47cef070d40c4347 WHIRLPOOL 2bc4cf03ab9c1f2f04a539452bbb8e1035f69614c3a10bd66d343f6d84ce38cb1fa85c1537c182ec5a63ad4d69ceac1359554d454f1aca3d78d4b6ef24c052b6
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iEYEAREIAAYFAlFK6DoACgkQso7CE7gHKw3hYQCgwQG/yCx73fTPH70rA4pIbnM0
|
||||
28kAoJjYiWMalXaILsOguRaKJfYj5//Q
|
||||
=UegC
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/webpy/webpy-0.37-r1.ebuild,v 1.1 2013/03/21 10:59:53 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="web.py"
|
||||
|
||||
DESCRIPTION="A small and simple web framework for Python"
|
||||
HOMEPAGE="http://www.webpy.org http://pypi.python.org/pypi/web.py"
|
||||
SRC_URI="http://www.webpy.org/static/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/web.py-${PV}"
|
||||
|
||||
python_test() {
|
||||
local return_status="0" test tests="db http net template utils"
|
||||
for test in ${tests}; do
|
||||
echo "Running doctests in ${test}.py..."
|
||||
"${PYTHON}" web/${test}.py || return_status="$?"
|
||||
done
|
||||
return "${return_status}"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue