parent
93222f9a3b
commit
5e8972b828
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils systemd unpacker user
|
||||
|
||||
DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_BASE="http://apt.puppetlabs.com/pool/xenial/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1xenial"
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_BASE}_amd64.deb )
|
||||
x86? ( ${SRC_BASE}_i386.deb )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="puppetdb selinux"
|
||||
RESTRICT="strip"
|
||||
|
||||
CDEPEND="!app-admin/augeas
|
||||
!app-admin/mcollective
|
||||
!app-admin/puppet
|
||||
!dev-ruby/hiera
|
||||
!dev-ruby/facter
|
||||
!app-emulation/virt-what"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}"
|
||||
RDEPEND="${CDEPEND}
|
||||
sys-apps/dmidecode
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-3.1.0 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/puppetlabs/puppet
|
||||
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0/x86_64-linux/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/mathn/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/io/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/dl/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/racc/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/enc/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/json/ext/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/rbconfig/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/digest/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/*
|
||||
/opt/puppetlabs/puppet/lib/engines/*
|
||||
/opt/puppetlabs/puppet/lib/virt-what/*
|
||||
/opt/puppetlabs/puppet/lib/*
|
||||
/opt/puppetlabs/puppet/bin/*"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/run/puppet puppet
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/mcollective
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/mcollective
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
dodir var/log/puppetlabs/puppet/
|
||||
fperms 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd" puppet
|
||||
newinitd "${FILESDIR}/mcollective.initd" mcollective
|
||||
systemd_dounit "${FILESDIR}/puppet.service"
|
||||
systemd_dounit "${FILESDIR}/mcollective.service"
|
||||
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
|
||||
dosym /opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym /opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym /opt/puppetlabs/bin/mco /usr/bin/mco
|
||||
dosym /opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
dosym /opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
|
||||
dosym /opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
|
||||
dosym /opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
|
||||
dosym /opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
|
||||
dosym /opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST puppetserver-2.3.2.tar.gz 33673099 SHA256 81e92875c07f73e636143405804f1214f31f0f840d521f03289d93bd7b2a0899 SHA512 3ab750128bd11d1e3d9815a1c9907fc81b673281ec21def56318557c134635bca0418ed445d090da6257da9dd64e65a9c2b9e82257868d5a895459c7458cc731 WHIRLPOOL 55b679e1eed246ad10bea4f973ca51f65b50b2bf112a6d90d8bda600a1d0e4c09abf74756851a4844cf68705d1b94b9f80f688f1523813d9fe14fbc4424d14e0
|
||||
DIST puppetserver-2.4.0.tar.gz 33822659 SHA256 81d574f7483760bd70cafc079486fe14d243137612f0c130069d94ba7d4fded4 SHA512 c9afab58bb2f432874d302cb63fb213ead561e2bcecc44f776be49dc09eb86deda3019eae1bddb7369bb7bdc1a3d82f47f6053d526b2b28b189358a2bdded852 WHIRLPOOL 079186ecd239a1be1dde847b23a5fe1bc4dedc543b510f2197cd776bc59f943166d3f403727e1cc0ac0232a8519a36944cb4e6ec6bb6bfdc0e822405c4b7fd96
|
||||
DIST puppetserver-2.5.0.tar.gz 33907947 SHA256 d058d49133b3adba86c8b01c7ab5c1f4511c191fd50e75be583b28ddfc824cd5 SHA512 c822d320a9ce98c6e96e4838770fc52760f08aab9fee26e62174762947b9ccb09234cb1edba0a5e17f4c08e76adccec83d8353f5aa47d08864c5bb9b2dab2574 WHIRLPOOL 1d2fde7aade7e9e6c5117d8d2c88d787a93d1aacdea81ad3235fdb90384d8578739a54ccfcff28e217a86bd5d29c48c4dbbea4d38d3e34c4099ecf21adc9f995
|
||||
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib systemd user
|
||||
|
||||
DESCRIPTION="Puppet Server is the next-generation application for managing Puppet agents."
|
||||
HOMEPAGE="http://docs.puppetlabs.com/puppetserver/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="puppetdb"
|
||||
# will need the same keywords as puppet
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND+="
|
||||
>=virtual/jdk-1.7.0
|
||||
app-admin/puppet-agent[puppetdb?]"
|
||||
DEPEND+=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /opt/puppetlabs/server/data/puppetserver "puppet"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/sysconfig\/puppetserver/systemd\/system\/puppetserver\.service\.d\/gentoo\.conf/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/sysconfig\/puppetserver/systemd\/system\/puppetserver\.service\.d\/gentoo\.conf/g' ext/bin/puppetserver || die
|
||||
sed -i 's/sysconfig\/puppetserver/systemd\/system\/puppetserver\.service\.d\/gentoo\.conf/g' install.sh || die
|
||||
sed -i 's/var\/run/run/g' ext/config/conf.d/puppetserver.conf || die
|
||||
sed -i 's/var\/run/run/g' ext/redhat/puppetserver.service || die
|
||||
sed -i 's/var\/run/run/g' install.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
einfo "not compiling"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver
|
||||
insopts -m0774
|
||||
doins ext/ezbake-functions.sh
|
||||
insopts -m0644
|
||||
doins ext/ezbake.manifest
|
||||
doins puppet-server-release.jar
|
||||
insinto /etc/puppetlabs/puppetserver
|
||||
doins ext/config/logback.xml
|
||||
doins ext/config/request-logging.xml
|
||||
insinto /etc/puppetlabs/puppetserver/services.d
|
||||
doins ext/system-config/services.d/bootstrap.cfg
|
||||
doins ext/config/services.d/ca.cfg
|
||||
insinto /etc/puppetlabs/puppetserver/conf.d
|
||||
doins ext/config/conf.d/puppetserver.conf
|
||||
doins ext/config/conf.d/auth.conf
|
||||
doins ext/config/conf.d/global.conf
|
||||
doins ext/config/conf.d/web-routes.conf
|
||||
doins ext/config/conf.d/webserver.conf
|
||||
insopts -m0755
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/scripts
|
||||
doins install.sh
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/cli/apps
|
||||
doins ext/cli/irb
|
||||
doins ext/cli/foreground
|
||||
doins ext/cli/gem
|
||||
doins ext/cli/ruby
|
||||
insinto /opt/puppetlabs/server/apps/puppetserver/bin
|
||||
doins ext/bin/puppetserver
|
||||
insopts -m0644
|
||||
dodir /opt/puppetlabs/server/bin
|
||||
dosym ../apps/puppetserver/bin/puppetserver /opt/puppetlabs/server/bin/puppetserver
|
||||
dodir /opt/puppetlabs/bin
|
||||
dosym ../server/apps/puppetserver/bin/puppetserver /opt/puppetlabs/bin/puppetserver
|
||||
dosym /opt/puppetlabs/server/apps/puppetserver/bin/puppetserver /usr/bin/puppetserver
|
||||
# other sys stuff
|
||||
dodir /etc/puppetlabs/code
|
||||
# needed for systemd
|
||||
dodir /var/log/puppetlabs/puppetserver
|
||||
dodir /etc/puppetlabs/puppet/ssl
|
||||
fowners -R puppet:puppet /etc/puppetlabs/puppet/ssl
|
||||
fperms -R 771 /etc/puppetlabs/puppet/ssl
|
||||
# init type tasks
|
||||
newconfd ext/default puppetserver
|
||||
newinitd "${FILESDIR}/puppetserver.initd" puppetserver
|
||||
# systemd type things
|
||||
insinto /etc/systemd/system/puppetserver.service.d/
|
||||
newins ext/default gentoo.conf
|
||||
systemd_dounit ext/redhat/puppetserver.service
|
||||
# misc
|
||||
insinto /etc/logrotate.d
|
||||
newins ext/puppetserver.logrotate.conf puppetserver
|
||||
# cleanup
|
||||
dodir /opt/puppetlabs/server/data/puppetserver/jruby-gems
|
||||
fowners -R puppet:puppet /opt/puppetlabs/server/data
|
||||
fperms -R 775 /opt/puppetlabs/server/data/puppetserver
|
||||
fperms -R 700 /var/log/puppetlabs/puppetserver
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "to install you may want to run the following:"
|
||||
elog
|
||||
elog "puppet config set --section master vardir /opt/puppetlabs/server/data/puppetserver"
|
||||
elog "puppet config set --section master logdir /var/log/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master rundir /run/puppetlabs/puppetserver"
|
||||
elog "puppet config set --section master pidfile /run/puppetlabs/puppetserver/puppetserver.pid"
|
||||
elog "puppet config set --section master codedir /etc/puppetlabs/code"
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="The .iso image of SystemRescueCD rescue disk, x86 (+ amd64) variant"
|
||||
HOMEPAGE="http://www.sysresccd.org/"
|
||||
# Large ISO mirroring explicitly approved by infra in bug #588766
|
||||
SRC_URI="mirror://sourceforge/systemrescuecd/sysresccd-${PN#*-}/${PV}/${P}.iso"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+isohybrid"
|
||||
|
||||
DEPEND="isohybrid? ( >=sys-boot/syslinux-4 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN%-*}"
|
||||
doins "${DISTDIR}/${P}.iso"
|
||||
|
||||
if use isohybrid; then
|
||||
set -- isohybrid -u "${ED}usr/share/${PN%-*}/${P}.iso"
|
||||
echo "${@}"
|
||||
"${@}" || die "${*} failed"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
|
||||
|
||||
# no version newer than ours? we're the newest!
|
||||
if ! has_version ">${CATEGORY}/${PF}"; then
|
||||
ln -f -s -v "${P}.iso" "${f}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
|
||||
|
||||
# if there is no version newer than ours installed
|
||||
if ! has_version ">${CATEGORY}/${PF}"; then
|
||||
# and we are truly and completely uninstalled...
|
||||
if [[ ! ${REPLACED_BY_VERSION} ]]; then
|
||||
# then find an older version to set the symlink to
|
||||
local newest_version=$(best_version "<${CATEGORY}/${PF}")
|
||||
|
||||
if [[ ${newest_version} ]]; then
|
||||
# update the symlink
|
||||
ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
|
||||
else
|
||||
# last version removed? clean up the symlink
|
||||
rm -v "${f}" || die
|
||||
# and the parent directory
|
||||
rmdir "${f%/*}" || die
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST vifm-0.7.2.tar.bz2 468086 SHA256 f95e49a8518dd1acc9b7b750658a98bcf1cb538e25520a5a300b5812108fbc8d SHA512 24a5ad44cecd01f489b95008f0b98ad6cd63656bc7fe4a888101f369f9b258cb87b8025efac30237fbaebc7aff14d173d02118839312017276f3f6b62ea4a3b9 WHIRLPOOL 9c954dbe659e3303315642738bafb962f6f20820af0fe587b3c525ad7a93aca3f9090fe5d2d871a291ce95c9add81f7d717ae5adbdcbe2a58d2889e0bf3e50dc
|
||||
DIST vifm-0.8.1a.tar.bz2 832500 SHA256 974fb2aa5e32d2c729ceff678c595070c701bd30a6ccc5cb6ca64807a9dd4422 SHA512 3cd182fd52b8695468ceb9cb812b9b4e336c42ce101119c8423028403839d8b04fe2ece6d30830325d374cda93a82f0e1d4f427d5095545fa888a991dfcbc714 WHIRLPOOL 48ce3ca228aacfcaf36a80bb4440dbaf038785919aaeb19e1f069aea5b1a5941de4abfdb02cbc797e9848d0d746a1bd2df3e485d38bc1130de920a42fb01ed4c
|
||||
DIST vifm-0.8.2.tar.bz2 892414 SHA256 8b466d766658a24d07fc2039a26fefc6a018f5653684a6035183ca79f02c211f SHA512 e2c9f84b8a24542f7153ef8a27b38ba8c251cb0ded72401f5e93fa92540d51b5c368a73147b9fa4a883dda5f880c1d8585c1b4879d46c0e00dea87eacecfdb25 WHIRLPOOL 26d5ff1249885c3be16d7ea7a09ded43498f60243aa46b5d2b8ed3e0d548b29e305943135bcc50a27cca539a5e3b9e240693b8381bdd9c45737e617641da784c
|
||||
DIST vifm-0.8.tar.bz2 756795 SHA256 69eb6b50dcf462f4233ff987f0b6a295df08a27bc42577ebef725bfe58dbdeeb SHA512 b4727b7a9f577eb05c4e8830849a00759cbeb35457c8fa533136a0a68124312f2bb8c5c21239fbbd34f567ddaca247ede05e48e72b890bb4f15d12adebc23210 WHIRLPOOL 78d030cc9eda292ce75656eedc3ede3e02c87522517d7b7d49f0e993dbfc438a5b5e0dcf8fed531eeb1e045f01d5418d1e7fbc84cb53da800bb54d7ab4a636d7
|
||||
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools vim-doc versionator
|
||||
|
||||
DESCRIPTION="Console file manager with vi(m)-like keybindings"
|
||||
HOMEPAGE="http://vifm.info/"
|
||||
SRC_URI="mirror://sourceforge/vifm/${PF}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~s390 ~x86"
|
||||
IUSE="X developer +extended-keys gtk +magic vim vim-syntax"
|
||||
|
||||
DEPEND="
|
||||
>=sys-libs/ncurses-5.9-r3:0
|
||||
magic? ( sys-apps/file )
|
||||
gtk? ( x11-libs/gtk+:2 )
|
||||
X? ( x11-libs/libX11 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
vim? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
"
|
||||
|
||||
DOCS="AUTHORS FAQ NEWS README TODO"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/stat.h/a#include <sys/sysmacros.h>' "${S}/src/modes/file_info.c" \
|
||||
|| die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable developer) \
|
||||
$(use_enable extended-keys) \
|
||||
$(use_with magic libmagic) \
|
||||
$(use_with gtk) \
|
||||
$(use_with X X11)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall
|
||||
dodoc ${DOCS}
|
||||
|
||||
if use vim; then
|
||||
local t
|
||||
for t in app plugin; do
|
||||
insinto /usr/share/vim/vimfiles/"${t}"
|
||||
doins "${S}"/data/vim/doc/"${t}"/"${PN}"*
|
||||
done
|
||||
fi
|
||||
|
||||
if use vim-syntax; then
|
||||
local t
|
||||
for t in ftdetect ftplugin syntax; do
|
||||
insinto /usr/share/vim/vimfiles/"${t}"
|
||||
doins "${S}"/data/vim/"${t}"/"${PN}".vim
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use vim; then
|
||||
update_vim_helptags
|
||||
|
||||
if [[ -n ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "You don't need to copy or link any files for"
|
||||
elog " the vim plugin and documentation to work anymore."
|
||||
elog "If you copied any vifm files to ~/.vim/ manually"
|
||||
elog " in earlier vifm versions, please delete them."
|
||||
fi
|
||||
elog
|
||||
elog "To use vim in vifm to view the documentation"
|
||||
elog " edit ~/.vifm/vifmrc and set vimhelp instead of novimhelp"
|
||||
elog
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use vim && update_vim_helptags
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST bash-completion-1.3.tar.bz2 211899 SHA256 8ebe30579f0f3e1a521013bcdd183193605dab353d7a244ff2582fb3a36f7bec SHA512 f0c6eb3edce982d1306fdb7ba2cb598c08cff4bde8496fca369b3c4d2d3af0ef48dd494ab96258cc90f30b875a56759aad13a6b1bfb4928bfba4634cce6bf8be WHIRLPOOL 9ea16b019eadcdcf60046b58d2c0f3ab68c189f461842d3d9f585ff25d8ba1bd48bf847868c2cc7e5475320d9c7aeaf21ce74818345c7fe648500549d51f29f8
|
||||
DIST bash-completion-2.1.tar.bz2 265329 SHA256 2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f SHA512 0bc71039ef136b1ccb72527eb40f2ed4068a58dc31b1ac1ee52a40e7c950ea4cfbb4f1bee2f0da6774e56062578fa3653096e6d306eea7f028dd55ff737e92fe WHIRLPOOL 0275d8ac99a0ac5b12637bf2b13561d656b239ba7c166071cb283a481df2fdd904ad1c18608ea35b9af4f0f4db3b034f833f0fd586a0096626d1b268bcd8fc00
|
||||
DIST bash-completion-2.1_p20141224.tar.xz 257964 SHA256 a76ffdbc9f49f48e290f0e6f3d46060d51c770f91e25b35b014bc16fec76f517 SHA512 94649aad8dbf0f170422605a5f36c5cab61e45ce402a92f89a6eba3bd5d2e976087b35cd0a9b6d4d29ba608cee3bb27b692088c884b766447ee9eafa99c2814a WHIRLPOOL 0ea12dfc8f432ffed598aee65c7080de570ebe9783415c7ebe4bd5d152fc645a132fae3a28986c029d13a4b939e15053204d73ae9b207f4ad62b9c117bf59cba
|
||||
DIST bash-completion-2.2.tar.xz 271260 SHA256 4d47531b59e7bd3723b356a3977f85a088666de693d3af86fa0e6909166cdfac SHA512 58121bb281b41d6e353ba1e96c8b1890e34fc59375fffc15161d9222f33bbeb0d8c61feb2b6c027eeb44143f4c8e97dd7ffd8012671027980055ef2caeddf150 WHIRLPOOL b03f0cec12cce3e153307e197aadbb37ed02131bc9d26ece8cf22e9ee37b2fa26e723cbd44534b16b33b9fc3f055029546493d8550a839eacd38ba3fc379b2f5
|
||||
DIST bash-completion-2.3.tar.xz 272252 SHA256 b2e081af317f3da4fff3a332bfdbebeb5514ebc6c2d2a9cf781180acab15e8e9 SHA512 396c060fa39aa05866d26b573d6b9eebdb96e41a17ef723e95f8b01bbda32b0b83bf9e4d978a4f0a1c0590787ae797bb3b6417b95b877f8447037cb873ccf38a WHIRLPOOL fe5ebae1c77dfba504e8f79b130ba0bc80d882a045b980a23f4642e77dfb7bb79b529c1573b13fc0986f486c41696bb94fadef677e0cabfdffe7aeea6e8ff5c0
|
||||
DIST bash-completion-2.4.tar.xz 276148 SHA256 c0f76b5202fec9ef8ffba82f5605025ca003f27cfd7a85115f838ba5136890f6 SHA512 b852e0a38417dfc3754a91dae2d107f99a3c2970d835a4bbaa80f2a4db8d670bc3820ddc6ada26f68070f22fb4c1db7abe50ad489b1c0f8497b1e6e91be27627 WHIRLPOOL f38f148dcbca1ee47ec6fa33637ea0673c03816b607bd638605832fb76ec7fb5f24cba35cb559e8a5b06636b1ec0f225e420615b6721074fc405cb79b505b07b
|
||||
DIST bashcomp-2.0.1.tar.bz2 4078 SHA256 142348b61b32fb3f1580ac90b684b1014d6d177f371baadb503340c507f9a992 SHA512 8ac8982f418a2d71dffcf027ffe0b7eefa3ee49413a726a8ee9e758975d8f86c687a64b55cd94e09b7936d1c6990285ddc90a3c2b1989af44322937c5c4fb8d7 WHIRLPOOL b6daa0a93282e9df73635cbdddde97c473fd22aa3baf035c3ffcb5966152e20b26d85979fe8a5ecf9128157422f3f60dc27c82c843b9a0e6e80b7de7da596250
|
||||
DIST bashcomp-2.0.2.tar.gz 3625 SHA256 6ede58bfbe99f0dca1eb9236492aa20a6755e5731526de56e15d1e2b220165c9 SHA512 46bc1bcc32263135f44be68569459a409250dd2c81c18190735f11e13a26508e9d3cb91d24a8fe7b21bdea678347873b7ac1b67d5e8c78c8444011f85dfdcdce WHIRLPOOL 4b6cb989235d5fed8fd9986c1419ab337df38384fe2b307fd78f08f8696f4a2328845ed4f27913a36e9a544e973690bc0dd2af73816e272c3faf27ff2eafa585
|
||||
|
@ -1,90 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=3
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="Programmable Completion for bash"
|
||||
HOMEPAGE="http://bash-completion.alioth.debian.org/"
|
||||
SRC_URI="http://bash-completion.alioth.debian.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="|| ( app-eselect/eselect-bashcomp <app-admin/eselect-1.3.7 )
|
||||
|| ( >=app-shells/bash-3.2 app-shells/zsh )
|
||||
sys-apps/miscfiles"
|
||||
PDEPEND="app-shells/gentoo-bashcomp"
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/bash-completion.sh-gentoo-1.2 "${T}"/bash-completion.sh || die
|
||||
eprefixify "${T}"/bash-completion.sh
|
||||
|
||||
find completions -name 'Makefile*' -exec rm -f {} +
|
||||
|
||||
# Part of >=sys-apps/util-linux-2.23 wrt #468544
|
||||
rm -f completions/rtcwake
|
||||
}
|
||||
|
||||
src_configure() { :; } # no-op
|
||||
src_compile() { :; } # no-op
|
||||
|
||||
src_install() {
|
||||
# Gentoo specific bash-completion.sh file.
|
||||
insinto /etc/profile.d
|
||||
doins "${T}"/bash-completion.sh || die
|
||||
|
||||
# All files from contrib/ in source package get installed
|
||||
insinto /usr/share/bash-completion
|
||||
doins -r "${S}"/completions/* || die
|
||||
|
||||
awk -v D="$ED" '
|
||||
BEGIN { out=".pre" }
|
||||
/^# A lot of the following one-liners/ { out="base" }
|
||||
/^# start of section containing completion functions called by other functions/ { out=".pre" }
|
||||
/^# start of section containing completion functions for external programs/ { out="base" }
|
||||
/^# source completion directory/ { out="" }
|
||||
/^unset -f have/ { out=".post" }
|
||||
out != "" { print > D"/usr/share/bash-completion/"out }' \
|
||||
bash_completion || die "failed to split bash_completion"
|
||||
|
||||
dodoc AUTHORS CHANGES README TODO || die "dodocs failes"
|
||||
|
||||
# This is backported from upstream 2.0 release. You can stop installing
|
||||
# this file after 2.0 is in Portage and use the one from the tarball
|
||||
# instead.
|
||||
# Installed to datadir instead of libdir because bash-completion(s)
|
||||
# are not ELF files.
|
||||
insinto /usr/share/pkgconfig
|
||||
doins "${FILESDIR}"/bash-completion.pc || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Any user can enable the module completions without editing their"
|
||||
elog ".bashrc by running:"
|
||||
elog
|
||||
elog " eselect bashcomp enable <module>"
|
||||
elog
|
||||
elog "The system administrator can also be enable this globally with"
|
||||
elog
|
||||
elog " eselect bashcomp enable --global <module>"
|
||||
elog
|
||||
elog "Make sure you at least enable the base module! Additional completion"
|
||||
elog "modules can be found by running"
|
||||
elog
|
||||
elog " eselect bashcomp list"
|
||||
elog
|
||||
elog "If you use non-login shells you still need to source"
|
||||
elog "/etc/profile.d/bash-completion.sh in your ~/.bashrc."
|
||||
|
||||
if has_version 'app-shells/zsh' ; then
|
||||
elog "If you are interested in using the provided bash completion functions with"
|
||||
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
|
||||
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
|
||||
elog
|
||||
fi
|
||||
}
|
@ -1,118 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit bash-completion-r1 prefix toolchain-funcs
|
||||
|
||||
DESCRIPTION="Programmable Completion for bash"
|
||||
HOMEPAGE="http://bash-completion.alioth.debian.org/"
|
||||
SRC_URI="http://bash-completion.alioth.debian.org/files/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="|| ( app-eselect/eselect-bashcomp <app-admin/eselect-1.3.7 )
|
||||
|| ( >=app-shells/bash-3.2 app-shells/zsh )
|
||||
sys-apps/miscfiles"
|
||||
PDEPEND="app-shells/gentoo-bashcomp"
|
||||
|
||||
src_prepare() {
|
||||
cp "${FILESDIR}"/bash-completion.sh-gentoo-1.2 "${T}"/bash-completion.sh || die
|
||||
eprefixify "${T}"/bash-completion.sh
|
||||
|
||||
cp "${FILESDIR}"/bash-completion.pc "${T}"/ || die
|
||||
# reuse paths from the eclass -- those can come from pkg-config
|
||||
# or defaults.
|
||||
sed -i \
|
||||
-e "/completionsdir/s@=.*\$@=$(get_bashcompdir)@" \
|
||||
-e "/helpersdir/s@=.*\$@=$(get_bashhelpersdir)@" \
|
||||
-e "/Version/s@1.3@${PV}@" \
|
||||
"${T}"/bash-completion.pc || die
|
||||
|
||||
find -name 'Makefile*' -exec rm -f {} +
|
||||
|
||||
# Part of >=sys-apps/util-linux-2.23 wrt #468544
|
||||
local file
|
||||
for file in cal dmesg eject hexdump hwclock ionice look renice rtcwake; do
|
||||
rm -f completions/${file}
|
||||
done
|
||||
|
||||
# app-editors/vim-core:
|
||||
rm -f completions/xxd
|
||||
|
||||
# net-misc/networkmanager:
|
||||
rm -f completions/nmcli
|
||||
|
||||
# Forward-compatibility with new install location, for eselect-bashcomp.
|
||||
echo "ES_BASHCOMP_DIRS=\"${EPREFIX}/usr/share/bash-completion/completions\"" \
|
||||
> "${T}"/50bash_completion || die
|
||||
}
|
||||
|
||||
src_configure() { :; } # no-op
|
||||
src_compile() { :; } # no-op
|
||||
|
||||
src_install() {
|
||||
# Gentoo specific bash-completion.sh file.
|
||||
insinto /etc/profile.d
|
||||
doins "${T}"/bash-completion.sh
|
||||
|
||||
# All files from contrib/ in source package get installed
|
||||
dobashcomp "${S}"/completions/*
|
||||
|
||||
awk -v D="$ED" '
|
||||
BEGIN { out=".pre" }
|
||||
/^# A lot of the following one-liners/ { out="base" }
|
||||
/^# start of section containing completion functions called by other functions/ { out=".pre" }
|
||||
/^# start of section containing completion functions for external programs/ { out="base" }
|
||||
/^# source completion directory/ { out="" }
|
||||
/^unset -f have/ { out=".post" }
|
||||
out != "" { print > D"/usr/share/bash-completion/"out }' \
|
||||
bash_completion || die "failed to split bash_completion"
|
||||
|
||||
# Note: private eclass stuff, don't use it anywhere else!
|
||||
insinto "$(_bash-completion-r1_get_bashhelpersdir)"
|
||||
doins "${S}"/helpers/*
|
||||
|
||||
dodoc AUTHORS CHANGES README
|
||||
|
||||
# This is backported from upstream 2.0 release. You can stop installing
|
||||
# this file after 2.0 is in Portage and use the one from the tarball
|
||||
# instead.
|
||||
# Installed to datadir instead of libdir because bash-completion(s)
|
||||
# are not ELF files.
|
||||
insinto /usr/share/pkgconfig
|
||||
doins "${T}"/bash-completion.pc
|
||||
|
||||
doenvd "${T}"/50bash_completion
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version "${CATEGORY}/${PN}"; then
|
||||
elog "Any user can enable the module completions without editing their"
|
||||
elog ".bashrc by running:"
|
||||
elog
|
||||
elog " eselect bashcomp enable <module>"
|
||||
elog
|
||||
elog "The system administrator can also be enable this globally with"
|
||||
elog
|
||||
elog " eselect bashcomp enable --global <module>"
|
||||
elog
|
||||
elog "Make sure you at least enable the base module! Additional completion"
|
||||
elog "modules can be found by running"
|
||||
elog
|
||||
elog " eselect bashcomp list"
|
||||
elog
|
||||
elog "If you use non-login shells you still need to source"
|
||||
elog "/etc/profile.d/bash-completion.sh in your ~/.bashrc."
|
||||
fi
|
||||
|
||||
if has_version 'app-shells/zsh' ; then
|
||||
elog "If you are interested in using the provided bash completion functions with"
|
||||
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
|
||||
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
|
||||
elog
|
||||
fi
|
||||
}
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
BASHCOMP_P=bashcomp-2.0.2
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="Programmable Completion for bash"
|
||||
HOMEPAGE="http://bash-completion.alioth.debian.org/"
|
||||
SRC_URI="https://dev.gentoo.org/~mgorny/dist/${P}.tar.xz
|
||||
https://bitbucket.org/mgorny/bashcomp2/downloads/${BASHCOMP_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-shells/bash-4.3_p30-r1
|
||||
sys-apps/miscfiles
|
||||
!app-eselect/eselect-bashcomp"
|
||||
DEPEND="app-arch/xz-utils"
|
||||
PDEPEND=">=app-shells/gentoo-bashcomp-20140911"
|
||||
|
||||
# Remove unwanted completions.
|
||||
STRIP_COMPLETIONS=(
|
||||
# Slackware package stuff, quite generic names cause collisions
|
||||
# (e.g. with sys-apps/pacman)
|
||||
explodepkg installpkg makepkg pkgtool removepkg upgradepkg
|
||||
|
||||
# Debian/Red Hat network stuff
|
||||
ifdown ifup ifstatus
|
||||
|
||||
# Installed in app-editors/vim-core
|
||||
xxd
|
||||
|
||||
# Now-dead symlinks to deprecated completions
|
||||
hd ncal
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
epatch "${WORKDIR}/${BASHCOMP_P}/${P}"-*.patch
|
||||
# Bug 543100
|
||||
epatch "${FILESDIR}/${PN}-2.1-escape-characters.patch"
|
||||
}
|
||||
|
||||
src_test() { :; } # Skip testsuite because of interactive shell wrt #477066
|
||||
|
||||
src_install() {
|
||||
# work-around race conditions, bug #526996
|
||||
mkdir -p "${ED}"/usr/share/bash-completion/{completions,helpers} || die
|
||||
|
||||
emake DESTDIR="${D}" profiledir="${EPREFIX}"/etc/bash/bashrc.d install
|
||||
|
||||
local file
|
||||
for file in "${STRIP_COMPLETIONS[@]}"; do
|
||||
rm "${ED}"/usr/share/bash-completion/completions/${file} || die
|
||||
done
|
||||
# remove deprecated completions (moved to other packages)
|
||||
rm "${ED}"/usr/share/bash-completion/completions/_* || die
|
||||
|
||||
dodoc AUTHORS CHANGES README
|
||||
|
||||
# install the eselect module
|
||||
insinto /usr/share/eselect/modules
|
||||
doins "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect"
|
||||
doman "${WORKDIR}/${BASHCOMP_P}/bashcomp.eselect.5"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local v
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least 2.1-r90 ${v}; then
|
||||
ewarn "For bash-completion autoloader to work, all completions need to"
|
||||
ewarn "be installed in /usr/share/bash-completion/completions. You may"
|
||||
ewarn "need to rebuild packages that installed completions in the old"
|
||||
ewarn "location. You can do this using:"
|
||||
ewarn
|
||||
ewarn "$ find ${EPREFIX}/usr/share/bash-completion -maxdepth 1 -type f '!' -name 'bash_completion' -exec emerge -1v {} +"
|
||||
ewarn
|
||||
ewarn "After the rebuild, you should remove the old setup symlinks:"
|
||||
ewarn
|
||||
ewarn "$ find ${EPREFIX}/etc/bash_completion.d -type l -delete"
|
||||
fi
|
||||
done
|
||||
|
||||
if has_version 'app-shells/zsh'; then
|
||||
elog
|
||||
elog "If you are interested in using the provided bash completion functions with"
|
||||
elog "zsh, valuable tips on the effective use of bashcompinit are available:"
|
||||
elog " http://www.zsh.org/mla/workers/2003/msg00046.html"
|
||||
elog
|
||||
fi
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
prefix=/usr
|
||||
compatdir=/etc/bash_completion.d
|
||||
completionsdir=${prefix}/share/bash-completion
|
||||
helpersdir=${prefix}/share/bash-completion/helpers
|
||||
|
||||
Name: bash-completion
|
||||
Description: programmable completion for the bash shell
|
||||
URL: http://bash-completion.alioth.debian.org/
|
||||
Version: 1.3
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License, v2 or later
|
||||
# $Id$
|
||||
|
||||
# Check for interactive bash and that we haven't already been sourced.
|
||||
[ -z "$BASH_VERSION" -o -z "$PS1" -o -n "$BASH_COMPLETION" ] && return
|
||||
|
||||
# Check for recent enough version of bash.
|
||||
bash=${BASH_VERSION%.*}; bmajor=${bash%.*}; bminor=${bash#*.}
|
||||
if [ $bmajor -gt 3 ] || [ $bmajor -eq 3 -a $bminor -ge 2 ]; then
|
||||
_load_completions() {
|
||||
declare f x loaded_pre=false
|
||||
for f; do
|
||||
if [[ -f $f ]]; then
|
||||
# Prevent loading base twice, initially and via glob
|
||||
if $loaded_pre && [[ $f == */base ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
# Some modules, including base, depend on the definitions
|
||||
# in .pre. See the ebuild for how this is created.
|
||||
if ! $loaded_pre; then
|
||||
if [[ ${BASH_COMPLETION-unset} == unset ]]; then
|
||||
BASH_COMPLETION="@GENTOO_PORTAGE_EPREFIX@/usr/share/bash-completion/base"
|
||||
fi
|
||||
source "@GENTOO_PORTAGE_EPREFIX@/usr/share/bash-completion/.pre"
|
||||
loaded_pre=true
|
||||
fi
|
||||
|
||||
source "$f"
|
||||
fi
|
||||
done
|
||||
|
||||
# Clean up
|
||||
$loaded_pre && source "@GENTOO_PORTAGE_EPREFIX@/usr/share/bash-completion/.post"
|
||||
unset -f _load_completions # not designed to be called more than once
|
||||
}
|
||||
|
||||
# 1. Load base, if eselected. This was previously known as
|
||||
# /etc/bash_completion
|
||||
# 2. Load completion modules, maintained via eselect bashcomp --global
|
||||
# 3. Load user completion modules, maintained via eselect bashcomp
|
||||
# 4. Load user completion file last, overrides modules at user discretion
|
||||
# This order is subject to change once upstream decides on something.
|
||||
_load_completions \
|
||||
"@GENTOO_PORTAGE_EPREFIX@/etc/bash_completion.d/base" \
|
||||
~/.bash_completion.d/base \
|
||||
"@GENTOO_PORTAGE_EPREFIX@/etc/bash_completion.d/"* \
|
||||
~/.bash_completion.d/* \
|
||||
~/.bash_completion
|
||||
fi
|
||||
unset bash bmajor bminor
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit vim-plugin
|
||||
|
||||
DESCRIPTION="vim plugin: XQuery syntax highlighting"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=803"
|
||||
|
||||
LICENSE="vim.org"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
VIM_PLUGIN_HELPTEXT=\
|
||||
"This plugin provides syntax highlighting for XQuery files."
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# use hi def link. Bug #101788, bug #101804.
|
||||
sed -i -e 's,^hi\(ghlight\)\? link,hi def link,' syntax/xquery.vim \
|
||||
|| die "sed failed"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST libjson-rpc-cpp-0.5.0.tar.gz 124494 SHA256 e6d8d6c20517bb38eba9dba7f372e0a95432c4cbf55ec9b136ba841faa0a6d99 SHA512 9929f76899186f62d3201d3c884a4557e3bd55acfe0533b9a0cf543e01e6d2e5972239df7425c1a43bd59fd205261b91796fdaa1ab54b55cb5765250e473d2d4 WHIRLPOOL 95b51bdfd86e63e84556c490281829d211d937cb30a503b863180cac4a2a0894eb03ed931511e9336903f1ddad6b899921e1e09663af9cc0e5739569ddc14472
|
||||
DIST libjson-rpc-cpp-0.6.0.tar.gz 130091 SHA256 98baf15e51514339be54c01296f0a51820d2d4f17f8c9d586f1747be1df3290b SHA512 8ad4e30b9ff8b53bde1671067ef6108d0a26a40d3925b2002c2aad9d66a17a51b1ea23b7ce278bcb56a992ff4c9a4616494d62dfe992c7db38341b449e88c777 WHIRLPOOL 0d6b75a29f84386086f070bb1a40e45d02f19dee567c9bd492d61aff84b470aed4d0b83879cfddb13e5109ad5d57a055f9b23b66016eb4319ed7dacd89da8474
|
||||
DIST libjson-rpc-cpp-0.7.0.tar.gz 141665 SHA256 669c2259909f11a8c196923a910f9a16a8225ecc14e6c30e2bcb712bab9097eb SHA512 f7547271040382cd2ac96a31eb81d891b016e4d0c33a3ba3e659c2de2e55136e7e243dd2d959c6d8a64ccba7ebd9f9e28070d710a6770c29f81c0750ffad9e3a WHIRLPOOL b54121c95f47654a36623c4267a22f4d563bc6f863b2df205b1ea4142a8230e64e5fc0725f8e8cef7d79abdfdad5de118464993b6b503ff2cec9f4e077014201
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="JSON-RPC (1.0 & 2.0) framework for C++"
|
||||
HOMEPAGE="https://github.com/cinemast/libjson-rpc-cpp"
|
||||
SRC_URI="https://github.com/cinemast/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc +http-client +http-server +stubgen test"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/jsoncpp:=
|
||||
http-client? ( net-misc/curl:= )
|
||||
http-server? ( net-libs/libmicrohttpd:= )
|
||||
stubgen? ( dev-libs/argtable:= )"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
test? ( dev-cpp/catch )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DHTTP_CLIENT=$(usex http-client)
|
||||
-DHTTP_SERVER=$(usex http-server)
|
||||
# they are not installed
|
||||
-DCOMPILE_EXAMPLES=OFF
|
||||
-DCOMPILE_STUBGEN=$(usex stubgen)
|
||||
-DCOMPILE_TESTS=$(usex test)
|
||||
-DCATCH_INCLUDE_DIR="${EPREFIX}/usr/include/catch"
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake-utils_src_compile
|
||||
|
||||
use doc && emake -C "${BUILD_DIR}" doc
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
use doc && dodoc -r "${BUILD_DIR}"/doc/html
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST check-0.10.0.tar.gz 769119 SHA256 f5f50766aa6f8fe5a2df752666ca01a950add45079aa06416b83765b1cf71052 SHA512 82103a98382c41cf16f172ded66c0399d3da6eceb6728aab11120c028e8796f6d545a98dc4aa5f76ee68c0bfd1f842a4dd371f5d670c8ba84ce4209812bf1ac5 WHIRLPOOL d3399a2500a4a1f6fa8865fe75af67e98a22587edd2525d144f4f403dd313cc59b7622cd77cfd885b9e3dfd737e2bef5366d28062b2975c882ffac6253b02b29
|
||||
DIST check-0.9.11.tar.gz 691146 SHA256 ea4e8c7ffb00bb4ffb3f59f11744a71f1cc4212c79f3083c7d9a4b0953976936 SHA512 10883709463b76f6650197db989c348d9d07ccaa2cacc0bd6bd177bbcc1e9e0d88746c2e110e620ab18c23cb5f41b95797d60d77de279af1a810a42b355b742e WHIRLPOOL 9559104a68b2f1215e9b00affb4711a69bf3e4e94e0ec894de66f0f77b5637187bb183560e29d0a889ff04d0e07f2785fc407128dee1ba74d584ce9a0ff9a3b1
|
||||
DIST check-0.9.12.tar.gz 730404 SHA256 c7d47e55e133a0ca19a52e08a99333ac55cb22618b53719b7f4117a1875b1ea3 SHA512 698e6cfdf24b07340fb4fa77f49811053f8307d3baca8bdcdde5e3dfe1f910bbadb6a393f03020d8b18c22e7e164d40f6bbbeb9659908b0df8459e5c4850fa50 WHIRLPOOL 4994c444532e1337bcda5e632d532ffd6aae59de866009b5bce3d1f25988dd203d04136dd451b6d24c6e32775159772d1c98097ff618a5cc559fca9725ad18ed
|
||||
DIST check-0.9.13.tar.gz 752880 SHA256 ca6589c34f9c60ffd4c3e198ce581e944a9f040ca9352ed54068dd61bebb5cb7 SHA512 a0ff64110c52fd600a8a956c2d56589e6e65ff0072b34f33e0299b4f9a2ac0a93a330b0c8cbf3645c02d0c9c748c71704bd3a8825eec22eb2f22ad99bcffa551 WHIRLPOOL 9f7f42ca4106deabe57051e84cec4f0a838847c45308baaf8cb4441e30667016fa95b1b2705b42dc494af8e9a22aea5d6733de71cd99ec0025652da53756275d
|
||||
DIST check-0.9.8.tar.gz 558943 SHA256 82acf956bb07584ffea2bf04d5989fe939c3e74ecf93133a21037fd0f7996a7f SHA512 a8ef659411c18f8af77006a51fe14741b990e7486c3e5c1e97cd2a100a603483ba9854c2f23bd9a5e834e133ca0dcc3ae15f41856339ab3b82a75ad769a872a2 WHIRLPOOL fdc06bd44f041153f655c577c55825afb2d2b79ff066427cd224b5a6d351f9da076d39807f434d2e22e1b6b54c6bc774744c8210dc318e493b9241bb5d7ded84
|
||||
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
|
||||
|
||||
inherit autotools autotools-multilib eutils
|
||||
|
||||
DESCRIPTION="A unit test framework for C"
|
||||
HOMEPAGE="https://sourceforge.net/projects/check/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs subunit"
|
||||
|
||||
DEPEND="subunit? ( dev-python/subunit )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.9.10-AM_PATH_CHECK.patch
|
||||
|
||||
sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
|
||||
|
||||
# fix out-of-sourcedir build having inconsistent check.h files, for
|
||||
# example breaks USE=subunit.
|
||||
rm src/check.h || die
|
||||
|
||||
# Fix automake warnings being treated as errors, bug #420373
|
||||
sed -i -e s/-Werror// configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-dependency-tracking
|
||||
$(use_enable subunit)
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
|
||||
|
||||
inherit autotools autotools-multilib eutils
|
||||
|
||||
DESCRIPTION="A unit test framework for C"
|
||||
HOMEPAGE="https://sourceforge.net/projects/check/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs subunit"
|
||||
|
||||
DEPEND="subunit? ( >=dev-python/subunit-0.0.10-r1[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
# See multilib_src_test(), disable sleep()-based tests because they
|
||||
# just take a long time doing pretty much nothing.
|
||||
export CPPFLAGS="-DTIMEOUT_TESTS_ENABLED=0 ${CPPFLAGS}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
|
||||
|
||||
# fix out-of-sourcedir build having inconsistent check.h files, for
|
||||
# example breaks USE=subunit.
|
||||
rm src/check.h || die
|
||||
|
||||
# Fix automake warnings being treated as errors, bug #420373
|
||||
sed -i -e s/-Werror// configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-dependency-tracking
|
||||
$(use_enable subunit)
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
elog "-DTIMEOUT_TESTS_ENABLED=0 has been prepended to CPPFLAGS. To run the"
|
||||
elog "entire testsuite for dev-libs/check, ensure that"
|
||||
elog "-DTIMEOUT_TESTS_ENABLED=1 is in your CPPFLAGS."
|
||||
default_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
||||
}
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
|
||||
|
||||
inherit autotools autotools-multilib eutils
|
||||
|
||||
DESCRIPTION="A unit test framework for C"
|
||||
HOMEPAGE="https://sourceforge.net/projects/check/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs subunit"
|
||||
|
||||
DEPEND="subunit? ( dev-python/subunit )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
# See multilib_src_test(), disable sleep()-based tests because they
|
||||
# just take a long time doing pretty much nothing.
|
||||
export CPPFLAGS="-DTIMEOUT_TESTS_ENABLED=0 ${CPPFLAGS}"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
|
||||
|
||||
# fix out-of-sourcedir build having inconsistent check.h files, for
|
||||
# example breaks USE=subunit.
|
||||
rm src/check.h || die
|
||||
|
||||
# Fix automake warnings being treated as errors, bug #420373
|
||||
sed -i -e s/-Werror// configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
--disable-dependency-tracking
|
||||
$(use_enable subunit)
|
||||
--docdir="${EPREFIX}"/usr/share/doc/${PF}
|
||||
)
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
elog "-DTIMEOUT_TESTS_ENABLED=0 has been prepended to CPPFLAGS. To run the"
|
||||
elog "entire testsuite for dev-libs/check, ensure that"
|
||||
elog "-DTIMEOUT_TESTS_ENABLED=1 is in your CPPFLAGS."
|
||||
default_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
autotools-multilib_src_install
|
||||
dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/COPYING* || die
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib multilib-minimal
|
||||
|
||||
DESCRIPTION="libpcre.so.3 symlink for compatibility with Debian"
|
||||
HOMEPAGE="http://www.pcre.org/"
|
||||
LICENSE="BSD"
|
||||
SLOT="3"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-libs/libpcre:${SLOT}[${MULTILIB_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
multilib_src_install() {
|
||||
dosym $(multilib_is_native_abi || echo /usr)/$(get_libdir)/libpcre.so.1 \
|
||||
/usr/$(get_libdir)/debiancompat/libpcre.so.3
|
||||
}
|
@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>chewi@gentoo.org</email>
|
||||
<name>James Le Cuirot</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST mingw-libgnurx-2.5.1-src.tar.gz 125941 SHA256 7147b7f806ec3d007843b38e19f42a5b7c65894a57ffc297a76b0dcd5f675d76 SHA512 b86e5580b82ac17c68c0d2c7239a4e4d59310d357f599c4c4688e605b2f2209a40f8affce85bfd30fa2edde9ced482c433eba07b5b5adf068cd56dbf94224ba3 WHIRLPOOL a8570b9a13307e27d9fc375d41402e13c9557d995e731c6b39c993f0305d02e3dbb10f74bb19463cc48852fc05244c46c90f3356ece06dc930e3815cb3a81b08
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="GNU regex library ripped out of glibc for use with mingw apps"
|
||||
HOMEPAGE="http://mingw.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/mingw/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="static-libs"
|
||||
|
||||
# Installs regex.h which most C libs provide.
|
||||
RDEPEND="!sys-libs/glibc
|
||||
!sys-libs/uclibc
|
||||
!sys-libs/musl"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Refresh the autotools to modern ones as the bundled ones are ancient.
|
||||
rm aclocal.m4
|
||||
cat <<EOF >configure.ac
|
||||
AC_INIT(libgnurx, ${PV})
|
||||
AM_INIT_AUTOMAKE
|
||||
LT_INIT([dlopen win32-dll])
|
||||
AC_OUTPUT([Makefile])
|
||||
EOF
|
||||
cat <<EOF >Makefile.am
|
||||
include_HEADERS = regex.h
|
||||
lib_LTLIBRARIES = libgnurx.la
|
||||
libgnurx_la_SOURCES = regex.c
|
||||
libgnurx_la_LDFLAGS = -no-undefined -version-info 0:0:0 -export-dynamic
|
||||
EOF
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
OASIS_BUILD_DOCS=1
|
||||
|
||||
inherit oasis eutils
|
||||
|
||||
DESCRIPTION="Module which offers basic control of ANSI compliant terminals"
|
||||
HOMEPAGE="https://github.com/Chris00/ANSITerminal"
|
||||
SRC_URI="https://github.com/Chris00/ANSITerminal/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="LGPL-3-with-linking-exception"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
RDEPEND=""
|
||||
DEPEND="${DEPEND} dev-ml/oasis"
|
||||
IUSE=""
|
||||
|
||||
DOCS=( "README.txt" "AUTHORS.txt" )
|
||||
|
||||
src_prepare() {
|
||||
oasis setup || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ANSITerminal-0.6.5.tar.gz 52473 SHA256 26874e1bd737f803f84acdc2256b48c76c88bea12c0ce06172db8428367533c9 SHA512 43a059cc2a947a70409e19b8c6d01e1b5aa495290967f984a6d707e5ff329dd88e82ba68e08b6262da4a19bb24be2e61154fcf8781ee5cbad98240276d7b060d WHIRLPOOL cefe7f713ff06df0a5ecf583a53e4d2efc75e041c980e20768eab9c54dd26e3865bb60851034a96e795e41174b884b50cf43f0771c4b2a8c376e2ec8b8a9a187
|
||||
DIST ANSITerminal-0.7.tar.gz 16763 SHA256 0ce1b3089fdab267a67f2efc840d4438ed3fb27c94b832805617fc7f09930585 SHA512 986f9d7fd862741ac7039cbd92c19b847d7b2d03edfb2d0851fe46ecc9678bf4617d1e687a61af3d3b28e2cfe347a80312f9bf5c84f957de0d6c169ca4209566 WHIRLPOOL d48fd7248a5ed57ba233f14c69eb811baf4546c294ca04e5074c88c1fda95e27c60913aa2a7b43b866911cd1ac73d9da00b3e3ba120fa6c2bc31d42a8ed9b6a6
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST dose3-4.2.tar.gz 281555 SHA256 ed37414baded4a175b47d4e2856c1e827fc7fb9939cc9e176a1d46e5048d8526 SHA512 d64443899f874254834165c44d0400eff5fa80e1d1d41f76b94fbb11ae0b34aa75dcbb8cc9a5e510e2f91d147e11391f36c45ef0fb24536fffcfc68d686c5fa1 WHIRLPOOL cce3baa6dfe922a3b04e8683aea785bbfd3050a70a0c0b533457fe41f274eca1e62343bca34e08307e9818252d09c2d6b24b4b2fb0efb1321fd38fd478b7428e
|
||||
DIST dose3-4.3.tar.gz 293844 SHA256 269dd817d7130ae9289eab2aea540a7f1f00ceac6644320cf8119dc5b597b6e4 SHA512 96e0ef2d884214efc4cf140582d9fedc15b1fe33d21b6b23309cd2d745bafd5871b58b0234fb0b76711bcd07087d04f07fabd1c2c1c757157c9e50b90931357d WHIRLPOOL 4cb42a3b2bd63aca1d0270a62ea7d2a174e7c4bd389109071e80167b4218676919c69fd5f19d4c63fbd186cb62c239155e8dadcb2145b08ac24579e031d4419f
|
||||
DIST dose3-5.0.1.tar.gz 297433 SHA256 558af92b0ec5dd219e67802c95a850cab9582df381bddd2cfe431049aaf3db03 SHA512 e66526319446054041f138ee2633043d0832089f6a554cf566a28de899d10383acfb1aa6bf1a368811602939676510933a7d2404fd34dbeba15045b458f5af84 WHIRLPOOL d8f3e58841b73c4b33f5e308c428778d1040e12b1394d6eb4f934f61ae321d4805485b0182362fec8ecb95500d180580df6fb27585aec1fe5e38f9d6da72e1cd
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_P="${P/_beta/-beta}"
|
||||
DESCRIPTION="Library and a collection of tools to perform la large spectrum of analysis on package repositories"
|
||||
HOMEPAGE="http://www.mancoosi.org/software/ https://gforge.inria.fr/projects/dose"
|
||||
SRC_URI="https://gforge.inria.fr/frs/download.php/file/36063/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ocamlopt parmap zip bzip2 xml curl rpm4 test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-3.12:=[ocamlopt?]
|
||||
dev-ml/cudf:=
|
||||
>=dev-ml/extlib-1.7.0:=
|
||||
dev-ml/ocaml-re:=
|
||||
dev-ml/cppo:=
|
||||
parmap? ( dev-ml/parmap:= )
|
||||
zip? ( dev-ml/camlzip:= )
|
||||
bzip2? ( dev-ml/camlbz2:= )
|
||||
>=dev-ml/ocamlgraph-1.8.6:=
|
||||
xml? ( dev-ml/ocaml-expat:= dev-ml/xml-light:= )
|
||||
curl? ( dev-ml/ocurl:= )
|
||||
rpm4? ( app-arch/rpm )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ml/findlib
|
||||
dev-ml/ocamlbuild
|
||||
test? ( dev-python/pyyaml[libyaml] )
|
||||
"
|
||||
# missing test data
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's/INSTALLOPTS=-s/INSTALLOPTS=/' -i Makefile.config.in || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use ocamlopt || echo "--with-bytecodeonly") \
|
||||
$(use parmap && echo "--with-parmap") \
|
||||
$(use zip && echo "--with-zip") \
|
||||
$(use bzip2 && echo "--with-bz2") \
|
||||
$(use xml && echo "--with-xml") \
|
||||
$(use curl && echo "--with-curl") \
|
||||
$(use rpm4 && echo "--with-rpm4")
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" BINDIR="${ED}/usr/bin" install || die
|
||||
dodoc CHANGES CREDITS README.architecture TODO
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
commit f157a5b913451b85e8cfe7549c66e5c98669233b
|
||||
Author: Vasilis Papavasileiou <git@vasilis.airpost.net>
|
||||
Date: Wed Mar 2 14:23:02 2016 +0100
|
||||
|
||||
Compile against Camlp4 4.02+7
|
||||
|
||||
diff --git a/src/syntax/pa_eliom_seed.ml b/src/syntax/pa_eliom_seed.ml
|
||||
index c101ff8..dc31caa 100644
|
||||
--- a/src/syntax/pa_eliom_seed.ml
|
||||
+++ b/src/syntax/pa_eliom_seed.ml
|
||||
@@ -632,8 +632,26 @@ module Register(Id : sig val name: string end)(Pass : Pass) = struct
|
||||
| None ->
|
||||
Printf.ksprintf (Syntax_error.raise loc) fmt
|
||||
|
||||
- module E2 = Camlp4.ErrorHandler.Register(Syntax_error)
|
||||
- DELETE_RULE Gram expr: "{"; TRY [label_expr_list; "}"] END;
|
||||
+ module E2 = Camlp4.ErrorHandler.Register(Syntax_error) ;;
|
||||
+
|
||||
+ try
|
||||
+ DELETE_RULE Gram expr: "{"; TRY [label_expr_list; "}"] END
|
||||
+ with Camlp4.Struct.Grammar.Delete.Rule_not_found _ ->
|
||||
+ (let test_record_field =
|
||||
+ Gram.Entry.of_parser "record_field" (fun strm ->
|
||||
+ let rec loop = function
|
||||
+ | [] -> ()
|
||||
+ | (UIDENT _, _) :: (KEYWORD ".", _) :: rest -> loop rest
|
||||
+ | (LIDENT _, _) :: (KEYWORD "=", _) :: _ -> ()
|
||||
+ | (LIDENT _, _) :: (KEYWORD ";", _) :: _ -> ()
|
||||
+ | [LIDENT _, _] -> ()
|
||||
+ | _ -> raise Stream.Failure
|
||||
+ in
|
||||
+ loop (Stream.npeek 100 strm))
|
||||
+ in
|
||||
+ DELETE_RULE Gram expr:
|
||||
+ "{"; test_record_field; label_expr_list; "}" END) ;;
|
||||
+
|
||||
DELETE_RULE Gram expr: "{"; TRY [expr LEVEL "."; "with"]; label_expr_list; "}" END;
|
||||
|
||||
(* Extending syntax *)
|
||||
@@ -812,7 +830,7 @@ module Register(Id : sig val name: string end)(Pass : Pass) = struct
|
||||
expr: LEVEL "simple"
|
||||
|
||||
[ [ KEYWORD "{"; lel = TRY [lel = label_expr_list; "}" -> lel] ->
|
||||
- <:expr< { $lel$ } >>
|
||||
+ Ast.ExRec (_loc, lel, Ast.ExNil _loc)
|
||||
| KEYWORD "{shared#";
|
||||
typ = TRY [ typ = OPT ctyp; KEYWORD "{" -> typ];
|
||||
opt_lvl = dummy_set_level_shared_value_expr ;
|
@ -0,0 +1,37 @@
|
||||
Index: eliom-5.0.0/src/lib/eliom_lib.client.mli
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/lib/eliom_lib.client.mli
|
||||
+++ eliom-5.0.0/src/lib/eliom_lib.client.mli
|
||||
@@ -43,7 +43,6 @@ type 'a shared_value = 'a
|
||||
|
||||
val create_shared_value : 'a -> 'a client_value -> 'a shared_value
|
||||
|
||||
-exception Eliom_Internal_Error of string
|
||||
|
||||
(** This exception is raised (in Lwt) on the client if a call to a
|
||||
server function {% <<a_api subproject="server"|val
|
||||
Index: eliom-5.0.0/src/lib/eliom_lib.server.mli
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/lib/eliom_lib.server.mli
|
||||
+++ eliom-5.0.0/src/lib/eliom_lib.server.mli
|
||||
@@ -50,7 +50,6 @@ type +'a shared_value
|
||||
*)
|
||||
exception Client_value_creation_invalid_context of string
|
||||
|
||||
-exception Eliom_Internal_Error of string
|
||||
|
||||
type file_info = Ocsigen_extensions.file_info
|
||||
|
||||
Index: eliom-5.0.0/src/syntax/pa_include.ml
|
||||
===================================================================
|
||||
--- eliom-5.0.0.orig/src/syntax/pa_include.ml
|
||||
+++ eliom-5.0.0/src/syntax/pa_include.ml
|
||||
@@ -27,7 +27,7 @@ module Make(Syntax : Camlp4.Sig.Camlp4Sy
|
||||
class subst_type env = object (self)
|
||||
inherit Ast.map as super
|
||||
method sig_item si = match si with
|
||||
- | Ast.SgTyp (_loc, (Ast.TyDcl (_, lid, _, Ast.TyNil _, _)))
|
||||
+ | Ast.SgTyp (_loc, rf, (Ast.TyDcl (_, lid, _, Ast.TyNil _, _)))
|
||||
when List.mem_assoc lid env -> <:sig_item< >>
|
||||
| si -> super#sig_item si
|
||||
method ctyp ty = match ty with
|
File diff suppressed because it is too large
Load Diff
@ -1,2 +1,3 @@
|
||||
DIST lablgtk-2.18.3.tar.gz 788177 SHA256 975bebf2f9ca74dc3bf7431ebb640ff6a924bb80c8ee5f4467c475a7e4b0cbaf SHA512 b455761cef742579449a46f98bf807732cc6b5384cbccf6d4eca940e351ccb5cbd464e0d81cda2884277b45a8f223838de44cb49878e2f602183c963cdb0defe WHIRLPOOL 4c6bfcdf8a4fdc7e27014bd9c553942d03caf4e25f420ee6018eeb19d20cb6a5a8c6bb00eabf7fda80abe6b9c727b2c5d64641d8f9036c943276406836c87c03
|
||||
DIST lablgtk-2.18.4.tar.gz 800059 SHA256 b316ae0b92e760c1ab0d1bdeaa0a3c2a6ab14face5a0fe2b93445be3a3d013c0 SHA512 8b400f6467929ee433541e9649bf0301be2c851c9bdbaf3f001fe2bf2e1ee755a6dbc541b8e0b571d567ee8c8a997323aeb731d6f73a54b1594977237ff76d25 WHIRLPOOL cec155ca6ae3e0829bde006f209110529697e856f758ed6aa7183f455dc58674a77cf8e9bab81ef7ce6d6f4511d7c49841a669fa53ec6eab2a22755ee7f99c9a
|
||||
DIST lablgtk-2.18.5.tar.gz 808005 SHA256 2bf251db21c077fdd26c035ea03edd8fe609187f908e520e87a8ffdd9c36d233 SHA512 7b6ba1a4dfa82cc3bbc502082ff4fccc23cc06ee4f30d01a2e423f3f99e945a4befe450d230b5aa19c5b810e9f46f2838655099d49da2db7c8a2e52eac213024 WHIRLPOOL 009e1fd2a048f6833ac1d745b5fee5d618b9729fa8c73d29f7bd67b6bd5f8a9b81c361ceb69626afe6a3a09b84b98ccbf0a19e9add0329a50a8ebfbcfdaf7b85
|
||||
|
@ -0,0 +1,83 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib findlib
|
||||
|
||||
IUSE="debug examples glade gnomecanvas sourceview +ocamlopt opengl spell svg"
|
||||
|
||||
DESCRIPTION="Objective CAML interface for Gtk+2"
|
||||
HOMEPAGE="http://lablgtk.forge.ocamlcore.org/"
|
||||
SRC_URI="https://forge.ocamlcore.org/frs/download.php/1627/${P}.tar.gz"
|
||||
LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.10:2
|
||||
>=dev-lang/ocaml-3.10:=[ocamlopt?]
|
||||
svg? ( >=gnome-base/librsvg-2.2:2 )
|
||||
glade? ( >=gnome-base/libglade-2.0.1 )
|
||||
gnomecanvas? ( >=gnome-base/libgnomecanvas-2.2 )
|
||||
opengl? ( >=dev-ml/lablgl-0.98:=
|
||||
>=x11-libs/gtkglarea-1.9:2 )
|
||||
spell? ( app-text/gtkspell:2 )
|
||||
sourceview? ( x11-libs/gtksourceview:2.0 )
|
||||
dev-ml/camlp4:=
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
SLOT="2/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
|
||||
src_configure() {
|
||||
econf $(use_enable debug) \
|
||||
$(use_with svg rsvg) \
|
||||
$(use_with glade) \
|
||||
--without-gnomeui \
|
||||
--without-panel \
|
||||
$(use_with opengl gl) \
|
||||
$(use_with spell gtkspell) \
|
||||
--without-gtksourceview \
|
||||
$(use_with sourceview gtksourceview2) \
|
||||
$(use_with gnomecanvas)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 all
|
||||
if use ocamlopt; then
|
||||
emake -j1 opt
|
||||
fi
|
||||
}
|
||||
|
||||
install_examples() {
|
||||
insinto /usr/share/doc/${P}/examples
|
||||
doins examples/*.ml examples/*.rgb examples/*.png examples/*.xpm
|
||||
|
||||
# Install examples for optional components
|
||||
use gnomecanvas && insinto /usr/share/doc/${PF}/examples/canvas && doins examples/canvas/*.ml examples/canvas/*.png
|
||||
use svg && insinto /usr/share/doc/${PF}/examples/rsvg && doins examples/rsvg/*.ml examples/rsvg/*.svg
|
||||
use glade && insinto /usr/share/doc/${PF}/examples/glade && doins examples/glade/*.ml examples/glade/*.glade*
|
||||
use sourceview && insinto /usr/share/doc/${PF}/examples/sourceview && doins examples/sourceview/*.ml examples/sourceview/*.lang
|
||||
use opengl && insinto /usr/share/doc/${PF}/examples/GL && doins examples/GL/*.ml
|
||||
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
}
|
||||
|
||||
src_install () {
|
||||
findlib_src_preinst
|
||||
export OCAMLPATH="${OCAMLFIND_DESTDIR}"
|
||||
emake install DESTDIR="${D}"
|
||||
|
||||
rm -f "${ED}/usr/$(get_libdir)/ocaml/ld.conf"
|
||||
|
||||
dodoc CHANGES README CHANGES.API
|
||||
use examples && install_examples
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
if use examples; then
|
||||
elog "To run the examples you can use the lablgtk2 toplevel."
|
||||
elog "e.g: lablgtk2 /usr/share/doc/${PF}/examples/testgtk.ml"
|
||||
fi
|
||||
}
|
@ -1,84 +0,0 @@
|
||||
commit 0893920618cec4885b1633fd2f81de84e7a8be72
|
||||
Author: Gerd Stolpmann <gerd@gerd-stolpmann.de>
|
||||
Date: Sun May 1 13:24:22 2016 +0200
|
||||
|
||||
Fixes for building against OCaml-4.03
|
||||
|
||||
diff --git a/code/src/equeue/uq_engines_compat.ml b/code/src/equeue/uq_engines_compat.ml
|
||||
index 512811a..e779410 100644
|
||||
--- a/code/src/equeue/uq_engines_compat.ml
|
||||
+++ b/code/src/equeue/uq_engines_compat.ml
|
||||
@@ -7,7 +7,8 @@ class type server_socket_acceptor = server_endpoint_acceptor
|
||||
class type client_socket_connector = client_endpoint_connector
|
||||
|
||||
|
||||
-exception Mem_not_supported = Uq_multiplex.Mem_not_supported
|
||||
+(* exception Mem_not_supported = Uq_multiplex.Mem_not_supported *)
|
||||
+(* already included from Uq_engines *)
|
||||
|
||||
let create_multiplex_controller_for_connected_socket =
|
||||
Uq_multiplex.create_multiplex_controller_for_connected_socket
|
||||
diff --git a/code/src/netstring/netasn1.ml b/code/src/netstring/netasn1.ml
|
||||
index 05d5d3a..4cada35 100644
|
||||
--- a/code/src/netstring/netasn1.ml
|
||||
+++ b/code/src/netstring/netasn1.ml
|
||||
@@ -437,7 +437,7 @@ module Value = struct
|
||||
let hour = int_of_string (Netstring_str.matched_group m 4 s) in
|
||||
let minute = int_of_string (Netstring_str.matched_group m 5 s) in
|
||||
let second = int_of_string (Netstring_str.matched_group m 6 s) in
|
||||
- let zonestr = Netstring_str.matched_group m 8s in
|
||||
+ let zonestr = Netstring_str.matched_group m 8 s in
|
||||
let zone = get_zone zonestr in
|
||||
if month = 0 || month > 12 || day = 0 || day > 31 ||
|
||||
hour > 23 || minute > 59 || second > 59
|
||||
diff --git a/code/src/netsys/netlog.ml b/code/src/netsys/netlog.ml
|
||||
index 4d87c0e..4633655 100644
|
||||
--- a/code/src/netsys/netlog.ml
|
||||
+++ b/code/src/netsys/netlog.ml
|
||||
@@ -8,6 +8,18 @@ type level =
|
||||
type logger =
|
||||
level -> string -> unit
|
||||
|
||||
+type timespec = float * int
|
||||
+type clock_id
|
||||
+type clock =
|
||||
+ (* originally from Netsys_posix *)
|
||||
+ | CLOCK_REALTIME
|
||||
+ | CLOCK_MONOTONIC
|
||||
+ | CLOCK_ID of clock_id
|
||||
+
|
||||
+external clock_gettime : clock -> timespec = "netsys_clock_gettime"
|
||||
+(* originally from Netsys_posix *)
|
||||
+
|
||||
+
|
||||
let level_weight =
|
||||
function
|
||||
| `Emerg -> 0
|
||||
@@ -95,7 +107,7 @@ let current_formatter =
|
||||
let channel_logger ch max_lev lev msg =
|
||||
if level_weight lev <= level_weight max_lev then (
|
||||
let (sec,ns) =
|
||||
- try Netsys_posix.clock_gettime Netsys_posix.CLOCK_REALTIME
|
||||
+ try clock_gettime CLOCK_REALTIME
|
||||
with Invalid_argument _ ->
|
||||
(Unix.gettimeofday(), 0) in
|
||||
let s = (* Netdate is unavailable here *)
|
||||
diff --git a/code/src/netsys/netsys_posix.ml b/code/src/netsys/netsys_posix.ml
|
||||
index 1062a6c..602ceae 100644
|
||||
--- a/code/src/netsys/netsys_posix.ml
|
||||
+++ b/code/src/netsys/netsys_posix.ml
|
||||
@@ -771,12 +771,14 @@ external readlinkat : Unix.file_descr -> string -> string
|
||||
type timespec = float * int
|
||||
type clock_id
|
||||
type clock =
|
||||
+ (* also in Netlog *)
|
||||
| CLOCK_REALTIME
|
||||
| CLOCK_MONOTONIC
|
||||
| CLOCK_ID of clock_id
|
||||
|
||||
external nanosleep : timespec -> timespec ref -> unit = "netsys_nanosleep"
|
||||
external clock_gettime : clock -> timespec = "netsys_clock_gettime"
|
||||
+ (* also in Netlog *)
|
||||
external clock_settime : clock -> timespec -> unit = "netsys_clock_settime"
|
||||
external clock_getres : clock -> timespec = "netsys_clock_getres"
|
||||
external clock_getcpuclockid : int -> clock_id = "netsys_clock_getcpuclockid"
|
@ -1,2 +1,3 @@
|
||||
DIST yaz-1.1.6.tgz 16464 SHA256 dd9b919ba3b2a09a9c77c847407f106512fe75979cc0689ebccef08c80719eee SHA512 5bef11616ff6fc44e75b5f6ace1b6b9c104e7a1c588e21d04c9da98262021029f3f8dca9ae53bbf7461f8cd3c2f57bac841dfd777931774f150809b5d60addc1 WHIRLPOOL bfdeb26fa749bd12172e33028b210e3c28259c8a15e31a543835ca4bd68af697379ba9a0befe3a1e69614769c8604a3683ba51b11bbf1644a9bed3edfd708032
|
||||
DIST yaz-1.1.9.tgz 18590 SHA256 9dd4da2fd6042b37a1811972134f852c94a6f6b85ca4ec5ed5d766eb27a6c401 SHA512 4d588afe60b3b219e0476fabc93a761210e8f625be167e7c2910a33ff9c1daec089d918a02b002d0c27bb7d8fbae03b8cab551d5d33f5ea971aadbaba2383739 WHIRLPOOL a9958d8db5a0934e727dec0b71283ff3d20d9a5b1e228c69f7f53a76b1638db28527adcd2381ce5a4e76d101702756508f6a135c69c02655e83bf2c63ade51ff
|
||||
DIST yaz-1.2.0.tgz 20107 SHA256 1c64a756b39790eac85b890b2180504f7bd13e22df4c8e71857d09cd03c5b04d SHA512 f9d550eedcaf2bff3299629725992430c460a0dda943c2858bb509f9b1b2d263b02054095026266385870bf6b7b9acb90cc892f5fb5e2696eac2d0ecf69feb84 WHIRLPOOL 467fbcb18ac8cc0228aa20139a8d6d6ea47ff3f2fd1b1bdb5a9c6df6590f66a9b8a57d540d37dd4afad2133cd299c23b2473c1926110348941f2abe9c2b8bc6a
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PHP_EXT_NAME="yaz"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS=( README )
|
||||
|
||||
USE_PHP="php7-0 php5-6 php5-5"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
|
||||
DESCRIPTION="This extension implements a Z39.50 client for PHP using the YAZ toolkit"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/yaz-3.0.2:0="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PHP_EXT_ECONF_ARGS="--with-yaz=/usr"
|
@ -1,3 +1,4 @@
|
||||
DIST aiohttp-0.21.5.tar.gz 529005 SHA256 bac5c883721e0818e405597d2778f08a38cc097df01f574462de2cc4f8090559 SHA512 4958d7c58988a95fc5b1e94e4eb7247f59b55e5ba439391c7b072a7ec267491159e1c8c7c6f05e6f7f72e4de5c12784c8d437665c01e6d9fb1e87a3334c1d35c WHIRLPOOL 135368db11316c8f99f39bbf317f791e433a779f61e45070166bab12b4e97165d2c6e732e8da96a848b431c1f26de45e416009bca4e75456025187ea7a41e04e
|
||||
DIST aiohttp-0.22.2.tar.gz 475062 SHA256 30b588573c88942dac7438509731e197d74552060547b79cf6ace8564ee4b277 SHA512 405a706e112500110d89cfaed7bd1696a8af391bcfcacd47649d098f5216d74427b8b8628e5402e137eb599628170d03c58877742fa427d450d80c7cd66abf96 WHIRLPOOL 4f98e513387995ed2ece5377e4be3648d831ccecdce0bd86a5d800437cf681dd9b6fdc1a4b23be389bef154e87c8c5b668e378cebf3d0a45936329e000742e84
|
||||
DIST aiohttp-0.22.4.tar.gz 475257 SHA256 167ec7373a3319419834e6c61846b7267c5fc6748b9dd2504b7e9378b55afcdd SHA512 04efa2b714c0c310b24b092af8d5c7e766ccfbc888f969b2d2f99ac57a478056f66662aa793f319783b8c12605bbee8c5ba283bb8b10fd34497a583b886e8aa1 WHIRLPOOL d827932ccfb19290ae1f6f1b3551da29c255640f309d1e776723e825e0a7580b830b0bd836e9c33ce3859d5e21955211f1d2e6830cff89e1cf9df8082a04b8af
|
||||
DIST aiohttp-0.22.5.tar.gz 475312 SHA256 9c51af030c866f91e18a219614e39d345db4483ed9860389d0536d74d04b0d3b SHA512 919818445590b386b40edd05e8a58fac0b1b2993fe82faf95e10b53b5c0b3b464e92ea2484bc1929cb737351f3629b77a4ff67788248e19d69eb638bbf44a5e3 WHIRLPOOL 45e2c0fc3aab759ac1e95bc25d1983aa1c874c07595af7cb48af0e4e43b01fbe69a56c22216d0c4ba13da53c5e0172e95916e0c87bb0bb7a7630c8d631aa0152
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python3_4 python3_5 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="http client/server for asyncio"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/aiohttp"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
EGIT_REPO_URI="https://github.com/KeepSafe/aiohttp"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
CDEPEND="
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
>=dev-python/multidict-1.2.2[${PYTHON_USEDEP}]
|
||||
<dev-python/multidict-2[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
>=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${CDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-raisesregexp[${PYTHON_USEDEP}]
|
||||
www-servers/gunicorn[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
PYTHONPATH="$(PWD):${PYTHONPATH}" ${PYTHON} -m pytest tests/ || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST boto3-1.2.3.tar.gz 159771 SHA256 3ef63cbbb2b62e699ef3402bacd2658c453cf6cf5cfedb97ab8524327f755428 SHA512 a680e41973be41a6fa294633fe45db86fc57effb97a99eb89d668b8fb1267f1a8b1c3049be0423b4807b48f109dc2cd9efd96afb44ba99c7064a0c8dcca06247 WHIRLPOOL 078a07ae2361daaddd964ee9c4b3948b61e708c6fbb2e14d1b4efef1d1f40333b5b7d36de1498aa6dac852e68bf18636654461245d89805a908df82383e800e5
|
||||
DIST boto3-1.3.0.tar.gz 171316 SHA256 0b8c809a08c1c27dcd2213b2799796fa82388d93bf50d375cd378171c9a59a53 SHA512 2088ee1fd27dbe197221c14b73344905cce1c6f660d61a5a69124f64be099abb0ea31f8b8d06c5034418d36b7a2289a1a1f87d4f8e15c49884fd8215b0a342c8 WHIRLPOOL 50bbec84e5bb12c991462b04b15e79cd28f6aae7069c1128b25aae4c738ba9bcb4005b84080dbfd0b73bbfcce33e7fb7b7708e23da928d032214c22dd39d6673
|
||||
DIST boto3-1.3.1.tar.gz 176717 SHA256 b3dbde6445ab04c3d0de9b962a3cc8ed9bc22ccce5ed4c8c4f8a1c1f653667f0 SHA512 10fa396e8896a157e80d028b590056dd8e967afec37062056d94fab45652d4adedbe5e98f1cc67c6c8b9ae9282145367b4e1973fd7506170e486b026b57db9f5 WHIRLPOOL 7a89936f8fde0c1138b330cee2184b40948838466aa44e78e35dfa6440c120ed8abfca9b76e28355173b8c571f0124af462eaa506990ef09bcdeaa0219e45788
|
||||
DIST boto3-1.4.0.tar.gz 183263 SHA256 8fdd3743e34a32e5cb8636fb33dafe7336b7a341583653f52c6c20f7fe764472 SHA512 9e678b26993f48f156a5acdb33aec3488d263230517e6b5e1e608cb007fbf4f29a3c33290e460eb7cf1031f87894f3daca03bf80048139435979f23dd2fd61b8 WHIRLPOOL 5eb3703b11b4a0b3a4c873aed78f9c8b6588b5a83cacbd673f27cc4460822772745abcbc6698f680968ed37318d76bd812a491a83caa7b04b1e4a663def4a271
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST botocore-1.3.22.tar.gz 2349601 SHA256 02a6d320b09179bc5dcbafd4be732d9431bfebf5bed6d6b6508eca96b599a399 SHA512 7b349a78c83051a29993ce00a11ecfa4734425c3ed27ce3e405140e19017b5c670d857ea489ea1f6f3ec767b3e4704547565b2ec67f5d7001a0cc30ff2a39de7 WHIRLPOOL 98c5e7488c6d1fe5c3e3484c770f8b346508359c5d174e5660f10ea62b054f442e3d15cc716ddd5acc42f1af0a10463c1923de138338175f1dcba9ced283c8ee
|
||||
DIST botocore-1.4.37.tar.gz 2642647 SHA256 20dc1a0bf37019cac33e0f76d04a2831f2786cbee17f54da0e32a93caf86ef49 SHA512 033b7a03b9428cfeffaf0bd805a3ef94487b01b00aa9991eb11bba5a7e2a657c22e525b88f9879114ce170ca98a6727498b40879d6f899c1126dab81321eee47 WHIRLPOOL 0f00332660cd8f858b32f70a850f19b279494b31f70c2210da0c82c23a7ef10eeab904dcce087f382cc5cb284e802baf695601e2c3ab2caa53e19cb2b8873630
|
||||
DIST botocore-1.4.39.tar.gz 2646675 SHA256 e8377e312fae3f67b4e1f336a58f412f2dc9ff02117bc4a1a91ef568e6299cbe SHA512 91069671a1187968c64552f6218af8d07fe54cbcfcb8ede06c2bd5b823acc672d36205425a5370dd235028153cceb768782ae1c82fe9dffcea50a596307e7a99 WHIRLPOOL fd219954147173861f985ea2044806910f4c60c4c4ced36123a140d40f98968df5292ba1eecba99a6e6e39e71623dfa08630de46532237b503b09ac9d775f778
|
||||
DIST botocore-1.4.41.tar.gz 2655741 SHA256 da37c2b9c942ff280e47122e48e1e9af827c81191da919e9c434c69e455e6a30 SHA512 ae55eacc4410ac3d6a1588395e8f2e4b857d03f2956606d4a46c430c04b57997eaff8123c0e8546601cffaeabbb3aaaec99439bd1ffa57a114fe34cb56b1a609 WHIRLPOOL b875787ce674634056ff180291d5ebc14c3d99131eff9353f7f129137224d4d6bcd86f5e8f475ade7e91e62a6498adfb2eaa5ea5c058cc8556cd554737fefc68
|
||||
DIST botocore-1.4.43.tar.gz 2662274 SHA256 15e825f61170379cf0977a4f76bf75be6525f6784f9bc36e42c9c52268959283 SHA512 d65aa843efcaeb60f51b925f7f8b19ee837404a4fa4c3d36e7b7e438f3f7f1473a021f10f1b8f76ec4a8877af2967b435bd96e9384e5fa772be9ee918eaf918f WHIRLPOOL c1d2e4d12fad2365e0072d13ca59d44805c5d7dbb8d4d68c7d912cff7ffc8faf911a9553b321525e8621a9cb28cb9f99253656839e3adc0da0bbb50b60430339
|
||||
|
@ -1,4 +1,5 @@
|
||||
DIST gcs-oauth2-boto-plugin-1.12.tar.gz 14601 SHA256 4d35958f3724d6632f91a70acb3761c3860425ea6438c001e7e6b94d1431ad23 SHA512 998bc3187ef1483d8301f952dd68daf1dabf5775c7c948a18bdec1ed1c0ecacc336d8a0b4401e93f10e7d2b70a2fd4675c2c9d8f077fed5f126ee334e966ca19 WHIRLPOOL 48bda2622963b93b3d87abd2c3744ca9a21ba1e9f574b0a29c02e1de7379f4f4af35612b89cfcce60e09ee629960f2491347b11f7cfe26b6ae4d5199c2783af1
|
||||
DIST gcs-oauth2-boto-plugin-1.13.tar.gz 14960 SHA256 e8d583ce47f14f2975deae7139824f7756a8487ae36f4f37ad08d637f6a5afd2 SHA512 db56b040789418c5c4f546bfbf51dd00ee15e19736d8e92713fff3ab1d633d738a089b109c4051e625ed7f42cfd05f4656ab9a605fb70bd2de6e051284105e08 WHIRLPOOL a5032fd9802a5a490fb2b27cfc65e5dd2d887faef31cacdd7d81a3d8ec57577021e07385ec1552de6543eb2d036032d3eaf8317a3d5e37bb45926bebbf2bb537
|
||||
DIST gcs-oauth2-boto-plugin-1.14.tar.gz 14980 SHA256 dd06a90ee502a4732729a5bf2d56745965b0b2ed68741c140ff09c208c837fbe SHA512 86804a599c969c63587387df21a2396a27509981cc13a3f92bc98a645757362e77c63b68956ebd2663a721bb51993c9e61679db85a67de48d017ddad7de044b7 WHIRLPOOL 35c2eb3c8072994036b525525f22bc23ca3fa2d7fe1688aa324e25daca99f5dbbe62c281bcfb9674b7b0e7f78a2658223715355df74562edf06156854b7638bf
|
||||
DIST gcs-oauth2-boto-plugin-1.8.tar.gz 13248 SHA256 cb4f3c608c953c9f6eecbad0dd33c6a2dba283cf1cd332ceaac1a9ba8a17c64b SHA512 5504fc38d58ee68a78ee2b8e6c3757045494d000748382bc26888a65085cec08d2d137c63cb51afd1cef72d31b3f0cac5d40014548cca47c5322a67a7f1ef204 WHIRLPOOL 238ee67cdad11162abe614fad7d6eb6175a27fc132c790e17f4380373b8c8d48906e5ac361c4d3c34fbac85e851bdf6426c3660434bf809d4abca87f6cb995a9
|
||||
DIST gcs-oauth2-boto-plugin-1.9.tar.gz 14625 SHA256 82e70621354a0291ff312d060fedf25f8016eb0af215d443562ac2b26f94b28d SHA512 439def0c7b78a103bd3041600e25eaede44c3aac8a161f12acd6dee98cd8404b03229df24cf4e7814d63600ca50793496a80893f1e32f8ed8ac4a2825dd07df8 WHIRLPOOL ba28ac45e909a2410f36c81ba7f5e83e9c71963b1fd4d69df7fe425d26f066ea8376cf935f6b732c57d98b7d2e770d68a2658953279f0985725970af9d206dd6
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="OAuth 2.0 plugin for Google Cloud Storage credentials in the Boto library"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/gcs-oauth2-boto-plugin"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
# The tests only work with py2 atm.
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.13-use-friendy-version-checks.patch"
|
||||
"${FILESDIR}/${PN}-1.13-py3.patch"
|
||||
)
|
||||
|
||||
# Keep versions in sync with setup.py.
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=dev-python/boto-2.29.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
|
||||
!=dev-python/oauth2client-2.0*
|
||||
>=dev-python/pyopenssl-0.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/retry-decorator-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/PySocks-1.01[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.6.1[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
distutils-r1_python_prepare_all
|
||||
sed -i \
|
||||
-e '/SocksiPy-branch/d' \
|
||||
setup.py || die
|
||||
# Make sure the unittests aren't installed.
|
||||
mv gcs_oauth2_boto_plugin/test_oauth2_client.py ./ || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} "${S}"/test_oauth2_client.py || die
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to manipulate Google APIs"
|
||||
HOMEPAGE="https://github.com/google/apitools"
|
||||
SRC_URI="https://github.com/google/apitools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/httplib2-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauth2client-1.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-apputils-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-gflags-2.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-18.5[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/apitools-${PV}"
|
@ -1,2 +1,2 @@
|
||||
DIST jaraco.functools-1.11.tar.gz 8260 SHA256 6ff4dc9f7e2dcfdf0ae877efcf8156a2a1645e1e5d5c15d6190650bd5adfc722 SHA512 db857fbc0e7ef6b9204e77d20a6a85e4a48a9d8747eeb9ff1ad5790929427a9b28d3b30d8d0a484aea19de6c3e838437ea45227a1e07a0f07aa6b53df29186d3 WHIRLPOOL 11528caadee59af0c09de853e60d780dfe9c9227fcada9e1a1da8689ca5bb395197de3b36638fa806442d5b77ee26e6d7f92c929f31baeaddf00508a84b218a6
|
||||
DIST jaraco.functools-1.12.tar.gz 8819 SHA256 3f3af1cdc15355e8038a3bab0e8393cd7344c63ea5cdb4a81a3422d91c0bfdd2 SHA512 aafb9025e4e99b2469287b2e05161c89622809cd85b2916a65f11654ee5889811bc0def244215e0bbbd5428fa65a2f148229247929ec34b75b548b8e746d8fd0 WHIRLPOOL 6a2d39596473c29172f56ac767d26fd75ae3396b3fb66f5f9bd5b05b9f363d6ac18af614e7b500f0fdf165c3f49426f33c86289ad9546e398f484e31939eaec4
|
||||
DIST jaraco.functools-1.9.tar.gz 7220 SHA256 79a813f061ee16f431ac3828caca58b173d95d1518af144fa6307a92e90da496 SHA512 93b2cb1690bb9cf68b9f19b8964c7b660d35c2bd467ad724fe9d6169ae6a257aa2eab78da5bb49af14209991dc67df4ee7c7c03953fc753655aac924d5af550b WHIRLPOOL f49782df05f26513cdb5117b7412719498824e4394aa7557ba245dac35ff306c47412a4798713e2333c4ec700cbb78665da850e40cb499e8d961d815a0912acb
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST monotonic-0.2.tar.gz 6652 SHA256 c5e81e875a43e218135ea2aa4c367523894e1a2d7633ddafbed5292c527644a8 SHA512 0da2f9504aebf1b046a06156e30b8d6b6fde29c642f442ba8e5a43336309fca0fe636488ea69e463fcba5951d990723fddc2b9172211f6d8c57b0ab3ebab1a66 WHIRLPOOL 129f6a170856780d727ff2ef11d4b3688971b7376c9e9f590c7bc85aa20ba35d699751ddd5de58d144d4a3d540a2aac7d3f9fd3a63d010d88d7f93ffa62c836c
|
||||
DIST monotonic-0.3.tar.gz 6707 SHA256 2825ba5ded67b1a70d44529634d3f4ddfad67a5ed7fdcf026022a3ce175be07b SHA512 772154934ffdd1a12aacc331761ce219980caac1bce243fd0740320a25152cf800142c5787c9423270bf02d18e88973dcd981781e2279b28ce364063102f1099 WHIRLPOOL 83d34eac5ee577ba8c42c6276d1c3a46fc30a63919ffd6f86260c09aaf6720ab171db89dfdaa28fd6d42ebb309725ff2e4e0e6c8306c21f9f12dce3d71436e71
|
||||
DIST monotonic-0.4.tar.gz 6702 SHA256 852f656adbf623ee859def6ca2f5498f4cae3256f8320d5c50570ee8a0592ab6 SHA512 604f7d9f2b36e03413a0f9c341b45698440f3b004cd7120d3905e4712ac85daeadc0580ebd471ad9ad699aa2ec625908f13b604b10f656c803f6e885553d7e6c WHIRLPOOL f13cd567de00c24800da8b40ae1018f54b95e98c2ccda194ea2e8cf080c1ee47d0670db59ddaf72df373906d46107ec10a62581544076c7e70379119f3443dfd
|
||||
DIST monotonic-0.5.tar.gz 6493 SHA256 8c1f882aa66c41daffa701cbf7121d8d264d0cb7722bbb78a6eccd2d8b12c880 SHA512 55630c99559acb54d97cbaf033ed773e711059282538a16d9169d1efc08e5d5a77ec5a39c8402605b27865e963ab361d79ff2033ac58fb86272f279881ad7481 WHIRLPOOL fdc8896d25b604e0627e2533353b06abda8644b993c310346b530bcdab86038bee9d844f3d440c402488e06eb512cf0a2a53b6204bedff58f4b90d36fd13b828
|
||||
DIST monotonic-1.0.tar.gz 7082 SHA256 47d7d045b3f2a08bffe683d761ef7f9131a2598db1cec7532a06720656cf719d SHA512 af2127ba56f346f0ccba324d7398b2c69b8ca3357dbd647eff4ecd8b843c28db935a1e16bf468e0c5e66b54a3bc63ebd24d4a8ea544c45ac22c01eb034322cc8 WHIRLPOOL 1d875e7aade716d670fda4fae34012200a258c234916719d843dd1a94d7ae89523ca8972c439d6aa3d7dfea73803c9df7145123f3b4a511f40ba2a5be300c89f
|
||||
DIST monotonic-1.1.tar.gz 7139 SHA256 255c31929e1a01acac4ca709f95bd6d319d6112db3ba170d1fe945a6befe6942 SHA512 50a33ea7459c46e5a901912056976ed6ee8d006d71f96c8b13e462a40d90455aae3d5e50d96ff2ab426b94c4aefa1701b44ea04edd3823860f8adc4e99d2b71c WHIRLPOOL 4098870cc35097ba9f14c068b35d033991d62824b68dd8c62cccc8643a8c71517cf48e9a3c3659c3d2fd5039f993e14d193bf981e08b266caced89c1341ae917
|
||||
DIST monotonic-1.2.tar.gz 7173 SHA256 c0e1ceca563ca6bb30b0fb047ee1002503ae6ad3585fc9c6af37a8f77ec274ba SHA512 fe35cb2c23a9d8a6cac712fb0de2ec5bcff177f2f5af6e4d468090444f8c9a6adeca204071d9fc88bc4776e7b3fc30e15f00e77887925a7a39d9886dda412a82 WHIRLPOOL 41068f1f3ca6e02fc41c9379ad3443e477bda60736dd4eb45e91cabef4996df5c982a52f7a748d051b017383c9721d62785dfe6fa850fc4f6802891a2270f118
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST multidict-1.2.0.tar.gz 99060 SHA256 820694f78b029649de00958ca03ad9debe28d489589b546fd6b8a69df5ed65bb SHA512 5a6ec121db9b08707ba1491d39faf35645f48596d69f8ff01ccbd034bed15172bee6f98e8618dd762bf76131735b8453dae9bf29939780029ac2e5bb21b9535b WHIRLPOOL f9c4bb8e1f4536b151babdc8f5f788463fe8be15b125468bceae5ac39ee815695367d816adf1fecef430459abce114fb431665bd67a0b112b28f668e1da1cc85
|
||||
DIST multidict-1.3.0_alpha1.tar.gz 98403 SHA256 05d5e5e6572a250fa4084bb5b3408621ccae6ff5ad2eb3130ca789b181786e46 SHA512 71831a567e7098aaf3f1273335249dab12a96595dd233f88dae114c7dd26beca53c6f55f9a5b2ec4145d62acf84f1734778d0ccb1a54c380569030ae4a3d2957 WHIRLPOOL 5cc1b3344f4c57250afe91e6168400c44bf39aaea25778a00907d9585b835754ac9e8b12ba584cf39c28e93945196a0fdb2a5f425629c1d417221acad56538c0
|
||||
DIST multidict-2.0.0.tar.gz 99480 SHA256 12a8a11bc76d9d7681dba7fb69c3c84b27568fee0ece54c5000bc8f5a5a9cfeb SHA512 fa3acd8b1325281f2b1a7e131b1d00d018067aeedcf8de2a1e3e92e5d252279f12a2e71099c733490f07116f9ea75ae0f1dcb373e238c5146dd4e99217855b22 WHIRLPOOL 6d5f3667a771e6d2bfd95eb5dd947b4cc644fe237234a2a93f65a190113449dffdd6bff9be9ea66f5d4aff0fd6fd08ce14e4dc5c40de12240603a6de2d3e4d16
|
||||
DIST multidict-2.0.1.tar.gz 27586 SHA256 465e0e62dcb68a1779b6428d8ff73134d84f986241b98e9ac0a6ff2b7f1370ef SHA512 2de3743256cdf3849f767613a510d707716b978c964626846fd082edb52d169a5fb47becf76dc287858f2d06c7f4bbf8aa0f662e41e8bc73becabfe0518f7836 WHIRLPOOL 513f0a2cdeef2742470c37a134a863ab8f2dce5753307f9e57cd8fa40b492cebdd3c4d54a38db37be2946d094fb14003cbe8dcbb02e08d2c8445ec7e83ec33bd
|
||||
|
@ -1,2 +1 @@
|
||||
DIST rarfile-2.6.tar.gz 35981 SHA256 326700c5450cfb367f612e918866ea27551bac02f4656f340003c88873fa1a56 SHA512 9b74853516bae8332e0cf030f4de84f57b1680691a177c3ec6cf7f8650b82c807a67c4e68589c2097bf7359b03692e1fb30530ab40f23b90d1ebbbe21d20239a WHIRLPOOL 4edc2b98f81035c5c25318e598b78f1a52afcd19056ad0ecf8157cd355aae88443c04186359d2564d8118cff2f517a63da932685832fa38179201c2d0d52fb69
|
||||
DIST rarfile-2.8.tar.gz 38204 SHA256 2a27e401daa6d8ff0df1112a274a3661ca3e4afaac626217506fb1391069ca61 SHA512 6d249b1be9f286185d37fc5eaeae01c4b7153bf6248e66285099f7b9f920419986c27b006fd5511ffe4ae6e3b5214956ccb37ce5be5fc2673880cd7b2af0f98a WHIRLPOOL 37b28beb98a78403031c6f15d429d42e716401cb7e733b2c405739d022eb54800ee4d4b9223cbcfdd5d78d91689eb24362e6cf6120654b9f22d18423e93c171c
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue