parent
455504f02c
commit
de77045c18
@ -1,2 +1,3 @@
|
||||
DIST install-crossover-12.1.2.bin 48533685 SHA256 4fe093d1535dd2e786d714483d2a033c8161d9863982df3e424630695f188da0 SHA512 8cb97bcdfb9eb0cce37ae083e0e112568659bd43cd845209fa18b80b246c69501ec7e0233526c930e001b2bf92705f31633d8c55602745ed76d071c069d7f2bc WHIRLPOOL b8736eae92fbf0f3f214ffbfafd16b0aaaa15391488a3595ec5299995c58d283b0e53bf744784e2313c41d0a3c8b72eff631e94bdea3d7f5969d04cea83c53b9
|
||||
DIST install-crossover-12.2.0.bin 48619226 SHA256 ca1f7535c9838c5299fe6c83ea698b0c62aa1d201ab6ad63a46522a4b50eb8ce SHA512 1a8f371eaef48212bfa72f0b8569a30f82c2b8663f7170e6ceba525f3360e6249236d3085e60f70db1dc6560fcdf0a884f46c763369597840a59a98e44a0e343 WHIRLPOOL c3d5e77f84c444a665a7be34596ef31cb6c059ba2e70132c066c77560c49de133e7e925284019c88a3ecb526fab4264b876e87b1c4bdce580b1494433c2b3fcb
|
||||
DIST install-crossover-12.2.1.bin 48623520 SHA256 9b64bdeaf0946cdb73c78fa8599ee1110ecda839e4bf577787befe269b387ee2 SHA512 8f8e6718f5a8605b05ef65cab94921d1ea7fc340767ab77aaff54e3577e1427e0d12d5a22a174c29c669bc9766ac0bcf6996c1e779eac4be391a7d8ba126738d WHIRLPOOL 95a64f822690a8a8c3cdda950699d307024f8da2a04ffc1bcb9c7aaebc3d6c488b338fe6a5f83067804fe65d21a3ee0e9a837165f8c8ca0e6d9ebde6299cac85
|
||||
|
@ -0,0 +1,155 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/crossover-bin/crossover-bin-12.2.1.ebuild,v 1.1 2013/05/30 07:20:28 ryao Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
PYTHON_REQ_USE="threads"
|
||||
|
||||
inherit python-single-r1 unpacker
|
||||
|
||||
DESCRIPTION="Commercial version of app-emulation/wine with paid support."
|
||||
HOMEPAGE="http://www.codeweavers.com/products/crossover/"
|
||||
SRC_URI="install-crossover-${PV}.bin"
|
||||
|
||||
LICENSE="CROSSOVER-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~x86"
|
||||
IUSE="+capi +cups doc +gphoto2 +gsm +jpeg +lcms +ldap +mp3 +nls +openal +opengl +png +scanner +ssl +v4l"
|
||||
RESTRICT="fetch test"
|
||||
QA_FLAGS_IGNORED="opt/cxoffice/.*"
|
||||
QA_PRESTRIPPED="opt/cxoffice/lib/.*
|
||||
opt/cxoffice/bin/cxburner
|
||||
opt/cxoffice/bin/cxntlm_auth
|
||||
opt/cxoffice/bin/wineserver
|
||||
opt/cxoffice/bin/unrar
|
||||
opt/cxoffice/bin/wine-preloader
|
||||
opt/cxoffice/bin/cxdiag
|
||||
opt/cxoffice/bin/cxgettext
|
||||
opt/cxoffice/bin/wineloader
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
MLIB_DEPS="amd64? (
|
||||
openal? ( app-emulation/emul-linux-x86-sdl )
|
||||
opengl? ( app-emulation/emul-linux-x86-opengl )
|
||||
scanner? ( app-emulation/emul-linux-x86-medialibs )
|
||||
v4l? ( app-emulation/emul-linux-x86-medialibs )
|
||||
app-emulation/emul-linux-x86-baselibs
|
||||
app-emulation/emul-linux-x86-soundlibs
|
||||
|| (
|
||||
(
|
||||
>=media-libs/freetype-2.0.0[abi_x86_32]
|
||||
x11-libs/libICE[abi_x86_32]
|
||||
x11-libs/libSM[abi_x86_32]
|
||||
x11-libs/libX11[abi_x86_32]
|
||||
x11-libs/libXau[abi_x86_32]
|
||||
x11-libs/libXdmcp[abi_x86_32]
|
||||
x11-libs/libXext[abi_x86_32]
|
||||
x11-libs/libXi[abi_x86_32]
|
||||
x11-libs/libXrandr[abi_x86_32]
|
||||
x11-libs/libXxf86vm[abi_x86_32]
|
||||
x11-libs/libxcb[abi_x86_32]
|
||||
)
|
||||
app-emulation/emul-linux-x86-xlibs
|
||||
)
|
||||
)"
|
||||
|
||||
X86_DEPS="x86? (
|
||||
capi? ( net-dialup/capi4k-utils )
|
||||
cups? ( net-print/cups )
|
||||
gsm? ( media-sound/gsm )
|
||||
jpeg? ( virtual/jpeg )
|
||||
lcms? ( media-libs/lcms:0 )
|
||||
ldap? ( net-nds/openldap )
|
||||
gphoto2? ( media-libs/libgphoto2 )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
openal? ( media-libs/openal )
|
||||
opengl? (
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
)
|
||||
png? ( media-libs/libpng:0 )
|
||||
scanner? ( media-gfx/sane-backends )
|
||||
ssl? ( dev-libs/openssl:0 )
|
||||
v4l? ( media-libs/libv4l )
|
||||
media-libs/alsa-lib
|
||||
>=media-libs/freetype-2.0.0
|
||||
media-libs/mesa
|
||||
sys-apps/util-linux
|
||||
sys-libs/zlib
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext
|
||||
x11-libs/libXi
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXxf86vm
|
||||
x11-libs/libxcb
|
||||
)"
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
app-arch/unzip"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
!prefix? ( sys-libs/glibc )
|
||||
>=dev-python/pygtk-2.10
|
||||
dev-util/desktop-file-utils
|
||||
sys-apps/dbus
|
||||
!app-emulation/crossover-office-pro-bin
|
||||
!app-emulation/crossover-office-bin
|
||||
${MLIB_DEPS}
|
||||
${X86_DEPS}
|
||||
"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please visit ${HOMEPAGE}"
|
||||
einfo "and place ${A} in ${DISTDIR}"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
# self unpacking zip archive; unzip warns about the exe stuff
|
||||
unpack_zip ${A}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
sed -e 's:/usr/local/etc/xdg /etc/xdg::' -i "${WORKDIR}/bin/locate_gui.sh" \
|
||||
|| die "Could not patch ${WORKDIR}/bin/locate_gui.sh"
|
||||
|
||||
# Remove unnecessary files
|
||||
rm -r license.txt guis/ || die "Could not remove files"
|
||||
use doc || rm -r doc/ || die "Could not remove files"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Install documentation
|
||||
dodoc README changelog.txt
|
||||
rm README changelog.txt || die "Could not remove README and changelog.txt"
|
||||
|
||||
# Install files
|
||||
dodir /opt/cxoffice
|
||||
cp -r ./* "${ED}opt/cxoffice" \
|
||||
|| die "Could not install into ${ED}opt/cxoffice"
|
||||
|
||||
# Install configuration file
|
||||
insinto /opt/cxoffice/etc
|
||||
doins share/crossover/data/cxoffice.conf
|
||||
|
||||
# Install requisite directories for menus
|
||||
dodir "/usr/share/applications"
|
||||
dodir "/etc/xdg/menus/applications-merged"
|
||||
|
||||
# Install menus
|
||||
XDG_CONFIG_DIRS="${ED}etc/xdg" \
|
||||
XDG_DATA_DIRS="${ED}usr/share" \
|
||||
"${ED}opt/cxoffice/bin/cxmenu" --crossover --install \
|
||||
|| die "Could not install menus"
|
||||
|
||||
# Fix menus
|
||||
sed -e "s:${ED}:/:" -i "${ED}usr/share/applications/"* \
|
||||
|| die "Could not fix menus"
|
||||
}
|
@ -0,0 +1,525 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-1.4.2.ebuild,v 1.1 2013/05/30 02:57:12 cardoe Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps
|
||||
|
||||
BACKPORTS=6b5934f9
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-2
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2
|
||||
${BACKPORTS:+
|
||||
http://dev.gentoo.org/~cardoe/distfiles/${P}-${BACKPORTS}.tar.xz}"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="+aio alsa bluetooth brltty +caps +curl debug fdt iscsi +jpeg \
|
||||
kernel_linux kernel_FreeBSD mixemu ncurses opengl +png pulseaudio python \
|
||||
rbd sasl +seccomp sdl selinux smartcard spice static static-softmmu \
|
||||
static-user systemtap tci test +threads tls usbredir +uuid vde +vhost-net \
|
||||
virtfs +vnc xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="i386 x86_64 alpha arm cris m68k microblaze microblazeel mips
|
||||
mipsel or32 ppc ppc64 sh4 sh4eb sparc sparc64 s390x unicore32"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS} lm32 mips64 mips64el ppcemb xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS} armeb ppc64abi32 sparc32plus"
|
||||
|
||||
# Setup the default SoftMMU targets, while using the loops
|
||||
# below to setup the other targets.
|
||||
REQUIRED_USE="|| ("
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_softmmu_targets_${target}"
|
||||
REQUIRED_USE="${REQUIRED_USE} qemu_softmmu_targets_${target}"
|
||||
done
|
||||
REQUIRED_USE="${REQUIRED_USE} )"
|
||||
|
||||
for target in ${IUSE_USER_TARGETS}; do
|
||||
IUSE="${IUSE} qemu_user_targets_${target}"
|
||||
done
|
||||
|
||||
# Block USE flag configurations known to not work
|
||||
REQUIRED_USE="${REQUIRED_USE}
|
||||
static? ( static-softmmu static-user )
|
||||
static-softmmu? ( !alsa !pulseaudio !bluetooth !opengl )
|
||||
virtfs? ( xattr )"
|
||||
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
LIB_DEPEND=">=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-apps/pciutils[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.2.0[static-libs(+)] )
|
||||
jpeg? ( virtual/jpeg[static-libs(+)] )
|
||||
ncurses? ( sys-libs/ncurses[static-libs(+)] )
|
||||
png? ( media-libs/libpng[static-libs(+)] )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? ( >=media-libs/libsdl-1.2.11[static-libs(+)] )
|
||||
seccomp? ( >=sys-libs/libseccomp-1.0.1[static-libs(+)] )
|
||||
spice? ( >=app-emulation/spice-0.12.0[static-libs(+)] )
|
||||
tls? ( net-libs/gnutls[static-libs(+)] )
|
||||
uuid? ( >=sys-apps/util-linux-2.16.0[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
RDEPEND="!static-softmmu? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
!app-emulation/kqemu
|
||||
qemu_softmmu_targets_i386? (
|
||||
sys-firmware/ipxe
|
||||
~sys-firmware/seabios-1.7.2.1
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
qemu_softmmu_targets_x86_64? (
|
||||
sys-firmware/ipxe
|
||||
~sys-firmware/seabios-1.7.2.1
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
~sys-firmware/vgabios-0.7a
|
||||
)
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
brltty? ( app-accessibility/brltty )
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
opengl? ( virtual/opengl )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
selinux? ( sec-policy/selinux-qemu )
|
||||
smartcard? ( dev-libs/nss !app-emulation/libcacard )
|
||||
spice? ( >=app-emulation/spice-protocol-0.12.3 )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6 )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/texi2html
|
||||
=dev-lang/python-2*
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
static-softmmu? ( ${LIB_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or32
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
qemu_support_kvm() {
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386 \
|
||||
use qemu_softmmu_targets_ppc || use qemu_softmmu_targets_ppc64 \
|
||||
use qemu_softmmu_targets_s390x; then
|
||||
return 0
|
||||
fi
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
|
||||
python_export_best
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i 's/^\(C\|OP_C\|HELPER_C\)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
epatch "${FILESDIR}"/qemu-9999-cflags.patch
|
||||
[[ -n ${BACKPORTS} ]] && \
|
||||
EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
|
||||
epatch
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function $FUNCNAME "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir=$2
|
||||
local conf_opts audio_opts
|
||||
local static_flag="static-${buildtype}"
|
||||
|
||||
conf_opts="--prefix=/usr"
|
||||
conf_opts+=" --sysconfdir=/etc"
|
||||
conf_opts+=" --libdir=/usr/$(get_libdir)"
|
||||
conf_opts+=" --docdir=/usr/share/doc/${PF}/html"
|
||||
conf_opts+=" --disable-bsd-user"
|
||||
conf_opts+=" --disable-guest-agent"
|
||||
conf_opts+=" --disable-strip"
|
||||
conf_opts+=" --disable-werror"
|
||||
conf_opts+=" --python=${PYTHON}"
|
||||
|
||||
# audio options
|
||||
audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
|
||||
if [[ ${buildtype} == "user" ]]; then
|
||||
conf_opts+=" --enable-linux-user"
|
||||
conf_opts+=" --disable-system"
|
||||
conf_opts+=" --target-list=${user_targets}"
|
||||
conf_opts+=" --disable-blobs"
|
||||
conf_opts+=" --disable-bluez"
|
||||
conf_opts+=" --disable-curses"
|
||||
conf_opts+=" --disable-kvm"
|
||||
conf_opts+=" --disable-libiscsi"
|
||||
conf_opts+=" $(use_enable seccomp)"
|
||||
conf_opts+=" --disable-sdl"
|
||||
conf_opts+=" --disable-smartcard-nss"
|
||||
conf_opts+=" --disable-tools"
|
||||
conf_opts+=" --disable-vde"
|
||||
fi
|
||||
|
||||
if [[ ${buildtype} == "softmmu" ]]; then
|
||||
conf_opts+=" --disable-linux-user"
|
||||
conf_opts+=" --enable-system"
|
||||
conf_opts+=" --with-system-pixman"
|
||||
conf_opts+=" --target-list=${softmmu_targets}"
|
||||
conf_opts+=" $(use_enable bluetooth bluez)"
|
||||
conf_opts+=" $(use_enable sdl)"
|
||||
conf_opts+=" $(use_enable aio linux-aio)"
|
||||
conf_opts+=" $(use_enable brltty brlapi)"
|
||||
conf_opts+=" $(use_enable caps cap-ng)"
|
||||
conf_opts+=" $(use_enable curl)"
|
||||
conf_opts+=" $(use_enable fdt)"
|
||||
conf_opts+=" $(use_enable iscsi libiscsi)"
|
||||
conf_opts+=" $(use_enable jpeg vnc-jpeg)"
|
||||
conf_opts+=" $(use_enable kernel_linux kvm)"
|
||||
conf_opts+=" $(use_enable kernel_linux nptl)"
|
||||
conf_opts+=" $(use_enable ncurses curses)"
|
||||
conf_opts+=" $(use_enable opengl)"
|
||||
conf_opts+=" $(use_enable png vnc-png)"
|
||||
conf_opts+=" $(use_enable rbd)"
|
||||
conf_opts+=" $(use_enable sasl vnc-sasl)"
|
||||
conf_opts+=" $(use_enable seccomp)"
|
||||
conf_opts+=" $(use_enable smartcard smartcard-nss)"
|
||||
conf_opts+=" $(use_enable spice)"
|
||||
conf_opts+=" $(use_enable tls vnc-tls)"
|
||||
conf_opts+=" $(use_enable tls vnc-ws)"
|
||||
conf_opts+=" $(use_enable usbredir usb-redir)"
|
||||
conf_opts+=" $(use_enable uuid)"
|
||||
conf_opts+=" $(use_enable vde)"
|
||||
conf_opts+=" $(use_enable vhost-net)"
|
||||
conf_opts+=" $(use_enable virtfs)"
|
||||
conf_opts+=" $(use_enable vnc)"
|
||||
conf_opts+=" $(use_enable xattr attr)"
|
||||
conf_opts+=" $(use_enable xen)"
|
||||
conf_opts+=" $(use_enable xen xen-pci-passthrough)"
|
||||
conf_opts+=" $(use_enable xfs xfsctl)"
|
||||
use mixemu && conf_opts+=" --enable-mixemu"
|
||||
conf_opts+=" --audio-drv-list=${audio_opts}"
|
||||
conf_opts+=" --enable-migration-from-qemu-kvm"
|
||||
fi
|
||||
|
||||
conf_opts+=" $(use_enable debug debug-info)"
|
||||
conf_opts+=" $(use_enable debug debug-tcg)"
|
||||
conf_opts+=" --enable-docs"
|
||||
conf_opts+=" $(use_enable tci tcg-interpreter)"
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts="${conf_opts} --enable-trace-backend=dtrace"
|
||||
|
||||
# Add support for static builds
|
||||
use ${static_flag} && conf_opts="${conf_opts} --static --disable-pie"
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if ! use ${static_flag} && gcc-specs-pie; then
|
||||
conf_opts="${conf_opts} --enable-pie"
|
||||
fi
|
||||
|
||||
einfo "./configure ${conf_opts}"
|
||||
cd ${builddir}
|
||||
../configure \
|
||||
--cc="$(tc-getCC)" \
|
||||
--host-cc="$(tc-getBUILD_CC)" \
|
||||
${conf_opts} \
|
||||
|| die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -E -e "s|^(HOST_USB=)bsd|\1stub|" -i "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
softmmu_targets=
|
||||
user_targets=
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
use "qemu_softmmu_targets_${target}" && \
|
||||
softmmu_targets="${softmmu_targets},${target}-softmmu"
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
use "qemu_user_targets_${target}" && \
|
||||
user_targets="${user_targets},${target}-linux-user"
|
||||
done
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && \
|
||||
einfo "Building the following softmmu targets: ${softmmu_targets}"
|
||||
|
||||
[[ -n ${user_targets} ]] && \
|
||||
einfo "Building the following user targets: ${user_targets}"
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
mkdir "${S}/softmmu-build"
|
||||
qemu_src_configure "softmmu" "${S}/softmmu-build"
|
||||
fi
|
||||
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
mkdir "${S}/user-build"
|
||||
qemu_src_configure "user" "${S}/user-build"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}/softmmu-build"
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/QMP/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/kvm_stat"
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/QMP/qmp-shell"
|
||||
python_doscript "${S}/QMP/qemu-ga-client"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets
|
||||
newinitd "${FILESDIR}/qemu-binfmt.initd-r1" qemu-binfmt
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
if use test; then
|
||||
dohtml check-report.html
|
||||
fi
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_dorules "${FILESDIR}"/65-kvm.rules
|
||||
fi
|
||||
|
||||
if use qemu_softmmu_targets_x86_64 ; then
|
||||
newbin "${FILESDIR}/qemu-kvm-1.4" qemu-kvm
|
||||
ewarn "The deprecated '/usr/bin/kvm' symlink is no longer installed"
|
||||
ewarn "You should use '/usr/bin/qemu-kvm', you may need to edit"
|
||||
ewarn "your libvirt configs or other wrappers for ${PN}"
|
||||
elif use x86 || use amd64; then
|
||||
elog "You disabled QEMU_SOFTMMU_TARGETS=x86_64, this disables install"
|
||||
elog "of the /usr/bin/qemu-kvm script."
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
# Remove the docdir placed qmp-commands.txt
|
||||
mv "${ED}/usr/share/doc/${PF}/html/qmp-commands.txt" "${S}/QMP/"
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS TODO docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc QMP/qmp-commands.txt QMP/qmp-events.txt QMP/qmp-spec.txt
|
||||
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the vgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../vgabios/vgabios.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../vgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../vgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../vgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../vgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/808610de.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local virtfs_caps=
|
||||
|
||||
if qemu_support_kvm; then
|
||||
elog "If you don't have kvm compiled into the kernel, make sure you have"
|
||||
elog "the kernel module loaded before running kvm. The easiest way to"
|
||||
elog "ensure that the kernel module is loaded is to load it on boot."
|
||||
elog "For AMD CPUs the module is called 'kvm-amd'"
|
||||
elog "For Intel CPUs the module is called 'kvm-intel'"
|
||||
elog "Please review /etc/conf.d/modules for how to load these"
|
||||
elog
|
||||
elog "Make sure your user is in the 'kvm' group"
|
||||
elog "Just run 'gpasswd -a <USER> kvm', then have <USER> re-login."
|
||||
elog
|
||||
fi
|
||||
|
||||
virtfs_caps+="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,"
|
||||
virtfs_caps+="cap_setgid,cap_mknod,cap_setuid"
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
use virtfs && fcaps ${virtfs_caps} /usr/bin/virtfs-proxy-helper
|
||||
|
||||
elog "The ssl USE flag was renamed to tls, so adjust your USE flags."
|
||||
elog "The nss USE flag was renamed to smartcard, so adjust your USE flags."
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version sys-firmware/seabios[binary]; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
echo " $(best_version sys-firmware/vgabios)"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST terminal-colors-1.4.bz2 4089 SHA256 b9bb39cf3d5f3a7698dfdcfe81d1304b930a1dd6304336cc1d9661327f39b2c5 SHA512 d335f608ec128b7ec604729c3ecb94ac966dc3430bf92fe86090866d2b7fedb26806d25da71d0b432024791310ed7e5fd60d792970afa6e40321f57bc49d14c6 WHIRLPOOL 582e994cc675ba39d9c34dc49303d7b9abca1ac9f87fd9fbb862186ebeb84590cd827a31ee671fb397d94d8e47fa5228c2302469a6fe498d844f44a586f238ec
|
||||
DIST terminal-colors-1.5.bz2 4080 SHA256 c92de036ecfaed05f65645e3fc1736e711fab48293ddf808b2ffa9a5422acecf SHA512 628439b314b29ec3a0807bb5b3cfec4af20ea03b94f5cd4a4b9a5c4fa4f9da74eba3b972a48a3c6cdbd4a8acf55610a60e055271f4d0292566dfd239b7668d93 WHIRLPOOL 11ccde0f4838f4e8a83fb25206084432e3fdbb3be1e23f47dfbb246cb785248fc63ce8f02d24ae79c8060998e2e105532e5371719ce26e83a9252eaa671f363c
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-misc/terminal-colors/terminal-colors-1.4.ebuild,v 1.3 2012/12/13 21:34:04 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="2"
|
||||
PYTHON_USE_WITH="ncurses"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="A tool to display color charts for 8, 16, 88, and 256 color terminals"
|
||||
HOMEPAGE="http://zhar.net/projects/shell/terminal-colors"
|
||||
SRC_URI="http://dev.gentoo.org/~radhermit/distfiles/${P}.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs 2 ${P}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin ${P} ${PN}
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
scribus/plugins/scriptplugin/scripts/FontSample.py | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/scribus/plugins/scriptplugin/scripts/FontSample.py b/scribus/plugins/scriptplugin/scripts/FontSample.py
|
||||
index 0219a32..1e9be38 100644
|
||||
--- a/scribus/plugins/scriptplugin/scripts/FontSample.py
|
||||
+++ b/scribus/plugins/scriptplugin/scripts/FontSample.py
|
||||
@@ -154,7 +154,7 @@ if not os.path.exists(CONFIG_PATH):
|
||||
|
||||
|
||||
try:
|
||||
- import Image
|
||||
+ from PIL import Image
|
||||
except ImportError,err:
|
||||
print 'You need to install Python Imaging Library (PIL).'
|
||||
print 'If using gentoo then you need to emerge /dev-python/imaging'
|
||||
@@ -164,7 +164,7 @@ except ImportError,err:
|
||||
|
||||
|
||||
try:
|
||||
- import ImageTk
|
||||
+ from PIL import ImageTk
|
||||
except ImportError,err:
|
||||
print 'Module ImageTk not found, font preview disabled'
|
||||
showPreviewPanel = 0
|
@ -0,0 +1,133 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-office/scribus/scribus-1.4.2-r3.ebuild,v 1.2 2013/05/29 09:32:40 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
PYTHON_REQ_USE=tk
|
||||
|
||||
inherit cmake-utils fdo-mime multilib python-single-r1
|
||||
|
||||
DESCRIPTION="Desktop publishing (DTP) and layout program"
|
||||
HOMEPAGE="http://www.scribus.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="aspell cairo debug examples hunspell +minimal +pdf templates"
|
||||
|
||||
# a=$(ls resources/translations/po/scribus.*ts | sed -e 's:\.: :g' | awk '{print $2}'); echo ${a}
|
||||
IUSE_LINGUAS=" af ar bg br ca cs_CZ cy da_DK de de_1901 de_CH el en_AU en_GB en_US es_ES et eu fi fr gl hu id it ja ko lt_LT nb_NO nl pl_PL pt pt_BR ru sa sk_SK sl sq sr sv th_TH tr uk zh_CN zh_TW"
|
||||
IUSE+=" ${IUSE_LINGUAS// / linguas_}"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
COMMON_DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
dev-python/imaging[tk,${PYTHON_USEDEP}]
|
||||
dev-libs/boost
|
||||
dev-libs/hyphen
|
||||
dev-libs/libxml2
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype:2
|
||||
media-libs/lcms:2
|
||||
media-libs/libpng:0
|
||||
media-libs/tiff:0
|
||||
net-print/cups
|
||||
sys-libs/zlib[minizip]
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
virtual/jpeg
|
||||
cairo? ( x11-libs/cairo[X,svg] )
|
||||
pdf? ( app-text/podofo )
|
||||
aspell? ( app-text/aspell )
|
||||
hunspell? ( app-text/hunspell )"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-text/ghostscript-gpl"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-docs.patch
|
||||
"${FILESDIR}"/${P}-imaging.patch
|
||||
"${FILESDIR}"/${PN}-1.4.0-minizip.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cat > cmake/modules/FindZLIB.cmake <<- EOF
|
||||
find_package(PkgConfig)
|
||||
pkg_check_modules(ZLIB minizip zlib)
|
||||
SET( ZLIB_LIBRARY \${ZLIB_LIBRARIES} )
|
||||
SET( ZLIB_INCLUDE_DIR \${ZLIB_INCLUDE_DIRS} )
|
||||
MARK_AS_ADVANCED( ZLIB_LIBRARY ZLIB_INCLUDE_DIR )
|
||||
EOF
|
||||
|
||||
rm scribus/{ioapi,unzip}.[ch] || die
|
||||
|
||||
sed \
|
||||
-e 's:\(${CMAKE_INSTALL_PREFIX}\):./\1:g' \
|
||||
-i resources/templates/CMakeLists.txt || die
|
||||
|
||||
base_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local lang langs
|
||||
for lang in ${IUSE_LINGUAS}; do
|
||||
if use linguas_${lang}; then
|
||||
langs+=",${lang}"
|
||||
else
|
||||
sed -e "/${lang}/d" -i scribus/doc/CMakeLists.txt || die
|
||||
fi
|
||||
done
|
||||
|
||||
local mycmakeargs=(
|
||||
-DHAVE_PYTHON=ON
|
||||
-DPYTHON_INCLUDE_PATH=$(python_get_includedir)
|
||||
-DPYTHON_LIBRARY="${EPREFIX}/usr/$(get_libdir)/lib${EPYTHON}.so"
|
||||
-DWANT_NORPATH=ON
|
||||
-DWANT_QTARTHUR=ON
|
||||
-DWANT_QT3SUPPORT=OFF
|
||||
-DGENTOOVERSION=${PVR}
|
||||
-DWANT_GUI_LANG=${langs#,}
|
||||
$(cmake-utils_use_with aspell ASPELL)
|
||||
$(cmake-utils_use_with pdf PODOFO)
|
||||
$(cmake-utils_use_want cairo)
|
||||
$(cmake-utils_use_want debug DEBUG)
|
||||
$(cmake-utils_use_want minimal NOHEADERINSTALL)
|
||||
$(cmake-utils_use_want hunspell HUNSPELL)
|
||||
)
|
||||
use examples || mycmakeargs+=( -DWANT_NOEXAMPLES=ON)
|
||||
use templates || mycmakeargs+=( -DWANT_NOTEMPLATES=ON)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
local lang file
|
||||
for lang in ${IUSE_LINGUAS}; do
|
||||
file="${ED}"/usr/share/scribus/translations/scribus.${lang}.qm
|
||||
if ! use linguas_${lang} && [[ -f "${file}" ]]; then
|
||||
rm "${file}" || die
|
||||
fi
|
||||
done
|
||||
|
||||
mv "${ED}"/usr/share/doc/${PF}/{en,html} || die
|
||||
ln -sf html "${ED}"/usr/share/doc/${PF}/en || die
|
||||
docompress -x /usr/share/doc/${PF}/en
|
||||
doicon resources/icons/scribus.png
|
||||
domenu scribus.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
fdo-mime_mime_database_update
|
||||
}
|
@ -0,0 +1,179 @@
|
||||
--- zsh-5.0.2/Doc/zsh.texi
|
||||
+++ zsh-5.0.2/Doc/zsh.texi
|
||||
@@ -1,4 +1,3 @@
|
||||
-
|
||||
\input texinfo.tex
|
||||
@c %**start of header
|
||||
@iftex
|
||||
@@ -389,6 +388,7 @@
|
||||
|
||||
@end table
|
||||
|
||||
+@noindent
|
||||
The up-to-date source code is available via anonymous CVS and Git from
|
||||
Sourceforge. See @t{http://sourceforge.net/projects/zsh/} for details.
|
||||
A summary of instructions for the CVS and Git archives can be found at
|
||||
@@ -430,8 +430,8 @@
|
||||
@item @t{<zsh-announce-unsubscribe@@zsh.org>}
|
||||
@item @t{<zsh-users-unsubscribe@@zsh.org>}
|
||||
@item @t{<zsh-workers-unsubscribe@@zsh.org>}
|
||||
-@item
|
||||
@end table
|
||||
+@sp 1
|
||||
|
||||
@noindent
|
||||
YOU ONLY NEED TO JOIN ONE OF THE MAILING LISTS AS THEY ARE NESTED.
|
||||
@@ -1080,8 +1080,8 @@
|
||||
@item @t{/etc/zshrc}
|
||||
@item @t{/etc/zlogin}
|
||||
@item @t{/etc/zlogout} (installation-specific - @t{/etc} is the default)
|
||||
-@item
|
||||
@end table
|
||||
+@sp 1
|
||||
@c (avoiding a yodl bug)
|
||||
|
||||
@noindent
|
||||
@@ -1651,8 +1651,8 @@
|
||||
@item Errors in variable substitution syntax
|
||||
@item Failure to convert characters in @t{$'}...@t{'} expressions
|
||||
similar options
|
||||
-@item
|
||||
@end table
|
||||
+@sp 1
|
||||
|
||||
@noindent
|
||||
If the @t{POSIX_BUILTINS} option is set, more errors associated with
|
||||
@@ -14685,8 +14685,8 @@
|
||||
used for contexts in the parameter @t{zle_highlight},
|
||||
@ref{Character Highlighting};
|
||||
for example, @t{standout} or @t{fg=red,bold}.
|
||||
-@item
|
||||
@end table
|
||||
+@sp 1
|
||||
|
||||
@noindent
|
||||
For example,
|
||||
@@ -22643,8 +22643,7 @@
|
||||
described above.
|
||||
|
||||
@findex _pick_variant
|
||||
-@item @t{_pick_variant} [ @t{-b} @var{builtin-label} ] [ @t{-c}
|
||||
-@var{command} ] [ @t{-r} @var{name} ]
|
||||
+@item @t{_pick_variant} [ @t{-b} @var{builtin-label} ] [ @t{-c} @var{command} ] [ @t{-r} @var{name} ]
|
||||
@itemx @var{label}@t{=}@var{pattern} ... @var{label} [ @var{args} ... ]
|
||||
This function is used to resolve situations where a single command name
|
||||
requires more than one type of handling, either because it
|
||||
@@ -23260,8 +23259,8 @@
|
||||
@item @t{compctl} @t{-M} @var{match-specs} ...
|
||||
@item @t{compctl} @t{-L} [ @t{-CDTM} ] [ @var{command} ... ]
|
||||
@item @t{compctl} @t{+} @var{command} ...
|
||||
-@item
|
||||
@end table
|
||||
+@sp 1
|
||||
|
||||
@noindent
|
||||
Control the editor's completion behavior according to the supplied set
|
||||
@@ -23405,8 +23404,8 @@
|
||||
@item [ @t{-y} @var{func-or-var} ] [ @t{-l} @var{cmd} ] [ @t{-h} @var{cmd} ] [ @t{-U} ]
|
||||
@item [ @t{-t} @var{continue} ] [ @t{-J} @var{name} ] [ @t{-V} @var{name} ]
|
||||
@item [ @t{-M} @var{match-spec} ]
|
||||
-@item
|
||||
@end table
|
||||
+@sp 1
|
||||
|
||||
@noindent
|
||||
The remaining @var{options} specify the type of command arguments
|
||||
@@ -23838,8 +23837,8 @@
|
||||
@noindent
|
||||
@table @asis
|
||||
@item @t{compctl} [ @t{-CDT} ] @var{options} @t{+} @var{options} [ @t{+} ... ] [ @t{+} ] @var{command} ...
|
||||
-@item
|
||||
@end table
|
||||
+@sp 1
|
||||
|
||||
@noindent
|
||||
The form with `@t{+}' specifies alternative options. Completion is
|
||||
@@ -23866,8 +23865,8 @@
|
||||
@item [ @var{command} ... ]
|
||||
@item @t{compctl} [ @t{-CDT} ] @var{options} [ @t{-x} @var{pattern} @var{options} @t{-} ... @t{-}@t{-} ]
|
||||
@item [ @t{+} @var{options} [ @t{-x} ... @t{-}@t{-} ] ... [@t{+}] ] [ @var{command} ... ]
|
||||
-@item
|
||||
@end table
|
||||
+@sp 1
|
||||
|
||||
@noindent
|
||||
The form with `@t{-x}' specifies extended completion for the
|
||||
@@ -24980,7 +24979,7 @@
|
||||
The subcommand @t{position} writes various positions associated with
|
||||
@var{targetwin} into the array named @var{array}.
|
||||
These are, in order:
|
||||
-@table @asis
|
||||
+@itemize @bullet
|
||||
@item
|
||||
The y and x coordinates of the cursor relative to the top left
|
||||
of @var{targetwin}
|
||||
@@ -24989,7 +24988,7 @@
|
||||
screen
|
||||
@item
|
||||
The size of @var{targetwin} in y and x dimensions.
|
||||
-@end table
|
||||
+@end itemize
|
||||
|
||||
@noindent
|
||||
Outputting characters and strings are achieved by @t{char} and @t{string}
|
||||
@@ -28870,30 +28869,37 @@
|
||||
it returns status 0 and sets elements of the associative
|
||||
array @t{reply} as follows:
|
||||
@table @asis
|
||||
-@item timeNL()The time as a string of digits in the same units as
|
||||
+@item time
|
||||
+The time as a string of digits in the same units as
|
||||
@t{$EPOCHSECONDS}
|
||||
-@item schedtimeNL()The regularly scheduled time. This may differ from
|
||||
+@item schedtime
|
||||
+The regularly scheduled time. This may differ from
|
||||
the actual event time @t{time} if this is a recurring event and the next
|
||||
occurrence has been rescheduled. Then @t{time} gives the actual time
|
||||
and @t{schedtime} the time of the regular recurrence before modification.
|
||||
@item text1
|
||||
The text from the line not including the date and time of the
|
||||
event, but including any @t{WARN} or @t{RPT} keywords and values.
|
||||
-@item warntimeNL()Any warning time given by the @t{WARN} keyword as a string
|
||||
+@item warntime
|
||||
+Any warning time given by the @t{WARN} keyword as a string
|
||||
of digits containing the time at which to warn in the same units as
|
||||
@t{$EPOCHSECONDS}. (Note this is an absolute time, not the relative time
|
||||
passed down.) Not set no @t{WARN} keyword and value were
|
||||
matched.
|
||||
-@item warnstrNL()The raw string matched after the @t{WARN} keyword, else unset.
|
||||
-@item rpttimeNL()Any recurrence time given by the @t{RPT} keyword as a string
|
||||
+@item warnstr
|
||||
+The raw string matched after the @t{WARN} keyword, else unset.
|
||||
+@item rpttime
|
||||
+Any recurrence time given by the @t{RPT} keyword as a string
|
||||
of digits containing the time of the recurrence in the same units
|
||||
as @t{$EPOCHSECONDS}. (Note this is an absolute time.) Not set if
|
||||
no @t{RPT} keyword and value were matched.
|
||||
-@item schedrpttimeNL()The next regularly scheduled occurrence of a recurring
|
||||
+@item schedrpttime
|
||||
+The next regularly scheduled occurrence of a recurring
|
||||
event before modification. This may differ from @t{rpttime}, which is the
|
||||
actual time of the event that may have been rescheduled from the regular
|
||||
time.
|
||||
-@item rptstrNL()The raw string matched after the @t{RPT} keyword, else unset.
|
||||
+@item rptstr
|
||||
+The raw string matched after the @t{RPT} keyword, else unset.
|
||||
@item text2
|
||||
The text from the line after removal of the date and any
|
||||
keywords and values.
|
||||
@@ -35504,8 +35510,8 @@
|
||||
@noindent
|
||||
@example
|
||||
zstyle+ ':foo:bar' style1 value1 \
|
||||
- + ':baz' style2 value2 \
|
||||
- + ':frob' style3 value3
|
||||
+ +':baz' style2 value2 \
|
||||
+ +':frob' style3 value3
|
||||
@end example
|
||||
|
||||
@noindent
|
@ -1,4 +1,5 @@
|
||||
DIST haddock-2.10.0.tar.gz 159750 SHA256 d107dba15e8aee5abcb540b818b5dcb8ced98bae7d0714f50192dba26cadb410 SHA512 0680ffafce7a2e6a24ae85869694ea5c590305007da07cdffd6adb8a837164452cdf2de159c9fdcba059f76fc01f30771237dbcd71dd44d04afc0d2317e28563 WHIRLPOOL b584452acbe6e1c3474c97a62b17621e1ce0ef31574845499ca8b6ebdcf54559fed2b37d1890b80b1d526cc9b45d52b51a9acf6ae0d9472e15f93c1a7ff7ef3f
|
||||
DIST haddock-2.13.1.tar.gz 176831 SHA256 6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f SHA512 2cff54f4a3676c605327a6ad926df51976e7ec2bd512e464d0bf84d24f29fa3078dd5f8006329a4a6913607717c2c45f1db2b63d9e9f655d64cbbe92e0fe35fc WHIRLPOOL d1d9202767f4d5ee68ed100f3b95c9be6bff5024b3155b3dbaf3d1d690ac9dc0be2841ef1ea960c095a30005dc2bbb16046dbc4827c6047ee50ad6b1671ae38f
|
||||
DIST haddock-2.13.2-pregenerated-files.patch 206413 SHA256 dd603527692c12055d6a03c59d414f24dc43a0c56cdb815a0755126586a61f4c SHA512 447d7478365f895028fa56a06695ad71792cb3631fe06b18fb051a6d20d1c829eeff6d2c579c90d4d6b5594f245d2aa4f296bff280e5162f090b9b3f98e780c8 WHIRLPOOL 57bdf7bab4077afe003760015aa9535b4af5f2549f51db1a9d7ca87fd67faa842bd1e0adbfabceffee6ff1cb6ad9b4ec6a34b70630190e89b67900f834538e4f
|
||||
DIST haddock-2.13.2.tar.gz 174973 SHA256 25e7d5819d38cbb1c9b1ff967e2a4093c776c3defaa0a249c8eabba1e70892e3 SHA512 6b70f4cc659858e86919cd35a4e936215a53d23767262e25c7add5986cf21d04a761dc3581fe97c6510b3cb0c9867df3e6fa9668732b55e0e9d56b4932dca330 WHIRLPOOL ff06c0d092cdeaf2ddbffd225d30f53239523cd7d482c73f4b7a20100ebcc4e6b6c329bab5cf828ae2730503cff7709061b04cda29ea034939c5acc59191ac52
|
||||
DIST haddock-2.6.1.tar.gz 128158 SHA256 626bfbc51f33ada003fbbfe1b40f3147039369e9898f8e8d2f5c1c863436ea6a SHA512 afa2c1166448f313b3031718caa25e4507b3b773dfd3af3b029ce58c3d8e0fde44f823206dac1219f61ac84589ac580cade688470abd7f53fac677caab0abff0 WHIRLPOOL e719061a8f66fec8273e59d4a99f105710d3ff2f150dae4086bac4b8fc9f365a597876669ebffbb975b9b00639bbe4645f743961de26f0b102cf4485fb00c555
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/haddock/haddock-2.13.2-r1.ebuild,v 1.1 2013/05/29 08:21:16 qnikst Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
CABAL_FEATURES="bin lib profile haddock hscolour nocabaldep"
|
||||
inherit eutils haskell-cabal pax-utils
|
||||
|
||||
DESCRIPTION="A documentation-generation tool for Haskell libraries"
|
||||
HOMEPAGE="http://www.haskell.org/haddock/"
|
||||
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz
|
||||
http://dev.gentoo.org/~qnikst/patches/dev-haskell-${PN}/${P}-pregenerated-files.patch
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
# ia64 lost as we don't have ghc-7 there yet
|
||||
# ppc64 needs to be rekeyworded due to xhtml not being keyworded
|
||||
# x86-fbsd is lost due xhtml
|
||||
KEYWORDS="~amd64 -ia64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-haskell/ghc-paths:=[profile?]
|
||||
=dev-haskell/xhtml-3000.2*:=[profile?]
|
||||
>=dev-lang/ghc-7.6.1:="
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-haskell/cabal-1.14"
|
||||
|
||||
RESTRICT="test" # avoid depends on QC
|
||||
|
||||
CABAL_EXTRA_BUILD_FLAGS="--ghc-options=-rtsopts"
|
||||
|
||||
src_prepare() {
|
||||
# we would like to avoid happy and alex depends
|
||||
epatch "${DISTDIR}"/${P}-pregenerated-files.patch
|
||||
epatch "${FILESDIR}"/${PN}-2.13.1-drop-tools.patch
|
||||
# Fix: Ticket #213 Haddock fails when advanced typesystem features are used
|
||||
# epatch "${FILESDIR}"/${PN}-2.13.1-renameType.patch
|
||||
if use doc && [ ! -e "${S}/html" ]; then
|
||||
ln -s "${S}/resources/html" "${S}/html" || die "Could not create symbolic link ${S}/html"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# create a fake haddock executable. it'll set the right version to cabal
|
||||
# configure, but will eventually get overwritten in src_compile by
|
||||
# the real executable.
|
||||
local exe="${S}/dist/build/haddock/haddock"
|
||||
mkdir -p $(dirname "${exe}")
|
||||
echo -e "#!/bin/sh\necho Haddock version ${PV}" > "${exe}"
|
||||
chmod +x "${exe}"
|
||||
|
||||
# we use 'nocabaldep' to use ghc's bundled Cabal
|
||||
# as external one is likely to break our haddock
|
||||
# (known to work on 1.16.0 and breaks on 1.16.0.1!)
|
||||
haskell-cabal_src_configure \
|
||||
--with-haddock="${exe}" \
|
||||
--constraint="Cabal == $(cabal-version)"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# when building the (recursive..) haddock docs, change the datadir to the
|
||||
# current directory, as we're using haddock inplace even if it's built to be
|
||||
# installed into the system first.
|
||||
haddock_datadir="${S}" haskell-cabal_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cabal_src_install
|
||||
# haddock uses GHC-api to process TH source.
|
||||
# TH requires GHCi which needs mmap('rwx') (bug #299709)
|
||||
pax-mark -m "${D}/usr/bin/${PN}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST commons-math-2.0-src.tar.gz 1044286 SHA256 5c40855b63e5614fd68f77a45588c92ccd4af2e8162d9ebee3e33e225b04b802 SHA512 79a75f72a9a2588f20d51dcda4b10f9f295ac034cc572e71cc8c6d3f8ee00dc91bebdbe31a913aa043458af52c40844e1b34a81ff5dd6095c81b15af91f39d49 WHIRLPOOL 6c2babf2da49af7a89f2f703b562f3609da805be07e68899b2de77bb5a3d77cddd8d5d5994281a7c01d2b87ef6ca280e36b789d8103759542086e90fe47199b3
|
||||
DIST commons-math-2.1-src.tar.gz 1099423 SHA256 f31e098afa916a7f17bd8d8a15163d761ddb54c28d8d64f7f57ce86167f2c48b SHA512 53ed8c0400402c588d824c15365ebe60bef41697ff9728270a9fdc3ac30eb60c4c397caf939ccda839eb701453d98af4eac9eae2090575fcfdee4df2d6f6045b WHIRLPOOL c36a4f6936f6f20a0aa5ad1885e563e980c6f3c02412c4b8cc26de03a6e0a122e6fa0d918992d80ef7912d74e8b9c9ee5006a29972450adbc82249453c2b3e1e
|
||||
DIST commons-math3-3.2-src.tar.gz 2602474 SHA256 07992f0630aea0e973c41a34330fe8109b867fc30507b566142a62ec2e483310 SHA512 132c4725be582e25f67a955c7b3b8c7ef155606d8f4da07770464c422ded6b5e6efd1a13a6e98cff222f4fcac73606d512ee1ab9e3b1c4befcc1ba16ab68787b WHIRLPOOL 801fa951b3a0972f14bfc18482e8cd194faa276581406b15314411fb9e6d1c6c256299e2144fbffe76b4c550937dea64dc6df7f92772bf7dab0f4b70b96e309d
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-math/commons-math-3.2.ebuild,v 1.1 2013/05/29 12:44:02 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# Tests are currently broken due to nasty -lib argument.
|
||||
JAVA_PKG_IUSE="doc source" # test
|
||||
|
||||
inherit java-pkg-2 java-ant-2 java-osgi
|
||||
|
||||
MY_PN="${PN}3"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Lightweight, self-contained mathematics and statistics components"
|
||||
HOMEPAGE="http://commons.apache.org/math/"
|
||||
SRC_URI="mirror://apache/commons/math/source/${MY_P}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
|
||||
# Tests are currently broken due to nasty -lib argument.
|
||||
# test? (
|
||||
# dev-java/ant-junit4
|
||||
# dev-java/hamcrest-core:0
|
||||
# )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
|
||||
sed -i 's/manifest=".*MANIFEST.MF"//g' build.xml || die
|
||||
sed -i '/name="Main-Class"/d' build.xml || die
|
||||
}
|
||||
|
||||
# Tests are currently broken due to nasty -lib argument.
|
||||
# src_test() {
|
||||
# java-pkg_jar-from junit-4
|
||||
# java-pkg_jar-from hamcrest-core
|
||||
# ANT_TASKS="ant-junit4" eant -Djunit.jar=junit.jar test
|
||||
# }
|
||||
|
||||
src_install() {
|
||||
java-osgi_newjar target/${MY_P}.jar ${MY_PN} ${MY_PN} "Export-Package: ${MY_PN}"
|
||||
|
||||
use doc && java-pkg_dojavadoc target/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/org
|
||||
}
|
@ -0,0 +1,288 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 5/29/13 1:59 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="commons-math3-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="commons-math3-3.2"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.resourceDir.1" value="."/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.build.testResourceDir.1" value="."/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<copy todir="${maven.build.outputDir}">
|
||||
<fileset dir="${maven.build.resourceDir.0}"/>
|
||||
</copy>
|
||||
<mkdir dir="${maven.build.outputDir}/META-INF"/>
|
||||
<copy todir="${maven.build.outputDir}/META-INF">
|
||||
<fileset dir="${maven.build.resourceDir.1}">
|
||||
<include name="NOTICE.txt"/>
|
||||
<include name="LICENSE.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy todir="${maven.build.testOutputDir}">
|
||||
<fileset dir="${maven.build.testResourceDir.0}"/>
|
||||
</copy>
|
||||
<mkdir dir="${maven.build.testOutputDir}/META-INF"/>
|
||||
<copy todir="${maven.build.testOutputDir}/META-INF">
|
||||
<fileset dir="${maven.build.testResourceDir.1}">
|
||||
<include name="NOTICE.txt"/>
|
||||
<include name="LICENSE.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestBinary.java"/>
|
||||
<include name="**/*TestPermutations.java"/>
|
||||
<exclude name="**/*AbstractTest.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*AbstractTest.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
encoding="UTF-8"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
docencoding="UTF-8"
|
||||
source="1.5"
|
||||
linksource="true"
|
||||
breakiterator="false">
|
||||
<link href="http://download.oracle.com/javase/6/docs/api/"/>
|
||||
<link href="http://download.oracle.com/javaee/6/api/"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
manifest="/var/tmp/portage/dev-java/commons-math-3.2/work/commons-math3-3.2-src/target/osgi/MANIFEST.MF"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html">
|
||||
<manifest>
|
||||
<attribute name="Main-Class"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
<mkdir dir="${maven.repo.local}"/>
|
||||
<mkdir dir="${maven.repo.local}/junit/junit/4.10"/>
|
||||
<get src="http://repository.apache.org/snapshots/junit/junit/4.10/junit-4.10.jar"
|
||||
dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/junit/junit/4.10/junit-4.10.jar"
|
||||
dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1 +1,2 @@
|
||||
DIST commons-net-1.4.1-src.tar.gz 229198 SHA256 fdea779f261f70b9bbec40121c830b11e3e63b6188f662f95505045ff8d44add SHA512 6ac697536eff947cd0aa828c887e9cc4046c49a593c760bbc59db7e04cf0d7456e84d22504cfa2f6915315dc061e3499382f05bd7740bf79a532a4d9d42c0da8 WHIRLPOOL 44d984c71212f7bb282a671dcd8a463f5ddf9c798f8d676b5587e2341d21a1ed681f7ca6bc91f74162008fe24fc34912aec2dba67fce6f58a3b6b3d2b129b3dc
|
||||
DIST commons-net-3.2-src.tar.gz 378351 SHA256 f9fd207a28dc357a6a515c69fb83009836b7426d6c25095d70148a6cea7d1df1 SHA512 2152b0c524320702c336b21308bb8166e00487938430b83e08d65b836ab775c372c9251957c674e0bccff6815fc3ed3bdb7113a0d2a140c53f64c2f557eef2ba WHIRLPOOL 45b80205a519795652dc6708c85b1ebe52172e9c8ffe7e01a581cd6e9ebfb4a57cdb43bba30a6b25720c72c4bbce6eda8892fe272baad6b120d6231a05c41bf2
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-net/commons-net-3.2.ebuild,v 1.1 2013/05/29 13:28:31 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
# http://issues.apache.org/bugzilla/show_bug.cgi?id=37985
|
||||
RESTRICT="test"
|
||||
JAVA_PKG_IUSE="doc examples source" # test
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2 java-osgi
|
||||
|
||||
MY_P="${P}-src"
|
||||
|
||||
DESCRIPTION="The purpose of the library is to provide fundamental protocol access, not higher-level abstractions."
|
||||
HOMEPAGE="http://commons.apache.org/net/"
|
||||
SRC_URI="mirror://apache/commons/net/source/${MY_P}.tar.gz"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
sed -i 's/depends="compile,test"/depends="compile"/' build.xml || die "Failed to disable junit"
|
||||
sed -i 's/manifest=".*MANIFEST.MF"//g' build.xml || die
|
||||
sed -i '/name="Main-Class"/d' build.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-osgi_newjar target/${P}.jar ${P} ${P} "Export-Package: ${P}"
|
||||
|
||||
use doc && java-pkg_dojavadoc dist/docs/api
|
||||
use examples && java-pkg_doexamples src/java/examples
|
||||
use source && java-pkg_dosrc src/java/org
|
||||
}
|
@ -0,0 +1,285 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 5/29/13 3:17 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="commons-net-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="commons-net-3.2"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.resourceDir.1" value="."/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.build.testResourceDir.1" value="."/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
encoding="iso-8859-1"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
<mkdir dir="${maven.build.outputDir}/META-INF"/>
|
||||
<copy todir="${maven.build.outputDir}/META-INF">
|
||||
<fileset dir="${maven.build.resourceDir.1}">
|
||||
<include name="NOTICE.txt"/>
|
||||
<include name="LICENSE.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
encoding="iso-8859-1"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.5"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.5">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<mkdir dir="${maven.build.testOutputDir}/META-INF"/>
|
||||
<copy todir="${maven.build.testOutputDir}/META-INF">
|
||||
<fileset dir="${maven.build.testResourceDir.1}">
|
||||
<include name="NOTICE.txt"/>
|
||||
<include name="LICENSE.txt"/>
|
||||
</fileset>
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*FunctionalTest.java"/>
|
||||
<exclude name="**/*POP3*.java"/>
|
||||
<exclude name="**/TestSetupParameters.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*FunctionalTest.java"/>
|
||||
<exclude name="**/*POP3*.java"/>
|
||||
<exclude name="**/TestSetupParameters.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
encoding="iso-8859-1"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
source="1.5"
|
||||
linksource="true"
|
||||
breakiterator="false">
|
||||
<link href="http://download.oracle.com/javase/1.5.0/docs/api/"/>
|
||||
<link href="http://download.oracle.com/javaee/6/api/"/>
|
||||
</javadoc>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
manifest="/var/tmp/portage/dev-java/commons-net-3.2/work/commons-net-3.2-src/target/osgi/MANIFEST.MF"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html">
|
||||
<manifest>
|
||||
<attribute name="Main-Class"/>
|
||||
</manifest>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
<mkdir dir="${maven.repo.local}"/>
|
||||
<mkdir dir="${maven.repo.local}/junit/junit/4.10"/>
|
||||
<get src="http://repository.apache.org/snapshots/junit/junit/4.10/junit-4.10.jar"
|
||||
dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/junit/junit/4.10/junit-4.10.jar"
|
||||
dest="${maven.repo.local}/junit/junit/4.10/junit-4.10.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<mkdir dir="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1"/>
|
||||
<get src="http://repository.apache.org/snapshots/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
<get src="http://repo.maven.apache.org/maven2/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
dest="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"
|
||||
usetimestamp="false"
|
||||
ignoreerrors="true"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/fastutil/fastutil-6.5.4.ebuild,v 1.1 2013/05/29 11:10:54 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Provides faster type-specific maps, sets and lists with a small memory footprint."
|
||||
SRC_URI="http://fastutil.dsi.unimi.it/${P}-src.tar.gz"
|
||||
HOMEPAGE="http://fastutil.dsi.unimi.it"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="6.5"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5"
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
src_compile() {
|
||||
emake sources
|
||||
|
||||
# bug 162650 and #175578
|
||||
java-pkg_init-compiler_
|
||||
|
||||
[[ ${GENTOO_COMPILER} != "javac" ]] && export ANT_OPTS="-Xmx512m"
|
||||
java-pkg-2_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar ${P}.jar
|
||||
|
||||
dodoc CHANGES README
|
||||
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
use source && java-pkg_dosrc java/it
|
||||
}
|
@ -0,0 +1,154 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 5/29/13 1:21 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="javax.inject-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="javax.inject-1"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" depends="get-deps" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases"/>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="get-deps"
|
||||
depends="test-offline"
|
||||
description="Download all dependencies"
|
||||
unless="maven.mode.offline">
|
||||
<mkdir dir="${maven.repo.local}"/>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/javax-inject/javax-inject-1-r1.ebuild,v 1.1 2013/05/29 11:34:30 tomwij Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_P=${PN/-/.}-${PV}
|
||||
|
||||
DESCRIPTION="Dependency injection for Java (JSR-330)"
|
||||
HOMEPAGE="http://code.google.com/p/atinject/"
|
||||
SRC_URI="http://atinject.googlecode.com/files/${MY_P}-bundle.jar"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
app-arch/unzip"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
cd "${S}"
|
||||
unzip -q ${MY_P}-sources.jar || die
|
||||
}
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
|
||||
sed -i 's/\(<mkdir dir="${maven.build.outputDir}"\/>\)/\1<javac srcdir="." destdir="${maven.build.outputDir}" \/>/g' build.xml || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/javax.inject-${PV}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/api
|
||||
use source && java-pkg_dosrc javax
|
||||
}
|
@ -1,4 +1,5 @@
|
||||
DIST swig-1.3.40.tar.gz 4891020 SHA256 1945b3693bcda6777bd05fef1015a0ad1a4604cde4a4a0a368b61ccfd143ac09 SHA512 bd959d29cf2d61d12dd2c5764bbd11d8fb045827267f8633ab99515175e675554c709f43a8334ce74d77e71e737118962bc5ce8fd09d3b87070ecab1133cc9d7 WHIRLPOOL 48c71d1c88271e8b2be171b159c41150460bc79bba9d40ff224fad8c1498c94e6328c89f1c2e02e294c17b0174f1e7aeddbc39c2e341c85effbbf311e87f061c
|
||||
DIST swig-2.0.10.tar.gz 5302787 SHA256 d1eef329e867124ce60838b5ad07c763146b6c8f250dd22a861ead7406f78e63 SHA512 98bb7ee9a59b858ba191537c65a0e12e571fda13f7b269f8380ed32be670824a33ca2dbc61da876ca97fe73d34e1d93504fc3145e0e56bc7a4323ff9ca72685c WHIRLPOOL 51e6ab80637337f685295a7f3d5981b5784910997f6528d559289cdd1024c4be17b5ef60d1d5d94380c91ebec03949a509563252eadd7070728ebd6b20a7ca8c
|
||||
DIST swig-2.0.4.tar.gz 5148567 SHA256 763a117730d26f8e5ed67f5718c6c0761fbb8461680fc20269db8c0839e1ec8a SHA512 f2918a35cd73ec7da5911803f44f81fc3a2b61ff13aa0e98b930ab54c64a21032c8b73cc4ca34b3b7c5f52d0106f04ae89f49db99f7749fbb056cd5e8070f968 WHIRLPOOL 4b19a5586cb5fcaa9bf77f4b4c2b1248c0e3515bd0d12a6086056f7c6eec1640c4b555f3e8a234dc5071697f06b5ef944ee38c010789e8baa8031c7cbc9f45f5
|
||||
DIST swig-2.0.8.tar.gz 5291361 SHA256 aeeefa20bbe1c03bacf23f0af9e7d6193e8b807b7585470615b71b1ee0c8ca4f SHA512 2832dd15dd0bf2f583e6b23d47f88dfb7702665656d62b5e80a03e085be38757e7ee6ca45c63af1379987677d7ee512440fe14cecfcff50782467d1e69ebec68 WHIRLPOOL 4144859e9e5d20d9fbbd5b513495736dc386585e924239d4217a195baf5b4ba338d12a1b028d5c1ea0487c1a29195dd3179cb8ab729f4a9a0eb53057f35865aa
|
||||
DIST swig-2.0.9.tar.gz 5307341 SHA256 586954000d297fafd7e91d1ad31089cc7e249f658889d11a44605d3662569539 SHA512 9967eb2e1733c11ceb813bfa18c8c4187ba527d45de9b2ad962f287afba9cb0e1432b921670c5fe07ed31decc2e2785a16f42f69148a4e8a1959a9b66ce2e91f WHIRLPOOL 6649934f33d36b7bf9314a7f6582245217795b6e9c36eb02436ed769f8fb06a3a038af2380f444a1311aa353d3f29c4a3159765f873d09ed90980998e0752e81
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swig/swig-2.0.10.ebuild,v 1.1 2013/05/30 04:24:46 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Simplified Wrapper and Interface Generator"
|
||||
HOMEPAGE="http://www.swig.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+ BSD BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="ccache doc pcre"
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="pcre? ( dev-libs/libpcre )
|
||||
ccache? ( sys-libs/zlib )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( ANNOUNCE CHANGES CHANGES.current README TODO )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable ccache) \
|
||||
$(use_with pcre)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use doc ; then
|
||||
dohtml -r Doc/{Devel,Manual}
|
||||
fi
|
||||
}
|
@ -0,0 +1,151 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/v8/v8-3.19.6.1.ebuild,v 1.1 2013/05/29 21:40:32 phajdan.jr Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_{6,7} )
|
||||
|
||||
inherit chromium eutils multilib multiprocessing pax-utils python-any-r1 \
|
||||
toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Google's open source JavaScript engine"
|
||||
HOMEPAGE="http://code.google.com/p/v8"
|
||||
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
|
||||
LICENSE="BSD"
|
||||
|
||||
soname_version="${PV}"
|
||||
SLOT="0/${soname_version}"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x86-fbsd ~x64-macos ~x86-macos"
|
||||
IUSE="neon readline"
|
||||
|
||||
RDEPEND="readline? ( sys-libs/readline:0 )"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC CXX RANLIB
|
||||
export LINK=${CXX}
|
||||
|
||||
local myconf=""
|
||||
|
||||
# Always build v8 as a shared library with proper SONAME.
|
||||
myconf+=" -Dcomponent=shared_library -Dsoname_version=${soname_version}"
|
||||
|
||||
# Use target arch detection logic from bug #354601.
|
||||
case ${CHOST} in
|
||||
i?86-*)
|
||||
myarch="ia32"
|
||||
myconf+=" -Dv8_target_arch=ia32" ;;
|
||||
x86_64-*)
|
||||
if [[ $ABI = x86 ]] ; then
|
||||
myarch="ia32"
|
||||
myconf+=" -Dv8_target_arch=ia32"
|
||||
else
|
||||
myarch="x64"
|
||||
myconf+=" -Dv8_target_arch=x64"
|
||||
fi ;;
|
||||
arm*-*)
|
||||
myarch="arm"
|
||||
myconf+=" -Dv8_target_arch=arm -Darm_fpu="
|
||||
if [[ ${CHOST} == *-hardfloat-* ]] ; then
|
||||
myconf+=" -Dv8_use_arm_eabi_hardfloat=true"
|
||||
else
|
||||
myconf+=" -Dv8_use_arm_eabi_hardfloat=false"
|
||||
fi
|
||||
if [[ ${CHOST} == armv7*-* ]] ; then
|
||||
myconf+=" -Darmv7=1"
|
||||
else
|
||||
myconf+=" -Darmv7=0"
|
||||
fi
|
||||
myconf+=" $(gyp_use neon arm_neon)" ;;
|
||||
*) die "Unrecognized CHOST: ${CHOST}"
|
||||
esac
|
||||
|
||||
myconf+=" $(gyp_use readline console readline dumb)"
|
||||
|
||||
# Make sure that -Werror doesn't get added to CFLAGS by the build system.
|
||||
# Depending on GCC version the warnings are different and we don't
|
||||
# want the build to fail because of that.
|
||||
myconf+=" -Dwerror="
|
||||
|
||||
# gyp does this only for linux, but we always want to use "out" dir, or
|
||||
# all else below fails due to not finding "out" dir
|
||||
myconf+=" --generator-output=out"
|
||||
# gyp defaults to whatever makes the most sense on the platform at hand,
|
||||
# but we want to build using Makefiles, so force that
|
||||
myconf+=" -f make"
|
||||
|
||||
EGYP_CHROMIUM_COMMAND=build/gyp_v8 egyp_chromium ${myconf} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local makeargs=(
|
||||
-C out
|
||||
builddir="${S}/out/Release"
|
||||
V=1
|
||||
BUILDTYPE=Release
|
||||
)
|
||||
|
||||
# Build mksnapshot so we can pax-mark it.
|
||||
emake "${makeargs[@]}" mksnapshot.${myarch}
|
||||
pax-mark m out/Release/mksnapshot.${myarch}
|
||||
|
||||
# Build everything else.
|
||||
emake "${makeargs[@]}"
|
||||
pax-mark m out/Release/{cctest,d8,preparser}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH=out/Release/lib.target tools/run-tests.py \
|
||||
-j$(makeopts_jobs) \
|
||||
--no-presubmit \
|
||||
--outdir=out \
|
||||
--buildbot \
|
||||
--arch=native \
|
||||
--mode=Release \
|
||||
--progress=dots || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr
|
||||
doins -r include
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# buildsystem is too horrific to get this built correctly
|
||||
mkdir -p out/Release/lib.target || die
|
||||
mv out/Release/libv8.so.${soname_version} \
|
||||
out/Release/lib.target/libv8$(get_libname ${soname_version}) || die
|
||||
install_name_tool \
|
||||
-id "${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/Release/lib.target/libv8$(get_libname ${soname_version}) \
|
||||
|| die
|
||||
install_name_tool \
|
||||
-change \
|
||||
/usr/local/lib/libv8.so.${soname_version} \
|
||||
"${EPREFIX}"/usr/$(get_libdir)/libv8$(get_libname) \
|
||||
out/Release/d8 || die
|
||||
fi
|
||||
|
||||
dobin out/Release/d8
|
||||
pax-mark m "${ED}usr/bin/d8"
|
||||
|
||||
dolib out/Release/lib.target/libv8$(get_libname ${soname_version})
|
||||
dosym libv8$(get_libname ${soname_version}) /usr/$(get_libdir)/libv8$(get_libname)
|
||||
|
||||
dodoc AUTHORS ChangeLog
|
||||
}
|
||||
|
||||
# TODO: remove functions below after they are removed from chromium.eclass'
|
||||
# EXPORT_FUNCTIONS .
|
||||
|
||||
pkg_preinst() {
|
||||
return
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
return
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
return
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>naota@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer>
|
||||
<email>naota@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1 @@
|
||||
DIST qtkeychain-0.1.0.tar.gz 12826 SHA256 1a9a8906792a500586c3119865786664474ee42d0b10295d4d6b505e764ae192 SHA512 47b8a53d24539b195d341ea505e9a2660de0a2e98bbc83f382155049d497aa15373cfefe484c73126c4ca6f3793c54596b61128be5a8ce9b082b61588f919171 WHIRLPOOL 9cb52b2827f632d20167dd9810f4af091e40916376d03e56b5e598ed700d4432d081d5c3cf96c09f2f6bdf2651d5fee7ceab732c84c5d0c9c6c157c272e6df08
|
@ -0,0 +1,35 @@
|
||||
From 69638a5ddb725c4f8000f86546d5d41f2917fe40 Mon Sep 17 00:00:00 2001
|
||||
From: Johannes Huber <johu@gentoo.org>
|
||||
Date: Thu, 30 May 2013 00:03:45 +0200
|
||||
Subject: [PATCH] Add Qt5 build option.
|
||||
|
||||
* removes automagic build when Qt4 + Qt5 is installed on system
|
||||
---
|
||||
CMakeLists.txt | 10 +++++++++-
|
||||
1 file changed, 9 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index aba9032..f601a11 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -11,8 +11,16 @@ set(QTKEYCHAIN_SOVERSION 0)
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${PROJECT_SOURCE_DIR}/cmake/Modules")
|
||||
include(GNUInstallDirs)
|
||||
|
||||
+option(QT5_BUILD "Build qtkeychain using the Qt5 framework" TRUE)
|
||||
+
|
||||
+if(QT5_BUILD)
|
||||
+ find_package(Qt5Core QUIET)
|
||||
+else()
|
||||
+ find_package(Qt4 REQUIRED)
|
||||
+ include(${QT_USE_FILE})
|
||||
+endif()
|
||||
+
|
||||
# try Qt5 first, and prefer that if found
|
||||
-find_package(Qt5Core QUIET)
|
||||
if (Qt5Core_FOUND)
|
||||
if(UNIX AND NOT APPLE)
|
||||
find_package(Qt5DBus REQUIRED)
|
||||
--
|
||||
1.8.2.1
|
||||
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>johu@gentoo.org</email>
|
||||
<name>Johannes Huber</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/qtkeychain/qtkeychain-0.1.0.ebuild,v 1.1 2013/05/29 23:20:33 johu Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Qt API for storing passwords securely"
|
||||
HOMEPAGE="https://github.com/frankosterfeld/qtkeychain"
|
||||
SRC_URI="https://github.com/frankosterfeld/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtdbus:4
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-qt5.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=( -DQT5_BUILD=OFF )
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -0,0 +1,87 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lisp/ecls/ecls-12.12.1-r5.ebuild,v 1.1 2013/05/29 13:24:25 grozin Exp $
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib
|
||||
|
||||
MY_P=ecl-${PV}
|
||||
|
||||
DESCRIPTION="ECL is an embeddable Common Lisp implementation."
|
||||
HOMEPAGE="http://ecls.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tgz"
|
||||
RESTRICT="mirror"
|
||||
|
||||
LICENSE="BSD LGPL-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE="debug emacs gengc precisegc sse +threads +unicode X"
|
||||
|
||||
CDEPEND="dev-libs/gmp
|
||||
virtual/libffi
|
||||
>=dev-libs/boehm-gc-7.1[threads?]
|
||||
>=dev-lisp/asdf-2.33-r3:="
|
||||
DEPEND="${CDEPEND}
|
||||
app-text/texi2html
|
||||
emacs? ( virtual/emacs >=app-admin/eselect-emacs-1.12 )"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
pkg_setup () {
|
||||
if use gengc || use precisegc ; then
|
||||
ewarn "You have enabled the generational garbage collector or"
|
||||
ewarn "the precise collection routines. These features are not very stable"
|
||||
ewarn "at the moment and may cause crashes."
|
||||
ewarn "Don't enable them unless you know what you're doing."
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-headers-gentoo.patch
|
||||
epatch "${FILESDIR}"/${PV}-asdf.patch
|
||||
cp "${EPREFIX}"/usr/share/common-lisp/source/asdf/build/asdf.lisp contrib/asdf/ || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-system-gmp \
|
||||
--enable-boehm=system \
|
||||
--enable-longdouble \
|
||||
--with-dffi \
|
||||
$(use_enable gengc) \
|
||||
$(use_enable precisegc) \
|
||||
$(use_with debug debug-cflags) \
|
||||
$(use_with sse) \
|
||||
$(use_enable threads) \
|
||||
$(use_with threads __thread) \
|
||||
$(use_enable unicode) \
|
||||
$(use_with X x) \
|
||||
$(use_with X clx)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use emacs; then
|
||||
local ETAGS=$(eselect --brief etags list | sed -ne '/emacs/{p;q}')
|
||||
[[ -n ${ETAGS} ]] || die "No etags implementation found"
|
||||
pushd build > /dev/null || die
|
||||
emake ETAGS=${ETAGS} TAGS
|
||||
popd > /dev/null
|
||||
else
|
||||
touch build/TAGS
|
||||
fi
|
||||
|
||||
#parallel make fails
|
||||
emake -j1 || die "Compilation failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "Installation failed"
|
||||
|
||||
dodoc ANNOUNCEMENT Copyright
|
||||
dodoc "${FILESDIR}"/README.Gentoo
|
||||
pushd build/doc
|
||||
newman ecl.man ecl.1
|
||||
newman ecl-config.man ecl-config.1
|
||||
popd
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
--- src/compile.lsp.in.orig 2013-05-23 22:24:01.858778565 +1200
|
||||
+++ src/compile.lsp.in 2013-05-23 22:24:20.478785499 +1200
|
||||
@@ -205,8 +205,7 @@
|
||||
;;;
|
||||
#+WANTS-ASDF
|
||||
(build-module "asdf"
|
||||
- '("ext:asdf;asdf.lisp"
|
||||
- "ext:asdf;asdf-bundle.lisp")
|
||||
+ '("ext:asdf;asdf.lisp")
|
||||
:dir "build:ext;"
|
||||
:prefix "EXT"
|
||||
:builtin #+:BUILTIN-ASDF t #-:BUILTIN-ASDF nil)
|
@ -0,0 +1,13 @@
|
||||
diff -r -U1 ecl-13.5.1.orig/src/h/object.h ecl-13.5.1/src/h/object.h
|
||||
--- ecl-13.5.1.orig/src/h/object.h 2013-05-28 03:37:36.000000000 +0700
|
||||
+++ ecl-13.5.1/src/h/object.h 2013-05-29 19:23:34.000000000 +0700
|
||||
@@ -25,4 +25,9 @@
|
||||
|
||||
+#ifndef TRUE
|
||||
#define TRUE 1 /* boolean true value */
|
||||
+#endif
|
||||
+
|
||||
+#ifndef FALSE
|
||||
#define FALSE 0 /* boolean false value */
|
||||
+#endif
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/apsw-3.7.17_p1.ebuild,v 1.1 2013/05/30 01:07:04 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_P=${PN}-${PV/_p/-r}
|
||||
|
||||
DESCRIPTION="APSW - Another Python SQLite Wrapper"
|
||||
HOMEPAGE="http://code.google.com/p/apsw/"
|
||||
SRC_URI="http://apsw.googlecode.com/files/${MY_P}.zip"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-db/sqlite-${PV%_p*}[extensions]"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.6.20.1-fix_tests.patch )
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} == python2* ]]; then
|
||||
local CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
export CFLAGS
|
||||
fi
|
||||
distutils-r1_python_compile --enable=load_extension
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# tests use overlapping database files
|
||||
local DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" setup.py build_test_extension || die "Building of test loadable extension failed"
|
||||
"${PYTHON}" tests.py -v || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
if use doc ; then
|
||||
dohtml -r doc/*
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST biplist-0.4.tar.gz 12483 SHA256 afa4fe073c2be8c349fe2ad15d0e82e63a7c8d72f1652839f40ffef1879c46a0 SHA512 130aabe37858c42174f235a4cc66e5b255c1c40bfc17b8014b3aac504361a7bbb4f32e74c642081ebdb253fe567ecd215eafc8f2123cad14d65d8b3cd1c18c97 WHIRLPOOL 629fe247e2d59071222e6cbec94f97d1a12419426e4722053f9a75079a8d155cf6ef5aa6ca0985053eb9baea22131a8471aeb0cb66d7a3f7ebff377c8eaffc43
|
||||
DIST biplist-0.5.tar.gz 13306 SHA256 322405634a2d7c7ef206589d4be7f17c33c2954d4d1678b84c013bed77cf7ad1 SHA512 81be0226960caff458090c9d72586c053bbf5ac91ffa207ee8e2132b2d771447a175edf1ac08f20bd2fe13e29d2508f4ddf0f83eefd9f0cd8e2c350a3056eaa9 WHIRLPOOL 02c68d5168505f8b00ef2b839f753bceadb9868e28aa5aa1d433ff1ff2d75cb566786b32be4161af825921e1c05ed0908449f796fde1d9db0bf14278148e0d2a
|
||||
|
@ -1,25 +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/biplist/biplist-0.4.ebuild,v 1.1 2012/04/25 19:43:51 tampakrap Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.*"
|
||||
DISTUTILS_SRC_TEST=nosetests
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A binary plist parser/generator for Python"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/biplist/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/coverage
|
||||
dev-python/setuptools
|
||||
test? ( dev-python/nose )"
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/biplist/biplist-0.5-r1.ebuild,v 1.1 2013/05/29 07:02:47 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_6,2_7,3_2,3_3} )
|
||||
#DISTUTILS_SRC_TEST=nosetests
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A binary plist parser/generator for Python"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/biplist/ https://github.com/wooster/biplist"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/coverage[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
# https://github.com/wooster/biplist/issues/5
|
||||
nosetests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -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/dev-python/biplist/biplist-0.5.ebuild,v 1.1 2012/06/28 06:11:53 patrick Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="2.5 3.*"
|
||||
DISTUTILS_SRC_TEST=nosetests
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A binary plist parser/generator for Python"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/biplist/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/coverage
|
||||
dev-python/setuptools
|
||||
test? ( dev-python/nose
|
||||
dev-python/six )"
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/boto/boto-2.9.5.ebuild,v 1.1 2013/05/29 08:27:16 radhermit Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Amazon Web Services API"
|
||||
HOMEPAGE="https://github.com/boto/boto http://pypi.python.org/pypi/boto"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/m2crypto )"
|
||||
RDEPEND="dev-python/m2crypto"
|
||||
|
||||
# requires Amazon Web Services keys to pass some tests
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1 +1 @@
|
||||
DIST django-compressor-1.1.2.tar.gz 59735 SHA256 d164a428248fd62af402920bead041fd9622e76bcade80ff6e782788e8aca0bc SHA512 bfdb586d1241e509e3271a1c7a9aabc9d2e24cd15f6e3249811ace5444e89a621b079e2ca4b5ccbf502556afe3b615878d3a5fe17f97b9ef049a34c7944d42b3 WHIRLPOOL b531c0fd62e31402090d9e478ed9092a991cf1d19c1dd4f7debd306dd149e7c63e8b2949c919afd6ad66b4381d002b62107e3a3c8cf48e9600ba77d830785f1e
|
||||
DIST django-compressor-1.3.tar.gz 91190 SHA256 66ff1a845a6c1b16c4cf552ee3d746033979e46cd9bd5d999d4b5dae93327a52 SHA512 73d7ed68c9050945968324eb061e8bf605c3758d4df924c8e12b326cd823b1ec92aef7b984fd282cb491ef3025a3ae5733f03063036361fdd0f1e0a23e875ea2 WHIRLPOOL aea5f2cd38f54a25b7b2f5053d7ce5d7fdead1a4d7e98a15a555cd56089641103f47bf5ba65a1e493f198c9a26f9b0086107ea8270f635954a420845a53f66f5
|
||||
|
@ -1,53 +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/django-compressor/django-compressor-1.1.2.ebuild,v 1.1 2012/04/25 12:37:22 tampakrap Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
inherit distutils
|
||||
|
||||
MY_PN="${PN/-/_}"
|
||||
DESCRIPTION="Allows to define regrouped/postcompiled content 'on the fly' inside of django template"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/django_compressor/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
PYTHON_MODNAME="compressor"
|
||||
|
||||
# tests I think worked in the live ebuild fine. It's tripping over a
|
||||
# setting missing; COMPRESS_ROOT in compressor/conf.py
|
||||
RESTRICT="test"
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND} >=dev-python/django-1.1.4
|
||||
dev-python/setuptools
|
||||
dev-python/django-appconf
|
||||
dev-python/versiontools
|
||||
test? ( dev-python/twill )"
|
||||
|
||||
src_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
testing() {
|
||||
local test
|
||||
for test in tests/tests/*.py
|
||||
do
|
||||
PYTHONPATH=. "$(PYTHON)" "${test}" || die "${test} failed with Python ${PYTHON_ABI}"
|
||||
einfo "Test "${test}" completed OK"
|
||||
done
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
if use doc; then
|
||||
dohtml -r compressor/
|
||||
fi
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-compressor/django-compressor-1.3.ebuild,v 1.1 2013/05/29 11:54:23 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN/-/_}"
|
||||
DESCRIPTION="Allows to define regrouped/postcompiled content 'on the fly' inside of django template"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/django_compressor/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
S=${WORKDIR}/${MY_PN}-${PV}
|
||||
|
||||
RDEPEND=">=dev-python/django-1.1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/django-appconf-0.4[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/versiontools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/twill[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
export SECRET_KEY="green"
|
||||
local test
|
||||
for test in compressor/tests/test_*.py
|
||||
do
|
||||
if "${PYTHON}" -c \
|
||||
"from django.conf import global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" ${test}
|
||||
then
|
||||
einfo "Test ${test} completed under ${EPYTHON}"
|
||||
else
|
||||
die "${test} failed with Python ${EPYTHON}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1 @@
|
||||
DIST django-tastypie-0.9.11.tar.gz 519484 SHA256 6425f065aae6a6a3aecf6c83ed728efbd1f490ce32aabd16ddcdfb5826c74214 SHA512 3d0648a6c78a8d46e76df65d25f1886895f88000c6f039da62fe064006ccc69aadbbe5a4ba896922059750bdf0d1d79351d42f3071d278833d6b106ea191e7a4 WHIRLPOOL 029f061dd22af0317dfdc7ba356af333eee9ff78b33b74a69418a9c297a942e50b635b33f755bdbc6d24b9802e2cd4945c7c2fec3a8365a1fd3e4956cf10a208
|
||||
DIST django-tastypie-0.9.15.tar.gz 722222 SHA256 a0ac317e6b97ca152718a847729c3867a674397e5c3c335f6eed3696c8a1b016 SHA512 7a0f2ef7afe11a2b95121c7715932294cb236de65f9ba7cde4c1083a339e0790f3e3c6ecdbd70556f38baa1f23f1900e3183938aed947555b20f0d6858bb8e22 WHIRLPOOL 9bf2eed048663309e91989b85504105cf56a12dfdc5b78d43889349d7717f74779e8a40807afe155f249a63a43bb440a702129b055ba90cb27571d24c87bedd4
|
||||
|
@ -1,45 +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/django-tastypie/django-tastypie-0.9.11-r1.ebuild,v 1.1 2012/05/08 12:23:05 iksaif Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="2:2.6"
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A flexible and capable API layer for django utilising serialisers"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/django-tastypie/ https://github.com/toastdriven/django-tastypie"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="bip doc digest lxml oauth yaml"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
PYTHON_MODNAME="tastypie"
|
||||
|
||||
RDEPEND=">=dev-python/mimeparse-0.1.3
|
||||
dev-python/python-dateutil
|
||||
bip? ( dev-python/biplist )
|
||||
digest? ( dev-python/python-digest )
|
||||
oauth? ( dev-python/oauth2 dev-python/django-oauth-plus )
|
||||
lxml? ( dev-python/lxml )
|
||||
yaml? ( dev-python/pyyaml )"
|
||||
DEPEND="${RDEPEND} >=dev-python/django-1.2.5
|
||||
dev-python/setuptools"
|
||||
|
||||
src_compile() {
|
||||
if use doc; then
|
||||
emake -C docs html
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
if use doc; then
|
||||
docompress -x usr/share/doc/${PF}/doctrees
|
||||
dohtml -r docs/_build/html/
|
||||
insinto usr/share/doc/${PF}/doctrees
|
||||
doins -r docs/_build/doctrees/
|
||||
fi
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-tastypie/django-tastypie-0.9.15.ebuild,v 1.1 2013/05/29 07:56:40 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A flexible and capable API layer for django utilising serialisers"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/django-tastypie/ https://github.com/toastdriven/django-tastypie"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="bip doc digest lxml oauth test yaml"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=">=dev-python/mimeparse-0.1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-1.5[${PYTHON_USEDEP}]
|
||||
!=dev-python/python-dateutil-2.0
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
bip? ( dev-python/biplist[${PYTHON_USEDEP}] )
|
||||
digest? ( dev-python/python-digest[${PYTHON_USEDEP}] )
|
||||
oauth? ( dev-python/oauth2[${PYTHON_USEDEP}] dev-python/django-oauth-plus[${PYTHON_USEDEP}] )
|
||||
lxml? ( dev-python/lxml[${PYTHON_USEDEP}] )
|
||||
yaml? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
|
||||
DEPEND="${RDEPEND} >=dev-python/django-1.2.5[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
export SECRET_KEY='green'
|
||||
if ! "${PYTHON}" -c \
|
||||
"from django.conf import global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" \
|
||||
-m tastypie.test; then
|
||||
die "test ${test} failed under ${EPYTHON}"
|
||||
else
|
||||
einfo "test ${test} passed under ${EPYTHON}"
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/django-xslt/django-xslt-0.4.5-r1.ebuild,v 1.2 2013/05/29 14:51:42 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||
test? ( http://dev.gentoo.org/~tampakrap/tarballs/${PN}-demoapp-0.4.5_p20120427.tar.bz2 )"
|
||||
|
||||
DESCRIPTION="an XSLT template system for Django"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/django-xslt/"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/lxml[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
export SECRET_KEY="green"
|
||||
pushd "${WORKDIR}/demoapp" > /dev/null
|
||||
if ! "${PYTHON}" -c "from django.conf import global_settings;global_settings.SECRET_KEY='$SECRET_KEY'" \
|
||||
manage.py test; then
|
||||
die "tests failed under ${EPYTHON}"
|
||||
else
|
||||
einfo "tests passed under ${EPYTHON}"
|
||||
fi
|
||||
}
|
@ -1,37 +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/django-xslt/django-xslt-0.4.5.ebuild,v 1.1 2012/04/27 13:48:21 tampakrap Exp $
|
||||
|
||||
EAPI=4
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS=1
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
inherit distutils
|
||||
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||
test? ( http://dev.gentoo.org/~tampakrap/tarballs/${PN}-demoapp-0.4.5_p20120427.tar.bz2 )"
|
||||
|
||||
DESCRIPTION="A configurable set of panels that display debug information"
|
||||
HOMEPAGE="http://pypi.python.org/pypi/django-xslt/"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
PYTHON_MODNAME="djangoxslt"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/django
|
||||
dev-python/setuptools
|
||||
test? ( dev-python/lxml )"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
pushd "${WORKDIR}/demoapp" > /dev/null
|
||||
PYTHONPATH="${S}/build-${PYTHON_ABI}/lib/" \
|
||||
"$(PYTHON)" manage.py test
|
||||
popd "${WORKDIR}/demoapp" > /dev/null
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/dnspython/dnspython-1.10.0-r1.ebuild,v 1.1 2013/05/29 17:09:00 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="DNS toolkit for Python"
|
||||
HOMEPAGE="http://www.dnspython.org/ http://pypi.python.org/pypi/dnspython"
|
||||
SRC_URI="http://www.dnspython.org/kits/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="examples test"
|
||||
|
||||
DEPEND="dev-python/pycrypto[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( ChangeLog README )
|
||||
|
||||
python_prepare_all() {
|
||||
use test && DISTUTILS_IN_SOURCE_BUILD=1
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd "${BUILD_DIR}"/../tests &> /dev/null
|
||||
local test
|
||||
for test in *.py; do
|
||||
if ! "${PYTHON}" ${test}; then
|
||||
die "test $test failed under ${EPYTHON}"
|
||||
else
|
||||
einfo "test $test"
|
||||
fi
|
||||
done
|
||||
# make some order out of the output salad
|
||||
einfo "Testsuite passed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/jedi/jedi-0.5_beta5.ebuild,v 1.4 2013/05/20 08:31:23 ago Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/jedi/jedi-0.5_beta5.ebuild,v 1.1 2013/05/30 01:16:11 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/jedi/jedi-0.6.0.ebuild,v 1.1 2013/05/15 17:29:32 hasufell Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/jedi/jedi-0.6.0.ebuild,v 1.1 2013/05/30 01:16:11 radhermit Exp $
|
||||
|
||||
EAPI=5
|
||||
|
@ -1 +1 @@
|
||||
DIST python-keystoneclient-0.2.3.tar.gz 196250 SHA256 10b98946aaa98e97f032ca44848a5d84bc61d6f0b4186c635704087e72c08818 SHA512 d8a9dea1da767caf19c37fdc93c80959a83e78e8b0954b54edcffeebc4ca0bd60cc2ef716e3e4f173782d2a9bd1001825c8adab801e9dba6d3eb90c5f24f77ee WHIRLPOOL 68a5d6c640ad214924fbbad36d16cd613fe576be77d52a2a9d69346f7c9a2d7449437c53d992562233b2fda6c3c4b4c453611f7edf86c4808fbbafd02ba12e2c
|
||||
DIST python-keystoneclient-0.2.4.tar.gz 194758 SHA256 1286a32cc08436410e00704177e3e5ced6ba88ac4eab62a6a55cbad7cadc6cc0 SHA512 e064e9fa7118f300467910b33fa693842db10326dd3c75701fba7edb76896c1fedbec8fbbe2f56e7260ecbfe35b4ee9fac463fcc0f93e47496a57516f708a472 WHIRLPOOL dad8fec545130c74780d1eff49642c8e0b48914a16e9ee4e7215a12d3e3a488c7b85c7d837d041caae8a7ca54570ba750f435e4c718479e8aa9abdaedf33ad6a
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/jquery-rails/jquery-rails-2.2.2.ebuild,v 1.1 2013/05/30 06:09:26 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="vendor"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="jquery-rails.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="jQuery! For Rails! So great."
|
||||
HOMEPAGE="http://www.rubyonrails.org"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/railties-3.0 >=dev-ruby/thor-0.14"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/git ls-files/d' jquery-rails.gemspec || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST kramdown-0.14.2.gem 278528 SHA256 4351344ebf3b986990341987320d076486d5b1b63032bdf5bfb5eb10d1a43eb7 SHA512 07f3f3b300497196463f660d3d5ec3548c91df79592320e8469a475ced70df21da921d0b00daa1410a9ee9d3ebc0bc4aa12338eabc76d1303264385d6e6f86d2 WHIRLPOOL 473669c9267ed914407214fee7c4c16cf058be4bed5cbef498728578f57fe8550fe2cf7b57889e644a269442560fb2b7b9771f16e3b0c254b20b3760139344cd
|
||||
DIST kramdown-1.0.2.gem 214528 SHA256 730834b6d572ae67752f49e5670af51318a5da9a386ccbfd2a92ba29ec3a60dc SHA512 a5a65d23bf2edc935b9f356648d8966edc697f924dd5447df4d243c932e3f05a08c35d63a4bc0d3c28b941a84f97a98084dca2ded5d601477a446ea9e95e4eaa WHIRLPOOL 4d17b55a73a0240bc6aea5dbddaa4dbb4e12f293c4526be890bddeeab389d26d93be2d84b615a12e6cd81830fc4403255dd827cbfda77cf4019b09c249c64b02
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/kramdown/kramdown-1.0.2.ebuild,v 1.1 2013/05/29 18:28:38 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS CONTRIBUTERS"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Yet-another-markdown-parser but fast, pure Ruby, using a strict syntax definition"
|
||||
HOMEPAGE="http://kramdown.rubyforge.org/"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="latex"
|
||||
|
||||
LATEX_DEPS="latex? ( dev-texlive/texlive-latex dev-texlive/texlive-latexextra )"
|
||||
RDEPEND+=" ${LATEX_DEPS}"
|
||||
DEPEND+=" test? ( ${LATEX_DEPS} app-text/htmltidy )"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/rdoc )
|
||||
test? ( >=dev-ruby/coderay-1.0.0
|
||||
>=dev-ruby/stringex-1.5.1 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
if ! use latex; then
|
||||
# Remove latex tests. They will fail gracefully when latex isn't
|
||||
# present at all, but not when components are missing (most
|
||||
# notable ucs.sty).
|
||||
sed -i -e '/latex -v/,/^ end/ s:^:#:' test/test_files.rb || die
|
||||
fi
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doman man/man1/kramdown.1
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST rdiscount-1.6.8.gem 53760 SHA256 a085178fc7d6372222af192bdc8aa8b6b24c8014f0c2a3c227a1c173f104d4df SHA512 c5322308dba7fae463fe93c6b2936f97392310bc866cbb4f3f359afb37110068859525427d15376312eb8be07657e50171f8bc0dcc52b6def88282180af48f58 WHIRLPOOL 89119f0434da74d8721d2c4044465215a8a7bed1fe194573b8a19295f4f752728a70b63f5345c7e0be5a135e6b3f4dd495801083984d7d47284ca083c1b9098c
|
||||
DIST rdiscount-2.1.6.gem 65024 SHA256 0297f26df8ba56dd8b598c8c8c3796952a2fcf8e3b44f0a8f30cd8ce5fb214a0 SHA512 fad31cbe854f1b3ea468453787b218ba638ae77c4d702647f757e9ee546e46f0e5da289d8424c15a4df83295610c58f6fc3984bf496c292ae8e74ff5857ebd4b WHIRLPOOL 1158783edfeb5e449322611babfe84979f4e18cb548da523bf14c1c1d5cc5d933204be8c87c94191b270c386931ff8c2ab482f84088575c26fb82237c1121272
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdiscount/rdiscount-2.1.6.ebuild,v 1.1 2013/05/29 18:38:44 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# Has a native extension without jruby support.
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:unit"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc man"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.markdown"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
DESCRIPTION="Implementation of John Gruber's Markdown"
|
||||
HOMEPAGE="http://github.com/rtomayko/rdiscount"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( app-text/ronn )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Hanna is broken for us and therefore we don't have it in portage.
|
||||
sed -i -e 's/hanna/rdoc/' Rakefile || die
|
||||
|
||||
# Remove rule that will force a rebuild when running tests.
|
||||
sed -i -e "/task 'test:unit' => \[:build\]/d" Rakefile || die
|
||||
|
||||
# Provide RUBY variable no longer provided by rake.
|
||||
sed -i -e "1 iRUBY=${RUBY}" Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext || die
|
||||
cp ext/*$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
doman man/rdiscount.1
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST temple-0.5.5.gem 32768 SHA256 b18f8352f63d2852630dbced53958303b6ed9737bf2898f9acba48859cd27f90 SHA512 2c5c3b7b690952b62ba005cff1e6bb6d4b640a0395193ce5a8ebccf4384dbe40d97986b8810702d36bd948abff6cde5ad010a7163fad62bf67bcfea3ba40b71e WHIRLPOOL 1aa7585e6a134009dbd7501f6c022f5204035b969cfcd04bf4016a27f270f29756601c4fb0cf2f39e9f11343b45624f97a7403e03c9f4c436466d3f7f5b2b701
|
||||
DIST temple-0.6.4.gem 34304 SHA256 6953db27d6de8f1a5bbafa49b997df7bc4760de3aa29b8af8321c90a6a8374ef SHA512 9b0f666537099e135552e01c6793247a15bc24e1ebcbb02dd0aba0313fd369f6ccb2e176132bdb47c0b09e36ae59dffb6e0d665c236bf1123b8329025f59aa53 WHIRLPOOL 9bc12c110fe14cf73052a868a431b3faa45115448cde2e6f7767bf395fa2d589b01d5ccaefc6438db485d8ed1d5f0fd98b1a2996764a8b874a0ee42b4720dbec
|
||||
DIST temple-0.6.5.gem 35840 SHA256 6b238c39e0b7f8ef34bcd58e457da5c81e43d2abb9ee93ba34116da8f68f4bc5 SHA512 e2ff593507c4302e13f4774bd86047f5e27cb84b66864761220cd5ab63429d908cb19052ef79c64bd4a32cf73d4a02933e0d14cd889e6b7ff062e7a97a950393 WHIRLPOOL cce399a7354eccddb839abc50d25e1812ece5c26ea57789a18795484decf7dc87969cfe8c0111f49eead6c803bf8a6e6f35942dac226c86d90b1140addf8159e
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/temple/temple-0.6.5.ebuild,v 1.1 2013/05/30 06:00:36 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby18 ruby19"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES EXPRESSIONS.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An abstraction and a framework for compiling templates to pure Ruby."
|
||||
HOMEPAGE="http://github.com/judofyr/temple"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/bacon dev-ruby/tilt )"
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -S bacon -Ilib -Itest --automatic --quiet || die
|
||||
}
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/expect-lite/expect-lite-4.6.0.ebuild,v 1.1 2013/05/29 06:44:05 vapier Exp $
|
||||
|
||||
DESCRIPTION="quick and easy command line automation tool built on top of expect"
|
||||
HOMEPAGE="http://expect-lite.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug examples"
|
||||
|
||||
RDEPEND="dev-tcltk/expect
|
||||
debug? ( dev-tcltk/tclx )"
|
||||
|
||||
S=${WORKDIR}/${PN}.proj
|
||||
|
||||
src_install() {
|
||||
dobin ${PN} || die
|
||||
doman man/* || die
|
||||
dodoc bashrc ChangeLog README
|
||||
dohtml Docs/*
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc examples/* || die
|
||||
fi
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST coccinelle-1.0.0-rc15.tgz 3328556 SHA256 07fab4e17512925b958890bb13c0809797074f2e44a1107b0074bdcc156b9596 SHA512 d0800ac087e9acefd6fe1bd6fae5c8a912c94dd3a9ac5566b984f97ebee4f96302db00d12ec5111e75f4aa410233093115a8cd166367b25e4464c5aa0bd08993 WHIRLPOOL 63c32074102e11e89e8342d92a4ba6716b2092c7d6fab80791a677a9bce98b756674da71e4f1e441e46833c756232803bdaec8c9ce0695bb612930d21686cc91
|
||||
DIST coccinelle-1.0.0-rc16.tgz 2983187 SHA256 83ad8b2757f49e90e97571b3a5f11b5fb6772165a8a23a4a12200e3637070140 SHA512 244225ffddc3ca9a46004331c62c784cc4359f1fa10902bbfe3394a5a2b944233c21aa0ce41e6aa06828860f1697de04afc6ed6d549b2e3d06810d9ae7d8aa1d WHIRLPOOL 72122465da1ce3b6020c2335bac68a650f43f0152d783f610978072fb857a32c9168eabf55456db26bda70f9c26d0d99267282c97d92687d651fda6febb1c6b3
|
||||
DIST coccinelle-1.0.0-rc17.tgz 2991126 SHA256 628d90650d504aa742e12eb371455bad8468eeed59533d6388366f173a498b61 SHA512 79f7b83458b5229e6a01e9e4a89a47862ca9a9f678e0e599b253449c07d8197194539623049920e8ce23af44d81a91d61052f542bacb40a0eda9c015b1b2e84d WHIRLPOOL dc3c1b839494cd31858bf931f5ef59bfdc3477c7b3577a99b894c99f7991474e2f6d8403b0fe6c856174b93ba8ba551cf0b96c151ebe73d09ea481c7edb2b0c7
|
||||
|
@ -1,133 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/coccinelle-1.0.0_rc15-r1.ebuild,v 1.1 2012/08/31 21:28:13 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
inherit multilib eutils python bash-completion-r1 elisp-common autotools
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
DESCRIPTION="Program matching and transformation engine"
|
||||
HOMEPAGE="http://coccinelle.lip6.fr/"
|
||||
SRC_URI="http://coccinelle.lip6.fr/distrib/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc emacs ocaml +ocamlopt pcre python test vim-syntax"
|
||||
|
||||
# ocaml enables ocaml scripting (uses findlib)
|
||||
CDEPEND=">=dev-lang/ocaml-3.10[ocamlopt?]
|
||||
dev-ml/sexplib
|
||||
emacs? ( virtual/emacs )
|
||||
ocaml? ( dev-ml/findlib )
|
||||
pcre? ( dev-ml/pcre-ocaml )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
# dev-texlive/texlive-fontsextra contains 'ifsym.sty'
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsextra
|
||||
)"
|
||||
|
||||
REQUIRED_USE="test? ( ocaml python )"
|
||||
|
||||
DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SITEFILE=50coccinelle-gentoo.el
|
||||
|
||||
pkg_setup() {
|
||||
if use python ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use python ; then
|
||||
# Fix python install location
|
||||
sed -i -e "s:\$(SHAREDIR)/python:$(python_get_sitedir):" \
|
||||
-e "s:PYTHON_TARGET:PYTHON_INSTALL_TARGET:" Makefile || die
|
||||
fi
|
||||
|
||||
sed -i "s:^SHAREDIR=.*:SHAREDIR=/usr/$(get_libdir)/ocaml/${PN}/:" scripts/spatch.sh.in || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.0.0_rc14-findtool.patch
|
||||
cp Makefile Makefile.orig || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable python) \
|
||||
$(use_enable ocaml) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable pcre pcre-syntax)
|
||||
|
||||
sed -i -e "s:^LIBDIR=.*:LIBDIR=/usr/$(get_libdir)/ocaml/stublibs/:" \
|
||||
-e "s:^SHAREDIR=.*:SHAREDIR=/usr/$(get_libdir)/ocaml/${PN}/:" \
|
||||
Makefile.config || die
|
||||
|
||||
cp Makefile.orig Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake depend
|
||||
emake
|
||||
|
||||
use ocamlopt && emake opt
|
||||
|
||||
if use doc ; then
|
||||
VARTEXFONTS="${T}"/fonts emake docs
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile editors/emacs/cocci.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
source env.sh # needed for built in-place python plugin
|
||||
./spatch standard.h -parse_c -dir tests/ || die
|
||||
yes | ./spatch -iso_file standard.iso -macro_file_builtins standard.h -testall || die
|
||||
if use ocamlopt ; then
|
||||
./spatch.opt -iso_file standard.iso -macro_file_builtins standard.h -testall || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use doc && dodoc docs/manual/*.pdf
|
||||
newbashcomp scripts/spatch.bash_completion spatch
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} editors/emacs/*
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
if use vim-syntax ; then
|
||||
newdoc editors/vim/README README-vim
|
||||
rm editors/vim/README || die
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r editors/vim/*
|
||||
fi
|
||||
|
||||
export STRIP_MASK='*/coccinelle/spatch'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,130 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/coccinelle/coccinelle-1.0.0_rc16.ebuild,v 1.1 2012/12/13 22:11:49 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="python? 2"
|
||||
|
||||
inherit multilib eutils python bash-completion-r1 elisp-common autotools
|
||||
|
||||
MY_P="${P/_/-}"
|
||||
DESCRIPTION="Program matching and transformation engine"
|
||||
HOMEPAGE="http://coccinelle.lip6.fr/"
|
||||
SRC_URI="http://coccinelle.lip6.fr/distrib/${MY_P}.tgz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc emacs ocaml +ocamlopt pcre python test vim-syntax"
|
||||
|
||||
# ocaml enables ocaml scripting (uses findlib)
|
||||
CDEPEND=">=dev-lang/ocaml-3.10[ocamlopt?]
|
||||
dev-ml/sexplib
|
||||
emacs? ( virtual/emacs )
|
||||
ocaml? ( dev-ml/findlib )
|
||||
pcre? ( dev-ml/pcre-ocaml )"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )"
|
||||
|
||||
# dev-texlive/texlive-fontsextra contains 'ifsym.sty'
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
virtual/latex-base
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-fontsextra
|
||||
)"
|
||||
|
||||
REQUIRED_USE="test? ( ocaml python )"
|
||||
|
||||
DOCS=( authors.txt bugs.txt changes.txt credits.txt readme.txt )
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SITEFILE=50coccinelle-gentoo.el
|
||||
|
||||
pkg_setup() {
|
||||
if use python ; then
|
||||
python_set_active_version 2
|
||||
python_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use python ; then
|
||||
# Fix python install location
|
||||
sed -i -e "s:\$(SHAREDIR)/python:$(python_get_sitedir):" \
|
||||
-e "s:PYTHON_TARGET:PYTHON_INSTALL_TARGET:" Makefile || die
|
||||
fi
|
||||
|
||||
sed -i "s:^SHAREDIR=.*:SHAREDIR=/usr/$(get_libdir)/ocaml/${PN}/:" scripts/spatch.sh.in || die
|
||||
|
||||
epatch "${FILESDIR}"/${P}-findtool.patch
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable python) \
|
||||
$(use_enable ocaml) \
|
||||
$(use_enable pcre) \
|
||||
$(use_enable pcre pcre-syntax)
|
||||
|
||||
sed -i -e "s:^LIBDIR=.*:LIBDIR=/usr/$(get_libdir)/ocaml/stublibs/:" \
|
||||
-e "s:^SHAREDIR=.*:SHAREDIR=/usr/$(get_libdir)/ocaml/${PN}/:" \
|
||||
Makefile.config || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake depend
|
||||
emake
|
||||
|
||||
use ocamlopt && emake opt
|
||||
|
||||
if use doc ; then
|
||||
VARTEXFONTS="${T}"/fonts emake docs
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
elisp-compile editors/emacs/cocci.el || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
source env.sh # needed for built in-place python plugin
|
||||
./spatch standard.h -parse_c -dir tests/ || die
|
||||
yes | ./spatch -iso_file standard.iso -macro_file_builtins standard.h -testall || die
|
||||
if use ocamlopt ; then
|
||||
./spatch.opt -iso_file standard.iso -macro_file_builtins standard.h -testall || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
use doc && dodoc docs/manual/*.pdf
|
||||
newbashcomp scripts/spatch.bash_completion spatch
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} editors/emacs/*
|
||||
elisp-site-file-install "${FILESDIR}"/${SITEFILE}
|
||||
fi
|
||||
|
||||
if use vim-syntax ; then
|
||||
newdoc editors/vim/README README-vim
|
||||
rm editors/vim/README || die
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r editors/vim/*
|
||||
fi
|
||||
|
||||
export STRIP_MASK='*/coccinelle/spatch'
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue