parent
970b650492
commit
da7a2a6e29
@ -1,8 +1,2 @@
|
||||
DIST httpd-2.2.14.tar.bz2 5147171 RMD160 ff5077e444ba995475202bb3b9be733384c809d1 SHA1 eacd04c87b489231ae708c84a77dc8e9ee176fd2 SHA256 b2deab8a5e797fde7a04fb4a5ebfa9c80f767d064dd19dcd2857c94838ae3ac6
|
||||
DIST httpd-2.2.15.tar.bz2 4959582 RMD160 e5c5da1fdf86a6b0501f6c8e97ccb1982e81cfdf SHA1 5f0e973839ed2e38a4d03adba109ef5ce3381bc2 SHA256 5ae0c428e7abd87eecbac8564d90a7182104325bae7086c21db7b3a1e3140ca7
|
||||
DIST httpd-2.2.16.tar.bz2 4775545 RMD160 2e6d7d1dae40905be7fdd793140f62cf58112095 SHA1 ef92f5b3124fe5e9ba6121ea7f4bab8c014068f9 SHA256 9457d57a6bea15ce5bde83c88803c030953b99bdd0fbae65854adff527ed4c52
|
||||
DIST httpd-2.2.17.tar.bz2 4951247 RMD160 4a2f16f2891094d4176565fadf0e8fcadf7dbaff SHA1 5c9b44620dee449a86ba1bcba1715033c2c26b08 SHA256 868af11e3ed8fa9aade15241ea4f51971b3ef71104292ca2625ef2065e61fb04
|
||||
DIST httpd-2.2.20.tar.bz2 5174611 RMD160 299d1a8a9f3a6eb925d63ce96fa8ea4a06ec1f17 SHA1 c8f00a505af6ed3f89f45b640217c388f5cd32b0 SHA256 1ee914855249b09d9cd2e20e98a0ab02f15c270fe277d4a5c9b62975479fc81e
|
||||
DIST httpd-2.2.21.tar.bz2 5324905 RMD160 6464a03d78ab858b1288ea9eef4cd5f73b60a9f1 SHA1 c02f9b05da9a7e316ff37d9053dc76a57ba51cb4 SHA256 18d5591fe48cfbac44fc20316036ffe17456df60bc3a2aaad238d56c6445577f
|
||||
DIST httpd-2.2.22.tar.bz2 5378934 RMD160 237a26a7759e7e1af175900d598e25fb082a4eb9 SHA1 766cd0843050a8dfb781e48b976f3ba6ebcf8696 SHA256 dcdc9f1dc722f84798caf69d69dca78daa5e09a4269060045aeca7e4f44cb231
|
||||
DIST httpd-2.4.1.tar.bz2 4101303 RMD160 6d21d828028ce1cff8648fb29c8eb1b75fd96451 SHA1 23beffce77529971e09d0fb1e760cadf80afa4e6 SHA256 7f1118cb0a1f9b505cdb9b7e854854fa2050d6ed0875b65e994bb35f267a0cca
|
||||
DIST httpd-2.4.2.tar.bz2 4132105 RMD160 1b97ab44075bea0f398f507dacb5f719a87b720b SHA1 8d391db515edfb6623c0c7c6ce5c1b2e1f7c64c2 SHA256 5382f9c507d3d02706e33d6308ea041f39e8511b5948aef0ca188df8f90159b8
|
||||
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.14.ebuild,v 1.9 2011/10/14 16:25:46 beandog Exp $
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||
HOMEPAGE="http://httpd.apache.org/"
|
||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ssl"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="=dev-libs/apr-1*
|
||||
=dev-libs/apr-util-1*
|
||||
dev-libs/libpcre
|
||||
ssl? ( dev-libs/openssl )
|
||||
!<www-servers/apache-2.2.4"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
S="${WORKDIR}/httpd-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Apply these patches:
|
||||
# (1) apache-tools-Makefile.patch:
|
||||
# - fix up the `make install' for support/
|
||||
# - remove envvars from `make install'
|
||||
epatch "${FILESDIR}"/${PN}-Makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
cd "${S}"
|
||||
|
||||
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
||||
# Thanks to Harald van Dijk
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
if use ssl ; then
|
||||
myconf="${myconf} --with-ssl=/usr --enable-ssl"
|
||||
fi
|
||||
|
||||
# econf overwrites the stuff from config.layout, so we have to put them into
|
||||
# our myconf line too
|
||||
econf \
|
||||
--sbindir=/usr/sbin \
|
||||
--with-z=/usr \
|
||||
--with-apr=/usr \
|
||||
--with-apr-util=/usr \
|
||||
--with-pcre=/usr \
|
||||
${myconf} || die "econf failed!"
|
||||
|
||||
cd support
|
||||
emake || die "emake support/ failed!"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd "${S}"/support
|
||||
|
||||
make DESTDIR="${D}" install || die "make install failed!"
|
||||
|
||||
# install manpages
|
||||
doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
|
||||
"${S}"/docs/man/{ab,htcacheclean,logresolve,rotatelogs}.8
|
||||
|
||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||
# at some point).
|
||||
|
||||
for i in $(ls "${D}"/usr/sbin 2>/dev/null); do
|
||||
dosym /usr/sbin/${i} /usr/sbin/${i}2
|
||||
done
|
||||
|
||||
# Provide a symlink for ab-ssl
|
||||
if use ssl ; then
|
||||
dosym /usr/sbin/ab /usr/sbin/ab-ssl
|
||||
dosym /usr/sbin/ab /usr/sbin/ab2-ssl
|
||||
fi
|
||||
|
||||
# make htpasswd accessible for non-root users
|
||||
dosym /usr/sbin/htpasswd /usr/bin/htpasswd
|
||||
dosym /usr/sbin/htdigest /usr/bin/htdigest
|
||||
|
||||
dodoc "${S}"/CHANGES
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.15.ebuild,v 1.8 2011/10/14 16:25:46 beandog Exp $
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||
HOMEPAGE="http://httpd.apache.org/"
|
||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ssl"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="=dev-libs/apr-1*
|
||||
=dev-libs/apr-util-1*
|
||||
dev-libs/libpcre
|
||||
ssl? ( dev-libs/openssl )
|
||||
!<www-servers/apache-2.2.4"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
S="${WORKDIR}/httpd-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Apply these patches:
|
||||
# (1) apache-tools-Makefile.patch:
|
||||
# - fix up the `make install' for support/
|
||||
# - remove envvars from `make install'
|
||||
epatch "${FILESDIR}"/${PN}-Makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
cd "${S}"
|
||||
|
||||
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
||||
# Thanks to Harald van Dijk
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
if use ssl ; then
|
||||
myconf="${myconf} --with-ssl=/usr --enable-ssl"
|
||||
fi
|
||||
|
||||
# econf overwrites the stuff from config.layout, so we have to put them into
|
||||
# our myconf line too
|
||||
econf \
|
||||
--sbindir=/usr/sbin \
|
||||
--with-z=/usr \
|
||||
--with-apr=/usr \
|
||||
--with-apr-util=/usr \
|
||||
--with-pcre=/usr \
|
||||
${myconf} || die "econf failed!"
|
||||
|
||||
cd support
|
||||
emake || die "emake support/ failed!"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd "${S}"/support
|
||||
|
||||
make DESTDIR="${D}" install || die "make install failed!"
|
||||
|
||||
# install manpages
|
||||
doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
|
||||
"${S}"/docs/man/{ab,htcacheclean,logresolve,rotatelogs}.8
|
||||
|
||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||
# at some point).
|
||||
|
||||
for i in $(ls "${D}"/usr/sbin 2>/dev/null); do
|
||||
dosym /usr/sbin/${i} /usr/sbin/${i}2
|
||||
done
|
||||
|
||||
# Provide a symlink for ab-ssl
|
||||
if use ssl ; then
|
||||
dosym /usr/sbin/ab /usr/sbin/ab-ssl
|
||||
dosym /usr/sbin/ab /usr/sbin/ab2-ssl
|
||||
fi
|
||||
|
||||
# make htpasswd accessible for non-root users
|
||||
dosym /usr/sbin/htpasswd /usr/bin/htpasswd
|
||||
dosym /usr/sbin/htdigest /usr/bin/htdigest
|
||||
|
||||
dodoc "${S}"/CHANGES
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.16.ebuild,v 1.8 2011/10/14 16:25:46 beandog Exp $
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||
HOMEPAGE="http://httpd.apache.org/"
|
||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ssl"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="=dev-libs/apr-1*
|
||||
=dev-libs/apr-util-1*
|
||||
dev-libs/libpcre
|
||||
ssl? ( dev-libs/openssl )
|
||||
!<www-servers/apache-2.2.4"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
S="${WORKDIR}/httpd-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Apply these patches:
|
||||
# (1) apache-tools-Makefile.patch:
|
||||
# - fix up the `make install' for support/
|
||||
# - remove envvars from `make install'
|
||||
epatch "${FILESDIR}"/${PN}-Makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
cd "${S}"
|
||||
|
||||
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
||||
# Thanks to Harald van Dijk
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
if use ssl ; then
|
||||
myconf="${myconf} --with-ssl=/usr --enable-ssl"
|
||||
fi
|
||||
|
||||
# econf overwrites the stuff from config.layout, so we have to put them into
|
||||
# our myconf line too
|
||||
econf \
|
||||
--sbindir=/usr/sbin \
|
||||
--with-z=/usr \
|
||||
--with-apr=/usr \
|
||||
--with-apr-util=/usr \
|
||||
--with-pcre=/usr \
|
||||
${myconf} || die "econf failed!"
|
||||
|
||||
cd support
|
||||
emake || die "emake support/ failed!"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd "${S}"/support
|
||||
|
||||
make DESTDIR="${D}" install || die "make install failed!"
|
||||
|
||||
# install manpages
|
||||
doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
|
||||
"${S}"/docs/man/{ab,htcacheclean,logresolve,rotatelogs}.8
|
||||
|
||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||
# at some point).
|
||||
|
||||
for i in $(ls "${D}"/usr/sbin 2>/dev/null); do
|
||||
dosym /usr/sbin/${i} /usr/sbin/${i}2
|
||||
done
|
||||
|
||||
# Provide a symlink for ab-ssl
|
||||
if use ssl ; then
|
||||
dosym /usr/sbin/ab /usr/sbin/ab-ssl
|
||||
dosym /usr/sbin/ab /usr/sbin/ab2-ssl
|
||||
fi
|
||||
|
||||
# make htpasswd accessible for non-root users
|
||||
dosym /usr/sbin/htpasswd /usr/bin/htpasswd
|
||||
dosym /usr/sbin/htdigest /usr/bin/htdigest
|
||||
|
||||
dodoc "${S}"/CHANGES
|
||||
}
|
@ -1,92 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.17.ebuild,v 1.9 2011/10/14 16:25:46 beandog Exp $
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||
HOMEPAGE="http://httpd.apache.org/"
|
||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ssl"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="=dev-libs/apr-1*
|
||||
=dev-libs/apr-util-1*
|
||||
dev-libs/libpcre
|
||||
ssl? ( dev-libs/openssl )
|
||||
!<www-servers/apache-2.2.4"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
S="${WORKDIR}/httpd-${PV}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
# Apply these patches:
|
||||
# (1) apache-tools-Makefile.patch:
|
||||
# - fix up the `make install' for support/
|
||||
# - remove envvars from `make install'
|
||||
epatch "${FILESDIR}"/${PN}-Makefile.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf=""
|
||||
cd "${S}"
|
||||
|
||||
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
||||
# Thanks to Harald van Dijk
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
if use ssl ; then
|
||||
myconf="${myconf} --with-ssl=/usr --enable-ssl"
|
||||
fi
|
||||
|
||||
# econf overwrites the stuff from config.layout, so we have to put them into
|
||||
# our myconf line too
|
||||
econf \
|
||||
--sbindir=/usr/sbin \
|
||||
--with-z=/usr \
|
||||
--with-apr=/usr \
|
||||
--with-apr-util=/usr \
|
||||
--with-pcre=/usr \
|
||||
${myconf} || die "econf failed!"
|
||||
|
||||
cd support
|
||||
emake || die "emake support/ failed!"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd "${S}"/support
|
||||
|
||||
make DESTDIR="${D}" install || die "make install failed!"
|
||||
|
||||
# install manpages
|
||||
doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
|
||||
"${S}"/docs/man/{ab,htcacheclean,logresolve,rotatelogs}.8
|
||||
|
||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||
# at some point).
|
||||
|
||||
for i in $(ls "${D}"/usr/sbin 2>/dev/null); do
|
||||
dosym /usr/sbin/${i} /usr/sbin/${i}2
|
||||
done
|
||||
|
||||
# Provide a symlink for ab-ssl
|
||||
if use ssl ; then
|
||||
dosym /usr/sbin/ab /usr/sbin/ab-ssl
|
||||
dosym /usr/sbin/ab /usr/sbin/ab2-ssl
|
||||
fi
|
||||
|
||||
# make htpasswd accessible for non-root users
|
||||
dosym /usr/sbin/htpasswd /usr/bin/htpasswd
|
||||
dosym /usr/sbin/htdigest /usr/bin/htdigest
|
||||
|
||||
dodoc "${S}"/CHANGES
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.20.ebuild,v 1.7 2011/10/14 16:25:46 beandog Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||
HOMEPAGE="http://httpd.apache.org/"
|
||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ssl"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="=dev-libs/apr-1*
|
||||
=dev-libs/apr-util-1*
|
||||
dev-libs/libpcre
|
||||
ssl? ( dev-libs/openssl )
|
||||
!<www-servers/apache-2.2.4"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
S="${WORKDIR}/httpd-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
# Apply these patches:
|
||||
# (1) apache-tools-2.2.20-Makefile.patch:
|
||||
# - fix up the `make install' for support/
|
||||
# - remove envvars from `make install'
|
||||
epatch "${FILESDIR}"/${PN}-2.2.20-Makefile.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
use ssl && myconf+=" --with-ssl=/usr --enable-ssl"
|
||||
|
||||
# econf overwrites the stuff from config.layout, so we have to put them into
|
||||
# our myconf line too
|
||||
econf \
|
||||
--sbindir=/usr/sbin \
|
||||
--with-z=/usr \
|
||||
--with-apr=/usr \
|
||||
--with-apr-util=/usr \
|
||||
--with-pcre=/usr \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd support || die
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd support || die
|
||||
|
||||
make DESTDIR="${D}" install
|
||||
|
||||
# install manpages
|
||||
doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
|
||||
"${S}"/docs/man/{ab,htcacheclean,logresolve,rotatelogs}.8
|
||||
|
||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||
# at some point).
|
||||
pushd "${D}"/usr/sbin/ >/dev/null
|
||||
for i in *; do
|
||||
dosym /usr/sbin/${i} /usr/sbin/${i}2
|
||||
done
|
||||
popd "${D}"/usr/sbin/ >/dev/null
|
||||
|
||||
# Provide a symlink for ab-ssl
|
||||
if use ssl; then
|
||||
dosym /usr/sbin/ab /usr/sbin/ab-ssl
|
||||
dosym /usr/sbin/ab /usr/sbin/ab2-ssl
|
||||
fi
|
||||
|
||||
# make htpasswd accessible for non-root users
|
||||
dosym /usr/sbin/htpasswd /usr/bin/htpasswd
|
||||
dosym /usr/sbin/htdigest /usr/bin/htdigest
|
||||
|
||||
dodoc "${S}"/CHANGES
|
||||
}
|
@ -1,89 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.2.21.ebuild,v 1.7 2011/10/14 16:25:46 beandog Exp $
|
||||
|
||||
EAPI="4"
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
||||
HOMEPAGE="http://httpd.apache.org/"
|
||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ssl"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="=dev-libs/apr-1*
|
||||
=dev-libs/apr-util-1*
|
||||
dev-libs/libpcre
|
||||
ssl? ( dev-libs/openssl )
|
||||
!<www-servers/apache-2.2.4"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
sys-devel/libtool"
|
||||
|
||||
S="${WORKDIR}/httpd-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
# Apply these patches:
|
||||
# (1) apache-tools-2.2.20-Makefile.patch:
|
||||
# - fix up the `make install' for support/
|
||||
# - remove envvars from `make install'
|
||||
epatch "${FILESDIR}"/${PN}-2.2.20-Makefile.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=""
|
||||
|
||||
# Instead of filtering --as-needed (bug #128505), append --no-as-needed
|
||||
append-ldflags $(no-as-needed)
|
||||
|
||||
use ssl && myconf+=" --with-ssl=/usr --enable-ssl"
|
||||
|
||||
# econf overwrites the stuff from config.layout, so we have to put them into
|
||||
# our myconf line too
|
||||
econf \
|
||||
--sbindir=/usr/sbin \
|
||||
--with-z=/usr \
|
||||
--with-apr=/usr \
|
||||
--with-apr-util=/usr \
|
||||
--with-pcre=/usr \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd support || die
|
||||
emake
|
||||
}
|
||||
|
||||
src_install () {
|
||||
cd support || die
|
||||
|
||||
make DESTDIR="${D}" install
|
||||
|
||||
# install manpages
|
||||
doman "${S}"/docs/man/{dbmmanage,htdigest,htpasswd,htdbm}.1 \
|
||||
"${S}"/docs/man/{ab,htcacheclean,logresolve,rotatelogs}.8
|
||||
|
||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
||||
# at some point).
|
||||
pushd "${D}"/usr/sbin/ >/dev/null
|
||||
for i in *; do
|
||||
dosym /usr/sbin/${i} /usr/sbin/${i}2
|
||||
done
|
||||
popd "${D}"/usr/sbin/ >/dev/null
|
||||
|
||||
# Provide a symlink for ab-ssl
|
||||
if use ssl; then
|
||||
dosym /usr/sbin/ab /usr/sbin/ab-ssl
|
||||
dosym /usr/sbin/ab /usr/sbin/ab2-ssl
|
||||
fi
|
||||
|
||||
# make htpasswd accessible for non-root users
|
||||
dosym /usr/sbin/htpasswd /usr/bin/htpasswd
|
||||
dosym /usr/sbin/htdigest /usr/bin/htdigest
|
||||
|
||||
dodoc "${S}"/CHANGES
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.1.ebuild,v 1.1 2012/04/01 04:51:41 patrick Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/apache-tools/apache-tools-2.4.2.ebuild,v 1.1 2012/04/20 04:00:31 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
inherit flag-o-matic eutils
|
@ -1 +1,2 @@
|
||||
DIST gtkdiskfree-1.9.3.tar.gz 255448 RMD160 5ea6843d7e05e99eed536792ef88e725f01df27c SHA1 1bc309da843fdf54b0384902b11f36176746c576 SHA256 88ddccc51a060590476db7ed29137e474b70cca94ad28220d3122ab4b143d120
|
||||
DIST gtkdiskfree-2.0.1.tar.gz 354661 RMD160 a8010cb38979e0f3374a91f8618389fb60eefd49 SHA1 15c83ac1a599ab67e8c286307e5bd919ebb46593 SHA256 eb4369db5ff98df487b43fd59f998f3524a87896686cd2e9c5adccea3bfe7e94
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/gtkdiskfree/gtkdiskfree-2.0.1.ebuild,v 1.2 2012/04/20 08:55:10 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Graphical tool to show free disk space"
|
||||
HOMEPAGE="https://gitorious.org/gtkdiskfree"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND="x11-libs/gtk+:3"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
S=${WORKDIR}/${PN}-master
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable nls) --without-gtk2
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST it_IT-OOo2-pack_01_07__2008_11_29.zip 1397201 RMD160 d5729e48d711ffd65ae0ef91896671398d637ba4 SHA1 b78ad655fcdfaaa6418f690d536c1719d8359ad4 SHA256 55e41f229afc40998b9f92b0ff006ce5cc7508e30e468fe1337b7b426df045d2
|
||||
DIST myspell-hyph_it_IT-20060316.zip 1603 RMD160 3fc1cbb64dda685c1c163b6314c9852e40a676ca SHA1 f9c74ee69f07ef2c48dc25075eeb7b78a4eb75b3 SHA256 53cc217f7c907445ad24bc852c7c86dd1ae929588517158c791b86d613733b41
|
||||
DIST myspell-it_IT-20060316.zip 370114 RMD160 fbeaff477e03464341323d228c27741381bbf364 SHA1 f92d7c81eda231e6615bffcc82372eb0f19c328f SHA256 320cf98a155778ce6847dc3afadfc45b0d0ee85f28678c506b0a53ac4645dc06
|
||||
DIST myspell-la-20060316.zip 57218 RMD160 478a5a9abfe93fd813517fa6ff37c5c729c95ca6 SHA1 0ac8a83b634467e07db5e87fb5f793909cfb4bdc SHA256 06090d920cfa9d19390cb59a43c55f01ac1d6b87ea1fe91b6c5c2d0fe4d28c1f
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-it/myspell-it-20081129.ebuild,v 1.1 2012/04/19 22:15:44 pesa Exp $
|
||||
|
||||
MYSPELL_SPELLING_DICTIONARIES=(
|
||||
"it,IT,it_IT,Italian (Italy),it_IT.zip"
|
||||
"it,CH,it_IT,Italian (Switzerland),it_IT.zip"
|
||||
)
|
||||
|
||||
MYSPELL_HYPHENATION_DICTIONARIES=(
|
||||
"it,IT,hyph_it_IT,Italian (Italy),hyph_it_IT.zip"
|
||||
"it,CH,hyph_it_IT,Italian (Switzerland),hyph_it_IT.zip"
|
||||
)
|
||||
|
||||
MYSPELL_THESAURUS_DICTIONARIES=(
|
||||
"it,IT,th_it_IT,Italian (Italy),thes_it_IT.zip"
|
||||
"it,CH,th_it_IT,Italian (Switzerland),thes_it_IT.zip"
|
||||
)
|
||||
|
||||
inherit myspell
|
||||
|
||||
DESCRIPTION="Italian dictionaries for myspell/hunspell"
|
||||
LICENSE="AGPL-3 GPL-3 LPPL-1.3c"
|
||||
HOMEPAGE="http://sourceforge.net/projects/linguistico/"
|
||||
|
||||
MY_PV=01_07__2008_11_29
|
||||
SRC_URI="mirror://sourceforge/linguistico/it_IT-OOo2-pack_${MY_PV}.zip"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
unpack ./{,hyph_,thes_}it_IT.zip
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST thinkfan-0.7.3.tar.gz 22488 RMD160 aafdfdcd1eb86c59405e3381210d93989d24b899 SHA1 9438d21efe4abc3220d1390052419c1dd40bf62c SHA256 88374dd89af073f658b507942cdb569ef8cd2810e39cbf71da17455282a4b32e
|
||||
DIST thinkfan-0.8_alpha2.tar.gz 26571 RMD160 25b448b133ade35cc5af235dcfe52f8898275821 SHA1 64a10ff959e4e68e630b29c5f74a8159a507a70a SHA256 28f4ee9a833ef4d39258941c7bbcbd49ad6410479417bb4acf05e58da67f10eb
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-laptop/thinkfan/thinkfan-0.7.3.ebuild,v 1.1 2012/02/13 02:27:50 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils toolchain-funcs
|
||||
|
||||
DESCRIPTION="simple fan control program for thinkpads"
|
||||
HOMEPAGE="http://thinkfan.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch \
|
||||
"${FILESDIR}"/${P}-openrc.patch
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin ${PN}
|
||||
|
||||
newinitd rcscripts/thinkfan.gentoo ${PN}
|
||||
|
||||
doman ${PN}.1
|
||||
dodoc ChangeLog NEWS README ${PN}.conf.{sysfs,thinkpad}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please read the documentation and copy an"
|
||||
elog "appropriate file to /etc/thinkfan.conf."
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST calibre-0.8.46.tar.xz 24420412 RMD160 8628ede38561db58c366ba8f699acf5b3747fb62 SHA1 845bd5b7ef47aea3781e6180ff31dcae2e8ad1df SHA256 53d4a8873eeb91053685f4e43cb855739f4a842158207aefae0c80b3ac28c8e9
|
||||
DIST calibre-0.8.47.tar.xz 24460072 RMD160 04f3c380a13082fa0c6c62ab8010dc8bcbf8d3e1 SHA1 d9c80f57b5daba13874b6a86d541158fc2d4aeef SHA256 b428544bb2e2b260822c13127e7573579ad53b6116743223b6dbe508c85b31ff
|
||||
DIST calibre-0.8.48.tar.xz 24487952 RMD160 a028dd20429316ce903a730d809e5aaa85e1c92c SHA1 9d70769ad0fe2352e7b57a497c93358a5c92f21b SHA256 82d458bc253cdfab0d9529d04b10912c7e81fdea484ace36752b66629ad15244
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.46.ebuild,v 1.1 2012/04/06 16:48:10 zmedico Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.48.ebuild,v 1.1 2012/04/20 16:55:13 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
@ -1,2 +1,3 @@
|
||||
DIST ctemplate-1.0.tar.gz 837995 RMD160 ca1fdc571a869280d0395f919191a0773505c9d0 SHA1 313e3ee7f9e28adb537c08212eb509bdb848de56 SHA256 731279f1717527cf85ff79ed19b8674f91c3768d8bc20b09440e8dd1ca1b5bf8
|
||||
DIST ctemplate-2.0.tar.gz 874846 RMD160 f2138b9996951d786c3cb97db81f46b087baade7 SHA1 c577432a9bdc7169ae420e50998d955f5cf85a0c SHA256 ca2dfe9474b1fb1a20f92d934a6b47cbaf170a08b201335594c93b7417c68d69
|
||||
DIST ctemplate-2.2.tar.gz 889458 RMD160 fb5cf475f47b9bd651d05418f5dc01c039b50070 SHA1 b00a35291bc5c5bb8493a68bbf76d6a9cfa5c117 SHA256 04f3cbc0f7ff36adedc904bce776a0817cc6b704b3c4a04b4df5de66fd7e686f
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-cpp/ctemplate/ctemplate-2.2.ebuild,v 1.1 2012/04/20 17:55:00 vapier Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit elisp-common python
|
||||
|
||||
DESCRIPTION="A simple but powerful template language for C++"
|
||||
HOMEPAGE="http://code.google.com/p/ctemplate/"
|
||||
SRC_URI="http://ctemplate.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc emacs vim-syntax static-libs test"
|
||||
|
||||
DEPEND="test? ( =dev-lang/python-2* )"
|
||||
RDEPEND="vim-syntax? ( >=app-editors/vim-core-7 )
|
||||
emacs? ( virtual/emacs )"
|
||||
|
||||
SITEFILE="70ctemplate-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
if use test ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--enable-shared \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile contrib/tpl-mode.el || die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
# Installs just every piece
|
||||
rm -rf "${ED}/usr/share/doc"
|
||||
|
||||
dodoc AUTHORS ChangeLog NEWS README
|
||||
use doc && dohtml doc/*
|
||||
|
||||
if use vim-syntax ; then
|
||||
cd "${S}/contrib"
|
||||
sh highlighting.vim || die "unpacking vim scripts failed"
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r .vim/*
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
cd "${S}/contrib"
|
||||
elisp-install ${PN} tpl-mode.el tpl-mode.elc || die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec rm -f {} +
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
fix for upstream for building with newer gcc versions
|
||||
|
||||
r339 | zhanyong.wan | 2009-11-12 21:54:23 -0500 (Thu, 12 Nov 2009) | 2 lines
|
||||
|
||||
...; makes gtest-param-util-generated.h conform to the C++ standard (by Zhanyong Wan).
|
||||
|
||||
Index: include/gtest/internal/gtest-param-util-generated.h
|
||||
===================================================================
|
||||
--- include/gtest/internal/gtest-param-util-generated.h (revision 338)
|
||||
+++ include/gtest/internal/gtest-param-util-generated.h (revision 339)
|
||||
@@ -53,6 +53,21 @@
|
||||
#if GTEST_HAS_PARAM_TEST
|
||||
|
||||
namespace testing {
|
||||
+
|
||||
+// Forward declarations of ValuesIn(), which is implemented in
|
||||
+// include/gtest/gtest-param-test.h.
|
||||
+template <typename ForwardIterator>
|
||||
+internal::ParamGenerator<
|
||||
+ typename ::std::iterator_traits<ForwardIterator>::value_type> ValuesIn(
|
||||
+ ForwardIterator begin, ForwardIterator end);
|
||||
+
|
||||
+template <typename T, size_t N>
|
||||
+internal::ParamGenerator<T> ValuesIn(const T (&array)[N]);
|
||||
+
|
||||
+template <class Container>
|
||||
+internal::ParamGenerator<typename Container::value_type> ValuesIn(
|
||||
+ const Container& container);
|
||||
+
|
||||
namespace internal {
|
||||
|
||||
// Used in the Values() function to provide polymorphic capabilities.
|
@ -0,0 +1 @@
|
||||
DIST percona-toolkit-2.1.1.tar.gz 1182760 RMD160 4172f84435fc40382442974ee2740621945d70df SHA1 bbaf2440c55bb62b5e98d08bd3246e82c84f6f2a SHA256 ae8fc0479ee48a1ef1882006eecfbcdd3ba1ab5cae19825087fb02d96d8e4a39
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>mysql</herd>
|
||||
<maintainer>
|
||||
<email>wschlich@gentoo.org</email>
|
||||
<name>Wolfram Schlich</name>
|
||||
<description>Secondary maintainer</description>
|
||||
</maintainer>
|
||||
<longdescription>Percona Toolkit, formerly Maatkit and Aspersa, formerly MySQL Toolkit,
|
||||
is a collection of command-line utilities that provide missing
|
||||
functionality for MySQL. Some of the tools implement lacking server
|
||||
functionality, such as online consistency checks for master/slave
|
||||
replication; others are client-side utilities such as a query
|
||||
profiler.</longdescription>
|
||||
<!--
|
||||
<upstream>
|
||||
<remote-id type="launchpad">percona-toolkit</remote-id>
|
||||
</upstream>
|
||||
-->
|
||||
</pkgmetadata>
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/percona-toolkit/percona-toolkit-2.1.1.ebuild,v 1.1 2012/04/19 20:01:55 robbat2 Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit perl-app perl-module toolchain-funcs
|
||||
|
||||
DESCRIPTION="essential command-line utilities for MySQL"
|
||||
HOMEPAGE="http://www.percona.com/software/percona-toolkit/"
|
||||
SRC_URI="http://www.percona.com/downloads/${PN}/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( GPL-2 Artistic )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="dev-perl/DBI
|
||||
dev-perl/DBD-mysql
|
||||
virtual/perl-Time-HiRes"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/perl-Getopt-Long
|
||||
virtual/perl-Time-Local
|
||||
virtual/perl-Digest-MD5
|
||||
virtual/perl-IO-Compress
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Time-HiRes
|
||||
virtual/perl-Scalar-List-Utils
|
||||
dev-perl/TermReadKey"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker"
|
||||
|
||||
# Percona Toolkit does NOT contain the UDF code for Murmur/FNV any more.
|
@ -1,2 +1,3 @@
|
||||
DIST nqp-2012.02.tar.gz 837934 RMD160 441575d785fcf7b4227a9fcf95f92b7b2146b057 SHA1 b5f5d99c87f1c31e8aefe096ea1cee2727496dfa SHA256 69e7a8c0940db3fd8e47390addcd2970086e7d55344c421cabd2032caffd47aa
|
||||
DIST nqp-2012.03.tar.gz 924769 RMD160 5594d517a0aa975d240d12a3d2071815ac31a9e6 SHA1 e83b87f4a71af38c7211e7259dac1ad7a13be155 SHA256 c1031f97938a55e520b67167504fdd005a05005f72dd6954ac60e44832c6acd0
|
||||
DIST nqp-2012.04.tar.gz 928108 RMD160 557795b3b3cfeac43a8f93524f5267777e6baf4f SHA1 49f55e0799420101925ab9d4179d2a969ef2726e SHA256 0dd500850f97999d0355dadb087ecb684a9eb845b5cd2cccaf726d4962719b29
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/nqp/nqp-2012.04.ebuild,v 1.1 2012/04/20 08:55:12 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
PARROT_VERSION="3.9.0"
|
||||
|
||||
DESCRIPTION="Not Quite Perl, a Perl 6 bootstrapping compiler"
|
||||
HOMEPAGE="http://rakudo.org/"
|
||||
SRC_URI="http://github.com/perl6/${PN}/tarball/${PV} -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_prepare() {
|
||||
cd "${WORKDIR}"
|
||||
ln -s * "${S}" || die
|
||||
cd "${S}"
|
||||
echo "${PV}" > VERSION
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
perl Configure.pl || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die
|
||||
|
||||
dodoc CREDITS README || die
|
||||
|
||||
if use doc; then
|
||||
dodoc docs/* || die
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST parrot-4.0.0.tar.bz2 4304293 RMD160 1c7693e0027c99efba7de2b91504db605053b844 SHA1 12c7bd48b5df4217547e8f913d989a7beafe6bd7 SHA256 a1e0bc3de509b247b2cea4863cc202cdceeaa329729416115d3c20a162a0dd88
|
||||
DIST parrot-4.1.0.tar.bz2 4302808 RMD160 a0cf550967a37f2273212ed8b401b24ce70329e4 SHA1 32e7bf38d307bc90d6fcf26f1016228bbee307d3 SHA256 826465f3b7045cf81768029b1f18a4fa05259b7268c98c9c0436bd77c74785ec
|
||||
DIST parrot-4.2.0.tar.bz2 4309388 RMD160 7e93362932cee529e15a2158be55565d45c8e41d SHA1 f439bc06d566b8e7e5e4ec703101bc6bca4dd383 SHA256 a960c89f94099c9643c5623263bdb7fa9e97effb889c975382bbf9c0251186b4
|
||||
DIST parrot-4.3.0.tar.bz2 4322552 RMD160 6fabc852f2128d4d3919a6a7d1d73c7c18819c0e SHA1 da5d86180744fed7c7e020a535f413b4a7520fa7 SHA256 5c3f5ba2de06f6adb53b7835374a4f3e0601ec63e8a1d1dba6c6a07e12cc2990
|
||||
|
@ -0,0 +1,86 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/parrot/parrot-4.3.0.ebuild,v 1.1 2012/04/20 08:52:36 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
# There's multiple small issues at the moment, so ...
|
||||
RESTRICT="test"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="Virtual machine designed to efficiently compile and execute bytecode for dynamic languages"
|
||||
HOMEPAGE="http://www.parrot.org/"
|
||||
SRC_URI="ftp://ftp.parrot.org/pub/parrot/releases/stable/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="opengl nls doc examples gdbm gmp ssl +unicode pcre"
|
||||
|
||||
RDEPEND="sys-libs/readline
|
||||
opengl? ( media-libs/freeglut )
|
||||
nls? ( sys-devel/gettext )
|
||||
unicode? ( >=dev-libs/icu-2.6 )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.3-r1 )
|
||||
gmp? ( >=dev-libs/gmp-4.1.4 )
|
||||
ssl? ( dev-libs/openssl )
|
||||
pcre? ( dev-libs/libpcre )"
|
||||
|
||||
DEPEND="dev-lang/perl[doc?]
|
||||
${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Fix for #404195 - pcre detection is wonky
|
||||
sed -i 's:libpcre.so.0:libpcre.so.1:' runtime/parrot/library/pcre.pir || die "Couldn't fix pcre location"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
myconf="--disable-rpath"
|
||||
use unicode || myconf+=" --without-icu"
|
||||
use ssl || myconf+=" --without-crypto"
|
||||
use gdbm || myconf+=" --without-gdbm"
|
||||
use nls || myconf+=" --without-gettext"
|
||||
use gmp || myconf+=" --without-gmp"
|
||||
use opengl || myconf+=" --without-opengl"
|
||||
use pcre || myconf+=" --without-pcre"
|
||||
|
||||
perl Configure.pl \
|
||||
--ccflags="${CFLAGS}" \
|
||||
--linkflags="${LDFLAGS}" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--mandir="${EPREFIX}"/usr/share/man \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
--sharedstatedir="${EPREFIX}"/var/lib/parrot \
|
||||
$myconf || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"${S}"/blib/lib
|
||||
# occasionally dies in parallel make
|
||||
emake -j1 || die
|
||||
if use doc ; then
|
||||
emake -j1 html || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 install-dev DESTDIR="${D}" DOC_DIR="${EPREFIX}/usr/share/doc/${PF}" || die
|
||||
dodoc CREDITS DONORS.pod PBC_COMPAT PLATFORMS RESPONSIBLE_PARTIES TODO || die
|
||||
if use examples; then
|
||||
insinto "/usr/share/doc/${PF}/examples"
|
||||
doins -r examples/* || die
|
||||
fi
|
||||
if use doc; then
|
||||
insinto "/usr/share/doc/${PF}/editor"
|
||||
doins -r editor || die
|
||||
cd docs/html
|
||||
dohtml -r developer.html DONORS.pod.html index.html ops.html parrotbug.html pdds.html \
|
||||
pmc.html tools.html docs src tools || die
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST rakudo-2012.02.tar.gz 1032212 RMD160 6c88bb0b7485ad8835eb5cbd22017a11cbe955df SHA1 0bbbd1db448b3d8d894e98be394b0449a4bbd3bd SHA256 2ddabab0a8145326c5bd24031c15e04499084fc0067d2068d1d4f026606d912a
|
||||
DIST rakudo-2012.03.tar.gz 1040729 RMD160 9012979e5e8ea0351e7237186667cb785f2b1c91 SHA1 d5b87dd172f0fd0b159916aede7a74638d7361d0 SHA256 0ddc2199ca1c56be64dc7332cc9d837512929e58f92a3944e0013ceeeaaa0fab
|
||||
DIST rakudo-2012.04.tar.gz 1053012 RMD160 e3976711b7aea8ddfffbd2a687c8dca6a53538e2 SHA1 ddcbf86f6f00b09365486ba58967c461ceede329 SHA256 c0e8ae1b0255b4aea20c89fd58629474d97f037fd8ff2fa53384092054cf2317
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/rakudo/rakudo-2012.04.ebuild,v 1.1 2012/04/20 08:55:53 patrick Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PARROT_VERSION="4.1.0"
|
||||
NQP_VERSION="${PV}"
|
||||
|
||||
inherit eutils multilib
|
||||
|
||||
DESCRIPTION="A Perl 6 implementation built on the Parrot virtual machine"
|
||||
HOMEPAGE="http://rakudo.org/"
|
||||
SRC_URI="mirror://github/${PN}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-lang/parrot-${PARROT_VERSION}[unicode]
|
||||
>=dev-lang/nqp-${NQP_VERSION}"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl"
|
||||
# >=dev-lang/perl-5.10"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s,\$(DOCDIR)/rakudo$,&-${PVR}," tools/build/Makefile.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
perl Configure.pl || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install || die
|
||||
|
||||
dodoc CREDITS README docs/ChangeLog docs/ROADMAP || die
|
||||
|
||||
if use doc; then
|
||||
dohtml -A svg docs/architecture.html docs/architecture.svg || die
|
||||
dodoc docs/*.pod || die
|
||||
docinto announce
|
||||
dodoc docs/announce/* || die
|
||||
fi
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
DIST ruby-1.8.7-p352.tar.bz2 4207576 RMD160 9a0ea7e7eb83c809d2890b08db2e78eeb93dee0d SHA1 9f3d039e9bfeda54ea2c2175bbeace375a1ea1ae SHA256 9df4e9108387f7d24a6ab8950984d0c0f8cdbc1dad63194e744f1a176d1c5576
|
||||
DIST ruby-1.8.7-p357.tar.bz2 4208157 RMD160 9034fb641f0260aed590856cd9400f186a3dd56a SHA1 ba5ec0ab663976f00fb405be6cfef546bcf0e4e9 SHA256 5c64b63a597b4cb545887364e1fd1e0601a7aeb545e576e74a6d8e88a2765a37
|
||||
DIST ruby-1.8.7-p358.tar.bz2 4209883 RMD160 7196a000d39e4cd24e7911839c828642d54377bd SHA1 2b78dc421cfbca81ef1375a1c3da9f0f70c548fa SHA256 309ccd427e47ef41a70f96462bd3c2ef2e7911ce1b22432ab502f5bc6e949c1b
|
||||
DIST ruby-1.9.3-p0.tar.bz2 9554576 RMD160 92e95f1d41f89864e2e4791b522a815e6bf51711 SHA1 f63c116411b981ef54c2caeefb9ccc4d71a5d2cf SHA256 ca8ba4e564fc5f98b210a5784e43dfffef9471222849e46f8e848b37e9f38acf
|
||||
DIST ruby-1.9.3-p125.tar.bz2 9733962 RMD160 37517b3b0ab27ec09e3c5a5c48102d39f9657e28 SHA1 bcdd597cfea7f79fb949314f265fc36af7de16a5 SHA256 c67a59443052b5a9219eb4cee3892bdfbc6f250f0c8e214e02256a4cc7ef5526
|
||||
DIST ruby-patches-1.8.7_p352.tar.bz2 2646 RMD160 7af0ab7c86c9284ade489d3a07eb592cb8f20827 SHA1 f4df1f011a96153d4e804be1080a493b454a1852 SHA256 695895d4ab77294975669d879f0b03e08af5fcd750b967b44305031b2c115da6
|
||||
DIST ruby-patches-1.8.7_p357.tar.bz2 2444 RMD160 4287e30945390ee38ef06e91f4eb560d5e888a0b SHA1 4be75adacd5f912b8a80144a0474da4299bc4246 SHA256 779d98e7c325eaf5bdb652dc7ceebda604792cddcce547766966021e60e68aac
|
||||
DIST ruby-patches-1.8.7_p358.tar.bz2 4852 RMD160 cfcf25c694d0a3bf43d88311ce6711296036b3ef SHA1 f399d81f525a9f3bf8375f4632801a60f7756d10 SHA256 7afcafa54bfcf4a2f2bb5b95e14aa304d84e9388c9680243db8dc397aa3008cf
|
||||
DIST ruby-patches-1.9.3_p0.tar.bz2 2228 RMD160 5fc6e647ec3f1fe6cbe8014121aa6265c8cd9315 SHA1 10fc10bdde1cc40d4153be840a1314da1d988049 SHA256 22116a403a111701972a5a10d5c31b0bb86dd822c346d0079e86e03866d55df6
|
||||
DIST ruby-patches-1.9.3_p125.tar.bz2 1852 RMD160 0d149615670187ef59f7e2b511195e423c022ad2 SHA1 581bea96a9a390a4818ae5420793d3986031c762 SHA256 bc025f4a304a74531aa683b1a8a806f68b4a96fcf26fa42d9660218b9a1cef1a
|
||||
|
@ -0,0 +1,193 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-1.8.7_p358.ebuild,v 1.1 2012/04/20 10:42:50 graaff Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(replace_version_separator 3 '-')"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
# 1.8 and 1.9 series disagree on this
|
||||
RUBYVERSION=$(get_version_component_range 1-2)
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby GPL-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="+berkdb debug doc examples +gdbm ipv6 rubytests socks5 ssl threads tk xemacs ncurses +readline libedit"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( >=dev-libs/openssl-0.9.8m )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? ( dev-lang/tk[threads=] )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
libedit? ( dev-libs/libedit )
|
||||
!libedit? ( readline? ( sys-libs/readline ) )
|
||||
sys-libs/zlib
|
||||
>=app-admin/eselect-ruby-20100603
|
||||
!<dev-ruby/rdoc-2"
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
if use libedit; then
|
||||
einfo "Using libedit to provide readline extension"
|
||||
myconf="${myconf} --enable-libedit --with-readline"
|
||||
elif use readline; then
|
||||
einfo "Using readline to provide readline extension"
|
||||
myconf="${myconf} --with-readline"
|
||||
else
|
||||
myconf="${myconf} --without-readline"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="${MY_SUFFIX}" \
|
||||
--enable-shared \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
$(use_enable threads pthread) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
$(use_with berkdb dbm) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tk) \
|
||||
$(use_with ncurses curses) \
|
||||
${myconf} \
|
||||
--with-sitedir=/usr/$(get_libdir)/ruby/site_ruby \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitelibdir']")
|
||||
keepdir $(${MINIRUBY} -rrbconfig -e "print Config::CONFIG['sitearchdir']")
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
|
||||
|
||||
dodoc ChangeLog NEWS README* ToDo || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(18|19|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST gobject-introspection-1.32.0.tar.xz 1120376 RMD160 a9d7acef59b049cc301f920848898fe2adfc710f SHA1 461c9b8e1fab503995fbdf7e4b17ee8a6f51b460 SHA256 346a729eb8a2a5dc49197d2195e71295167504cc2671298dfd92a32f8e5a01b3
|
||||
DIST gobject-introspection-1.32.1.tar.xz 1120996 RMD160 7546532aed866451e0f934257c4b9bbc75f460e5 SHA1 289df976328490a2d5d4187032cf6d429dcef121 SHA256 44f3fb933f76e4728818cc360cb5f9e2edcbdf9bc8a8f9aded99b3e3ef5cb858
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection-common/gobject-introspection-common-1.32.1.ebuild,v 1.1 2012/04/20 06:23:41 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GNOME_ORG_MODULE="gobject-introspection"
|
||||
|
||||
inherit gnome.org
|
||||
|
||||
DESCRIPTION="Build infrastructure for GObject Introspection"
|
||||
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
|
||||
|
||||
LICENSE="as-is"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
!<dev-libs/gobject-introspection-1.32.0"
|
||||
# Before 1.32.0, ${PN} was part of gobject-introspection
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/aclocal
|
||||
insinto /usr/share/aclocal
|
||||
doins m4/introspection.m4
|
||||
|
||||
dodir /usr/share/gobject-introspection-1.0
|
||||
insinto /usr/share/gobject-introspection-1.0
|
||||
doins Makefile.introspection
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.32.1.ebuild,v 1.1 2012/04/20 06:23:56 tetromino Exp $
|
||||
|
||||
EAPI="4"
|
||||
GCONF_DEBUG="no"
|
||||
GNOME2_LA_PUNT="yes"
|
||||
PYTHON_DEPEND="2:2.7"
|
||||
|
||||
inherit gnome2 python
|
||||
|
||||
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
|
||||
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
|
||||
|
||||
LICENSE="LGPL-2 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE="doc doctool test"
|
||||
|
||||
RDEPEND=">=dev-libs/gobject-introspection-common-${PV}
|
||||
>=dev-libs/glib-2.31.22:2
|
||||
doctool? ( dev-python/mako )
|
||||
virtual/libffi"
|
||||
# Wants real bison, not virtual/yacc
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
doc? ( >=dev-util/gtk-doc-1.15 )"
|
||||
# PDEPEND to avoid circular dependencies, bug #391213
|
||||
PDEPEND="x11-libs/cairo[glib]"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
|
||||
G2CONF="${G2CONF}
|
||||
--disable-static
|
||||
YACC=$(type -p yacc)
|
||||
$(use_enable doctool)
|
||||
$(use_enable test tests)"
|
||||
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# FIXME: Parallel compilation failure with USE=doc
|
||||
use doc && MAKEOPTS="-j1"
|
||||
|
||||
gnome2_src_prepare
|
||||
|
||||
python_clean_py-compile_files
|
||||
|
||||
gi_skip_tests=
|
||||
if ! has_version "x11-libs/cairo[glib]"; then
|
||||
# Bug #391213: enable cairo-gobject support even if it's not installed
|
||||
# We only PDEPEND on cairo to avoid circular dependencies
|
||||
export CAIRO_LIBS="-lcairo"
|
||||
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
|
||||
export CAIRO_GOBJECT_LIBS="-lcairo-gobject"
|
||||
export CAIRO_GOBJECT_CFLAGS="-I${EPREFIX}/usr/include/cairo"
|
||||
if use test; then
|
||||
G2CONF="${G2CONF} --disable-tests"
|
||||
gi_skip_tests=yes
|
||||
ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present"
|
||||
ewarn "on your system. Consider installing it to get tests to run."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
[[ -z ${gi_skip_tests} ]] && default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
gnome2_src_install
|
||||
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,scanner}
|
||||
use doctool && python_convert_shebangs 2 "${ED}"usr/bin/g-ir-doc-tool
|
||||
|
||||
# Prevent collision with gobject-introspection-common
|
||||
rm -v "${ED}"usr/share/aclocal/introspection.m4 \
|
||||
"${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
|
||||
rmdir "${ED}"usr/share/aclocal || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
|
||||
python_need_rebuild
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
python_mod_cleanup /usr/$(get_libdir)/${PN}/giscanner
|
||||
}
|
@ -1,23 +1,23 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmowgli/libmowgli-2.0.0_alpha1.ebuild,v 1.3 2012/02/20 19:03:44 jdhore Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libmowgli/libmowgli-2.0.0.ebuild,v 1.2 2012/04/20 17:10:15 jdhore Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_P=${P/_/-}
|
||||
|
||||
DESCRIPTION="Useful set of performance and usability-oriented extensions to C"
|
||||
HOMEPAGE="http://www.atheme.org/project/mowgli"
|
||||
SRC_URI="http://atheme.org/downloads/${MY_P}.tar.gz"
|
||||
IUSE=""
|
||||
SRC_URI="http://atheme.org/downloads/${P}.tar.gz"
|
||||
IUSE="ssl"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
RDEPEND="ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${RDEPEND}"
|
||||
DOCS="AUTHORS README doc/BOOST doc/design-concepts.txt"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS README doc/BOOST
|
||||
src_configure() {
|
||||
# disabling SSL is "broken" in 2.0.0 so we have to use this hack till 2.0.1
|
||||
use !ssl && myconf="--with-openssl=/dev/null"
|
||||
econf ${myconf}
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST libusb-0.1.12.tar.gz 389343 RMD160 63848df717e00fff67ab30ba86a85466370d4e8e SHA1 599a5168590f66bc6f1f9a299579fd8500614807 SHA256 37f6f7d9de74196eb5fc0bbe0aea9b5c939de7f500acba3af6fd643f3b538b44
|
||||
DIST libusb-1.0.8.tar.bz2 331820 RMD160 5a413a77e240a15480ef1437d5f5393badbae985 SHA1 5484397860f709c9b51611d224819f8ed5994063 SHA256 21d0d3a5710f7f4211c595102c6b9eccb42435a17a4f5bd2c3f4166ab1badba9
|
||||
DIST libusb-1.0.9.tar.bz2 421971 RMD160 5410570f8ce31783044eb04aebaae7ade3b21a61 SHA1 025582ff2f6216e2dbc2610ae16b2e073e1b3346 SHA256 e920eedc2d06b09606611c99ec7304413c6784cba6e33928e78243d323195f9b
|
||||
DIST libusb-1.0_1.0.9~rc3.orig.tar.gz 187629 RMD160 0494d54a036a3ebdebc38bc423dfe5246cbe02d4 SHA1 b42f95eb8e98bfd78255a6d0072dbd151da2011f SHA256 044331270ef3e79f0b4edfa442156fc9aa3fc60cf59e6a45a0d0e170885e6057
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-1.0.8.ebuild,v 1.12 2012/01/01 18:27:53 grobian Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
DESCRIPTION="Userspace access to USB devices"
|
||||
HOMEPAGE="http://libusb.org/"
|
||||
SRC_URI="mirror://sourceforge/libusb/${P}.tar.bz2"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 -x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="debug doc static-libs"
|
||||
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
# fix bashism in configure script
|
||||
sed -i -e 's/test \(.*\) ==/test \1 =/' configure || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable debug debug-log)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
cd doc
|
||||
emake docs || die "making docs failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog NEWS PORTING README THANKS TODO
|
||||
|
||||
if use doc ; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
|
||||
dohtml doc/html/*
|
||||
fi
|
||||
|
||||
rm -f "${D}"/usr/lib*/libusb*.la
|
||||
}
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-1.0.9.ebuild,v 1.1 2012/04/20 08:38:29 ssuominen Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Userspace access to USB devices"
|
||||
HOMEPAGE="http://libusb.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="debug doc static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="doc? ( app-doc/doxygen )"
|
||||
|
||||
DOCS="AUTHORS NEWS PORTING README THANKS TODO"
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable debug debug-log)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
use doc && emake -C doc docs
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*.c
|
||||
|
||||
dohtml doc/html/*
|
||||
fi
|
||||
|
||||
rm -f "${ED}"/usr/lib*/lib*.la
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/mogilefs-server/mogilefs-server-2.600.0.ebuild,v 1.1 2012/04/20 18:17:11 robbat2 Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=MogileFS-Server
|
||||
MODULE_AUTHOR=DORMANDO
|
||||
MODULE_VERSION=${PV:0:4}
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Server for the MogileFS distributed file system"
|
||||
HOMEPAGE="http://www.danga.com/mogilefs/ ${HOMEPAGE}"
|
||||
|
||||
IUSE="mysql sqlite postgres"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="|| ( Artistic GPL-2 )"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# Upstream site recommends this,
|
||||
# but it breaks Perlbal
|
||||
# dev-perl/Perlbal-XS-HTTPHeaders
|
||||
RDEPEND="dev-perl/Net-Netmask
|
||||
>=dev-perl/Danga-Socket-1.61
|
||||
>=dev-perl/Sys-Syscall-0.22
|
||||
>=dev-perl/Perlbal-1.790
|
||||
dev-perl/IO-AIO
|
||||
dev-perl/libwww-perl
|
||||
>=dev-perl/MogileFS-Client-1.14
|
||||
>=dev-perl/MogileFS-Utils-2.20
|
||||
dev-perl/Cache-Memcached
|
||||
mysql? ( dev-perl/DBD-mysql )
|
||||
postgres? ( dev-perl/DBD-Pg )
|
||||
sqlite? ( dev-perl/DBD-SQLite )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
# You need a local MySQL or Postgresql server for this
|
||||
#SRC_TEST="do"
|
||||
|
||||
#PATCHES=( )
|
||||
|
||||
MOGILE_USER="mogile"
|
||||
|
||||
pkg_setup() {
|
||||
# Warning! It is important that the uid is constant over Gentoo machines
|
||||
# As mogilefs may be used with non-local block devices that move!
|
||||
enewuser ${MOGILE_USER} 460 -1 -1
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
for f in Makefile.PL MANIFEST ; do
|
||||
if [ -f "${S}"/${f}.orig ]; then
|
||||
cp -f "${S}"/${f}{.orig,}
|
||||
else
|
||||
cp -f "${S}"/${f}{,.orig}
|
||||
fi
|
||||
done
|
||||
# If we are not in a cutting edge Git source, we would prefer to not install
|
||||
# duplicates of these.
|
||||
sed -i -e '/directory.*mogdeps/d' "${S}"/Makefile.PL
|
||||
sed -i -e '/^lib\/mogdeps/d' "${S}"/MANIFEST
|
||||
mv -f "${S}/lib/mogdeps" "${S}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_compile || die "perl-module_src_compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export MOGILE_NO_BUILTIN_DEPS=1
|
||||
perl-module_src_install || die "perl-module_src_install failed"
|
||||
cd "${S}"
|
||||
|
||||
newconfd "${FILESDIR}"/mogilefsd-conf.d-2.16 mogilefsd
|
||||
newinitd "${FILESDIR}"/mogilefsd-init.d-2.16 mogilefsd
|
||||
|
||||
newconfd "${FILESDIR}"/mogstored-conf.d-2.30 mogstored
|
||||
newinitd "${FILESDIR}"/mogstored-init.d-2.50 mogstored
|
||||
|
||||
newinitd "${FILESDIR}"/mogautomount-init.d-2.50 mogautomount
|
||||
|
||||
diropts -m 700 -o ${MOGILE_USER}
|
||||
keepdir /var/run/mogile
|
||||
keepdir /var/mogdata
|
||||
diropts -m 755 -o root
|
||||
|
||||
dodir /etc/mogilefs
|
||||
insinto /etc/mogilefs
|
||||
insopts -m 600 -o root -g ${MOGILE_USER}
|
||||
newins "${FILESDIR}"/mogilefsd.conf-2.30 mogilefsd.conf
|
||||
newins "${FILESDIR}"/mogstored.conf-2.16 mogstored.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chmod 640 "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
chown root:${MOGILE_USER} "${ROOT}"/etc/mogilefs/{mogilefsd,mogstored}.conf
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cvxopt-1.1.4.tar.gz 2949975 RMD160 7e5ed85b27fd6298cd2919c7b914669baea3df98 SHA1 ee063b8d127a2e744f663ef1a9a37e1acdc55970 SHA256 1ac01ae510038f23751624301ec8d67bfda18a8a444b4f516c52d885a3c41792
|
||||
DIST cvxopt-1.1.5.tar.gz 3436288 RMD160 3d00f8bed86daeeebf243ab39fe12b2c0126e0e5 SHA1 6b02c9c022f391de4afb0bc1f6fb297aa0dc9efa SHA256 f1c0bd46321db941a46bb3544f4a23c6b15a90cbe5a485d735659abf110993d8
|
||||
|
@ -0,0 +1,84 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cvxopt/cvxopt-1.1.5.ebuild,v 1.1 2012/04/19 20:56:11 bicatali Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5 *-jython 2.7-pypy-*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="Python package for convex optimization"
|
||||
HOMEPAGE="http://abel.ee.ucla.edu/cvxopt"
|
||||
SRC_URI="http://abel.ee.ucla.edu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc +dsdp examples fftw +glpk gsl"
|
||||
|
||||
RDEPEND="virtual/blas
|
||||
virtual/cblas
|
||||
virtual/lapack
|
||||
sci-libs/cholmod
|
||||
sci-libs/umfpack
|
||||
dsdp? ( sci-libs/dsdp )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
glpk? ( sci-mathematics/glpk )
|
||||
gsl? ( sci-libs/gsl )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/pkgconfig
|
||||
doc? ( dev-python/sphinx )"
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
src_prepare(){
|
||||
epatch "${FILESDIR}"/${P}-setup.patch
|
||||
rm -rf src/C/SuiteSparse*/
|
||||
|
||||
pkg_lib() {
|
||||
local pylib=\'$(pkg-config --libs-only-l ${1} | sed \
|
||||
-e 's/^-l//' \
|
||||
-e "s/ -l/\',\'/g" \
|
||||
-e 's/.,.pthread//g' \
|
||||
-e "s: ::")\'
|
||||
sed -i -e "/_LIB = /s:\(.*\)'${1}'\(.*\):\1${pylib}\2:" setup.py
|
||||
}
|
||||
|
||||
use_cvx() {
|
||||
if use ${1}; then
|
||||
sed -i \
|
||||
-e "s/\(BUILD_${1^^} =\) 0/\1 1/" \
|
||||
setup.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_lib blas
|
||||
pkg_lib lapack
|
||||
use_cvx gsl
|
||||
use_cvx fftw
|
||||
use_cvx glpk
|
||||
use_cvx dsdp
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
use doc && emake -C "${WORKDIR}"/${P}/doc -B html
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${WORKDIR}"/${P}/examples/doc/chap8
|
||||
testing() {
|
||||
PYTHONPATH="$(ls -d ${S}/build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" lp.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
use doc && dohtml -r "${WORKDIR}"/${P}/doc/build/html/*
|
||||
insinto /usr/share/doc/${PF}
|
||||
use examples && doins -r "${WORKDIR}"/${P}/examples
|
||||
}
|
@ -0,0 +1,171 @@
|
||||
--- setup.py.orig 2012-04-04 17:18:51.000000000 +0100
|
||||
+++ setup.py 2012-04-19 00:02:14.000000000 +0100
|
||||
@@ -2,7 +2,7 @@
|
||||
from glob import glob
|
||||
|
||||
# Modifiy this if BLAS and LAPACK libraries are not in /usr/lib.
|
||||
-BLAS_LIB_DIR = '/usr/lib'
|
||||
+BLAS_LIB_DIR = ''
|
||||
|
||||
# Default names of BLAS and LAPACK libraries
|
||||
BLAS_LIB = ['blas']
|
||||
@@ -18,37 +18,37 @@
|
||||
BUILD_GSL = 0
|
||||
|
||||
# Directory containing libgsl (used only when BUILD_GSL = 1).
|
||||
-GSL_LIB_DIR = '/usr/lib'
|
||||
+GSL_LIB_DIR = ''
|
||||
|
||||
# Directory containing the GSL header files (used only when BUILD_GSL = 1).
|
||||
-GSL_INC_DIR = '/usr/include/gsl'
|
||||
+GSL_INC_DIR = ''
|
||||
|
||||
# Set to 1 if you are installing the fftw module.
|
||||
BUILD_FFTW = 0
|
||||
|
||||
# Directory containing libfftw3 (used only when BUILD_FFTW = 1).
|
||||
-FFTW_LIB_DIR = '/usr/lib'
|
||||
+FFTW_LIB_DIR = ''
|
||||
|
||||
# Directory containing fftw.h (used only when BUILD_FFTW = 1).
|
||||
-FFTW_INC_DIR = '/usr/include'
|
||||
+FFTW_INC_DIR = ''
|
||||
|
||||
# Set to 1 if you are installing the glpk module.
|
||||
BUILD_GLPK = 0
|
||||
|
||||
# Directory containing libglpk (used only when BUILD_GLPK = 1).
|
||||
-GLPK_LIB_DIR = '/usr/lib'
|
||||
+GLPK_LIB_DIR = ''
|
||||
|
||||
# Directory containing glpk.h (used only when BUILD_GLPK = 1).
|
||||
-GLPK_INC_DIR = '/usr/include'
|
||||
+GLPK_INC_DIR = ''
|
||||
|
||||
# Set to 1 if you are installing the DSDP module.
|
||||
BUILD_DSDP = 0
|
||||
|
||||
# Directory containing libdsdp (used only when BUILD_DSDP = 1).
|
||||
-DSDP_LIB_DIR = '/usr/lib'
|
||||
+DSDP_LIB_DIR = ''
|
||||
|
||||
# Directory containing dsdp5.h (used only when BUILD_DSDP = 1).
|
||||
-DSDP_INC_DIR = '/usr/include/dsdp'
|
||||
+DSDP_INC_DIR = ''
|
||||
|
||||
# No modifications should be needed below this line.
|
||||
|
||||
@@ -61,39 +61,32 @@
|
||||
# optional modules
|
||||
|
||||
if BUILD_GSL:
|
||||
- gsl = Extension('gsl', libraries = ['m', 'gsl'] + BLAS_LIB,
|
||||
- include_dirs = [ GSL_INC_DIR ],
|
||||
- library_dirs = [ GSL_LIB_DIR, BLAS_LIB_DIR ],
|
||||
- extra_link_args = BLAS_EXTRA_LINK_ARGS,
|
||||
+ gsl = Extension('gsl', libraries = ['gsl'],
|
||||
+ library_dirs = [ GSL_LIB_DIR ],
|
||||
sources = ['C/gsl.c'] )
|
||||
extmods += [gsl];
|
||||
|
||||
if BUILD_FFTW:
|
||||
- fftw = Extension('fftw', libraries = ['fftw3'] + BLAS_LIB,
|
||||
- include_dirs = [ FFTW_INC_DIR ],
|
||||
- library_dirs = [ FFTW_LIB_DIR, BLAS_LIB_DIR ],
|
||||
- extra_link_args = BLAS_EXTRA_LINK_ARGS,
|
||||
+ fftw = Extension('fftw', libraries = ['fftw3'],
|
||||
+ library_dirs = [ FFTW_LIB_DIR ],
|
||||
sources = ['C/fftw.c'] )
|
||||
extmods += [fftw];
|
||||
|
||||
if BUILD_GLPK:
|
||||
glpk = Extension('glpk', libraries = ['glpk'],
|
||||
- include_dirs = [ GLPK_INC_DIR ],
|
||||
library_dirs = [ GLPK_LIB_DIR ],
|
||||
sources = ['C/glpk.c'] )
|
||||
extmods += [glpk];
|
||||
|
||||
if BUILD_DSDP:
|
||||
- dsdp = Extension('dsdp', libraries = ['dsdp'] + LAPACK_LIB + BLAS_LIB,
|
||||
- include_dirs = [ DSDP_INC_DIR ],
|
||||
- library_dirs = [ DSDP_LIB_DIR, BLAS_LIB_DIR ],
|
||||
- extra_link_args = BLAS_EXTRA_LINK_ARGS,
|
||||
+ dsdp = Extension('dsdp', libraries = ['dsdp'],
|
||||
+ library_dirs = [ DSDP_LIB_DIR ],
|
||||
sources = ['C/dsdp.c'] )
|
||||
extmods += [dsdp];
|
||||
|
||||
# Required modules
|
||||
|
||||
-base = Extension('base', libraries = ['m'] + LAPACK_LIB + BLAS_LIB,
|
||||
+base = Extension('base', libraries = LAPACK_LIB,
|
||||
library_dirs = [ BLAS_LIB_DIR ],
|
||||
define_macros = MACROS,
|
||||
extra_link_args = BLAS_EXTRA_LINK_ARGS,
|
||||
@@ -105,55 +98,36 @@
|
||||
extra_link_args = BLAS_EXTRA_LINK_ARGS,
|
||||
sources = ['C/blas.c'] )
|
||||
|
||||
-lapack = Extension('lapack', libraries = LAPACK_LIB + BLAS_LIB,
|
||||
+lapack = Extension('lapack', libraries = LAPACK_LIB ,
|
||||
library_dirs = [ BLAS_LIB_DIR ],
|
||||
define_macros = MACROS,
|
||||
extra_link_args = BLAS_EXTRA_LINK_ARGS,
|
||||
sources = ['C/lapack.c'] )
|
||||
|
||||
umfpack = Extension('umfpack',
|
||||
- include_dirs = [ 'C/SuiteSparse/UMFPACK/Include',
|
||||
- 'C/SuiteSparse/AMD/Include', 'C/SuiteSparse/AMD/Source',
|
||||
- 'C/SuiteSparse/UFconfig' ],
|
||||
library_dirs = [ BLAS_LIB_DIR ],
|
||||
define_macros = MACROS,
|
||||
- libraries = LAPACK_LIB + BLAS_LIB,
|
||||
- extra_link_args = BLAS_EXTRA_LINK_ARGS,
|
||||
- sources = [ 'C/umfpack.c',
|
||||
- 'C/SuiteSparse/UMFPACK/Source/umfpack_global.c',
|
||||
- 'C/SuiteSparse/UMFPACK/Source/umfpack_tictoc.c' ] +
|
||||
- glob('C/SuiteSparse_cvxopt_extra/umfpack/*'))
|
||||
+ libraries = [ 'umfpack' ],
|
||||
+ sources = [ 'C/umfpack.c' ])
|
||||
+
|
||||
|
||||
# Build for int or long?
|
||||
import sys
|
||||
if sys.maxsize > 2**31: MACROS += [('DLONG','')]
|
||||
|
||||
cholmod = Extension('cholmod',
|
||||
- library_dirs = [ BLAS_LIB_DIR ],
|
||||
- libraries = LAPACK_LIB + BLAS_LIB,
|
||||
- include_dirs = [ 'C/SuiteSparse/CHOLMOD/Include',
|
||||
- 'C/SuiteSparse/COLAMD', 'C/SuiteSparse/AMD/Include',
|
||||
- 'C/SuiteSparse/UFconfig', 'C/SuiteSparse/COLAMD/Include' ],
|
||||
- define_macros = MACROS + [('NPARTITION', '1')],
|
||||
- extra_link_args = BLAS_EXTRA_LINK_ARGS,
|
||||
- sources = [ 'C/cholmod.c' ] +
|
||||
- ['C/SuiteSparse/AMD/Source/' + s for s in ['amd_global.c',
|
||||
- 'amd_postorder.c', 'amd_post_tree.c', 'amd_2.c']] +
|
||||
- ['C/SuiteSparse/COLAMD/Source/' + s for s in ['colamd.c',
|
||||
- 'colamd_global.c']] +
|
||||
- glob('C/SuiteSparse/CHOLMOD/Core/c*.c') +
|
||||
- glob('C/SuiteSparse/CHOLMOD/Cholesky/c*.c') +
|
||||
- ['C/SuiteSparse/CHOLMOD/Check/cholmod_check.c'] +
|
||||
- glob('C/SuiteSparse/CHOLMOD/Supernodal/c*.c') )
|
||||
+ libraries = ['cholmod'],
|
||||
+ define_macros = MACROS + [('NPARTITION', '1')],
|
||||
+ sources = [ 'C/cholmod.c' ])
|
||||
+
|
||||
|
||||
amd = Extension('amd',
|
||||
- include_dirs = [ 'C/SuiteSparse/AMD/Include',
|
||||
- 'C/SuiteSparse/UFconfig' ],
|
||||
define_macros = MACROS,
|
||||
- sources = [ 'C/amd.c' ] + glob('C/SuiteSparse/AMD/Source/*.c') )
|
||||
+ libraries = ['amd'],
|
||||
+ sources = [ 'C/amd.c' ])
|
||||
|
||||
misc_solvers = Extension('misc_solvers',
|
||||
- libraries = LAPACK_LIB + BLAS_LIB,
|
||||
+ libraries = LAPACK_LIB,
|
||||
library_dirs = [ BLAS_LIB_DIR ],
|
||||
define_macros = MACROS,
|
||||
extra_link_args = BLAS_EXTRA_LINK_ARGS,
|
@ -1 +1,2 @@
|
||||
DIST OOSuite-0.37.zip 472085 RMD160 fc3b89cd6b79d5ad43b0e79ed6bdf8e864c4347f SHA1 2661d187921ae80c678ba14ffcf1560f482566fc SHA256 8a98e6039202c1d25f2282053ad6e00a65750804fc8b567cad1e91177d771d85
|
||||
DIST OOSuite-0.38.zip 503698 RMD160 e9c4bfd13fa3724d10fb3e93ef72216d0edd17c8 SHA1 4302483998f1ea3a1f63da73c5d50d0c8f4aa369 SHA256 faf93377d18f853435ee4fbddc47005e191b439c48d304a52ce713bc412512ae
|
||||
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/oosuite/oosuite-0.38.ebuild,v 1.1 2012/04/20 18:21:29 bicatali Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# python eclass cruft
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
PYTHON_USE_WITH="tk?"
|
||||
RESTRICT_PYTHON_ABIS="2.4"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MYPN="OOSuite"
|
||||
MYPID="f/f3"
|
||||
|
||||
DESCRIPTION="OpenOpt suite of Python modules for numerical optimization"
|
||||
HOMEPAGE="http://openopt.org/"
|
||||
SRC_URI="http://openopt.org/images/${MYPID}/${MYPN}.zip -> ${MYPN}-${PV}.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples minimal tk"
|
||||
|
||||
RDEPEND="dev-python/numpy
|
||||
!minimal? (
|
||||
dev-python/cvxopt[glpk]
|
||||
dev-python/lp_solve
|
||||
dev-python/matplotlib
|
||||
dev-python/setproctitle
|
||||
sci-libs/nlopt[python]
|
||||
sci-libs/scipy )"
|
||||
DEPEND="app-arch/unzip
|
||||
dev-python/numpy
|
||||
dev-python/setuptools"
|
||||
|
||||
S="${WORKDIR}/PythonPackages"
|
||||
|
||||
src_prepare() {
|
||||
#epatch "${FILESDIR}"/${PN}-0.37-no-init-msg.patch
|
||||
OO_DIRS="DerApproximator FuncDesigner OpenOpt SpaceFuncs"
|
||||
find . -name "*COPYING*" -delete
|
||||
# move all examples and tests to ease installation in proper directory
|
||||
mkdir "${WORKDIR}/examples"
|
||||
local d e
|
||||
for d in ${OO_DIRS}; do
|
||||
mkdir "${WORKDIR}/examples/${d}"
|
||||
for e in $(find ${d} -type d -name examples -or -name tests -or -name doc); do
|
||||
mv ${e} "${WORKDIR}/examples/${d}/" || die
|
||||
done
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local d
|
||||
for d in ${OO_DIRS}; do
|
||||
pushd ${d} > /dev/null
|
||||
distutils_src_compile
|
||||
popd > /dev/null
|
||||
done
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
local d t oldpath=${PYTHONPATH}
|
||||
for d in ${OO_DIRS}; do
|
||||
PYTHONPATH="${S}/${d}/build-${PYTHON_ABI}/lib:${PYTHONPATH}"
|
||||
done
|
||||
export PYTHONPATH
|
||||
cd "${WORKDIR}"/examples
|
||||
for t in \
|
||||
DerApproximator/tests/t_check.py \
|
||||
FuncDesigner/examples/sle1.py \
|
||||
OpenOpt/examples/nlp_1.py \
|
||||
SpaceFuncs/examples/triangle.py
|
||||
do
|
||||
"$(PYTHON)" ${t}
|
||||
done
|
||||
export PYTHONPATH=${oldpath}
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local d
|
||||
for d in ${OO_DIRS}; do
|
||||
pushd ${d} > /dev/null
|
||||
distutils_src_install
|
||||
popd > /dev/null
|
||||
done
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r "${WORKDIR}"/examples
|
||||
fi
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST openpyxl-1.5.8.tar.bz2 157609 RMD160 778019564b1108982470fa375228c6cff84a5f99 SHA1 a76a337cce775a93a6fc8caf687ffc4fa4fcbb04 SHA256 339b511027d547709a734d21f91cd021b1f365f214087bdd05d5dd2dcaf942f5
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<longdescription>
|
||||
Openpyxl is a pure Python module to read/write Excel 2007 (OpenXML)
|
||||
xlsx/xlsm files.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/openpyxl/openpyxl-1.5.8.ebuild,v 1.1 2012/04/20 17:45:01 bicatali Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# python cruft
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
RESTRICT_PYTHON_ABIS="2.4"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Pure python reader and writer of Excel OpenXML files"
|
||||
HOMEPAGE="http://bitbucket.org/ericgazoni/openpyxl/wiki/Home"
|
||||
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
# fork from https://bitbucket.org/hjunes/openpyxl/ compatible with python3
|
||||
SRC_URI="http://dev.gentoo.org/~bicatali/distfiles/${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}"
|
@ -1,2 +0,0 @@
|
||||
DIST py3dns-3.0.0.tar.gz 32354 RMD160 50fd2c9b50980fb8ab69a85314652782c10d2ce9 SHA1 4681eccb8fa0ad34b941650c038ae0d14fff90dd SHA256 434de3a0cc7da6f0e1164a9c2191828b6d49c8864c55c56e63811c060eb7a050
|
||||
DIST py3dns-3.0.1.tar.gz 28693 RMD160 45197730463a7b8c89fa4bb2f573d1117b15a0a6 SHA1 09831f052b26cf0688b3eca708ae88b1551c4152 SHA256 4524cdb058795108c3835bfbbfea7595cd2d8a37ee477ea9f552360f24ed63b7
|
@ -1,14 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>sbriesen@gentoo.org</email>
|
||||
<name>Stefan Briesenick</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
PyDNS provides a module for performing DNS queries from python
|
||||
applications. This was originally based on Guido van Rossum's DNS
|
||||
library code, but has drifted further and further away from it over
|
||||
time.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/py3dns/py3dns-3.0.0.ebuild,v 1.1 2011/07/10 00:54:46 sbriesen Exp $
|
||||
|
||||
EAPI="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python3 module for DNS (Domain Name Service)"
|
||||
HOMEPAGE="http://pydns.sourceforge.net/ http://pypi.python.org/pypi/pydns"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/pydns/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="CNRI"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="virtual/libiconv"
|
||||
RDEPEND=""
|
||||
RESTRICT_PYTHON_ABIS="2.*"
|
||||
|
||||
DOCS="CREDITS.txt"
|
||||
PYTHON_MODNAME="DNS"
|
||||
|
||||
src_prepare() {
|
||||
# Don't compile bytecode.
|
||||
sed -i -e 's:^\(compile\).*:\1 = 0:g' -e 's:^\(optimize\).*:\1 = 0:g' setup.cfg
|
||||
}
|
||||
|
||||
src_install(){
|
||||
distutils_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins tests/*.py tools/*.py
|
||||
fi
|
||||
}
|
@ -1,38 +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/py3dns/py3dns-3.0.1.ebuild,v 1.1 2012/04/19 08:42:33 patrick Exp $
|
||||
|
||||
EAPI="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Python3 module for DNS (Domain Name Service)"
|
||||
HOMEPAGE="http://pydns.sourceforge.net/ http://pypi.python.org/pypi/pydns"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/pydns/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="CNRI"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
DEPEND="virtual/libiconv"
|
||||
RDEPEND=""
|
||||
RESTRICT_PYTHON_ABIS="2.*"
|
||||
|
||||
DOCS="CREDITS.txt"
|
||||
PYTHON_MODNAME="DNS"
|
||||
|
||||
src_prepare() {
|
||||
# Don't compile bytecode.
|
||||
sed -i -e 's:^\(compile\).*:\1 = 0:g' -e 's:^\(optimize\).*:\1 = 0:g' setup.cfg
|
||||
}
|
||||
|
||||
src_install(){
|
||||
distutils_src_install
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins tests/*.py tools/*.py
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST Scrapy-0.14.1.tar.gz 719187 RMD160 015baca21f34c65e900d839d5ab464325503e8ed SHA1 20a77fb067e8d79d0060c83454dd12047e5999d8 SHA256 a95b00d0b7e3eaa895a9773001905637f3702edc3089cea100b74ee346a83edb
|
||||
DIST Scrapy-0.14.2.tar.gz 719256 RMD160 1324497be82b7dc09c6e5b54944c5359e09e626e SHA1 ce8fde29ff066dacf2cc9e6ec8c0e7c986fd7e69 SHA256 66fe66681421446f63703bcae680ea10d745d320ce262d3128cbae3b474b1eed
|
||||
DIST Scrapy-0.14.3.tar.gz 716257 RMD160 7eb62710cd32249ed7c0af3b0a7e789c71c6ac6a SHA1 c948f2290d52f51d74732ffacd6a6afab1aca3ed SHA256 fd42e2a9e93f1741f24032d3a1a45c5660ce942a1e829c4d481d8ff9f287518a
|
||||
|
@ -0,0 +1,13 @@
|
||||
--- bin/runtests.sh
|
||||
+++ bin/runtests.sh
|
||||
@@ -42,7 +42,10 @@
|
||||
$trial "$@"
|
||||
fi
|
||||
|
||||
+exit_status=$?
|
||||
+
|
||||
# cleanup vsftpd stuff
|
||||
[ -n "$vsftpd_pid" ] && kill $vsftpd_pid
|
||||
[ -n "$ftproot" ] && rm -rf $ftproot $vsftpd_conf
|
||||
|
||||
+exit $exit_status
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/scrapy/scrapy-0.14.3.ebuild,v 1.2 2012/04/20 18:48:09 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
PYTHON_DEPEND="2:2.5"
|
||||
PYTHON_USE_WITH="sqlite"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-pypy-*"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
MY_PN="Scrapy"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A high-level Python Screen Scraping framework"
|
||||
HOMEPAGE="http://scrapy.org http://pypi.python.org/pypi/Scrapy/"
|
||||
SRC_URI="mirror://pypi/S/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="boto doc examples ibl test ssl"
|
||||
|
||||
DEPEND="dev-python/setuptools
|
||||
doc? ( dev-python/sphinx )
|
||||
test? (
|
||||
dev-python/django
|
||||
net-ftp/vsftpd
|
||||
)"
|
||||
RDEPEND="dev-libs/libxml2[python]
|
||||
boto? ( dev-python/boto )
|
||||
dev-python/imaging
|
||||
dev-python/lxml
|
||||
ibl? ( dev-python/numpy )
|
||||
ssl? ( dev-python/pyopenssl )
|
||||
dev-python/setuptools
|
||||
dev-python/simplejson
|
||||
dev-python/twisted
|
||||
dev-python/twisted-conch
|
||||
dev-python/twisted-mail
|
||||
dev-python/twisted-web
|
||||
>=dev-python/w3lib-1.1"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-runtests.patch"
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils_src_compile
|
||||
|
||||
if use doc; then
|
||||
emake -C docs html || die "emake html failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
# PYTHOPATH should probably be build-$PYTHON_ABI/lib, but causes a test
|
||||
# fail. Should probably investigate this further.
|
||||
echo PYTHONPATH="${PWD}" bin/runtests.sh
|
||||
PYTHONPATH="${PWD}" bin/runtests.sh
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
if use doc; then
|
||||
dohtml -r "${S}"/docs/build/html/
|
||||
fi
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/"${PF}"/examples
|
||||
doins -r "${S}"/examples/*
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST w3lib-1.0.tar.gz 6079 RMD160 af5a3b4bacc65f42fc77671fd56593b86141f254 SHA1 0d14b616522a3a9d0caebab7dcf47298f4994117 SHA256 27c89291dac8c1539a119eb2c0ff6f5baac346a45062ca36f9545e88043d22b2
|
||||
DIST w3lib-1.1.tar.gz 8583 RMD160 f0f261809bc02c082d4de5bfd423a0932bbb0ab2 SHA1 7db11cf6c70d117b817e156c419d4f8112979d09 SHA256 2492995816c94d0441853ddf85b03b6587717b3e8928e6612608e11818c441ae
|
||||
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/w3lib/w3lib-1.1.ebuild,v 1.1 2012/04/20 03:17:29 floppym Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
PYTHON_DEPEND="2"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils
|
||||
|
||||
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=""
|
@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionmailer/actionmailer-3.2.3.ebuild,v 1.1 2012/04/20 07:28:46 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionmailer.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Framework for designing email-service layers"
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionmailer/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/actionmailer"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/mail-2.4.4"
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/\/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.2.3.ebuild,v 1.1 2012/04/20 07:27:23 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
# The default test task tries to test activerecord with SQLite as well.
|
||||
RUBY_FAKEGEM_TASK_TEST="test_action_pack"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Eases web-request routing, handling, and response."
|
||||
HOMEPAGE="http://rubyforge.org/projects/actionpack/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/actionpack"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activemodel-${PV}
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/rack-cache-1.2
|
||||
>=dev-ruby/builder-3.0.0:3
|
||||
>=dev-ruby/erubis-2.7.0
|
||||
>=dev-ruby/i18n-0.6:0.6
|
||||
>=dev-ruby/rack-1.4.0:1.4
|
||||
>=dev-ruby/rack-test-0.6.1:0.6
|
||||
>=dev-ruby/journey-1.0.1:1.0
|
||||
>=dev-ruby/sprockets-2.1.2:2.1"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/activerecord-${PV}
|
||||
~dev-ruby/actionmailer-${PV}
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
>=dev-ruby/uglifier-1.0.3
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\)/d" ../Gemfile || die
|
||||
|
||||
sed -i -e '/rack-ssl/d' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
# Avoid fragile tests depending on hash ordering
|
||||
sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
|
||||
sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
|
||||
sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activemodel/activemodel-3.2.3.ebuild,v 1.1 2012/04/20 07:18:36 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activemodel.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A toolkit for building modeling frameworks like Active Record and Active Resource."
|
||||
HOMEPAGE="http://github.com/rails/rails"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/activemodel"
|
||||
|
||||
ruby_add_rdepend "
|
||||
~dev-ruby/activesupport-${PV}
|
||||
>=dev-ruby/builder-3.0.0
|
||||
>=dev-ruby/bcrypt-ruby-3.0.0"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/cases/helper.rb || die "Unable to remove load paths"
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activerecord/activerecord-3.2.3.ebuild,v 1.1 2012/04/20 07:30:14 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
# this is not null so that the dependencies will actually be filled
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activerecord.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Implements the ActiveRecord pattern (Fowler, PoEAA) for ORM"
|
||||
HOMEPAGE="http://rubyforge.org/projects/activerecord/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="mysql postgres sqlite3"
|
||||
|
||||
RUBY_S="rails-rails-*/activerecord"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}
|
||||
>=dev-ruby/arel-3.0.2:3.0
|
||||
>=dev-ruby/tzinfo-0.3.29
|
||||
sqlite3? ( >=dev-ruby/sqlite3-ruby-1.3.5 )
|
||||
mysql? ( >=dev-ruby/mysql2-0.3.10:0.3 )
|
||||
postgres? ( >=dev-ruby/pg-0.11.0 )"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/bundler
|
||||
~dev-ruby/actionpack-${PV}
|
||||
>=dev-ruby/sqlite3-ruby-1.3.5
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove items from the common Gemfile that we don't need for this
|
||||
# test run. This also requires handling some gemspecs.
|
||||
sed -i -e "/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\)/d" ../Gemfile || die
|
||||
sed -i -e '/rack-ssl/d' ../railties/railties.gemspec || die
|
||||
sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
|
||||
|
||||
# Avoid tests depending on hash ordering
|
||||
sed -i -e '/test_should_automatically_build_new_associated/,/ end/ s:^:#:' test/cases/nested_attributes_test.rb || die
|
||||
|
||||
# Avoid test depending on mysql adapter which we don't support for
|
||||
# this Rails version to simplify our dependencies.
|
||||
rm test/cases/connection_specification/resolver_test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*rubyee18)
|
||||
# Turn on travis support to avoid tripping bugs in ree18.
|
||||
TRAVIS=true ${RUBY} -S rake test_sqlite3
|
||||
;;
|
||||
*)
|
||||
if use sqlite3; then
|
||||
${RUBY} -S rake test_sqlite3 || die "sqlite3 tests failed"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/activeresource/activeresource-3.2.3.ebuild,v 1.1 2012/04/20 07:19:48 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="activeresource.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Think Active Record for web resources.."
|
||||
HOMEPAGE="http://rubyforge.org/projects/activeresource/"
|
||||
SRC_URI="http://github.com/rails/rails/tarball/v${PV} -> rails-${PV}.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RUBY_S="rails-rails-*/activeresource"
|
||||
|
||||
ruby_add_rdepend "~dev-ruby/activesupport-${PV}
|
||||
~dev-ruby/activemodel-${PV}"
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
>=dev-ruby/mocha-0.9.5
|
||||
virtual/ruby-test-unit
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Set test environment to our hand.
|
||||
rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
|
||||
sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
|
||||
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue