parent
488711b6ec
commit
64a22a0e19
@ -0,0 +1 @@
|
||||
DIST eclean-kernel-0.3.tar.bz2 8555 RMD160 d0780e0c6c00cd220d9bd6365eed7464ef5b2858 SHA1 a9d1557cf64c09cddc24bdd1bcb6a50e52313cd2 SHA256 e3439e856c1be2958c45aedb1cb4ec680a50a769d62eb6f89c25a0c64fd92a26
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eclean-kernel/eclean-kernel-0.3.ebuild,v 1.1 2012/05/11 17:35:25 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
PYTHON_COMPAT='python2_6 python2_7'
|
||||
inherit base python-distutils-ng
|
||||
|
||||
DESCRIPTION="Remove outdated built kernels"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/eclean-kernel/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
PDEPEND="kernel_linux? ( dev-python/pymountboot )"
|
||||
|
||||
python_prepare_all() {
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>mgorny@gentoo.org</email>
|
||||
<name>Michał Górny</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer status="active">
|
||||
<email>mgorny@gentoo.org</email>
|
||||
<name>Michał Górny</name>
|
||||
</maintainer>
|
||||
<bugs-to>https://bitbucket.org/mgorny/eclean-kernel/issues/</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.4.3.ebuild,v 1.4 2012/03/09 04:48:43 ramereth Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils confutils bash-completion-r1
|
||||
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
#MY_PV="${PV/_beta/~beta}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="Ganeti is a virtual server management software tool"
|
||||
HOMEPAGE="http://code.google.com/p/ganeti/"
|
||||
SRC_URI="http://ganeti.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kvm xen drbd +filestorage syslog ipv6"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DEPEND="xen? ( >=app-emulation/xen-3.0 )
|
||||
kvm? ( app-emulation/qemu-kvm )
|
||||
drbd? ( >=sys-cluster/drbd-8.3 )
|
||||
ipv6? ( net-misc/ndisc6 )
|
||||
dev-libs/openssl
|
||||
dev-python/paramiko
|
||||
dev-python/pyopenssl
|
||||
dev-python/pyparsing
|
||||
dev-python/pycurl
|
||||
dev-python/pyinotify
|
||||
dev-python/simplejson
|
||||
net-analyzer/arping
|
||||
net-misc/bridge-utils
|
||||
net-misc/curl[ssl]
|
||||
net-misc/openssh
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-fs/lvm2
|
||||
>=sys-apps/baselayout-2.0"
|
||||
RDEPEND="${DEPEND}
|
||||
!<app-emulation/ganeti-htools-0.3"
|
||||
|
||||
pkg_setup () {
|
||||
confutils_require_any kvm xen
|
||||
}
|
||||
|
||||
src_prepare () {
|
||||
epatch "${FILESDIR}/${PN}-fix-start-stop.patch"
|
||||
}
|
||||
|
||||
src_configure () {
|
||||
local myconf
|
||||
if use filestorage ; then
|
||||
myconf="--with-file-storage-dir=/var/lib/ganeti-storage/file"
|
||||
else
|
||||
myconf="--with-file-storage-dir=no"
|
||||
fi
|
||||
econf --localstatedir=/var \
|
||||
--docdir=/usr/share/doc/${P} \
|
||||
--with-ssh-initscript=/etc/init.d/sshd \
|
||||
--with-export-dir=/var/lib/ganeti-storage/export \
|
||||
--with-os-search-path=/usr/share/ganeti/os \
|
||||
$(use_enable syslog) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
newinitd "${FILESDIR}"/ganeti-2.1.initd ganeti
|
||||
newconfd "${FILESDIR}"/ganeti.confd ganeti
|
||||
use kvm && newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
|
||||
use kvm && newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
|
||||
newbashcomp doc/examples/bash_completion ganeti
|
||||
dodoc INSTALL UPGRADE NEWS README doc/*.rst
|
||||
rm -rf "${D}"/usr/share/doc/ganeti
|
||||
docinto examples
|
||||
#dodoc doc/examples/{basic-oob,ganeti.cron,gnt-config-backup}
|
||||
dodoc doc/examples/{ganeti.cron,gnt-config-backup}
|
||||
docinto examples/hooks
|
||||
dodoc doc/examples/hooks/{ipsec,ethers}
|
||||
|
||||
keepdir /var/{lib,log,run}/ganeti/
|
||||
keepdir /usr/share/ganeti/os/
|
||||
keepdir /var/lib/ganeti-storage/{export,file}/
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
bash-completion_pkg_postinst
|
||||
}
|
@ -1,91 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.4.4.ebuild,v 1.2 2012/03/09 04:48:43 ramereth Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
inherit eutils confutils bash-completion-r1
|
||||
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
#MY_PV="${PV/_beta/~beta}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
DESCRIPTION="Ganeti is a virtual server management software tool"
|
||||
HOMEPAGE="http://code.google.com/p/ganeti/"
|
||||
SRC_URI="http://ganeti.googlecode.com/files/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="kvm xen drbd +filestorage syslog ipv6"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DEPEND="xen? ( >=app-emulation/xen-3.0 )
|
||||
kvm? ( app-emulation/qemu-kvm )
|
||||
drbd? ( >=sys-cluster/drbd-8.3 )
|
||||
ipv6? ( net-misc/ndisc6 )
|
||||
dev-libs/openssl
|
||||
dev-python/paramiko
|
||||
dev-python/pyopenssl
|
||||
dev-python/pyparsing
|
||||
dev-python/pycurl
|
||||
dev-python/pyinotify
|
||||
dev-python/simplejson
|
||||
net-analyzer/arping
|
||||
net-misc/bridge-utils
|
||||
net-misc/curl[ssl]
|
||||
net-misc/openssh
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-fs/lvm2
|
||||
>=sys-apps/baselayout-2.0"
|
||||
RDEPEND="${DEPEND}
|
||||
!<app-emulation/ganeti-htools-0.3"
|
||||
|
||||
pkg_setup () {
|
||||
confutils_require_any kvm xen
|
||||
}
|
||||
|
||||
src_prepare () {
|
||||
epatch "${FILESDIR}/${PN}-fix-start-stop.patch"
|
||||
}
|
||||
|
||||
src_configure () {
|
||||
local myconf
|
||||
if use filestorage ; then
|
||||
myconf="--with-file-storage-dir=/var/lib/ganeti-storage/file"
|
||||
else
|
||||
myconf="--with-file-storage-dir=no"
|
||||
fi
|
||||
econf --localstatedir=/var \
|
||||
--docdir=/usr/share/doc/${P} \
|
||||
--with-ssh-initscript=/etc/init.d/sshd \
|
||||
--with-export-dir=/var/lib/ganeti-storage/export \
|
||||
--with-os-search-path=/usr/share/ganeti/os \
|
||||
$(use_enable syslog) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
newinitd "${FILESDIR}"/ganeti-2.1.initd ganeti
|
||||
newconfd "${FILESDIR}"/ganeti.confd ganeti
|
||||
use kvm && newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
|
||||
use kvm && newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
|
||||
newbashcomp doc/examples/bash_completion ganeti
|
||||
dodoc INSTALL UPGRADE NEWS README doc/*.rst
|
||||
rm -rf "${D}"/usr/share/doc/ganeti
|
||||
docinto examples
|
||||
#dodoc doc/examples/{basic-oob,ganeti.cron,gnt-config-backup}
|
||||
dodoc doc/examples/{ganeti.cron,gnt-config-backup}
|
||||
docinto examples/hooks
|
||||
dodoc doc/examples/hooks/{ipsec,ethers}
|
||||
|
||||
keepdir /var/{lib,log,run}/ganeti/
|
||||
keepdir /usr/share/ganeti/os/
|
||||
keepdir /var/lib/ganeti-storage/{export,file}/
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
bash-completion_pkg_postinst
|
||||
}
|
@ -1,124 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/ganeti/ganeti-2.5.0_rc6.ebuild,v 1.1 2012/04/05 14:55:17 sping Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit eutils confutils bash-completion-r1
|
||||
|
||||
MY_PV="${PV/_rc/~rc}"
|
||||
#MY_PV="${PV/_beta/~beta}"
|
||||
MY_P="${PN}-${MY_PV}"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.ganeti.org/ganeti.git"
|
||||
inherit git-2
|
||||
KEYWORDS=""
|
||||
# you will need to pull in the haskell overlay for pandoc
|
||||
GIT_DEPEND="app-text/pandoc
|
||||
dev-python/docutils
|
||||
dev-python/sphinx
|
||||
media-libs/gd[fontconfig,jpeg,png,truetype]
|
||||
media-gfx/graphviz
|
||||
media-fonts/urw-fonts"
|
||||
else
|
||||
SRC_URI="http://ganeti.googlecode.com/files/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Ganeti is a virtual server management software tool"
|
||||
HOMEPAGE="http://code.google.com/p/ganeti/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="kvm xen lxc drbd +filestorage sharedstorage htools syslog ipv6"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DEPEND="xen? ( >=app-emulation/xen-3.0 )
|
||||
kvm? ( app-emulation/qemu-kvm )
|
||||
lxc? ( app-emulation/lxc )
|
||||
drbd? ( >=sys-cluster/drbd-8.3 )
|
||||
ipv6? ( net-misc/ndisc6 )
|
||||
htools? (
|
||||
>=dev-lang/ghc-6.10
|
||||
dev-haskell/json
|
||||
dev-haskell/curl
|
||||
dev-haskell/network
|
||||
dev-haskell/parallel )
|
||||
dev-libs/openssl
|
||||
dev-python/paramiko
|
||||
dev-python/pyopenssl
|
||||
>=dev-python/pyparsing-1.4.6
|
||||
dev-python/pycurl
|
||||
dev-python/pyinotify
|
||||
dev-python/simplejson
|
||||
net-analyzer/arping
|
||||
net-misc/bridge-utils
|
||||
net-misc/curl[ssl]
|
||||
net-misc/openssh
|
||||
net-misc/socat
|
||||
sys-apps/iproute2
|
||||
sys-fs/lvm2
|
||||
>=sys-apps/baselayout-2.0
|
||||
${GIT_DEPEND}"
|
||||
RDEPEND="${DEPEND}
|
||||
!app-emulation/ganeti-htools"
|
||||
|
||||
pkg_setup () {
|
||||
confutils_require_any kvm xen lxc
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
./autogen.sh
|
||||
fi
|
||||
epatch "${FILESDIR}/${PN}-fix-start-stop.patch"
|
||||
}
|
||||
|
||||
src_configure () {
|
||||
local myconf
|
||||
if use filestorage ; then
|
||||
myconf="--with-file-storage-dir=/var/lib/ganeti-storage/file"
|
||||
else
|
||||
myconf="--with-file-storage-dir=no"
|
||||
fi
|
||||
if use sharedstorage ; then
|
||||
myconf="--with-shared-file-storage-dir=/var/lib/ganeti-storage/shared"
|
||||
else
|
||||
myconf="--with-shared-file-storage-dir=no"
|
||||
fi
|
||||
econf --localstatedir=/var \
|
||||
--docdir=/usr/share/doc/${P} \
|
||||
--with-ssh-initscript=/etc/init.d/sshd \
|
||||
--with-export-dir=/var/lib/ganeti-storage/export \
|
||||
--with-os-search-path=/usr/share/ganeti/os \
|
||||
$(use_enable syslog) \
|
||||
$(use_enable htools) \
|
||||
$(use_enable htools htools-rapi) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
newinitd "${FILESDIR}"/ganeti-2.1.initd ganeti
|
||||
newconfd "${FILESDIR}"/ganeti.confd ganeti
|
||||
use kvm && newinitd "${FILESDIR}"/ganeti-kvm-poweroff.initd ganeti-kvm-poweroff
|
||||
use kvm && newconfd "${FILESDIR}"/ganeti-kvm-poweroff.confd ganeti-kvm-poweroff
|
||||
newbashcomp doc/examples/bash_completion ganeti
|
||||
dodoc INSTALL UPGRADE NEWS README doc/*.rst
|
||||
rm -rf "${D}"/usr/share/doc/ganeti
|
||||
docinto examples
|
||||
#dodoc doc/examples/{basic-oob,ganeti.cron,gnt-config-backup}
|
||||
dodoc doc/examples/{ganeti.cron,gnt-config-backup}
|
||||
docinto examples/hooks
|
||||
dodoc doc/examples/hooks/{ipsec,ethers}
|
||||
|
||||
keepdir /var/{lib,log,run}/ganeti/
|
||||
keepdir /usr/share/ganeti/os/
|
||||
keepdir /var/lib/ganeti-storage/{export,file,shared}/
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
bash-completion_pkg_postinst
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST thinkfan-0.8.0.tar.gz 38396 RMD160 7368dd22ea1dc71d5f0ee6a7ed98220652597757 SHA1 35ba6c8155759947b411d52e092c57664e9179d7 SHA256 aa4062bdb1114224c372afc3796ffd5b0ae40d4442fc17e15af8876d0e7885ed
|
||||
DIST thinkfan-0.8_alpha2.tar.gz 26571 RMD160 25b448b133ade35cc5af235dcfe52f8898275821 SHA1 64a10ff959e4e68e630b29c5f74a8159a507a70a SHA256 28f4ee9a833ef4d39258941c7bbcbd49ad6410479417bb4acf05e58da67f10eb
|
||||
|
@ -0,0 +1,38 @@
|
||||
# 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.8.0.ebuild,v 1.1 2012/05/12 10:38:07 xmw Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit 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() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin ${PN}
|
||||
|
||||
newinitd rcscripts/thinkfan.gentoo ${PN}
|
||||
|
||||
doman ${PN}.1
|
||||
dodoc ChangeLog NEWS README \
|
||||
examples/${PN}.conf.{complex,sysfs,thinkpad}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please read the documentation and copy an"
|
||||
elog "appropriate file to /etc/thinkfan.conf."
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST eclean-kernel-0.2.1.tar.bz2 8379 RMD160 db241b7fe8c8842a26cda98936af68309384a7ab SHA1 4342ec7b4f8c41023803202f4c79c78b08244828 SHA256 d4bca856b7c275a88ccba3e131b33be1a62dc438d08f8b80754875743ecb01e6
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/eclean-kernel/eclean-kernel-0.2.1.ebuild,v 1.3 2012/02/09 23:27:58 mattst88 Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND='2:2.6'
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS='2.4 2.5 3.*'
|
||||
|
||||
inherit base distutils
|
||||
|
||||
DESCRIPTION="Remove outdated built kernels"
|
||||
HOMEPAGE="https://github.com/mgorny/eclean-kernel/"
|
||||
SRC_URI="mirror://github/mgorny/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
PYTHON_MODNAME=ecleankernel
|
||||
|
||||
src_prepare() {
|
||||
base_src_prepare
|
||||
distutils_src_prepare
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST epm-0.9.1.tar.gz 10439 RMD160 7ced7a34b0921a0556367652c044f0e7e46e0746 SHA1 9779014517813259b550e8937df19acb9d626c75 SHA256 351f07029ddb9924095d1c0e197761a8636983f6e5de99df50f4b96e4c1b8289
|
||||
DIST epm-1.33.tar.gz 10952 RMD160 a20d655276c97540ad41a3c20c5548352a2df75b SHA1 db2637a2abec3ac110cf5f2f50555baa04138e04 SHA256 058c839a6aa0c63939d9cbecf81e589cd7c8ff8b13dc3e15ccd313caaa2ea19c
|
||||
|
@ -0,0 +1,32 @@
|
||||
Fix "Use of uninitialized value in printf" warning
|
||||
http://bugs.gentoo.org/310475
|
||||
Patch from Alexander Miller
|
||||
|
||||
--- epm
|
||||
+++ epm
|
||||
@@ -189,7 +189,7 @@
|
||||
my ($p) = @_;
|
||||
my ($group, $ename) = $p =~ /^(.+?)\/(.+)$/;
|
||||
my ($key, $value);
|
||||
- my %vals;
|
||||
+ my %vals = map {$_, '(n/a)'} qw/CATEGORY HOSTNAME DESCRIPTION URL LICENSE NAME RELEASE VERSION SLOT PACKAGER/;
|
||||
my $ldbpath = "$dbpath/$p";
|
||||
my $fmt = <<EOT;
|
||||
Name : \%s
|
||||
@@ -206,7 +206,7 @@
|
||||
open(F, "bzcat $ldbpath/environment.bz2|")
|
||||
or die "epm: Can't open $ldbpath/environment.bz2: $!\n";
|
||||
while (<F>) {
|
||||
- next unless (/^(CATEGORY|HOSTNAME|DESCRIPTION|HOMEPAGE|LICENSE|PN|PR|PV|SLOT)=(.*)/);
|
||||
+ next unless (/^(?:declare\s+(?:-[x-]\s+)*)?(CATEGORY|HOSTNAME|DESCRIPTION|HOMEPAGE|LICENSE|PN|PR|PV|SLOT)=(.*)/);
|
||||
($key, $value) = ($1, $2);
|
||||
if ($key eq 'PN') {
|
||||
$key = 'NAME';
|
||||
@@ -221,6 +221,7 @@
|
||||
}
|
||||
# Clean up the double and single quotes
|
||||
$value =~ s/^'(.*)'$/$1/o;
|
||||
+ $value =~ s/^"(.*)"$/$1/o;
|
||||
$value =~ s/'\\''/'/go;
|
||||
$value =~ s/\\"/"/go;
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST calibre-0.8.48.tar.xz 24487952 RMD160 a028dd20429316ce903a730d809e5aaa85e1c92c SHA1 9d70769ad0fe2352e7b57a497c93358a5c92f21b SHA256 82d458bc253cdfab0d9529d04b10912c7e81fdea484ace36752b66629ad15244
|
||||
DIST calibre-0.8.49.tar.xz 24605696 RMD160 35876b80522dc926cf91b55e1bbe57f77cb4b8a6 SHA1 2141c553fda260f39a56f0f390d38afdeed32846 SHA256 85c182ac23b61dc93f6200303619a331e3acee266f5282fa14e52371fcc645e8
|
||||
DIST calibre-0.8.50.tar.xz 24580260 RMD160 9fa78b6316ab86120be39f990ed6edbcd7c50c7d SHA1 3c9522d03af625f11189e5248b680dd3fe302b9b SHA256 71314cfe4ed66b9a52e585cb01eed6718ba760d0d6ced2560e03d228f157de74
|
||||
DIST calibre-0.8.51.tar.xz 24614676 RMD160 c02cc1d0f7326234197aafb257b5890947836d52 SHA1 f98568f5c7717a973c429c35dcc71b7e7f15077f SHA256 e1138263e720d22a0544f498cf60309f13c913cda2f461d0e5d75d9c26602cbf
|
||||
|
@ -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.49.ebuild,v 1.2 2012/05/04 18:07:43 zmedico Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/calibre/calibre-0.8.51.ebuild,v 1.1 2012/05/11 19:33:06 zmedico Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND=2:2.7
|
@ -0,0 +1,223 @@
|
||||
# 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.9.3_p194-r1.ebuild,v 1.1 2012/05/12 05:47:49 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
#PATCHSET=
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
RUBYPL=$(get_version_component_range 4)
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
# 1.9.3 still uses 1.9.1
|
||||
RUBYVERSION=1.9.1
|
||||
|
||||
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/1.9/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline +yaml" #libedit
|
||||
|
||||
# libedit support is removed everywhere because of this upstream bug:
|
||||
# http://redmine.ruby-lang.org/issues/show/3698
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( dev-libs/openssl )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? ( dev-lang/tk[threads] )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/readline )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-admin/eselect-ruby-20100402
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
# libedit? ( dev-libs/libedit )
|
||||
# !libedit? ( readline? ( sys-libs/readline ) )
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
rdoc? ( >=dev-ruby/rdoc-3.9.4[ruby_targets_ruby19] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
ext/json \
|
||||
bin/gem || die "removal failed"
|
||||
|
||||
# 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
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# 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
|
||||
myconf="${myconf} $(use_with readline)"
|
||||
|
||||
# Set a faux target (bug #342819)
|
||||
use hppa && myconf="${myconf} --target=parisc"
|
||||
|
||||
econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
$(use_with berkdb dbm) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tk) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with yaml psych) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 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 V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
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 doc/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
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/IO-Socket-SSL/IO-Socket-SSL-1.730.0.ebuild,v 1.1 2012/05/12 06:35:18 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=SULLR
|
||||
MODULE_VERSION=1.73
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Nearly transparent SSL encapsulation for IO::Socket::INET"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="idn"
|
||||
|
||||
DEPEND=">=dev-perl/Net-SSLeay-1.33
|
||||
virtual/perl-Scalar-List-Utils
|
||||
idn? (
|
||||
|| (
|
||||
>=dev-perl/URI-1.50
|
||||
dev-perl/Net-LibIDN
|
||||
)
|
||||
)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -1,3 +1,4 @@
|
||||
DIST MooseX-Getopt-0.39.tar.gz 31378 RMD160 a635393ace39fe118a7cde0a3bb5cdf9cc32e224 SHA1 97b36678d9232060215dbeb9be7dc788644c9086 SHA256 180bb47dabeae20becdbb110e20815c5025af377a7a7ef37a342e6bc42284821
|
||||
DIST MooseX-Getopt-0.40.tar.gz 31560 RMD160 ea857d59fe86a4c0a1fdfc8879cf012a7a85bcbb SHA1 a9412a29ea91101c2fc52972c6e8b8bbdd777135 SHA256 024db9be96b66766a5103509d867bfb649f152422816c133576ca199f5c5e6d4
|
||||
DIST MooseX-Getopt-0.43.tar.gz 33111 RMD160 d1aac07ac9b00ae206f69b05b1a026fe99d3a733 SHA1 6fd54d8027afdfa8e850d4102a6c13c10be1ce2b SHA256 0d746cb1ea1771764684d4b94ea71d2769d637c892575f976f4cd8dce2435641
|
||||
DIST MooseX-Getopt-0.44.tar.gz 34216 RMD160 da42e159c967321fd44e3a2851e9786d66298501 SHA1 69c56d213f6615d38ec0c4e8ecbe31f28e4d53c0 SHA256 90d3dd997cda8aa1d70bf49e3736ab05abe81cb1ac584f7297992f3e20b308fc
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/MooseX-Getopt/MooseX-Getopt-0.440.0.ebuild,v 1.1 2012/05/12 06:41:43 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=ETHER
|
||||
MODULE_VERSION=0.44
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A Moose role for processing command line options"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-perl/Moose-0.56
|
||||
dev-perl/MooseX-Role-Parameterized
|
||||
>=dev-perl/Getopt-Long-Descriptive-0.081
|
||||
>=virtual/perl-Getopt-Long-2.37"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.31
|
||||
test? (
|
||||
dev-perl/Test-Deep
|
||||
dev-perl/Test-Fatal
|
||||
>=dev-perl/Test-Requires-0.05
|
||||
>=virtual/perl-Test-Simple-0.62
|
||||
dev-perl/Test-Trap
|
||||
>=dev-perl/Test-Warn-0.21
|
||||
)"
|
||||
|
||||
SRC_TEST=do
|
@ -1 +1,2 @@
|
||||
DIST Plack-0.9986.tar.gz 234506 RMD160 259218126bfe01cf2852c22269f62729047ded7c SHA1 5f42594185ac50c65325747ac9aa427d6f5e0496 SHA256 878c8d8f822653fd5c97b80773550ec4ca4409117735a617be7e9c33d01af741
|
||||
DIST Plack-0.9988.tar.gz 235416 RMD160 1541db91c05c2b183788a14f0bbcaf728ac5a371 SHA1 8ab8d7c7c4f1c307bf7878a575222eafdbd9dcfd SHA256 f2e6f5784c2a761238b816ab4f285e75a5e1ed80de7fc07e3aecfe8c2f7e442b
|
||||
|
@ -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-perl/Plack/Plack-0.998.800.ebuild,v 1.1 2012/05/12 08:03:48 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=MIYAGAWA
|
||||
MODULE_VERSION=0.9988
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="PSGI toolkit and servers"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/libwww-perl-5.814.0
|
||||
>=dev-perl/URI-1.590.0
|
||||
virtual/perl-PodParser
|
||||
>=dev-perl/File-ShareDir-1.0.0
|
||||
dev-perl/Try-Tiny
|
||||
virtual/perl-parent
|
||||
>=dev-perl/Devel-StackTrace-1.230.0
|
||||
>=dev-perl/Devel-StackTrace-AsHTML-0.110.0
|
||||
dev-perl/Filesys-Notify-Simple
|
||||
>=dev-perl/Hash-MultiValue-0.50.0
|
||||
>=dev-perl/HTTP-Body-1.60.0
|
||||
>=dev-perl/Test-TCP-0.110.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.88
|
||||
dev-perl/Test-Requires
|
||||
)"
|
||||
|
||||
SRC_TEST=do
|
@ -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/dev-perl/Statistics-Descriptive/Statistics-Descriptive-3.60.100.ebuild,v 1.1 2012/05/12 07:58:05 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MODULE_AUTHOR=SHLOMIF
|
||||
MODULE_VERSION=3.0601
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Module of basic descriptive statistical functions"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="virtual/perl-Module-Build
|
||||
test? (
|
||||
dev-perl/Test-Pod
|
||||
dev-perl/Test-Pod-Coverage
|
||||
)"
|
||||
|
||||
SRC_TEST="do"
|
||||
mydoc="UserSurvey.txt"
|
@ -1,2 +1,3 @@
|
||||
DIST Wx-0.9902.tar.gz 406639 RMD160 5449d549af27fd966ac552aaec7b3cea4632a17b SHA1 eed36c9e7e9064519dca7d0aec57542060413c81 SHA256 ea4982993de1a188d4bc130d785f10faa0fda4c8521b08b3768915d0ed8b7ebf
|
||||
DIST Wx-0.9906.tar.gz 457153 RMD160 0f194da78cbd9eadfbbad77b0f5fa9fd93fcc3c6 SHA1 cc701e593a803a6aa64fbd5a0d2edcdaeeb61967 SHA256 ccac5165e833fede356e4c46d981957d7f292f418cbd351f931678229c3125fe
|
||||
DIST Wx-0.9907.tar.gz 458254 RMD160 13eabc71f100d0e06e8ee236f94c4755fcf9ccef SHA1 83ca532dae57363fa9c9ef389b425c679a2e1014 SHA256 5e4f8813d89dd029997ee98605eb028f87eae0a8c420e690076cfb090f229f2e
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/wxperl/wxperl-0.990.700.ebuild,v 1.1 2012/05/12 07:56:18 tove Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
MY_PN=Wx
|
||||
WX_GTK_VER="2.8"
|
||||
MODULE_AUTHOR=MDOOTSON
|
||||
MODULE_VERSION=0.9907
|
||||
inherit wxwidgets perl-module
|
||||
|
||||
DESCRIPTION="Perl bindings for wxGTK"
|
||||
HOMEPAGE="http://wxperl.sourceforge.net/"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Alien-wxWidgets-0.25
|
||||
>=virtual/perl-File-Spec-0.82"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-ParseXS-0.22.03
|
||||
>=dev-perl/ExtUtils-XSpp-0.160.200"
|
||||
|
||||
MAKEOPTS="${MAKEOPTS} -j1"
|
@ -0,0 +1 @@
|
||||
DIST pymountboot-0.1.tar.bz2 3833 RMD160 3f4f176bbe12213770d46f8f3395ff04186ab602 SHA1 f214db67999f8c7a208866ff4f0eb50a03d02a47 SHA256 dce4d69d96c97469047604137610adf84247de7e840e711506513a241f434598
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pymountboot/pymountboot-0.1.ebuild,v 1.1 2012/05/11 17:19:59 mgorny Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_COMPAT='python2_6 python2_7'
|
||||
|
||||
inherit base python-distutils-ng
|
||||
|
||||
DESCRIPTION="Python extension module to (re)mount /boot"
|
||||
HOMEPAGE="https://bitbucket.org/mgorny/pymountboot/"
|
||||
SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=sys-apps/util-linux-2.20"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
python_prepare_all() {
|
||||
base_src_prepare
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST rst2pdf-0.16.tar.gz 1263326 RMD160 1ddf23532507dfafbfae58c759978bdfd65dec4e SHA1 297f9ad8e91baa706321dd50d99b21adfa1f1e66 SHA256 5efe4051bcdf7d38b8d25738cfdd86af13d6f0d7f7ed4598baef37693b729ac7
|
||||
DIST rst2pdf-0.91.tar.gz 1274075 RMD160 4a05f1cc2f06306e8b24525940ada90872e1556c SHA1 afa9f05ef9af9fcf5705ac461c471ecde1e685c3 SHA256 945f5bc332d97a75a6716049b9fd085d339f053f006a217038957fae8edea253
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/rst2pdf/rst2pdf-0.91.ebuild,v 1.1 2012/05/12 01:47:06 rafaelmartins Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.* *-jython"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="Tool for transforming reStructuredText to PDF using ReportLab"
|
||||
HOMEPAGE="http://code.google.com/p/rst2pdf/ http://pypi.python.org/pypi/rst2pdf"
|
||||
SRC_URI="http://rst2pdf.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/docutils
|
||||
dev-python/imaging
|
||||
dev-python/pygments
|
||||
>=dev-python/reportlab-2.4"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS="Contributors.txt CHANGES.txt README.txt doc/*"
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
elog "rst2pdf can work with the following packages for additional functionality:"
|
||||
elog " dev-python/sphinx - versatile documentation creation"
|
||||
elog " dev-python/pythonmagick - image processing with ImageMagick"
|
||||
elog " dev-python/matplotlib - mathematical formulae"
|
||||
elog " media-gfx/uniconvertor - vector image format conversion"
|
||||
elog "It can also use wordaxe for hyphenation, but this package is not"
|
||||
elog "available in the portage tree yet. Please refer to the manual"
|
||||
elog "installed in /usr/share/doc/${PF}/ for more information."
|
||||
}
|
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/barby/barby-0.5.0.ebuild,v 1.1 2011/09/18 13:40:41 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
RUBY_FAKEGEM_DOCDIR="site"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby barcode generator that doesn't rely on 3rd party libraries."
|
||||
HOMEPAGE="http://toretore.eu/barby/"
|
||||
|
||||
GITHUB_USER="toretore"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${PN}/tarball/v${PV} -> ${P}.tgz"
|
||||
RUBY_S="${GITHUB_USER}-${PN}-*"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test datamatrix pdf-writer qrcode rmagick prawn png cairo"
|
||||
|
||||
USE_RUBY="ruby18 ree18" \
|
||||
ruby_add_rdepend "
|
||||
datamatrix? ( dev-ruby/semacode )
|
||||
pdf-writer? ( dev-ruby/pdf-writer )"
|
||||
|
||||
# ruby19 as well, if it worked
|
||||
USE_RUBY="ruby18 ree18" \
|
||||
ruby_add_rdepend "
|
||||
rmagick? ( dev-ruby/rmagick )
|
||||
cairo? ( dev-ruby/rcairo )"
|
||||
|
||||
USE_RUBY="ruby18 ree18 jruby" \
|
||||
ruby_add_rdepend "prawn? ( dev-ruby/prawn )"
|
||||
|
||||
ruby_add_rdepend "qrcode? ( dev-ruby/rqrcode )
|
||||
png? ( dev-ruby/chunky_png )"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest )"
|
||||
|
||||
# prawn breaks tests for some reasons, needs to be investigated; code
|
||||
# still works though.
|
||||
RESTRICT="prawn? ( test )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[bB]undler/s:^:#:' test/test_helper.rb
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
if ! use datamatrix; then
|
||||
rm \
|
||||
lib/barby/barcode/data_matrix.rb \
|
||||
test/data_matrix_test.rb
|
||||
fi
|
||||
|
||||
if ! use pdf-writer; then
|
||||
rm \
|
||||
lib/barby/outputter/pdfwriter_outputter.rb \
|
||||
test/outputter/pdfwriter_outputter_test.rb
|
||||
fi
|
||||
|
||||
if ! use qrcode; then
|
||||
rm \
|
||||
lib/barby/barcode/qr_code.rb \
|
||||
test/qr_code_test.rb
|
||||
fi
|
||||
|
||||
if ! use rmagick; then
|
||||
rm \
|
||||
lib/barby/outputter/rmagick_outputter.rb \
|
||||
test/outputter/rmagick_outputter_test.rb
|
||||
fi
|
||||
|
||||
if ! use prawn; then
|
||||
rm \
|
||||
lib/barby/outputter/prawn_outputter.rb \
|
||||
test/outputter/prawn_outputter_test.rb
|
||||
fi
|
||||
|
||||
if ! use png; then
|
||||
rm \
|
||||
lib/barby/outputter/png_outputter.rb \
|
||||
test/outputter/png_outputter_test.rb
|
||||
fi
|
||||
|
||||
if ! use cairo; then
|
||||
rm \
|
||||
lib/barby/outputter/cairo_outputter.rb \
|
||||
test/outputter/cairo_outputter_test.rb
|
||||
fi
|
||||
|
||||
case ${RUBY} in
|
||||
*/ruby19)
|
||||
rm -f \
|
||||
lib/barby/barcode/data_matrix.rb \
|
||||
test/data_matrix_test.rb \
|
||||
lib/barby/outputter/pdfwriter_outputter.rb \
|
||||
test/outputter/pdfwriter_outputter_test.rb \
|
||||
lib/barby/outputter/prawn_outputter.rb \
|
||||
test/outputter/prawn_outputter_test.rb
|
||||
;;
|
||||
*/jruby)
|
||||
rm -f \
|
||||
lib/barby/barcode/data_matrix.rb \
|
||||
test/data_matrix_test.rb \
|
||||
lib/barby/outputter/pdfwriter_outputter.rb \
|
||||
test/outputter/pdfwriter_outputter_test.rb \
|
||||
lib/barby/outputter/rmagick_outputter.rb \
|
||||
test/outputter/rmagick_outputter_test.rb \
|
||||
lib/barby/outputter/cairo_outputter.rb \
|
||||
test/outputter/cairo_outputter_test.rb
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST mongo-ruby-driver-1.5.2.tar.gz 13678997 RMD160 be3180912612db60166afc14ecbb98a13b822d76 SHA1 2c482b4af547b0a5ed307442fc07bfc8e50db324 SHA256 1dd103bf29d56471482ee02e88bf908996e6b27e6fe0fbdd6c0a9fbfa57efbc3
|
||||
DIST mongo-ruby-driver-1.6.0.tar.gz 13682065 RMD160 b43f3079e33df81a3933ed9832b5ef16189a28ce SHA1 9d43a0c529172411f3385170a92399782f74e044 SHA256 597fcb6a22d8611b23471bcae1cf578adecbe6d69a817707c586909d971c2efa
|
||||
DIST mongo-ruby-driver-1.6.1.tar.gz 15482357 RMD160 c085d08d1e2964408e83abfc515e217fb2d2faf2 SHA1 cf6112e59f11ab17d38711202662a54c742b9f04 SHA256 16465e160d394c0f50e11d3f35cdfd37f0b6542000c77f57549ae5fb7d0fa5d4
|
||||
DIST mongo-ruby-driver-1.6.2.tar.gz 15485515 RMD160 6c1b7b8a7c3315a62869a56a546778fa1f41edbc SHA1 936fdd3d18bf219b69e71affc64447c427342322 SHA256 ef6885ba66fce2df619d5543ef1699b584362fe37931e9e2121d974a67cb4a58
|
||||
|
@ -1,109 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/bson-1.5.2.ebuild,v 1.1 2011/12/28 23:47:54 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
# ruby19 → test_exeption_on_using_unsupported_date_class fails
|
||||
# jruby → support needs to be written properly
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="moot" # we do it manually, but still declare it
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC=""
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="mongodb"
|
||||
GITHUB_PROJECT="mongo-ruby-driver"
|
||||
RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)"
|
||||
HOMEPAGE="http://www.mongodb.org/"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="APSL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend \
|
||||
"test? (
|
||||
dev-ruby/rake
|
||||
dev-ruby/shoulda
|
||||
dev-ruby/mocha
|
||||
)
|
||||
doc? ( virtual/ruby-rdoc )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove the stuff that is actually part of dev-ruby/mongo
|
||||
rm -rf {lib,bin}/mongo*
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
case ${RUBY} in
|
||||
*/ruby18|*/ruby19|*/rubyee18)
|
||||
${RUBY} -C ext/cbson extconf.rb || die "extconf.rb failed"
|
||||
;;
|
||||
*/jruby)
|
||||
${RUBY} -S rake build:java || die "rake build:java failed"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
case ${RUBY} in
|
||||
*/ruby18|*/ruby19|*/rubyee18)
|
||||
emake -C ext/cbson CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
|
||||
mkdir lib/bson_ext
|
||||
cp ext/cbson/*.so lib/bson_ext || die
|
||||
;;
|
||||
*/jruby)
|
||||
die "missing in ebuild"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
# Trying to get the Rakefile to build the sources is more trouble
|
||||
# than it's worth, do it manually instead.
|
||||
rdoc --op html --inline-source lib/**/*.rb || die "rdoc failed"
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*/ruby18|*/ruby19|*/rubyee18)
|
||||
C_EXT=true ${RUBY} -S rake test:bson || die "tests failed"
|
||||
;;
|
||||
esac
|
||||
|
||||
${RUBY} -S rake test:bson || die "tests failed"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
# we have to set the library path here because the gemspec tries to
|
||||
# load bson itself, and would fail without that.
|
||||
RUBYLIB="lib" \
|
||||
each_fakegem_install
|
||||
|
||||
# and now we create the simulated gem for bson_ext; we create a file
|
||||
# bson_ext.rb within ext so that we don't have to change the
|
||||
# bson_ext.gemspec file, and at the same time we ensure that bson
|
||||
# gem is loaded when loading bson_ext.
|
||||
dodir $(ruby_fakegem_gemsdir)/gems/bson_ext-${PV}/ext
|
||||
cat - <<EOF > "${D}/$(ruby_fakegem_gemsdir)/gems/bson_ext-${PV}/ext/bson_ext.rb"
|
||||
require 'bson'
|
||||
EOF
|
||||
|
||||
RUBYLIB="lib" \
|
||||
RUBY_FAKEGEM_NAME=bson_ext \
|
||||
RUBY_FAKEGEM_GEMSPEC=bson_ext.gemspec \
|
||||
ruby_fakegem_install_gemspec
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Unlike upstream setup, we do not split bson and bson_ext gem."
|
||||
elog "This means that for all the supported targets, the C-based extension"
|
||||
elog "is installed by this package, and is available transparently."
|
||||
}
|
@ -1,110 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/bson-1.6.0.ebuild,v 1.1 2012/02/22 23:55:46 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
# ruby19 → test_exeption_on_using_unsupported_date_class fails
|
||||
# jruby → support needs to be written properly
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="moot" # we do it manually, but still declare it
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC=""
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="mongodb"
|
||||
GITHUB_PROJECT="mongo-ruby-driver"
|
||||
RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)"
|
||||
HOMEPAGE="http://www.mongodb.org/"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="APSL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend \
|
||||
"test? (
|
||||
dev-ruby/rake
|
||||
dev-ruby/shoulda
|
||||
dev-ruby/mocha
|
||||
dev-ruby/test-unit:2
|
||||
)
|
||||
doc? ( virtual/ruby-rdoc )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove the stuff that is actually part of dev-ruby/mongo
|
||||
rm -rf {lib,bin}/mongo*
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
case ${RUBY} in
|
||||
*/ruby18|*/ruby19|*/rubyee18)
|
||||
${RUBY} -C ext/cbson extconf.rb || die "extconf.rb failed"
|
||||
;;
|
||||
*/jruby)
|
||||
${RUBY} -S rake build:java || die "rake build:java failed"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
case ${RUBY} in
|
||||
*/ruby18|*/ruby19|*/rubyee18)
|
||||
emake -C ext/cbson CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
|
||||
mkdir lib/bson_ext
|
||||
cp ext/cbson/*.so lib/bson_ext || die
|
||||
;;
|
||||
*/jruby)
|
||||
die "missing in ebuild"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
# Trying to get the Rakefile to build the sources is more trouble
|
||||
# than it's worth, do it manually instead.
|
||||
rdoc --op html --inline-source lib/**/*.rb || die "rdoc failed"
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*/ruby18|*/ruby19|*/rubyee18)
|
||||
C_EXT=true ${RUBY} -S rake test:bson || die "tests failed"
|
||||
;;
|
||||
esac
|
||||
|
||||
${RUBY} -S rake test:bson || die "tests failed"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
# we have to set the library path here because the gemspec tries to
|
||||
# load bson itself, and would fail without that.
|
||||
RUBYLIB="lib" \
|
||||
each_fakegem_install
|
||||
|
||||
# and now we create the simulated gem for bson_ext; we create a file
|
||||
# bson_ext.rb within ext so that we don't have to change the
|
||||
# bson_ext.gemspec file, and at the same time we ensure that bson
|
||||
# gem is loaded when loading bson_ext.
|
||||
dodir $(ruby_fakegem_gemsdir)/gems/bson_ext-${PV}/ext
|
||||
cat - <<EOF > "${D}/$(ruby_fakegem_gemsdir)/gems/bson_ext-${PV}/ext/bson_ext.rb"
|
||||
require 'bson'
|
||||
EOF
|
||||
|
||||
RUBYLIB="lib" \
|
||||
RUBY_FAKEGEM_NAME=bson_ext \
|
||||
RUBY_FAKEGEM_GEMSPEC=bson_ext.gemspec \
|
||||
ruby_fakegem_install_gemspec
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Unlike upstream setup, we do not split bson and bson_ext gem."
|
||||
elog "This means that for all the supported targets, the C-based extension"
|
||||
elog "is installed by this package, and is available transparently."
|
||||
}
|
@ -1,110 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bson/bson-1.6.1.ebuild,v 1.1 2012/03/08 01:27:58 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
# ruby19 → test_exeption_on_using_unsupported_date_class fails
|
||||
# jruby → support needs to be written properly
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="moot" # we do it manually, but still declare it
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC=""
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="mongodb"
|
||||
GITHUB_PROJECT="mongo-ruby-driver"
|
||||
RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)"
|
||||
HOMEPAGE="http://www.mongodb.org/"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="APSL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_bdepend \
|
||||
"test? (
|
||||
dev-ruby/rake
|
||||
dev-ruby/shoulda
|
||||
dev-ruby/mocha
|
||||
dev-ruby/test-unit:2
|
||||
)
|
||||
doc? ( virtual/ruby-rdoc )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove the stuff that is actually part of dev-ruby/mongo
|
||||
rm -rf {lib,bin}/mongo*
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
case ${RUBY} in
|
||||
*/ruby18|*/ruby19|*/rubyee18)
|
||||
${RUBY} -C ext/cbson extconf.rb || die "extconf.rb failed"
|
||||
;;
|
||||
*/jruby)
|
||||
${RUBY} -S rake build:java || die "rake build:java failed"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
case ${RUBY} in
|
||||
*/ruby18|*/ruby19|*/rubyee18)
|
||||
emake -C ext/cbson CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
|
||||
mkdir lib/bson_ext
|
||||
cp ext/cbson/*.so lib/bson_ext || die
|
||||
;;
|
||||
*/jruby)
|
||||
die "missing in ebuild"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
# Trying to get the Rakefile to build the sources is more trouble
|
||||
# than it's worth, do it manually instead.
|
||||
rdoc --op html --inline-source lib/**/*.rb || die "rdoc failed"
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
case ${RUBY} in
|
||||
*/ruby18|*/ruby19|*/rubyee18)
|
||||
C_EXT=true ${RUBY} -S rake test:bson || die "tests failed"
|
||||
;;
|
||||
esac
|
||||
|
||||
${RUBY} -S rake test:bson || die "tests failed"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
# we have to set the library path here because the gemspec tries to
|
||||
# load bson itself, and would fail without that.
|
||||
RUBYLIB="lib" \
|
||||
each_fakegem_install
|
||||
|
||||
# and now we create the simulated gem for bson_ext; we create a file
|
||||
# bson_ext.rb within ext so that we don't have to change the
|
||||
# bson_ext.gemspec file, and at the same time we ensure that bson
|
||||
# gem is loaded when loading bson_ext.
|
||||
dodir $(ruby_fakegem_gemsdir)/gems/bson_ext-${PV}/ext
|
||||
cat - <<EOF > "${D}/$(ruby_fakegem_gemsdir)/gems/bson_ext-${PV}/ext/bson_ext.rb"
|
||||
require 'bson'
|
||||
EOF
|
||||
|
||||
RUBYLIB="lib" \
|
||||
RUBY_FAKEGEM_NAME=bson_ext \
|
||||
RUBY_FAKEGEM_GEMSPEC=bson_ext.gemspec \
|
||||
ruby_fakegem_install_gemspec
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Unlike upstream setup, we do not split bson and bson_ext gem."
|
||||
elog "This means that for all the supported targets, the C-based extension"
|
||||
elog "is installed by this package, and is available transparently."
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST coffee-script-source-1.2.0.gem 43520 RMD160 41748d4d5aa5fb97574d6e362b495e065d5d54b7 SHA1 1f125fc8749871ca13b72fedcd93877e5f23f9dc SHA256 77c2dd4f55a571a0ee030958f10c7b95ff258297cad6de6eec9e962a24ad978d
|
||||
DIST coffee-script-source-1.3.1.gem 45056 RMD160 96400a170aa7002e1557479a8ec8dedca7de9be7 SHA1 937222b051edff31b19bb8cdf94bb2c8ce05123b SHA256 06a36638ba1921c0d2ea2b349b3708ae9842d9f2e3d3011bc3c99c51c7430102
|
||||
|
@ -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-ruby/coffee-script-source/coffee-script-source-1.3.1.ebuild,v 1.1 2012/05/12 07:51:38 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby CoffeeScript is a bridge to the official CoffeeScript compiler."
|
||||
HOMEPAGE="https://github.com/rails/coffee-rails"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x64-macos"
|
||||
|
||||
IUSE=""
|
@ -1,5 +1,4 @@
|
||||
DIST facter-1.6.0.gem 90624 RMD160 c2fd08c1b3a7c62d249a3d60e2e7a9c809f410b7 SHA1 119be13efebf55bf42b91d3b6b873744fe12d7ad SHA256 f28b45c5b05ce203c8a75fa7e39e513335244c930ee51ddd154a932e1f34d6a6
|
||||
DIST facter-1.6.1.gem 101888 RMD160 89c6d36abbb3d3a2d23d8507e363a548609d9282 SHA1 9a2924b9cc4fb59ef81781cedaa001143d58ee26 SHA256 f47cfe8857d4f0299b4953a9f76423c5217f6520cca8c7b76a4094ab73edc4d4
|
||||
DIST facter-1.6.2.gem 112128 RMD160 86dc83330edad60c450ea3e596d700c8549cb31f SHA1 9b4adc2369a2edfb4612737ee4e4ffbe13d119ba SHA256 fb0439e5b3d0dbe8ec90870a02261080b2eea377360f0aa5612fe05e2fd10af4
|
||||
DIST facter-1.6.3.gem 113664 RMD160 5353119586bb6fe1751e2222a76dbc33a498bcca SHA1 5d6ce9dee3ec8e30a17c1037318191130cf269bc SHA256 37380028778326ac750909b07a728d9fbe77d143acd05e56ad57cfcfdb3903d7
|
||||
DIST facter-1.6.4.gem 114176 RMD160 38a03ed342ce3deca27978d40aa9e6e87d23cd93 SHA1 1158a9daa6ab71cc7e2b0b66798c569b18ffa61e SHA256 7e1d391f5896b5b90223a8cf4a2208222ce383ec7764a54d6968fb86c07df9de
|
||||
DIST facter-1.6.8.gem 122880 RMD160 64644af42ade875321d321565bcaef132693b6ce SHA1 5aedf05d6105fe5a530cdde1d43432e7d5e6afef SHA256 d2912887f7f0de10966cec2b69940b8505d64dc2d859a1f919b152a21a2d3734
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/facter/facter-1.6.2.ebuild,v 1.1 2011/10/12 17:00:42 matsuu Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST="spec"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md"
|
||||
RUBY_FAKEGEM_BINWRAP="facter"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
|
||||
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rspec:2
|
||||
)"
|
@ -1,5 +1,4 @@
|
||||
DIST fast_gettext-0.5.13.gem 82432 RMD160 72685c6c7732dce33900ef908577025beaa94afd SHA1 a018424da72387581fb7db323faaa4d34d14c811 SHA256 e7d101a5b4cd08ffc141a9ea2ec02ccda3bd44606a7b26eef87aa9d4bbcf94af
|
||||
DIST fast_gettext-0.6.0.gem 82432 RMD160 532d47ca5e330dea23a42101583e4e8afa98b3aa SHA1 305fd49bf41c19a35eb411382c87eac296acfeda SHA256 77aab301c53d7c642fc32ce9bb8ce7315d505cbccf0eb07cf4b6405a89cded47
|
||||
DIST fast_gettext-0.6.1.gem 82944 RMD160 91568227f4a02db775e1a64bf7cd42402402a09f SHA1 fa05b71d9300a28afb9a7d15b48bb43320dcffa8 SHA256 96f98ad9f3ede40bbe8c64b1ad62bc44fe8955eb5d4775328b90405a4426c08b
|
||||
DIST fast_gettext-0.6.4.gem 83456 RMD160 b11f9a610a58767150e9c2eaad9b8fac62751786 SHA1 1f0ec02fcecbe49c65ff710d53154e6efc8536a0 SHA256 03bc2fd6c774268ba8cc13180a5b29a002636a5cefe74cb3dfc20ad18246b26c
|
||||
DIST fast_gettext-0.6.6.gem 83456 RMD160 fa50b895087786c934d19f0bf524816de7cf0830 SHA1 ff000c21bfa66617221855814a773a6f6cf7a4be SHA256 a1bedbcbfed16f47cb3f72db6d9ac4c4c319998be2e6cb18f6501bd265d3ba8c
|
||||
DIST fast_gettext-0.6.7.gem 83456 RMD160 7d1cb672eebd75ee7542d064add924d500d8ea75 SHA1 9841fbcb8fb32a5572e80b8dd8ba5e24e1749426 SHA256 82155e40ee8f7335758a47fadfa9dd3dfc9700d67a59d570aa317b43d81dbbfa
|
||||
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/fast_gettext-0.6.0.ebuild,v 1.2 2011/10/11 09:09:26 graaff Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# jruby support requires sqlite3 support for jruby.
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="VERSION"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="GetText but 3.5 x faster, 560 x less memory, simple, clean namespace (7 vs 34) and threadsave!"
|
||||
HOMEPAGE="https://github.com/grosser/fast_gettext"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/activerecord )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile Gemfile.lock || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S rspec spec || die
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/fast_gettext-0.6.1.ebuild,v 1.1 2011/10/16 07:15:01 graaff Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# jruby support requires sqlite3 support for jruby.
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="VERSION"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="GetText but 3.5 x faster, 560 x less memory, simple, clean namespace (7 vs 34) and threadsave!"
|
||||
HOMEPAGE="https://github.com/grosser/fast_gettext"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/rspec:2 dev-ruby/activerecord dev-ruby/bundler )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile.lock || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S rspec spec || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST gemcutter-0.7.0.gem 8192 RMD160 c9f82e9dbef86dec5cc8c4f28266af4de0bb85ea SHA1 e568186f5cd2d72378a9d7576137ec1b5ca6ad94 SHA256 0f0cdca9ded875e0ab8ec350549a63a9cbae6dca67beea56176ce5b213b53e85
|
||||
DIST gemcutter-0.7.1-git.tgz 7612 RMD160 f5b933721294c5eb09f88df9bc995e87f2f53553 SHA1 1845a22d2937d6c5ec6ad244aed44af52337b68d SHA256 f21bfa298d3a180517279098da0e54e7ef360ef9fd3a959fab092603c7269e20
|
||||
|
@ -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/gemcutter/gemcutter-0.7.1.ebuild,v 1.1 2012/05/12 09:11:53 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Provides the gem yank and gem webhook commands to RubyGems."
|
||||
HOMEPAGE="http://github.com/rubygems/gemcutter"
|
||||
SRC_URI="https://github.com/rubygems/gemcutter/tarball/v${PV} -> ${P}-git.tgz"
|
||||
RUBY_S="rubygems-gemcutter-*"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/shoulda
|
||||
>=dev-ruby/webmock-1.4.0
|
||||
dev-ruby/rr
|
||||
dev-ruby/activesupport
|
||||
dev-ruby/i18n
|
||||
dev-ruby/bundler
|
||||
)"
|
||||
|
||||
each_ruby_test() {
|
||||
# Tests fail unless being run through bundler.
|
||||
${RUBY} -S bundle exec rake test || die
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/gherkin/gherkin-2.10.0.ebuild,v 1.1 2012/05/12 09:29:29 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Fast Gherkin lexer and parser based on Ragel."
|
||||
HOMEPAGE="http://wiki.github.com/aslakhellesoy/cucumber/gherkin"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="https://github.com/cucumber/gherkin/tarball/v${PV} -> ${P}.tgz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="2.10"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="${DEPEND} dev-util/ragel"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
RUBY_S="cucumber-gherkin-*"
|
||||
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake-compiler
|
||||
test? (
|
||||
>=dev-ruby/builder-2.1.2
|
||||
>=dev-util/cucumber-1.1.3
|
||||
>=dev-ruby/rspec-2.6.0
|
||||
>=dev-ruby/term-ansicolor-1.0.5
|
||||
)
|
||||
doc? ( >=dev-ruby/yard-0.7.4 )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/json-1.4.6"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove Bundler-related things.
|
||||
sed -i -e '/[Bb]undler/d' Rakefile spec/spec_helper.rb features/support/env.rb || die
|
||||
rm Gemfile || die
|
||||
|
||||
# Don't use compile dependencies to avoid building again for specs.
|
||||
sed -i -e '/:compile/d' Rakefile
|
||||
|
||||
# Remove feature that depends on direct access to the cucumber
|
||||
# source. We could probably set this up by downloading the source
|
||||
# and unpacking it, but skipping this now in the interest of time.
|
||||
rm features/pretty_formatter.feature || die
|
||||
|
||||
# We need to remove these tasks during bootstrapping since it tries
|
||||
# to load cucumber already but we can be sure it isn't installed
|
||||
# yet. Also remove other rake tasks for which we may not yet have
|
||||
# dependencies.
|
||||
if ! use test ; then
|
||||
rm tasks/cucumber.rake tasks/rspec.rake || die "Unable to remove rake tasks."
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
${RUBY} -I lib -S rake -rrake/clean -f tasks/compile.rake compile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -I lib -S rake spec || die "Specs failed"
|
||||
CUCUMBER_HOME="${HOME}" RUBYLIB=lib ${RUBY} -S cucumber features || die "Cucumber features failed"
|
||||
}
|
@ -1,4 +1 @@
|
||||
DIST mongo-ruby-driver-1.5.2.tar.gz 13678997 RMD160 be3180912612db60166afc14ecbb98a13b822d76 SHA1 2c482b4af547b0a5ed307442fc07bfc8e50db324 SHA256 1dd103bf29d56471482ee02e88bf908996e6b27e6fe0fbdd6c0a9fbfa57efbc3
|
||||
DIST mongo-ruby-driver-1.6.0.tar.gz 13682065 RMD160 b43f3079e33df81a3933ed9832b5ef16189a28ce SHA1 9d43a0c529172411f3385170a92399782f74e044 SHA256 597fcb6a22d8611b23471bcae1cf578adecbe6d69a817707c586909d971c2efa
|
||||
DIST mongo-ruby-driver-1.6.1.tar.gz 15482357 RMD160 c085d08d1e2964408e83abfc515e217fb2d2faf2 SHA1 cf6112e59f11ab17d38711202662a54c742b9f04 SHA256 16465e160d394c0f50e11d3f35cdfd37f0b6542000c77f57549ae5fb7d0fa5d4
|
||||
DIST mongo-ruby-driver-1.6.2.tar.gz 15485515 RMD160 6c1b7b8a7c3315a62869a56a546778fa1f41edbc SHA1 936fdd3d18bf219b69e71affc64447c427342322 SHA256 ef6885ba66fce2df619d5543ef1699b584362fe37931e9e2121d974a67cb4a58
|
||||
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongo/mongo-1.5.2.ebuild,v 1.1 2011/12/28 23:56:06 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:unit"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC=""
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="mongodb"
|
||||
GITHUB_PROJECT="mongo-ruby-driver"
|
||||
RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby driver for MongoDB."
|
||||
HOMEPAGE="http://www.mongodb.org/"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="APSL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
# This is the same source package as bson, so keep them the same
|
||||
# version, but not revision
|
||||
ruby_add_rdepend "~dev-ruby/bson-${PV}"
|
||||
|
||||
ruby_add_bdepend \
|
||||
"test? (
|
||||
dev-ruby/rake
|
||||
dev-ruby/shoulda
|
||||
dev-ruby/mocha
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove the stuff that is actually part of dev-ruby/bson
|
||||
rm -rf lib/bson* bin/{b2j,j2b}son
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongo/mongo-1.6.0.ebuild,v 1.1 2012/02/22 23:56:16 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:unit"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC=""
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="mongodb"
|
||||
GITHUB_PROJECT="mongo-ruby-driver"
|
||||
RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby driver for MongoDB."
|
||||
HOMEPAGE="http://www.mongodb.org/"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="APSL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
# This is the same source package as bson, so keep them the same
|
||||
# version, but not revision
|
||||
ruby_add_rdepend "~dev-ruby/bson-${PV}"
|
||||
|
||||
ruby_add_bdepend \
|
||||
"test? (
|
||||
dev-ruby/rake
|
||||
dev-ruby/shoulda
|
||||
dev-ruby/mocha
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove the stuff that is actually part of dev-ruby/bson
|
||||
rm -rf lib/bson* bin/{b2j,j2b}son
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongo/mongo-1.6.1.ebuild,v 1.1 2012/03/08 01:31:45 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:unit"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="rdoc"
|
||||
RUBY_FAKEGEM_DOCDIR="html"
|
||||
RUBY_FAKEGEM_EXTRADOC=""
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
GITHUB_USER="mongodb"
|
||||
GITHUB_PROJECT="mongo-ruby-driver"
|
||||
RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby driver for MongoDB."
|
||||
HOMEPAGE="http://www.mongodb.org/"
|
||||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="APSL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
# This is the same source package as bson, so keep them the same
|
||||
# version, but not revision
|
||||
ruby_add_rdepend "~dev-ruby/bson-${PV}"
|
||||
|
||||
ruby_add_bdepend \
|
||||
"test? (
|
||||
dev-ruby/rake
|
||||
dev-ruby/shoulda
|
||||
dev-ruby/mocha
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# remove the stuff that is actually part of dev-ruby/bson
|
||||
rm -rf lib/bson* bin/{b2j,j2b}son
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST nokogiri-1.4.4.gem 198656 RMD160 9f5fc2b15da160ccd03a096cf3074afb46e1a170 SHA1 15f5c381d98a4e53a879981b8fbc301d3561c675 SHA256 3d1ed8cc4b6caf1f1cdb7b53be26e72ab70b7111d463d76f898f1f32d998a7b2
|
||||
DIST nokogiri-1.5.0.gem 187904 RMD160 ab4f6f9704f71899edb815f033e4f70560653b3c SHA1 c82f210a45b7c6b87c681e79a29e6a08ec8c6d71 SHA256 47adaf8891dc9ea6f3b58435cf5cfabacb04390064eea1739c8a26678039ebc5
|
||||
DIST nokogiri-1.5.0.tgz 1968555 RMD160 c14cd53c8e3e0c4b74a056c2f47aa6fb8fb5820b SHA1 3cf32d8355d4558bfb372c92b28640925bec269f SHA256 9966fef1ff6369d0ea7a40ea9f5e42e2bc9ba83bb2e4e6bc817a1da95c55bf4e
|
||||
DIST nokogiri-1.5.2.tgz 1988760 RMD160 5acd8d4bbf8916f53237b102db21049510539e73 SHA1 fb75adc5fe4ea7e9cf6defdd634dc7614b2da045 SHA256 d977baa45baa700c107a25eefea6e4b4b2771dd05204d734eee2dab9d69b1dbc
|
||||
|
@ -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-ruby/nokogiri/nokogiri-1.5.2.ebuild,v 1.1 2012/05/11 18:47:41 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.rdoc README.ja.rdoc"
|
||||
|
||||
inherit ruby-fakegem eutils multilib
|
||||
|
||||
DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser."
|
||||
HOMEPAGE="http://nokogiri.rubyforge.org/"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="https://github.com/tenderlove/nokogiri/tarball/v${PV} -> ${P}.tgz"
|
||||
RUBY_S="tenderlove-nokogiri-*"
|
||||
|
||||
KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
DEPEND="${DEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
|
||||
# The tests require _minitest_, not the virtual; what is shipped with
|
||||
# Ruby 1.9 is *not* enough, unfortunately
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake-compiler
|
||||
dev-ruby/rexical
|
||||
dev-ruby/hoe
|
||||
dev-ruby/rdoc
|
||||
dev-ruby/racc
|
||||
test? ( dev-ruby/minitest )"
|
||||
|
||||
# tests currently work only with Ruby 1.9; there is a small issue with
|
||||
# JRuby, but it's insignificant, while 1.8 and EE 1.8 are failing due to
|
||||
# the hashing order changes.
|
||||
RESTRICT="ruby_targets_ruby18? ( test )
|
||||
ruby_targets_ree18? ( test )
|
||||
ruby_targets_jruby? ( test )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i \
|
||||
-e '/tasks\/cross_compile/s:^:#:' \
|
||||
-e '/:test.*prerequisites/s:^:#:' \
|
||||
Rakefile || die
|
||||
# Remove the cross compilation options since they interfere with
|
||||
# native building.
|
||||
sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
|
||||
sed -i -e '/cross_config_options/d' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*)
|
||||
${RUBY} -Cext/${PN} extconf.rb \
|
||||
--with-zlib-include="${EPREFIX}"/usr/include \
|
||||
--with-zlib-lib="${EPREFIX}"/$(get_libdir) \
|
||||
--with-iconv-include="${EPREFIX}"/usr/include \
|
||||
--with-iconv-lib="${EPREFIX}"/$(get_libdir) \
|
||||
--with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
|
||||
--with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--with-xslt-dir="${EPREFIX}"/usr \
|
||||
--with-iconvlib=iconv \
|
||||
|| die "extconf.rb failed"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
${RUBY} -S rake compile || die
|
||||
;;
|
||||
*)
|
||||
if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
|
||||
fi
|
||||
|
||||
if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
|
||||
fi
|
||||
|
||||
emake -Cext/${PN} \
|
||||
CFLAGS="${CFLAGS} -fPIC" \
|
||||
archflag="${LDFLAGS}" || die "make extension failed"
|
||||
cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
DIST sass-3.1.10.gem 215040 RMD160 bd8339343111606baadc3ec12308a17479a1ad40 SHA1 61589753991b2f4ce35021d0f50d4138abd9eb26 SHA256 518d55e88f2a0daea180ad640c5c8acd7b8b980c1bbfa3900e09f4eda2d2ef98
|
||||
DIST sass-3.1.12.gem 216576 RMD160 e36ad5f7e5f5ff5320eba4b0d6cacfe6849a2e22 SHA1 ec8729f3c1822b7bf67a26635db8396b35090523 SHA256 be59b0789b922e66b4bdf8155c383aac233d4419a60d3f94ee2089515854c282
|
||||
DIST sass-3.1.15.gem 221696 RMD160 bbc1fc139b929431bc6497f3b3ebd69b665a8f1e SHA1 f8e2f28a8a2d7db1569d2155d2227f4078df56e1 SHA256 fabb23de8bad1c87bf795638379556974e7aeb706c94488a467c004e50c555d3
|
||||
DIST sass-3.1.17.gem 227840 RMD160 e6ad000002af2c7dfa96a4f73fb4d4b867b1cd15 SHA1 d2b2a89918885d15bceb3ed208117f44442c0c5d SHA256 a71bd1269366ee79d71a67846e37a44353f11064b6fe05cd65035435cb97d327
|
||||
DIST sass-3.1.4.gem 515072 RMD160 7c5c446515a3c5f5c8a6b685e0e7017ab59dd4f7 SHA1 90f95fee655c7aa5958f481d50c86f939dc106c4 SHA256 b095d1ff189012a12bff87daecc0092bf5175b620fd6d5669a99bbfd2efb6bbf
|
||||
DIST sass-3.1.5.gem 209920 RMD160 e44c902e563f2bf810b8e3f6dd415583204fc4cf SHA1 4f72cc4becbea898339a2262a34bff559d0f1764 SHA256 9cd33a1a28c3e957d9d907f337921143c9bca57d2c1f6d66290f6616096a1542
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/sass/sass-3.1.17.ebuild,v 1.1 2012/05/11 20:04:24 flameeyes Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="rails init.rb VERSION VERSION_NAME"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more."
|
||||
HOMEPAGE="http://sass-lang.com/"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x64-macos"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( >=dev-ruby/yard-0.5.3 >=dev-ruby/maruku-0.5.9 )"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/fssm !!<dev-ruby/haml-3.1"
|
||||
|
||||
# tests fail with JRuby, and that's a given for now; it's not a bug in
|
||||
# the code as much as it is relying on a detail of the implementation of
|
||||
# CRuby.
|
||||
RESTRICT="ruby_targets_jruby? ( test )"
|
||||
|
||||
# tests could use `less` if we had it
|
||||
|
||||
#all_ruby_prepare() {
|
||||
# # Avoid tests depending on ordering of hashes.
|
||||
# sed -i -e '/test_mixin_include_with_keyword_args/,/ end/ s:^:#:' test/sass/conversion_test.rb || die
|
||||
#}
|
@ -0,0 +1,45 @@
|
||||
Index: test-spec-0.10.0/lib/test/spec.rb
|
||||
===================================================================
|
||||
--- a/test-spec-0.10.0/lib/test/spec.rb
|
||||
+++ b/test-spec-0.10.0/lib/test/spec.rb
|
||||
@@ -6,6 +6,8 @@
|
||||
# This work is licensed under the same terms as Ruby itself.
|
||||
#
|
||||
|
||||
+gem 'test-unit' if RUBY_VERSION =~ /1\.9/
|
||||
+
|
||||
require 'test/unit'
|
||||
|
||||
class Test::Unit::AutoRunner # :nodoc:
|
||||
@@ -354,7 +356,7 @@ class Test::Spec::TestCase
|
||||
|
||||
# Don't let the default_test clutter up the results and don't
|
||||
# flunk if no tests given, either.
|
||||
- throw :invalid_test if name.to_s == "default_test"
|
||||
+ #throw :invalid_test if name.to_s == "default_test"
|
||||
end
|
||||
|
||||
def position
|
||||
Index: metadata
|
||||
===================================================================
|
||||
--- a/metadata
|
||||
+++ b/metadata
|
||||
@@ -11,7 +11,17 @@ cert_chain: []
|
||||
|
||||
date: 2009-02-01 00:00:00 +01:00
|
||||
default_executable:
|
||||
-dependencies: []
|
||||
+dependencies:
|
||||
+- !ruby/object:Gem::Dependency
|
||||
+ name: test-unit
|
||||
+ type: :runtime
|
||||
+ version_requirement:
|
||||
+ version_requirements: !ruby/object:Gem::Requirement
|
||||
+ requirements:
|
||||
+ - - ">="
|
||||
+ - !ruby/object:Gem::Version
|
||||
+ version: 2.0.6
|
||||
+ version:
|
||||
|
||||
description: test/spec layers an RSpec-inspired interface on top of Test::Unit, so you can mix TDD and BDD (Behavior-Driven Development). test/spec is a clean-room implementation that maps most kinds of Test::Unit assertions to a `should'-like syntax.
|
||||
email: chneukirchen@gmail.com
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue