parent
0ab5ee8f3a
commit
47c0538fb4
@ -0,0 +1,92 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/denyhosts/denyhosts-2.6-r7.ebuild,v 1.1 2013/07/07 06:53:32 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit distutils-r1 eutils readme.gentoo systemd
|
||||
|
||||
MY_PN="DenyHosts"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="DenyHosts is a utility to help sys admins thwart ssh hackers"
|
||||
HOMEPAGE="http://www.denyhosts.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
PYTHON_MODNAME="${MY_PN}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="
|
||||
You can configure DenyHosts to run as a daemon by running:
|
||||
# rc-update add denyhosts default
|
||||
or:
|
||||
# systemctl enable denyhosts.service
|
||||
(if you use systemd)
|
||||
|
||||
To run DenyHosts as a cronjob instead of a daemon add the following
|
||||
to /etc/crontab
|
||||
# run DenyHosts every 10 minutes
|
||||
*/10 * * * * root /usr/bin/denyhosts.py -c /etc/denyhosts.conf
|
||||
|
||||
More information can be found at http://denyhosts.sourceforge.net/faq.html"
|
||||
|
||||
src_prepare() {
|
||||
# changes default file installations
|
||||
epatch "${FILESDIR}"/${P}-gentoo.patch
|
||||
epatch "${FILESDIR}"/${P}-log-injection-regex.patch
|
||||
|
||||
# Multiple patches from Fedora and Debian
|
||||
epatch "${FILESDIR}"/${P}-daemon-control.patch
|
||||
epatch "${FILESDIR}"/${P}-defconffile.patch
|
||||
epatch "${FILESDIR}"/${P}-foreground_mode.patch
|
||||
epatch "${FILESDIR}"/${P}-hostname.patch
|
||||
epatch "${FILESDIR}"/${P}-plugin_deny.patch
|
||||
epatch "${FILESDIR}"/${P}-single_config_switch.patch
|
||||
|
||||
sed -i -e 's:DENY_THRESHOLD_VALID = 10:DENY_THRESHOLD_VALID = 5:' \
|
||||
denyhosts.cfg-dist || die "sed failed"
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
readme.gentoo_create_doc
|
||||
|
||||
dodoc CHANGELOG.txt README.txt PKG-INFO
|
||||
distutils-r1_src_install
|
||||
|
||||
insinto /etc
|
||||
insopts -m0640
|
||||
newins denyhosts.cfg-dist denyhosts.conf
|
||||
|
||||
dodir /etc/logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}.logrotate ${PN}
|
||||
|
||||
newinitd "${FILESDIR}"/denyhosts.init denyhosts
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
|
||||
# build system installs docs that we installed above
|
||||
rm -f "${D}"/usr/share/denyhosts/*.txt
|
||||
|
||||
keepdir /var/lib/denyhosts
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -f "${ROOT}etc/hosts.deny" ]]; then
|
||||
touch "${ROOT}etc/hosts.deny"
|
||||
fi
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=SSH log watcher
|
||||
Before=sshd.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/rm -f /run/lock/subsys/denyhosts
|
||||
ExecStart=/usr/bin/denyhosts.py --daemon --config=/etc/denyhosts.conf
|
||||
PIDFile=/run/lock/subsys/denyhosts
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-1.3.6.ebuild,v 1.1 2013/07/06 14:19:07 ulm Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc" # emacs vim-syntax
|
||||
|
||||
RDEPEND="sys-apps/sed
|
||||
|| (
|
||||
sys-apps/coreutils
|
||||
sys-freebsd/freebsd-bin
|
||||
app-misc/realpath
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
doc? ( dev-python/docutils )"
|
||||
RDEPEND="!app-admin/eselect-news
|
||||
${RDEPEND}
|
||||
sys-apps/file
|
||||
sys-libs/ncurses"
|
||||
|
||||
#PDEPEND="emacs? ( app-emacs/eselect-mode )
|
||||
# vim-syntax? ( app-vim/eselect-syntax )"
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
use doc && emake html
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
newbashcomp misc/${PN}.bashcomp ${PN}
|
||||
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
|
||||
use doc && dohtml *.html doc/*
|
||||
|
||||
# needed by news module
|
||||
keepdir /var/lib/gentoo/news
|
||||
if ! use prefix; then
|
||||
fowners root:portage /var/lib/gentoo/news
|
||||
fperms g+w /var/lib/gentoo/news
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# fowners in src_install doesn't work for the portage group:
|
||||
# merging changes the group back to root
|
||||
if ! use prefix; then
|
||||
chgrp portage "${EROOT}/var/lib/gentoo/news" \
|
||||
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
|
||||
fi
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Hard drive temperature monitor daemon
|
||||
Documentation=man:hddtemp(8)
|
||||
|
||||
[Service]
|
||||
Environment=HDDTEMP_OPTIONS=--listen=127.0.0.1
|
||||
EnvironmentFile=-/etc/conf.d/hddtemp
|
||||
ExecStart=/usr/sbin/hddtemp -d $HDDTEMP_OPTIONS $HDDTEMP_DRIVES
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r23.ebuild,v 1.1 2013/07/06 19:48:55 aidecoe Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit eutils autotools systemd
|
||||
|
||||
MY_P=${P/_beta/-beta}
|
||||
DBV=20080531
|
||||
|
||||
DESCRIPTION="A simple utility to read the temperature of SMART capable hard drives"
|
||||
HOMEPAGE="http://savannah.nongnu.org/projects/hddtemp/"
|
||||
SRC_URI="http://download.savannah.gnu.org/releases/hddtemp/${MY_P}.tar.bz2 mirror://gentoo/hddtemp-${DBV}.db.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE="network-cron"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=(README TODO ChangeLog)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-satacmds.patch
|
||||
epatch "${FILESDIR}"/${P}-byteswap.patch
|
||||
epatch "${FILESDIR}"/${P}-execinfo.patch
|
||||
epatch "${FILESDIR}"/${P}-nls.patch
|
||||
epatch "${FILESDIR}"/${P}-iconv.patch
|
||||
epatch "${FILESDIR}"/${P}-dontwake.patch
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db"
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
insinto /usr/share/hddtemp
|
||||
newins "${WORKDIR}/hddtemp-${DBV}.db" hddtemp.db
|
||||
doins "${FILESDIR}"/hddgentoo.db
|
||||
|
||||
update_db "${D}/usr/share/hddtemp/hddgentoo.db" "${D}/usr/share/hddtemp/hddtemp.db"
|
||||
newconfd "${FILESDIR}"/hddtemp-conf.d hddtemp
|
||||
newinitd "${FILESDIR}"/hddtemp-init hddtemp
|
||||
systemd_dounit "${FILESDIR}"/hddtemp.service
|
||||
|
||||
dosbin "${FILESDIR}"/update-hddtemp.db
|
||||
|
||||
if use network-cron ; then
|
||||
exeinto /etc/cron.monthly
|
||||
echo -e "#!/bin/sh\n/usr/sbin/update-hddtemp.db" > "${T}"/hddtemp.cron
|
||||
newexe "${T}"/hddtemp.cron update-hddtemp.db
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to update your hddtemp database, run:"
|
||||
elog " update-hddtemp.db"
|
||||
elog ""
|
||||
elog "If your hard drive is not recognized by hddtemp, please consider"
|
||||
elog "submitting your HDD info for inclusion into the Gentoo hddtemp"
|
||||
elog "database by filing a bug at https://bugs.gentoo.org/"
|
||||
echo
|
||||
ewarn "If hddtemp complains but finds your HDD temperature sensor, use the"
|
||||
ewarn "--quiet option to suppress the warning."
|
||||
}
|
||||
|
||||
update_db() {
|
||||
local src=$1
|
||||
local dst=$2
|
||||
|
||||
while read line ; do
|
||||
if [[ -z $(echo "${line}" | sed -re 's/(^#.*|^\w*$)//') ]]; then
|
||||
echo "${line}" >> "${dst}"
|
||||
fi
|
||||
|
||||
id=$(echo "${line}" | grep -o '"[^"]*"')
|
||||
|
||||
grep "${id}" "${dst}" 2>&1 >/dev/null || echo "${line}" >> "${dst}"
|
||||
done < "${src}"
|
||||
}
|
@ -0,0 +1,93 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/hddtemp/hddtemp-0.3_beta15-r6.ebuild,v 1.1 2013/07/06 19:48:55 aidecoe Exp $
|
||||
|
||||
inherit eutils autotools systemd
|
||||
|
||||
MY_P=${P/_beta/-beta}
|
||||
DBV=20080531
|
||||
|
||||
DESCRIPTION="A simple utility to read the temperature of SMART capable hard drives"
|
||||
HOMEPAGE="http://savannah.nongnu.org/projects/hddtemp/"
|
||||
SRC_URI="http://download.savannah.gnu.org/releases/hddtemp/${MY_P}.tar.bz2 mirror://gentoo/hddtemp-${DBV}.db.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-satacmds.patch
|
||||
epatch "${FILESDIR}"/${P}-byteswap.patch
|
||||
epatch "${FILESDIR}"/${P}-execinfo.patch
|
||||
epatch "${FILESDIR}"/${P}-nls.patch
|
||||
epatch "${FILESDIR}"/${P}-iconv.patch
|
||||
epatch "${FILESDIR}"/${P}-dontwake.patch
|
||||
AT_M4DIR="m4" eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db"
|
||||
econf ${myconf} || die
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${D}" install || die
|
||||
dodoc README TODO ChangeLog
|
||||
|
||||
insinto /usr/share/hddtemp
|
||||
newins "${WORKDIR}/hddtemp-${DBV}.db" hddtemp.db
|
||||
doins "${FILESDIR}"/hddgentoo.db
|
||||
|
||||
update_db "${D}/usr/share/hddtemp/hddgentoo.db" "${D}/usr/share/hddtemp/hddtemp.db"
|
||||
newconfd "${FILESDIR}"/hddtemp-conf.d hddtemp
|
||||
newinitd "${FILESDIR}"/hddtemp-init hddtemp
|
||||
systemd_dounit "${FILESDIR}"/hddtemp.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "In order to update your hddtemp database, run:"
|
||||
elog " emerge --config =${CATEGORY}/${PF}"
|
||||
elog ""
|
||||
elog "If your hard drive is not recognized by hddtemp, please consider"
|
||||
elog "submitting your HDD info for inclusion into the Gentoo hddtemp"
|
||||
elog "database by filing a bug at https://bugs.gentoo.org/"
|
||||
echo
|
||||
ewarn "If hddtemp complains but finds your HDD temperature sensor, use the"
|
||||
ewarn "--quiet option to suppress the warning."
|
||||
}
|
||||
|
||||
update_db() {
|
||||
local src=$1
|
||||
local dst=$2
|
||||
|
||||
while read line ; do
|
||||
if [[ -z $(echo "${line}" | sed -re 's/(^#.*|^\w*$)//') ]]; then
|
||||
echo "${line}" >> "${dst}"
|
||||
fi
|
||||
|
||||
id=$(echo "${line}" | grep -o '"[^"]*"')
|
||||
|
||||
grep "${id}" "${dst}" 2>&1 >/dev/null || echo "${line}" >> "${dst}"
|
||||
done < "${src}"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
cd "${ROOT}"/usr/share/hddtemp
|
||||
|
||||
einfo "Trying to download the latest hddtemp.db file"
|
||||
wget http://www.guzu.net/linux/hddtemp.db -O hddtemp.db \
|
||||
|| die "failed to download hddtemp.db"
|
||||
|
||||
update_db "hddgentoo.db" "hddtemp.db"
|
||||
}
|
@ -0,0 +1,126 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.97.8-r1.ebuild,v 1.1 2013/07/06 09:15:52 pacho Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic user systemd
|
||||
|
||||
DESCRIPTION="Clam Anti-Virus Scanner"
|
||||
HOMEPAGE="http://www.clamav.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs uclibc"
|
||||
|
||||
CDEPEND="bzip2? ( app-arch/bzip2 )
|
||||
clamdtop? ( sys-libs/ncurses )
|
||||
iconv? ( virtual/libiconv )
|
||||
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
|
||||
dev-libs/libtommath
|
||||
>=sys-libs/zlib-1.2.2
|
||||
sys-devel/libtool"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-clamav )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup clamav
|
||||
enewuser clamav -1 -1 /dev/null clamav
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
use ppc64 && append-flags -mminimal-toic
|
||||
use uclibc && export ac_cv_type_error_t=yes
|
||||
epatch "${FILESDIR}"/${PN}-0.97-nls.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-experimental \
|
||||
--enable-id-check \
|
||||
--with-dbdir="${EPREFIX}"/var/lib/clamav \
|
||||
--with-system-tommath \
|
||||
--with-zlib="${EPREFIX}"/usr \
|
||||
$(use_enable bzip2) \
|
||||
$(use_enable clamdtop) \
|
||||
$(use_enable ipv6) \
|
||||
$(use_enable milter) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_with iconv)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
rm -rf "${ED}"/var/lib/clamav
|
||||
newinitd "${FILESDIR}"/clamd.initd-r5 clamd
|
||||
newconfd "${FILESDIR}"/clamd.conf clamd
|
||||
|
||||
systemd_dotmpfilesd "${FILESDIR}/tmpfiles.d/clamav.conf"
|
||||
systemd_newunit "${FILESDIR}/clamd_at.service" "clamd@.service"
|
||||
systemd_dounit "${FILESDIR}/clamd.service"
|
||||
|
||||
keepdir /var/lib/clamav
|
||||
fowners clamav:clamav /var/lib/clamav
|
||||
keepdir /var/log/clamav
|
||||
fowners clamav:clamav /var/log/clamav
|
||||
|
||||
dodir /etc/logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/clamav.logrotate clamav
|
||||
|
||||
# Modify /etc/{clamd,freshclam}.conf to be usable out of the box
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.pid:" \
|
||||
-e "s:.*\(LocalSocket\) .*:\1 ${EPREFIX}/var/run/clamav/clamd.sock:" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamd.log:" \
|
||||
-e "s:^\#\(LogTime\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/clamd.conf
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/freshclam.pid:" \
|
||||
-e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
|
||||
-e "s:^\#\(UpdateLogFile\) .*:\1 ${EPREFIX}/var/log/clamav/freshclam.log:" \
|
||||
-e "s:^\#\(NotifyClamd\).*:\1 ${EPREFIX}/etc/clamd.conf:" \
|
||||
-e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
"${ED}"/etc/freshclam.conf
|
||||
|
||||
if use milter ; then
|
||||
# MilterSocket one to include ' /' because there is a 2nd line for
|
||||
# inet: which we want to leave
|
||||
dodoc "${FILESDIR}"/clamav-milter.README.gentoo
|
||||
sed -i -e "s:^\(Example\):\# \1:" \
|
||||
-e "s:.*\(PidFile\) .*:\1 ${EPREFIX}/var/run/clamav/clamav-milter.pid:" \
|
||||
-e "s+^\#\(ClamdSocket\) .*+\1 unix:${EPREFIX}/var/run/clamav/clamd.sock+" \
|
||||
-e "s:.*\(User\) .*:\1 clamav:" \
|
||||
-e "s+^\#\(MilterSocket\) /.*+\1 unix:${EPREFIX}/var/run/clamav/clamav-milter.sock+" \
|
||||
-e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
|
||||
-e "s:^\#\(LogFile\) .*:\1 ${EPREFIX}/var/log/clamav/clamav-milter.log:" \
|
||||
"${ED}"/etc/clamav-milter.conf
|
||||
cat > "${ED}"/etc/conf.d/clamd <<-EOF
|
||||
MILTER_NICELEVEL=19
|
||||
START_MILTER=no
|
||||
EOF
|
||||
|
||||
systemd_dounit "${FILESDIR}/clamav-milter.service"
|
||||
fi
|
||||
|
||||
prune_libtool_files --all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use milter ; then
|
||||
elog "For simple instructions how to setup the clamav-milter read the"
|
||||
elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
|
||||
fi
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Milter module for the ClamAV scanner
|
||||
After=nss-lookup.target network.target
|
||||
Before=sendmail.service
|
||||
Before=postfix.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/clamav-milter -c /etc/clamav-milter.conf --nofork=yes
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,7 @@
|
||||
.include /usr/lib/systemd/system/clamd@.service
|
||||
|
||||
[Unit]
|
||||
Description=Generic ClamAV scanner daemon
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=clamd scanner (%i) daemon
|
||||
After=nss-lookup.target network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/clamd -c /etc/clamd%i.conf
|
||||
Restart=on-failure
|
||||
PrivateTmp=true
|
@ -0,0 +1 @@
|
||||
d /run/clamav 0710 clamav clamav
|
@ -0,0 +1,2 @@
|
||||
DIST ebuild-mode-1.22.tar.xz 28420 SHA256 4b7f752935005c44e62fbde32837e8381a5ada2b32fe76599e6b64dcb1e10212 SHA512 f72dda3b743223a076e2d7999ba727a9c95ffe41dfda98fc0570d585db92944380b8ae215dd65bd7e5dcef31735de837657fec4600e2771aa3d17f7040fb0a54 WHIRLPOOL 27e95309a2640ac387e2fb1fee954c1086250834d55a0a7b7d0e564e568af9db0fbdd702c882f5edcad8e63373c47733b5c38c9de7a60b3d8c4fe753a9ef69c9
|
||||
DIST gentoo-syntax-1.21.tar.xz 28632 SHA256 11ff9620d70742daef05ce3a8d4dea3d1d6ab9d400f34d038bdac0b76b52c89b SHA512 e538401350522e7358e1189345eff373b607d0e25070a2ce082c68e059c55043c75ba93c4c31638861dd6525acd6965b1b75d7a6039100164597d7dd42abb934 WHIRLPOOL 737ccd3f64a498694ba483d2427f767062d3dbc7aa2d60a3ddb8eba3863feb13639336629ee73623265f6a2dd4642c8c514c1d126f6f180a8fb0e254ebfcb8a0
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/ebuild-mode/ebuild-mode-1.21.ebuild,v 1.2 2013/07/06 18:32:45 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit readme.gentoo elisp
|
||||
|
||||
MY_PN="gentoo-syntax"
|
||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
|
||||
SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
DOCS="ChangeLog keyword-generation.sh"
|
||||
ELISP_TEXINFO="${MY_PN}.texi"
|
||||
SITEFILE="50${MY_PN}-gentoo.el"
|
||||
DOC_CONTENTS="Some optional features may require installation of additional
|
||||
packages, like app-portage/gentoolkit-dev for echangelog."
|
@ -0,0 +1,13 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'ebuild-mode "ebuild-mode"
|
||||
"Major mode for Portage .ebuild and .eclass files." t)
|
||||
(autoload 'gentoo-newsitem-mode "gentoo-newsitem-mode"
|
||||
"Major mode for Gentoo GLEP 42 news items." t)
|
||||
|
||||
(add-to-list 'auto-mode-alist
|
||||
'("\\.\\(ebuild\\|eclass\\|eblit\\)\\'" . ebuild-mode))
|
||||
(add-to-list 'auto-mode-alist
|
||||
'("/[0-9]\\{4\\}-[01][0-9]-[0-3][0-9]-.+\\.[a-z]\\{2\\}\\.txt\\'"
|
||||
. gentoo-newsitem-mode))
|
||||
(add-to-list 'interpreter-mode-alist '("runscript" . sh-mode))
|
||||
(modify-coding-system-alist 'file "\\.\\(ebuild\\|eclass\\|eblit\\)\\'" 'utf-8)
|
@ -0,0 +1 @@
|
||||
DIST eselect-1.3.6.tar.xz 166976 SHA256 5a2d7c69ed6f668bee60a72f742a768fec4006b05255b0f79a4ebac86dbd0c2b SHA512 a1fb0f9216eb87365c19480b9a63b9d050630329e1e6697427408393b07a3e3c0165296dea48badfe97ab6a651fee7e3f312e640d7cb32626249de876d242d9c WHIRLPOOL 716db4e6d12088f77368f3115c1196b64b71b1d3931c728adc20ca4fb6cd719fc4da6e648df15531ff02d7200459577a606bac2e239286f8dc0f2c54eaa61d6b
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/eselect-mode/eselect-mode-1.3.6.ebuild,v 1.2 2013/07/06 18:44:47 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit elisp
|
||||
|
||||
MY_P="eselect-${PV}"
|
||||
DESCRIPTION="Emacs major mode for editing eselect files"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
|
||||
SRC_URI="mirror://gentoo/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/misc"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -0,0 +1,3 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'eselect-mode "eselect-mode" "Major mode for .eselect files." t)
|
||||
(add-to-list 'auto-mode-alist '("\\.eselect\\'" . eselect-mode))
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>emacs</herd>
|
||||
<maintainer>
|
||||
<email>eselect@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,2 +0,0 @@
|
||||
DIST gentoo-syntax-1.20.tar.bz2 27271 SHA256 9c2bfdfb9f7c29fed99e3cf16e92d6c3e28e939ffeff4964f3984b49a9069686 SHA512 20d85efe13359e8568e3c41531c776e71ed30c5635b9320bfe227f6cc9107178bcf172ac638793e4c7eb0aa9c2aaedc25d8e51707a762f750e2dfc55a80a872f WHIRLPOOL ceefde589ba552f8eaed008e334d36e5ea3b243ff23e126ee51a2df52fe3d4302945be4139e6b78404f09cadd077075c4bd6daf20cc8f179886f0443537440de
|
||||
DIST gentoo-syntax-1.21.tar.xz 28632 SHA256 11ff9620d70742daef05ce3a8d4dea3d1d6ab9d400f34d038bdac0b76b52c89b SHA512 e538401350522e7358e1189345eff373b607d0e25070a2ce082c68e059c55043c75ba93c4c31638861dd6525acd6965b1b75d7a6039100164597d7dd42abb934 WHIRLPOOL 737ccd3f64a498694ba483d2427f767062d3dbc7aa2d60a3ddb8eba3863feb13639336629ee73623265f6a2dd4642c8c514c1d126f6f180a8fb0e254ebfcb8a0
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-emacs/gentoo-syntax/gentoo-syntax-1.20.ebuild,v 1.9 2013/01/22 17:31:18 ago Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
|
||||
DOCS="ChangeLog keyword-generation.sh"
|
||||
ELISP_TEXINFO="${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
|
||||
elog "Some optional features may require installation of additional"
|
||||
elog "packages, like app-portage/gentoolkit-dev for echangelog."
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/deltup/deltup-0.4.5-r1.ebuild,v 1.1 2013/07/07 13:13:59 creffett Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils toolchain-funcs flag-o-matic
|
||||
|
||||
DESCRIPTION="Delta-Update - patch system for updating source-archives."
|
||||
HOMEPAGE="http://deltup.sourceforge.net"
|
||||
SRC_URI="http://deltup.org/e107_files/downloads//${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-libs/openssl
|
||||
sys-libs/zlib
|
||||
>=app-arch/bzip2-1.0.0"
|
||||
RDEPEND="${DEPEND}
|
||||
|| ( dev-util/bdelta =dev-util/xdelta-1* )
|
||||
>=app-arch/bzip2-1.0.4"
|
||||
|
||||
src_prepare () {
|
||||
epatch "${FILESDIR}"/${PN}-0.4.4-gcc47.patch
|
||||
epatch "${FILESDIR}"/${PN}-0.4.4-zlib-1.2.5.2.patch
|
||||
}
|
||||
|
||||
src_compile () {
|
||||
emake CXX=$(tc-getCXX) || die "emake getdelta failed"
|
||||
}
|
||||
|
||||
src_install () {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc README ChangeLog
|
||||
doman deltup.1
|
||||
}
|
@ -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/app-portage/pqlop/pqlop-0.02-r1.ebuild,v 1.1 2013/07/06 18:03:49 maksbotan Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7,3_1,3_2,3_3} )
|
||||
|
||||
inherit python-r1
|
||||
|
||||
DESCRIPTION="emerge.log parser written in python"
|
||||
HOMEPAGE="https://bitbucket.org/LK4D4/pqlop"
|
||||
SRC_URI="https://bitbucket.org/LK4D4/pqlop/raw/${PV}/pqlop.py -> ${P}.py"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin "${DISTDIR}"/${P}.py ${PN} || die "newbin failed"
|
||||
python_replicate_script "${ED}"/usr/bin/${PN} || die "python_replicate_script failed"
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/pqlop/pqlop-0.02.ebuild,v 1.2 2012/10/31 08:54:55 mgorny Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
PYTHON_DEPEND="*:2.5"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="emerge.log parser written in python"
|
||||
HOMEPAGE="https://bitbucket.org/LK4D4/pqlop"
|
||||
SRC_URI="https://bitbucket.org/LK4D4/pqlop/raw/${PV}/pqlop.py -> ${P}.py"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="virtual/python-argparse"
|
||||
|
||||
src_unpack() {
|
||||
:
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
newbin "${DISTDIR}/${P}.py" ${PN}-${PYTHON_ABI} || die "newbin failed"
|
||||
python_convert_shebangs ${PYTHON_ABI} "${ED}"usr/bin/${PN}-${PYTHON_ABI}
|
||||
}
|
||||
python_execute_function installation
|
||||
python_generate_wrapper_scripts "${ED}"usr/bin/${PN}
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfm/dvipdfm-0.13.2d-r2.ebuild,v 1.1 2013/07/07 15:19:51 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="DVI to PDF translator"
|
||||
SRC_URI="http://gaspra.kettering.edu/dvipdfm/${P}.tar.gz"
|
||||
HOMEPAGE="http://gaspra.kettering.edu/dvipdfm/"
|
||||
LICENSE="GPL-2"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!>=app-text/tetex-2
|
||||
>=media-libs/libpng-1.2.1
|
||||
>=sys-libs/zlib-1.1.4
|
||||
!app-text/ptex
|
||||
virtual/latex-base"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-libpng14.patch
|
||||
}
|
||||
|
||||
src_install () {
|
||||
einstall texmf="${ED}usr/share/texmf-site" || die "einstall failed!"
|
||||
|
||||
# Install .map and .enc files to correct locations, bug #200956
|
||||
dodir /usr/share/texmf-site/fonts/map/dvipdfm/base
|
||||
|
||||
for i in cmr.map psbase14.map lw35urw.map lw35urwa.map t1fonts.map; do
|
||||
mv "${ED}usr/share/texmf-site/dvipdfm/config/${i}" "${ED}usr/share/texmf-site/fonts/map/dvipdfm/base" || die "moving .map file failed"
|
||||
done
|
||||
|
||||
dodir /usr/share/texmf-site/fonts/enc/dvipdfm
|
||||
|
||||
mv "${ED}usr/share/texmf-site/dvipdfm/base" "${ED}usr/share/texmf-site/fonts/enc/dvipdfm/base" || die "moving .enc file failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog Credits NEWS OBTAINING README* TODO
|
||||
|
||||
docinto doc
|
||||
dodoc doc/*
|
||||
|
||||
docinto latex-support
|
||||
dodoc latex-support/*
|
||||
|
||||
insinto /usr/share/texmf-site/tex/latex/dvipdfm/
|
||||
doins latex-support/dvipdfm.def
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ "$ROOT" = "/" ] ; then
|
||||
"${EPREFIX}"/usr/sbin/texmf-update
|
||||
fi
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/dvipdfmx/dvipdfmx-20110311-r1.ebuild,v 1.1 2013/07/07 15:35:08 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
inherit autotools eutils texlive-common
|
||||
|
||||
DESCRIPTION="DVI to PDF translator with multi-byte character support"
|
||||
HOMEPAGE="http://project.ktug.or.kr/dvipdfmx/"
|
||||
SRC_URI="http://project.ktug.or.kr/${PN}/snapshot/latest/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-text/libpaper
|
||||
>=media-libs/libpng-1.2:0
|
||||
sys-libs/zlib
|
||||
dev-libs/kpathsea
|
||||
app-text/libpaper"
|
||||
RDEPEND="${DEPEND}
|
||||
virtual/tex-base
|
||||
>=app-text/poppler-0.12.3-r3
|
||||
app-text/poppler-data"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/20090708-fix_file_collisions.patch
|
||||
sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override dvipdfmx.cfg default installation location so that it is easy to
|
||||
# modify it and it gets config protected. Symlink it from the old location.
|
||||
emake configdatadir="${EPREFIX}/etc/texmf/dvipdfmx" \
|
||||
glyphlistdatadir="${EPREFIX}/usr/share/texmf-site/fonts/map/glyphlist" \
|
||||
mapdatadir="${EPREFIX}/usr/share/texmf-site/fonts/map/dvipdfmx" \
|
||||
DESTDIR="${D}" \
|
||||
install || die
|
||||
dosym /etc/texmf/dvipdfmx/dvipdfmx.cfg /usr/share/texmf-site/dvipdfmx/dvipdfmx.cfg || die
|
||||
|
||||
# Symlink poppler-data cMap, bug #201258
|
||||
dosym /usr/share/poppler/cMap /usr/share/texmf-site/fonts/cmap/cMap || die
|
||||
dodoc AUTHORS ChangeLog README || die
|
||||
|
||||
# Remove symlink conflicting with app-text/dvipdfm (bug #295235)
|
||||
rm "${ED}"/usr/bin/ebb
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
etexmf-update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
etexmf-update
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/jadetex/jadetex-3.13-r5.ebuild,v 1.1 2013/07/07 15:40:25 aballier Exp $
|
||||
|
||||
inherit latex-package texlive-common
|
||||
|
||||
DESCRIPTION="TeX macros used by Jade TeX output"
|
||||
HOMEPAGE="http://jadetex.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/jadetex/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=">=app-text/openjade-1.3.1
|
||||
dev-texlive/texlive-fontsrecommended
|
||||
dev-texlive/texlive-genericrecommended"
|
||||
|
||||
src_compile() {
|
||||
VARTEXFONTS="${T}/fonts" emake || die "emake failed"
|
||||
VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}" env -u TEXINPUTS \
|
||||
fmtutil --cnffile "${FILESDIR}/format.jadetex.cnf" --fmtdir "${S}/texmf-var/web2c" --all\
|
||||
|| die "failed to build format"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Runtime files
|
||||
insinto /usr/share/texmf-site/tex/jadetex
|
||||
doins dsssl.def jadetex.ltx jadetex.cfg {pdf,}jadetex.ini *.sty || die
|
||||
|
||||
insinto /var/lib/texmf
|
||||
doins -r texmf-var/* || die
|
||||
|
||||
etexlinks "${FILESDIR}/format.jadetex.cnf"
|
||||
|
||||
# Doc/manpages
|
||||
dodoc ChangeLog*
|
||||
doman *.1
|
||||
dohtml -r .
|
||||
|
||||
# Support for our latex setup
|
||||
insinto /etc/texmf/texmf.d
|
||||
doins "${FILESDIR}/80jadetex.cnf"
|
||||
insinto /etc/texmf/fmtutil.d
|
||||
doins "${FILESDIR}/format.jadetex.cnf"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
etexmf-update
|
||||
elog
|
||||
elog "If jadetex fails with \"TeX capacity exceeded, sorry [save size=5000]\","
|
||||
elog "increase save_size in /etc/texmf/texmf.d/80jadetex.cnf and."
|
||||
elog "remerge jadetex. See bug #21501."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
etexmf-update
|
||||
}
|
@ -0,0 +1,100 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-text/noweb/noweb-2.11b-r4.ebuild,v 1.1 2013/07/07 15:03:07 aballier Exp $
|
||||
|
||||
EAPI=3
|
||||
|
||||
inherit eutils toolchain-funcs elisp-common
|
||||
|
||||
DESCRIPTION="a literate programming tool, lighter than web"
|
||||
HOMEPAGE="http://www.eecs.harvard.edu/~nr/noweb/"
|
||||
SRC_URI="http://www.eecs.harvard.edu/~nr/noweb/dist/${P}.tgz"
|
||||
|
||||
LICENSE="noweb emacs? ( GPL-2 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="emacs examples"
|
||||
|
||||
DEPEND="virtual/tex-base
|
||||
dev-lang/icon
|
||||
sys-apps/debianutils
|
||||
emacs? ( virtual/emacs )"
|
||||
RDEPEND=${DEPEND}
|
||||
|
||||
S=${WORKDIR}/${P}/src
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
# glibc2.10 compat (bug 270757)
|
||||
# mkdir d && cp -r c/* d/
|
||||
sed "s:getline (:getline_nonlibc (:" -i c/getline.{c,h} || die
|
||||
sed "s:getline(:getline_nonlibc(:" -i c/{notangle.c,getline.c,finduses.c} || die
|
||||
# diff -u d/ c/
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-2.9-security.patch
|
||||
# dont run texhash...
|
||||
sed -i -e "s/texhash/true/" Makefile
|
||||
# dont strip...
|
||||
sed -i -e "s/strip/true/" Makefile
|
||||
|
||||
cd "${WORKDIR}/${P}"
|
||||
epatch "${FILESDIR}"/${P}-recmake.patch
|
||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# noweb tries to use notangle and noweb; see bug #50429
|
||||
( cd c; emake ICONC="icont" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBSRC="icon" ) || die
|
||||
export PATH="${PATH}:${T}"
|
||||
emake ICONC="icont" CC="$(tc-getCC)" BIN="${T}" LIB="${T}" LIBSRC="icon" install-code \
|
||||
|| die "make temporal install failed."
|
||||
|
||||
emake ICONC="icont" CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBSRC="icon" || die "make failed"
|
||||
# Set awk to awk not nawk
|
||||
./awkname awk
|
||||
|
||||
if use emacs; then
|
||||
elisp-compile elisp/noweb-mode.el || die "elisp-compile failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install () {
|
||||
# It needs the directories to exist first...
|
||||
dodir /usr/bin
|
||||
dodir /usr/libexec/${PN}
|
||||
dodir /usr/share/man
|
||||
dodir /usr/share/texmf-site/tex/inputs
|
||||
emake ICONC="icont" \
|
||||
BIN="${ED}/usr/bin" \
|
||||
LIBSRC="icon" \
|
||||
LIBNAME="${EPREFIX}/usr/libexec/${PN}" \
|
||||
LIB="${ED}/usr/libexec/${PN}" \
|
||||
MAN="${ED}/usr/share/man" \
|
||||
TEXNAME="${EPREFIX}/usr/share/texmf-site/tex/inputs" \
|
||||
TEXINPUTS="${ED}/usr/share/texmf-site/tex/inputs" \
|
||||
install || die "make install failed"
|
||||
cd "${WORKDIR}/${P}"
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins examples/*
|
||||
fi
|
||||
dodoc CHANGES README
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} src/elisp/noweb-mode.{el,elc} \
|
||||
|| die "elisp-install failed"
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}" \
|
||||
|| die "elisp-site-file-install failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
einfo "Running texhash to complete installation.."
|
||||
texhash
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST gentoo-syntax-1.18.tar.bz2 20819 SHA256 c05a935ce7803595a888c77c37c2f16dd9fe5da31418bc8f9b5940be9c08fb14 SHA512 c7786f2abb9765fdc7b3d59e7cf46e01fa1d8e7bc7a21af17a61b4fd3968f9471a023c75d09330c4bab33c0e8cdaa4e58f1c80a05e118fece89ddddb98a8aa13 WHIRLPOOL ea5d726b65f581ac6018c08fa7180c91c805ce0b20245e8b829fa4b406b993477617325c00886482d098ba6cfc54799e4f955e0a1042d4bea235ad3c8e1bd778
|
||||
DIST ebuild-mode-1.22.tar.xz 28420 SHA256 4b7f752935005c44e62fbde32837e8381a5ada2b32fe76599e6b64dcb1e10212 SHA512 f72dda3b743223a076e2d7999ba727a9c95ffe41dfda98fc0570d585db92944380b8ae215dd65bd7e5dcef31735de837657fec4600e2771aa3d17f7040fb0a54 WHIRLPOOL 27e95309a2640ac387e2fb1fee954c1086250834d55a0a7b7d0e564e568af9db0fbdd702c882f5edcad8e63373c47733b5c38c9de7a60b3d8c4fe753a9ef69c9
|
||||
DIST gentoo-syntax-1.19.tar.bz2 21385 SHA256 d20b5f13118d7823f5fed194c43decf322fb4ff3a05a7b63c46a9f001307b058 SHA512 ae745375cd4737fe4fa51be2d26c06b0579018b16963cad173af0721cd8a278f7c294fac4eeea9cdd57a41ca20892cdcf988da54049005a2e9aab13c58fdb9fd WHIRLPOOL 1d3883761bb1255021ba7fb2871b7d8edb75785e1a01ab0c5f1165827665dc58e41da6bd89a174c3c38adecd67d1ee6ffaee6648aab3f9c60e52a82b85b5d858
|
@ -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/app-xemacs/ebuild-mode/ebuild-mode-1.19.ebuild,v 1.1 2013/07/06 22:07:30 ulm Exp $
|
||||
|
||||
inherit xemacs-elisp eutils
|
||||
|
||||
MY_PN="gentoo-syntax"
|
||||
DESCRIPTION="An Emacs mode for editing ebuilds and other Gentoo specific files."
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/index.xml"
|
||||
SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-editors/xemacs-21.4.20-r5
|
||||
app-xemacs/sh-script"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_compile() {
|
||||
${XEMACS_BATCH_CLEAN} -eval "(add-to-list 'load-path \".\")" \
|
||||
-f batch-byte-compile gentoo-syntax.el || die
|
||||
xemacs-elisp-make-autoload-file *.el || die
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-xemacs/ebuild-mode/ebuild-mode-1.22.ebuild,v 1.1 2013/07/06 22:07:30 ulm Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit xemacs-elisp
|
||||
|
||||
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=app-editors/xemacs-21.4.20-r5
|
||||
app-xemacs/sh-script"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
${XEMACS_BATCH_CLEAN} -eval "(add-to-list 'load-path \".\")" \
|
||||
-f batch-byte-compile ebuild-mode.el gentoo-newsitem-mode.el || die
|
||||
xemacs-elisp-make-autoload-file *.el || die
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-xemacs/gentoo-syntax/gentoo-syntax-1.18.ebuild,v 1.3 2012/01/04 18:20:54 phajdan.jr Exp $
|
||||
|
||||
inherit xemacs-elisp eutils
|
||||
|
||||
DESCRIPTION="An Emacs mode for editing ebuilds and other Gentoo specific files."
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-editors/xemacs-21.4.20-r5
|
||||
app-xemacs/sh-script"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-xemacs/gentoo-syntax/gentoo-syntax-1.19.ebuild,v 1.3 2012/06/08 12:02:12 phajdan.jr Exp $
|
||||
|
||||
inherit xemacs-elisp eutils
|
||||
|
||||
DESCRIPTION="An Emacs mode for editing ebuilds and other Gentoo specific files."
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-editors/xemacs-21.4.20-r5
|
||||
app-xemacs/sh-script"
|
||||
DEPEND="${RDEPEND}"
|
@ -1,390 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.4.ebuild,v 1.9 2013/05/18 13:13:35 zorry Exp $
|
||||
|
||||
EAPI="4"
|
||||
WANT_AUTOMAKE="none"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
|
||||
|
||||
MY_P="Python-${PV}"
|
||||
PATCHSET_REVISION="2"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="http://www.python.org/"
|
||||
SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
|
||||
mirror://gentoo/python-gentoo-patches-${PV}-${PATCHSET_REVISION}.tar.xz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="2.7"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="app-arch/bzip2
|
||||
>=sys-libs/zlib-1.1.3
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
!build? (
|
||||
berkdb? ( || (
|
||||
sys-libs/db:5.3
|
||||
sys-libs/db:5.2
|
||||
sys-libs/db:5.1
|
||||
sys-libs/db:5.0
|
||||
sys-libs/db:4.8
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5
|
||||
sys-libs/db:4.4
|
||||
sys-libs/db:4.3
|
||||
sys-libs/db:4.2
|
||||
) )
|
||||
gdbm? ( sys-libs/gdbm[berkdb] )
|
||||
ncurses? (
|
||||
>=sys-libs/ncurses-5.2
|
||||
readline? ( >=sys-libs/readline-4.1 )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3[extensions] )
|
||||
ssl? ( dev-libs/openssl )
|
||||
tk? (
|
||||
>=dev-lang/tk-8.0
|
||||
dev-tcltk/blt
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2.1 )
|
||||
)
|
||||
!!<sys-apps/portage-2.1.9"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.65
|
||||
!sys-devel/gcc[libffi]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )
|
||||
doc? ( dev-python/python-docs:${SLOT} )"
|
||||
PDEPEND="app-admin/eselect-python
|
||||
app-admin/python-updater"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
if use berkdb; then
|
||||
ewarn "'bsddb' module is out-of-date and no longer maintained inside"
|
||||
ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
|
||||
ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
|
||||
ewarn "is provided by dev-python/bsddb3."
|
||||
else
|
||||
if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
|
||||
ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
|
||||
ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
|
||||
ewarn "You might need to migrate your databases."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -r Modules/expat || die
|
||||
rm -r Modules/_ctypes/libffi* || die
|
||||
rm -r Modules/zlib || die
|
||||
|
||||
local excluded_patches
|
||||
if ! tc-is-cross-compiler; then
|
||||
excluded_patches="*_all_crosscompile.patch"
|
||||
fi
|
||||
|
||||
EPATCH_EXCLUDE="${excluded_patches}" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/${PV}-${PATCHSET_REVISION}"
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
Lib/distutils/command/install.py \
|
||||
Lib/distutils/sysconfig.py \
|
||||
Lib/site.py \
|
||||
Lib/sysconfig.py \
|
||||
Lib/test/test_site.py \
|
||||
Makefile.pre.in \
|
||||
Modules/Setup.dist \
|
||||
Modules/getpath.c \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
epatch_user
|
||||
|
||||
eautoconf
|
||||
eautoheader
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use build; then
|
||||
# Disable extraneous modules with extra dependencies.
|
||||
export PYTHON_DISABLE_MODULES="dbm _bsddb gdbm _curses _curses_panel readline _sqlite3 _tkinter _elementtree pyexpat"
|
||||
export PYTHON_DISABLE_SSL="1"
|
||||
else
|
||||
# dbm module can be linked against berkdb or gdbm.
|
||||
# Defaults to gdbm when both are enabled, #204343.
|
||||
local disable
|
||||
use berkdb || use gdbm || disable+=" dbm"
|
||||
use berkdb || disable+=" _bsddb"
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
[[ "${ARCH}" == "alpha" ]] && append-flags -fPIC
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
# Run the configure scripts in parallel.
|
||||
multijob_init
|
||||
|
||||
mkdir -p "${WORKDIR}"/{${CBUILD},${CHOST}}
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
(
|
||||
multijob_child_init
|
||||
cd "${WORKDIR}"/${CBUILD} >/dev/null
|
||||
OPT="-O1" CFLAGS="" CPPFLAGS="" LDFLAGS="" CC="" \
|
||||
"${S}"/configure \
|
||||
--{build,host}=${CBUILD} \
|
||||
|| die "cross-configure failed"
|
||||
) &
|
||||
multijob_post_fork
|
||||
|
||||
# The configure script assumes it's buggy when cross-compiling.
|
||||
export ac_cv_buggy_getaddrinfo=no
|
||||
export ac_cv_have_long_long_format=yes
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
|
||||
tc-export CXX
|
||||
# The configure script fails to use pkg-config correctly.
|
||||
# http://bugs.python.org/issue15506
|
||||
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
|
||||
|
||||
# Set LDFLAGS so we link modules with -lpython2.7 correctly.
|
||||
# Needed on FreeBSD unless Python 2.7 is already installed.
|
||||
# Please query BSD team before removing this!
|
||||
append-ldflags "-L."
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
if use berkdb; then
|
||||
dbmliborder+="${dbmliborder:+:}bdb"
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
ECONF_SOURCE="${S}" OPT="" \
|
||||
econf \
|
||||
--with-fpectl \
|
||||
--enable-shared \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with threads) \
|
||||
$(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \
|
||||
--infodir='${prefix}/share/info' \
|
||||
--mandir='${prefix}/share/man' \
|
||||
--with-dbmliborder="${dbmliborder}" \
|
||||
--with-libc="" \
|
||||
--enable-loadable-sqlite-extensions \
|
||||
--with-system-expat \
|
||||
--with-system-ffi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Modify the Makefile.pre so we don't regen for the host/ one.
|
||||
# We need to link the host python programs into $PWD and run
|
||||
# them from here because the distutils sysconfig module will
|
||||
# parse Makefile/etc... from argv[0], and we need it to pick
|
||||
# up the target settings, not the host ones.
|
||||
sed -i \
|
||||
-e '1iHOSTPYTHONPATH = ./hostpythonpath:' \
|
||||
-e '/^HOSTPYTHON/s:=.*:= ./hostpython:' \
|
||||
-e '/^HOSTPGEN/s:=.*:= ./Parser/hostpgen:' \
|
||||
Makefile{.pre,} || die "sed failed"
|
||||
fi
|
||||
|
||||
multijob_finish
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if tc-is-cross-compiler; then
|
||||
cd "${WORKDIR}"/${CBUILD}
|
||||
# Disable as many modules as possible -- but we need a few to install.
|
||||
PYTHON_DISABLE_MODULES=$(
|
||||
sed -n "/Extension('/{s:^.*Extension('::;s:'.*::;p}" "${S}"/setup.py | \
|
||||
egrep -v '(unicodedata|time|cStringIO|_struct|binascii)'
|
||||
) \
|
||||
PTHON_DISABLE_SSL="1" \
|
||||
SYSROOT= \
|
||||
emake
|
||||
# See comment in src_configure about these.
|
||||
ln python ../${CHOST}/hostpython || die
|
||||
ln Parser/pgen ../${CHOST}/Parser/hostpgen || die
|
||||
ln -s ../${CBUILD}/build/lib.*/ ../${CHOST}/hostpythonpath || die
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
default
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax_kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="distutils gdb"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||
done
|
||||
|
||||
# Rerun failed tests in verbose mode (regrtest -w).
|
||||
emake test EXTRATESTOPTS="-w" < /dev/tty
|
||||
local result="$?"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
if [[ "${result}" -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
|
||||
|
||||
cd "${WORKDIR}"/${CHOST}
|
||||
emake DESTDIR="${D}" altinstall
|
||||
|
||||
sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die "sed failed"
|
||||
|
||||
# Backwards compat with Gentoo divergence.
|
||||
dosym python${SLOT}-config /usr/bin/python-config-${SLOT}
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}"
|
||||
mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}"
|
||||
mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}"
|
||||
rm -f "${ED}usr/bin/smtpd.py"
|
||||
|
||||
if use build; then
|
||||
rm -fr "${ED}usr/bin/idle${SLOT}" "${libdir}/"{bsddb,dbhash.py,idlelib,lib-tk,sqlite3,test}
|
||||
else
|
||||
use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test}
|
||||
use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*} || die
|
||||
use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
||||
use tk || rm -r "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk} || die
|
||||
fi
|
||||
|
||||
use threads || rm -r "${libdir}/multiprocessing" || die
|
||||
use wininst || rm -r "${libdir}/distutils/command/"wininst-*.exe || die
|
||||
|
||||
dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed"
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r "${S}"/Tools
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
||||
emake --no-print-directory -s -f - 2>/dev/null)
|
||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${SLOT}:" \
|
||||
-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
|
||||
|
||||
# for python-exec
|
||||
python_export python${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
|
||||
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local PYTHON=./python \
|
||||
LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
|
||||
export LD_LIBRARY_PATH
|
||||
fi
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py
|
||||
python_domodule epython.py
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.7"; then
|
||||
python_updater_warning="1"
|
||||
fi
|
||||
}
|
||||
|
||||
eselect_python_update() {
|
||||
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
|
||||
eselect python update
|
||||
fi
|
||||
|
||||
if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
|
||||
eselect python update --python${PV%%.*}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect_python_update
|
||||
|
||||
if [[ "${python_updater_warning}" == "1" ]]; then
|
||||
ewarn "You have just upgraded from an older version of Python."
|
||||
ewarn "You should switch active version of Python ${PV%%.*} and run"
|
||||
ewarn "'python-updater [options]' to rebuild Python modules."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect_python_update
|
||||
}
|
@ -0,0 +1,225 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ruby/ruby-2.0.0_p247.ebuild,v 1.1 2013/07/07 08:02:24 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
RUBYPL=$(get_version_component_range 4)
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)-${RUBYPL:-0}"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.0.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/2.0/${MY_P}.tar.bz2
|
||||
http://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 +rdoc rubytests socks5 ssl tk xemacs ncurses +readline +yaml"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
ssl? ( dev-libs/openssl )
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? ( dev-lang/tk[threads] )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
readline? ( sys-libs/readline )
|
||||
yaml? ( dev-libs/libyaml )
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-admin/eselect-ruby-20100402
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
PDEPEND="
|
||||
>=dev-ruby/rubygems-2.0.2[ruby_targets_ruby20]
|
||||
>=dev-ruby/json-1.7.7[ruby_targets_ruby20]
|
||||
>=dev-ruby/rake-0.9.6[ruby_targets_ruby20]
|
||||
rdoc? ( >=dev-ruby/rdoc-4.0.0[ruby_targets_ruby20] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# We can no longer unbundle all of rake because rubygems now depends
|
||||
# on this. We leave the actual rake code around to bootstrap
|
||||
# rubygems, but remove the bits that would cause a file collision.
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -r \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
bin/gem || die "removal failed"
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# if use libedit; then
|
||||
# einfo "Using libedit to provide readline extension"
|
||||
# myconf="${myconf} --enable-libedit --with-readline"
|
||||
# elif use readline; then
|
||||
# einfo "Using readline to provide readline extension"
|
||||
# myconf="${myconf} --with-readline"
|
||||
# else
|
||||
# myconf="${myconf} --without-readline"
|
||||
# fi
|
||||
myconf="${myconf} $(use_with readline)"
|
||||
|
||||
econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
$(use_with berkdb dbm) \
|
||||
$(use_with gdbm) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with tk) \
|
||||
$(use_with ncurses curses) \
|
||||
$(use_with yaml psych) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -r "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -r "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%.*})"
|
||||
dosym "libruby${MY_SUFFIX}$(get_libname ${PV%_*})" \
|
||||
"/usr/$(get_libdir)/libruby$(get_libname ${PV%_*})"
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(18|19|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/beautifulsoup/beautifulsoup-4.2.1.ebuild,v 1.1 2013/07/06 20:32:31 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy2_0 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN}4
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Provides pythonic idioms for iterating, searching, and modifying an HTML/XML parse tree"
|
||||
HOMEPAGE="http://www.crummy.com/software/BeautifulSoup/
|
||||
http://pypi.python.org/pypi/beautifulsoup4"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="4"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
# new html5 awaits keywording of html5lib in Bug 471002
|
||||
IUSE="doc test"
|
||||
# pending Bug 471002; html5? ( dev-python/html5lib[$(python_gen_usedep 'python{2_6,2_7}' pypy2_0)] )
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[$(python_gen_usedep 'python{2_6,2_7}' 'python3*')] )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
emake -C doc html
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=doc/build/html/.
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/libcloud/libcloud-0.12.4-r1.ebuild,v 1.2 2013/07/06 16:34:39 idella4 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# py3 dropped due to failing tests once lockfile installed
|
||||
PYTHON_COMPAT=( python{2_6,2_7} pypy2_0 )
|
||||
PYTHON_REQ_USE="ssl"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Unified Interface to the Cloud - python support libs"
|
||||
HOMEPAGE="http://libcloud.apache.org/index.html"
|
||||
SRC_URI="mirror://apache/${PN}/apache-${P}.tar.bz2"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples test"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/lockfile[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/apache-${P}"
|
||||
|
||||
python_prepare_all() {
|
||||
if use examples; then
|
||||
mkdir examples
|
||||
mv example_*.py examples || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cp libcloud/test/secrets.py-dist libcloud/test/secrets.py || die
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST pygobject-2.28.6.tar.xz 747248 SHA256 fb8a1d4f665130a125011659bd347c7339c944232163dbb9a34fd0686577adb8 SHA512 37544ea2377258758169b25a2969d5ee1c9ffb9b6e63e05bc7a0471a49ac9169c51ec587d4489172c7d256f53df878a81c1992a08059aa7e43dbbb69f799545c WHIRLPOOL 402f764d6ca73f238784738a1e09832858fd95af5a633e825412e9e6a21e89ab6b2090d3995902ed404fc4fde445cf970c76fcd93f8f64cf9def742452776c00
|
||||
DIST pygobject-3.2.2.tar.xz 564712 SHA256 4653790baaff0176fd814b88cfb5378c45906a120b25d01be2554f423b726eb0 SHA512 b22c8fd4bcff0d110a08d7f0927df086d4e1e11546e3d7aa08f4e5ec66643d1ba88ac199b0354dca145bf06532c8ab8a427ea9450751ee52b914f355a6d7e9e7 WHIRLPOOL f3e4aaafadfeae5e6fafd0e173c856c2f8c937eb097732760c21ccaced6c7c96e36e5b683d729e78b0043302fafa92818ea90fa845fe266caf5e2d0a8ae8ff8f
|
||||
DIST pygobject-3.4.2.tar.xz 615032 SHA256 2b87ef3170be3a20a53fbdb348ae4ecb41a72a17ec6531baa67147c3437d2aad SHA512 ff22d2825896246564230949b93e6d6075f885cbe4c633b8fdd6505287bc167dd50d3c3a3f4ed9ff690c0b70a81fb893a9fbf947ed9ff043ad61a61af192412d WHIRLPOOL df50588c9da9b56b50370530b1b70a10addc1d89e44ede7efbbcc7e9039e35816c105477c9e33caa52bbae9d6bd33b6532e6a0b8df3b8de0aab6f838bf00a10f
|
||||
DIST pygobject-3.8.1.tar.xz 652864 SHA256 e85c8ec64238ce88ec1e905497f5a2eaa947a7f4050e338d21ec510d8a50eacb SHA512 e18ef89c7654d61c84378d4afcfe150ef8ed6be9f3e43fbd5617f1034729c334e4a76b1590dc1dd2f7fc1d39ca53248d5e7f48a5f516894490da27fa0cac0f72 WHIRLPOOL ff079fd3e4fc4bc9ed7a457c465982d1b69228341557ea6354548c1d4782507406dbc4e864d104cf4c52e54eb791fa5cfbbb41aaa75d053dd3955cae400d96d1
|
||||
DIST pygobject-3.8.2.tar.xz 654092 SHA256 caa6507edb8cca56e781bf927d88ce99581e1df9978b59a3360cfb74bd9c15f5 SHA512 63295e2f5dd2cc6a8909f68884b7e9e055344f4ab341e310c54c90151aa54cb902e0f80c1522ec5227ad4dd33b236ecf75e0ab5a9334cb62a85070f5a51be608 WHIRLPOOL e445afd80e858dd8e698faf631fdbd04e9741dd7d5720ca6d57bee099b557a902e4da23caf44117ec24a4cb071b38e23c35b6dba4bfd7fe545f1f199babd4b97
|
||||
DIST pygobject-3.8.3.tar.xz 657196 SHA256 384b3e1b8d1e7c8796d7eb955380d62946dd0ed9c54ecf0817af2d6b254e082c SHA512 e037aaf2ce78cffb09676282fe50d5188a5f4e832cd4cbb215e44fa515ded4c3591fa9df3b9a2a4f31f1e5c2951967fd429c1373739b23b73db46d36dfb14144 WHIRLPOOL fc4612df384c955a0b927ea473f76112bddb707a170815f8fcc53e1fe255e9a2cc2ac408d68ac84991fbe3e6bc7726e47af10ccf1082925a811b80fc4f4e79ed
|
||||
|
@ -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-python/pytools/pytools-2013.5.3.ebuild,v 1.1 2013/07/07 16:25:07 jlec Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A collection of tools missing from the Python standard library"
|
||||
HOMEPAGE="http://mathema.tician.de/software/pytools"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/setuptools-0.7.2[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=""
|
||||
|
||||
python_test() {
|
||||
py.test || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST rcov-0.9.11.tgz 102127 SHA256 4dd348b44faead9f917b92ba5f4e40fdc2b841a8d41ce8c74c5c5aeb76fe3717 SHA512 3a687a1e1014b7b426b1aa5dcf249cc367aebd3a5b0965b023fdb3c59af085daa7f2d72cf889f01f0626b1e1d6ef107f657f317cb491c866ca16a5f9affd635e WHIRLPOOL 7d6a0a101a7cb8ef767ca047aaf120613a8968fc640184a7475e8e80a4f3438a56d844841ccd3bdebf0f0e206ef858eca3487eb1e3e67a5fc53a86b5fe0df833
|
||||
DIST rcov-1.0.tgz 82204 SHA256 523e9cd24a9ac02b42d70a1a9aa3f8be0c1c59a75c4161d561b419287fb133e4 SHA512 502ecdabe89a14d45da362ad9f8a232c37640571f32d16d8abbbadecaa7a5176cf15dd46b6352c4e377e06c5827c5d7c0940a7e09b8fb7a8a589992c87913d6d WHIRLPOOL 46660ae1ddea970af4fabaf82bbd6e48afe352821a9b1dd19076b9129a314ba3d100972c2d9ceeb439ebdcc880ee4609db66a82952c5ab189733d445d35fda12
|
||||
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rcov/rcov-0.9.11.ebuild,v 1.2 2012/02/14 13:41:27 flameeyes Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# The documenttion indicates that rcov does not work with (reliably)
|
||||
# with ruby 1.9. Use ruby 1.9's built in coverage or simplecov instead.
|
||||
USE_RUBY="ruby18 "
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test_rcovrt"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="THANKS BLURB"
|
||||
|
||||
inherit ruby-fakegem versionator eutils
|
||||
|
||||
DESCRIPTION="A ruby code coverage analysis tool"
|
||||
HOMEPAGE="http://eigenclass.org/hiki.rb?rcov"
|
||||
#SRC_URI="http://github.com/relevance/${PN}/tarball/release_$(replace_all_version_separators _) -> ${P}.tgz"
|
||||
SRC_URI="http://github.com/relevance/${PN}/tarball/b5513cae5ea3348d97c21a3c324d8e8a7768e814 -> ${P}.tgz"
|
||||
|
||||
RUBY_S="relevance-${PN}-*"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
# TODO: both emacs and vim support are present in this package, they
|
||||
# should probably be added to the ebuild as well.
|
||||
IUSE=""
|
||||
|
||||
all_ruby_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.9.7.1-jruby.patch
|
||||
|
||||
# Without this change, testing will always cause the extension to
|
||||
# be rebuilt, and we don't want that.
|
||||
sed -i -e '/:test_rcovrt =>/s| => \[.*\]||' Rakefile || die "Rakefile fix failed"
|
||||
|
||||
# remove pre-packaged jar file (d'oh!)
|
||||
rm lib/rcovrt.jar || die
|
||||
|
||||
# Remove test suite with failing tests that upstream believes to
|
||||
# work correctly so that we can run the remainder of tests.
|
||||
# https://github.com/relevance/rcov/issues/40
|
||||
rm test/code_coverage_analyzer_test.rb || die
|
||||
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
if [[ $(basename ${RUBY}) = "jruby" ]]; then
|
||||
${RUBY} -S rake lib/rcovrt.jar || die "build failed"
|
||||
else
|
||||
${RUBY} -S rake ext/rcovrt/rcovrt.so || die "build failed"
|
||||
cp ext/rcovrt/rcovrt.so lib/ || die
|
||||
fi
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST rdtool-0.6.22.tar.gz 89524 SHA256 11c528e739ed5c08728b9eaf17ff56e9a5b8e46b31c968874a1dcc5a5c350068 SHA512 66c1ad9c9bc0447bcd16712c6dbd31ccac1df8fd0b566baeda158f40dadb320a6104c673ea19d25b523a2700b58187fe0a01e577de52f55f7e6841fe61bf5802 WHIRLPOOL 04053344da6531d647a84d70c75bb8d7a528a900a1078e493fd59c014655755a1f1a6887511f73b0467de9ecf8a397c8e21908464f35c150f92d705321ceff5e
|
||||
DIST rdtool-0.6.37.gem 115200 SHA256 887ceef9529076c344b21c35b1a5a49c7fba32827f44321952dcb96949e6b553 SHA512 2d0374ef30fd7926c98277d3d5268c06d6d127c9870c64ae287828c645871cbc67051dfaa2b7c7b236945cc541323c718886f8545dbc30f0b52305eca5deea6b WHIRLPOOL f41e2d5c4739c0e306b307b3c6e8398a17cef00c510b16878caa5f6ccba3fe5dacfb2aed51eba90a8eee6f6fb609d513e8c41df032b5ebab74d892bc7dd561ed
|
||||
DIST rdtool-0.6.38.gem 115712 SHA256 d9d32e215c1958847001ca5940ad42aa8bcbdf984436f1235b9dbd300e4c74bc SHA512 958e9066a8b3610eb1a78069e615c5bd672aa56b3b45669604b35cd094bb8ddc549d8f373d1ee53864c27a0aa7ee038101b3256c56b3b8ffe618f75a1a939bcd WHIRLPOOL 2f066ce8d5dc91059ef74f5ec8f65aa2234afe3b615690e316f2ec8522df4b6aaafae0f041a0f3110be5b2ee77c0ff9ae0a703613ca2f45ab0ad324c0dac70da
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.22-r2.ebuild,v 1.1 2012/07/29 07:15:40 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
inherit elisp-common ruby-ng
|
||||
|
||||
DESCRIPTION="A multipurpose documentation format for Ruby"
|
||||
HOMEPAGE="http://raa.ruby-lang.org/project/rdtool"
|
||||
SRC_URI="http://www.moonwolf.com/ruby/archive/${P}.tar.gz"
|
||||
LICENSE="Ruby GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="emacs"
|
||||
|
||||
RDEPEND="${RDEPEND} emacs? ( virtual/emacs )"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:. test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
RUBY_ECONF="${RUBY_ECONF} ${EXTRA_ECONF}"
|
||||
|
||||
${RUBY} setup.rb config --prefix=/usr "$@" \
|
||||
${RUBY_ECONF} || die "setup.rb config failed"
|
||||
${RUBY} setup.rb install --prefix="${D}" "$@" \
|
||||
${RUBY_ECONF} || die "setup.rb install failed"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} utils/rd-mode.el
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
dodoc HISTORY README.*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdtool/rdtool-0.6.37.ebuild,v 1.1 2012/09/29 09:26:47 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="HISTORY README.*"
|
||||
|
||||
inherit elisp-common ruby-fakegem
|
||||
|
||||
DESCRIPTION="A multipurpose documentation format for Ruby"
|
||||
HOMEPAGE="https://github.com/uwabami/rdtool"
|
||||
|
||||
LICENSE="Ruby GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="emacs"
|
||||
|
||||
RDEPEND="${RDEPEND} emacs? ( virtual/emacs )"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} utils/rd-mode.el
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
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