parent
260c4f1483
commit
7c9e99f636
@ -1,2 +1,4 @@
|
||||
DIST puppet-agent_1.2.2-1wheezy_amd64.deb 14860604 SHA256 5910ff850e8814092b50dc70a68d8c5497d5fe3d960bfef9cd13f8dc689dc665 SHA512 ad11b0ba820186f4b315ac156e8bf78348acd69d11e4c03cb12314fc73e4e3fbfef0814664e7fd04f692e8db42f9e137194e267354b2fc4ec8dda424af9f5d98 WHIRLPOOL 25c42e9f7871ccf61eb55b83327813e6090ee359c42e1e473ef09155db69adebfe412fd61a5752b4b634e5ad8aa7bd45d4a86f7e5ba29c1bdb74033b91f45c3f
|
||||
DIST puppet-agent_1.2.2-1wheezy_i386.deb 14816930 SHA256 092b8bfe1e1156322d0ab68d411487c80146bd778916409b1c907791f41a49c8 SHA512 50879ce4eebcd451dafb33cb7a12c36ee9bcaedfc29ffa0d60552efa5aa4cd66d0007061d28a80d31615c67442f8526863185e6753418772d8275e58454d6886 WHIRLPOOL 7abb0b6f52f5dd07a5ccb56b1c795c05f8c4efd18665d2ca209400e51419e4ae335e630a845c031a47df09d96ce20fbc92d7cafa082deb3872306daf74838612
|
||||
DIST puppet-agent_1.2.4-1wheezy_amd64.deb 15187770 SHA256 a711255c7b5aab5f1a653fcbe461db0934645b1da876f24595d531c7ad8c81d4 SHA512 dc7656a7f79f1f2e5144bf625b87548ed1b78290ae03c969abb850f0b1c346536c37c2b204ac0e6add830c1fd692ca4f946ea01bba50bb9794c094069f237d73 WHIRLPOOL 3809a0f9c5db1c73c6edcc344e6fdc7fb5acf340e36225611c72088175fe64ea26c3770ba126a61ed91fa275cf898828d9d192872a216a52b8345f25de1df7e6
|
||||
DIST puppet-agent_1.2.4-1wheezy_i386.deb 15122670 SHA256 33e9b16ea215089e7a89288faebd4767163e05d7c4a9d5c51ca71b041496c204 SHA512 944f6388d317fab9a2714a6cdc57e713a973d3c1df259b3358be3a0d737878df9f1d66186af8aea0cc768e55650f1dd1d3ef8682b942728fba45e7c0bca20867 WHIRLPOOL bd5710845a9c8f27fb566ead63e45649fb3854200df0259c76b9478d93792b453a9d5cf4fdc20112991d4d091c82143b7504b51be65815b2dcb67796f275303d
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils systemd unpacker
|
||||
|
||||
DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_BASE="http://apt.puppetlabs.com/pool/wheezy/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1wheezy"
|
||||
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.0.1-r2 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
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
|
||||
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
|
||||
}
|
@ -0,0 +1,175 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="A system automation and configuration management software."
|
||||
HOMEPAGE="http://puppetlabs.com/"
|
||||
SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~x86"
|
||||
IUSE="augeas diff doc emacs ldap rrdtool selinux shadow sqlite vim-syntax xemacs"
|
||||
RESTRICT="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/hiera
|
||||
>=dev-ruby/rgen-0.6.5 =dev-ruby/rgen-0.6*
|
||||
dev-ruby/json
|
||||
>=dev-ruby/facter-3.0.0
|
||||
augeas? ( dev-ruby/ruby-augeas )
|
||||
diff? ( dev-ruby/diff-lcs )
|
||||
doc? ( dev-ruby/rdoc )
|
||||
ldap? ( dev-ruby/ruby-ldap )
|
||||
shadow? ( dev-ruby/ruby-shadow )
|
||||
sqlite? ( dev-ruby/sqlite3 )
|
||||
virtual/ruby-ssl"
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/mocha
|
||||
dev-ruby/rack
|
||||
dev-ruby/rspec-its
|
||||
)"
|
||||
# this should go in the above lists, but isn't because of test deps not being keyworded
|
||||
# dev-ruby/rspec-collection_matchers
|
||||
|
||||
DEPEND+=" ${DEPEND}
|
||||
emacs? ( virtual/emacs )
|
||||
xemacs? ( app-editors/xemacs )"
|
||||
RDEPEND+=" ${RDEPEND}
|
||||
rrdtool? ( >=net-analyzer/rrdtool-1.2.23[ruby] )
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
vim-syntax? ( >=app-vim/puppet-syntax-3.0.1 )
|
||||
>=app-portage/eix-0.18.0"
|
||||
|
||||
SITEFILE="50${PN}-mode-gentoo.el"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/lib/puppet puppet
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid spec that require unpackaged json-schema.
|
||||
rm spec/lib/matchers/json.rb $( grep -Rl matchers/json spec) || die
|
||||
|
||||
# can't be run within portage.
|
||||
epatch "${FILESDIR}/puppet-fix-tests-4.x.patch"
|
||||
|
||||
# Avoid specs that can only run in the puppet.git repository. This
|
||||
# should be narrowed down to the specific specs.
|
||||
rm spec/integration/parser/compiler_spec.rb || die
|
||||
|
||||
# Avoid failing spec that need further investigation.
|
||||
rm spec/unit/module_tool/metadata_spec.rb || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
if use emacs ; then
|
||||
elisp-compile ext/emacs/puppet-mode.el
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
# Create a separate version for xemacs to be able to install
|
||||
# emacs and xemacs in parallel.
|
||||
mkdir ext/xemacs
|
||||
cp ext/emacs/* ext/xemacs/
|
||||
xemacs-elisp-compile ext/xemacs/puppet-mode.el
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
# dosym "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${P}" "/usr/$(get_libdir)/ruby/gems/$(ruby_get_version)/gems/${PN}"
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
# systemd stuffs
|
||||
insinto /usr/lib/systemd/system
|
||||
doins "${WORKDIR}/all/${P}/ext/systemd/puppet.service"
|
||||
|
||||
# tmpfiles stuff
|
||||
insinto /usr/lib/tmpfiles.d
|
||||
newins "${FILESDIR}/tmpfiles.d" "puppet.conf"
|
||||
|
||||
# openrc init stuff
|
||||
newinitd "${FILESDIR}"/puppet.init-4.x puppet
|
||||
newinitd "${FILESDIR}"/puppetmaster.init-4.x puppetmaster
|
||||
newconfd "${FILESDIR}"/puppetmaster.confd puppetmaster
|
||||
|
||||
keepdir /etc/puppetlabs/puppet/ssl
|
||||
|
||||
keepdir /var/lib/puppet/facts
|
||||
keepdir /var/lib/puppet/files
|
||||
fowners -R puppet:puppet /var/lib/puppet
|
||||
|
||||
fperms 0750 /var/lib/puppet
|
||||
|
||||
fperms 0750 /etc/puppetlabs
|
||||
fperms 0750 /etc/puppetlabs/puppet
|
||||
fperms 0750 /etc/puppetlabs/puppet/ssl
|
||||
fowners -R :puppet /etc/puppetlabs
|
||||
fowners -R :puppet /var/lib/puppet
|
||||
|
||||
if use emacs ; then
|
||||
elisp-install ${PN} ext/emacs/puppet-mode.el*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use xemacs ; then
|
||||
xemacs-elisp-install ${PN} ext/xemacs/puppet-mode.el*
|
||||
xemacs-elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
|
||||
if use ldap ; then
|
||||
insinto /etc/openldap/schema; doins ext/ldap/puppet.schema
|
||||
fi
|
||||
|
||||
# ext and examples files
|
||||
for f in $(find ext examples -type f) ; do
|
||||
docinto "$(dirname ${f})"; dodoc "${f}"
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Please, *don't* include the --ask option in EMERGE_EXTRA_OPTS as this could"
|
||||
elog "cause puppet to hang while installing packages."
|
||||
elog
|
||||
elog "Portage Puppet module with Gentoo-specific resources:"
|
||||
elog "http://forge.puppetlabs.com/gentoo/portage"
|
||||
elog
|
||||
|
||||
if [ "$(get_major_version $REPLACING_VERSIONS)" = "3" ]; then
|
||||
elog
|
||||
elog "If you're upgrading from 3.x then please move everything in /etc/puppet to"
|
||||
elog "/etc/puppetlabs/puppet"
|
||||
elog "Also, puppet now uses config directories for modules and manifests."
|
||||
elog "See https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_agent.html"
|
||||
elog "and https://docs.puppetlabs.com/puppet/4.0/reference/upgrade_server.html"
|
||||
elog "for more information."
|
||||
elog
|
||||
fi
|
||||
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
use xemacs && xemacs-elisp-site-regen
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
--- pbzip2-1.1.9/Makefile
|
||||
+++ pbzip2-1.1.9/Makefile
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
# Compiler to use
|
||||
-CXX = g++
|
||||
+#CXX = g++
|
||||
|
||||
|
||||
# Thread-related flags
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
# Optimization flags
|
||||
-CXXFLAGS = -O2
|
||||
+#CXXFLAGS = -O2
|
||||
|
||||
#CXXFLAGS += -g -Wall
|
||||
#CXXFLAGS += -ansi
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
|
||||
# Linker flags
|
||||
-LDFLAGS =
|
||||
+#LDFLAGS =
|
||||
|
||||
|
||||
# External libraries
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Parallel bzip2 (de)compressor using libbz2"
|
||||
HOMEPAGE="http://compression.ca/pbzip2/ https://launchpad.net/pbzip2"
|
||||
SRC_URI="https://launchpad.net/pbzip2/${PV:0:3}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BZIP2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="static symlink"
|
||||
|
||||
LIB_DEPEND="app-arch/bzip2[static-libs(+)]"
|
||||
RDEPEND="
|
||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
symlink? ( !app-arch/lbzip2[symlink] )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
||||
tc-export CXX
|
||||
use static && append-ldflags -static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pbzip2
|
||||
dodoc AUTHORS ChangeLog README
|
||||
doman pbzip2.1
|
||||
dosym pbzip2 /usr/bin/pbunzip2
|
||||
|
||||
if use symlink ; then
|
||||
local s
|
||||
for s in bzip2 bunzip2 bzcat ; do
|
||||
dosym pbzip2 /usr/bin/${s}
|
||||
done
|
||||
fi
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Parallel bzip2 (de)compressor using libbz2"
|
||||
HOMEPAGE="http://compression.ca/pbzip2/ https://launchpad.net/pbzip2"
|
||||
SRC_URI="https://launchpad.net/pbzip2/${PV:0:3}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BZIP2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="static symlink"
|
||||
|
||||
LIB_DEPEND="app-arch/bzip2[static-libs(+)]"
|
||||
RDEPEND="
|
||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
symlink? ( !app-arch/lbzip2[symlink] )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-1.1.10-makefile.patch
|
||||
tc-export CXX
|
||||
use static && append-ldflags -static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pbzip2
|
||||
dodoc AUTHORS ChangeLog README
|
||||
doman pbzip2.1
|
||||
dosym pbzip2 /usr/bin/pbunzip2
|
||||
|
||||
if use symlink ; then
|
||||
local s
|
||||
for s in bzip2 bunzip2 bzcat ; do
|
||||
dosym pbzip2 /usr/bin/${s}
|
||||
done
|
||||
fi
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic eutils
|
||||
|
||||
DESCRIPTION="Parallel bzip2 (de)compressor using libbz2"
|
||||
HOMEPAGE="http://compression.ca/pbzip2/"
|
||||
SRC_URI="https://launchpad.net/pbzip2/${PV:0:3}/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="BZIP2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="static symlink"
|
||||
|
||||
LIB_DEPEND="app-arch/bzip2[static-libs(+)]"
|
||||
RDEPEND="
|
||||
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
|
||||
symlink? ( !app-arch/lbzip2[symlink] )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
||||
tc-export CXX
|
||||
use static && append-ldflags -static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin pbzip2
|
||||
dodoc AUTHORS ChangeLog README
|
||||
doman pbzip2.1
|
||||
dosym pbzip2 /usr/bin/pbunzip2
|
||||
|
||||
if use symlink ; then
|
||||
local s
|
||||
for s in bzip2 bunzip2 bzcat ; do
|
||||
dosym pbzip2 /usr/bin/${s}
|
||||
done
|
||||
fi
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST livecd-tools-2.0.3.tar.bz2 11343 SHA256 72ade5e5f2a28dc46008ae206309f6c797f5b005caea583d20ba13e2434dd728 SHA512 dde8972e164335046d5b7755b97e4ec53e5f18b96c85a3f79825e6ac659039ad96d16c1189761611d1c49ba97de2d96b7fd629e78d20c680a879881a678ce889 WHIRLPOOL 369e5082d4416e0ee5376f76a4187141120946e176543d02cfba7a9f6c047cc8f2198940fe14750b7314a87db9b73881ba1684330a5e1ae1ad6716a6910f2ee3
|
||||
DIST livecd-tools-2.0.4.tar.xz 10580 SHA256 a819344ce79c9d0dce4a8339fe09b485b169b42063dbe1f6d2245ef57c867e51 SHA512 242d0d27d141af7c4a0c9be390d4faf9fc97b840a55f76e0a804838b98ba95a644be8a4f2ff1353bf7782b8db24b72b8f24a2fe01f60449c9687efbbfad4d6f3 WHIRLPOOL 591457dd46190b72a2f8fc50bc3869163c604f6850944fdf74bad4d145c0c214c89336547f3daaa2942088b83c86254c7289cd34a897da79130888248c661283
|
||||
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=4
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="git://anongit.gentoo.org/proj/livecd-tools.git"
|
||||
inherit git-2
|
||||
else
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
|
||||
fi
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Gentoo LiveCD tools for autoconfiguration of hardware"
|
||||
HOMEPAGE="http://wolf31o2.org/projects/livecd-tools"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-util/dialog
|
||||
net-dialup/mingetty
|
||||
>=sys-apps/baselayout-2
|
||||
>=sys-apps/openrc-0.8.2-r1
|
||||
sys-apps/pciutils
|
||||
sys-apps/gawk
|
||||
sys-apps/sed"
|
||||
|
||||
pkg_setup() {
|
||||
ewarn "This package is designed for use on the LiveCD only and will do"
|
||||
ewarn "unspeakably horrible and unexpected things on a normal system."
|
||||
ewarn "YOU HAVE BEEN WARNED!!!"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doconfd conf.d/*
|
||||
doinitd init.d/*
|
||||
dosbin net-setup
|
||||
into /
|
||||
dosbin livecd-functions.sh
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs flag-o-matic vcs-snapshot
|
||||
|
||||
DESCRIPTION="A utility to attach a running program to a new terminal"
|
||||
HOMEPAGE="https://github.com/nelhage/reptyr"
|
||||
SRC_URI="https://github.com/nelhage/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# respect CFLAGS
|
||||
sed -i '/^override/d' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
|
||||
dodoc ChangeLog NOTES README.md
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit toolchain-funcs flag-o-matic vcs-snapshot
|
||||
|
||||
DESCRIPTION="A utility to attach a running program to a new terminal"
|
||||
HOMEPAGE="https://github.com/nelhage/reptyr"
|
||||
SRC_URI="https://github.com/nelhage/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# respect CFLAGS
|
||||
sed -i '/^override/d' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
append-cppflags -D_GNU_SOURCE
|
||||
emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
|
||||
dodoc ChangeLog NOTES README.md
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
--- a/ansi.c
|
||||
+++ b/ansi.c
|
||||
@@ -2502,13 +2502,13 @@
|
||||
return;
|
||||
if (n > 0)
|
||||
{
|
||||
+ if (ye - ys + 1 < n)
|
||||
+ n = ye - ys + 1;
|
||||
if (n > 256)
|
||||
{
|
||||
MScrollV(p, n - 256, ys, ye, bce);
|
||||
n = 256;
|
||||
}
|
||||
- if (ye - ys + 1 < n)
|
||||
- n = ye - ys + 1;
|
||||
#ifdef COPY_PASTE
|
||||
if (compacthist)
|
||||
{
|
||||
@@ -2562,15 +2562,14 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
+ n = -n;
|
||||
+ if (ye - ys + 1 < n)
|
||||
+ n = ye - ys + 1;
|
||||
if (n < -256)
|
||||
{
|
||||
MScrollV(p, n + 256, ys, ye, bce);
|
||||
n = -256;
|
||||
}
|
||||
- n = -n;
|
||||
- if (ye - ys + 1 < n)
|
||||
- n = ye - ys + 1;
|
||||
-
|
||||
ml = p->w_mlines + ye;
|
||||
/* Clear lines */
|
||||
for (i = ye; i > ye - n; i--, ml--)
|
@ -0,0 +1,154 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools eutils flag-o-matic pam toolchain-funcs user
|
||||
|
||||
DESCRIPTION="Full-screen window manager that multiplexes physical terminals between several processes"
|
||||
HOMEPAGE="https://www.gnu.org/software/screen/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug nethack pam selinux multiuser"
|
||||
|
||||
CDEPEND="
|
||||
>=sys-libs/ncurses-5.2:0=
|
||||
pam? ( virtual/pam )"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-screen )"
|
||||
DEPEND="${CDEPEND}
|
||||
sys-apps/texinfo"
|
||||
|
||||
# Patches:
|
||||
# - Don't use utempter even if it is found on the system.
|
||||
# - Bug 559394.
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-4.3.0-no-utempter.patch
|
||||
"${FILESDIR}"/${PN}-4.3.1-ansi.c.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Make sure utmp group exists, as it's used later on.
|
||||
enewgroup utmp 406
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Apply patches.
|
||||
epatch "${PATCHES[@]}"
|
||||
|
||||
# sched.h is a system header and causes problems with some C libraries
|
||||
mv sched.h _sched.h || die
|
||||
sed -i '/include/ s:sched.h:_sched.h:' screen.h || die
|
||||
|
||||
# Fix manpage.
|
||||
sed -i \
|
||||
-e "s:/usr/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
|
||||
-e "s:/usr/local/screens:${EPREFIX}/tmp/screen:g" \
|
||||
-e "s:/local/etc/screenrc:${EPREFIX}/etc/screenrc:g" \
|
||||
-e "s:/etc/utmp:${EPREFIX}/var/run/utmp:g" \
|
||||
-e "s:/local/screens/S-:${EPREFIX}/tmp/screen/S-:g" \
|
||||
doc/screen.1 \
|
||||
|| die
|
||||
|
||||
# reconfigure
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-cppflags "-DMAXWIN=${MAX_SCREEN_WINDOWS:-100}"
|
||||
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
# https://lists.gnu.org/archive/html/screen-devel/2014-04/msg00095.html
|
||||
append-cppflags -D_XOPEN_SOURCE \
|
||||
-D_XOPEN_SOURCE_EXTENDED=1 \
|
||||
-D__EXTENSIONS__
|
||||
append-libs -lsocket -lnsl
|
||||
fi
|
||||
|
||||
use nethack || append-cppflags "-DNONETHACK"
|
||||
use debug && append-cppflags "-DDEBUG"
|
||||
|
||||
econf \
|
||||
--with-socket-dir="${EPREFIX}/tmp/screen" \
|
||||
--with-sys-screenrc="${EPREFIX}/etc/screenrc" \
|
||||
--with-pty-mode=0620 \
|
||||
--with-pty-group=5 \
|
||||
--enable-rxvt_osc \
|
||||
--enable-telnet \
|
||||
--enable-colors256 \
|
||||
$(use_enable pam)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
LC_ALL=POSIX emake comm.h term.h
|
||||
emake osdef.h
|
||||
|
||||
emake -C doc screen.info
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local tmpfiles_perms tmpfiles_group
|
||||
|
||||
dobin screen
|
||||
|
||||
if use multiuser || use prefix
|
||||
then
|
||||
fperms 4755 /usr/bin/screen
|
||||
tmpfiles_perms="0755"
|
||||
tmpfiles_group="root"
|
||||
else
|
||||
fowners root:utmp /usr/bin/screen
|
||||
fperms 2755 /usr/bin/screen
|
||||
tmpfiles_perms="0775"
|
||||
tmpfiles_group="utmp"
|
||||
fi
|
||||
|
||||
dodir /etc/tmpfiles.d
|
||||
echo "d /tmp/screen ${tmpfiles_perms} root ${tmpfiles_group}" \
|
||||
> "${ED}"/etc/tmpfiles.d/screen.conf
|
||||
|
||||
insinto /usr/share/screen
|
||||
doins terminfo/{screencap,screeninfo.src}
|
||||
insinto /usr/share/screen/utf8encodings
|
||||
doins utf8encodings/??
|
||||
insinto /etc
|
||||
doins "${FILESDIR}"/screenrc
|
||||
|
||||
pamd_mimic_system screen auth
|
||||
|
||||
dodoc \
|
||||
README ChangeLog INSTALL TODO NEWS* patchlevel.h \
|
||||
doc/{FAQ,README.DOTSCREEN,fdpat.ps,window_to_display.ps}
|
||||
|
||||
doman doc/screen.1
|
||||
doinfo doc/screen.info
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]
|
||||
then
|
||||
elog "Some dangerous key bindings have been removed or changed to more safe values."
|
||||
elog "We enable some xterm hacks in our default screenrc, which might break some"
|
||||
elog "applications. Please check /etc/screenrc for information on these changes."
|
||||
fi
|
||||
|
||||
# Add /tmp/screen in case it doesn't exist yet. This should solve
|
||||
# problems like bug #508634 where tmpfiles.d isn't in effect.
|
||||
local rundir="${EROOT%/}/tmp/screen"
|
||||
if [[ ! -d ${rundir} ]] ; then
|
||||
if use multiuser || use prefix ; then
|
||||
tmpfiles_group="root"
|
||||
else
|
||||
tmpfiles_group="utmp"
|
||||
fi
|
||||
mkdir -m 0775 "${rundir}"
|
||||
chgrp ${tmpfiles_group} "${rundir}"
|
||||
fi
|
||||
|
||||
ewarn "This revision changes the screen socket location to ${rundir}"
|
||||
}
|
@ -1 +1 @@
|
||||
DIST blogc-0.1-beta.4.tar.xz 243064 SHA256 db2e32e50b2cf19c937adb6d02b526c809838d1fca14014baba296ce87daeec3 SHA512 2b786b360a187c7c0cf39d0e0c3429ed3f4298be1b8dff63a9fb5b4110805367e967b7d6df1bd10bffa9a7b9c391f96d1bf2c1518d53c952b06aa9f68a8a61d9 WHIRLPOOL 2ebbed31d5d4a2c97acecd0709742681c329e64ce03ef88b8f7f8247e0bfc8471e22ebfa0e9a44afda9f0dbd35e65804dbbf870e9fa44a68acd4c9559fc44b63
|
||||
DIST blogc-0.1.tar.xz 243120 SHA256 908819ac078f82e24a255a3afd2267cc43b8a103cd324651470eddccd45984fa SHA512 fe80ae5e4b96b82c4cbdad49b25ce310ed49e208b4aff446c71edbdef100f9221e48ed38be1170e528044b72e9ab0f18a653e2e3d23f94aac2cb0651923afde5 WHIRLPOOL 74a4ce23d834b137ddd363bdd0d81e1ff1fd62efa7dc0d8a03caa452de58c86bdc25db9b3200fa6f29795b1e595fe1091aefb85d654e43ff5c879cc37133f511
|
||||
|
@ -0,0 +1 @@
|
||||
DIST mycli-1.4.0.tar.gz 250369 SHA256 300b26d21fc75fecdff04133dac7a22550f8f537b8571985ec02e8e346b00fb5 SHA512 06176a62646be4bac2b90f72bc728afc8920e9ff1b0c04749a5601ee63d35ba2159f48e61e23df6ca3bc5477486f3e3917b3a8de8b7034594f4ed2c544f2969f WHIRLPOOL 6ade59f9c8d7927710df0e2cd4e77cd450468b7558ce9ce763cc54e172a75fd2a84017fe3cc0e9d20a5dbd05585d80d135063b96a7692cd23c76a90806ff1aac
|
@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<use>
|
||||
</use>
|
||||
<maintainer>
|
||||
<email>grknight@gentoo.org</email>
|
||||
<name>Brian Evans</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="CLI for MySQL Database with auto-completion and syntax highlighting"
|
||||
|
||||
HOMEPAGE="http://mycli.net"
|
||||
SRC_URI="https://github.com/dbcli/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
>=dev-python/click-4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
|
||||
=dev-python/prompt_toolkit-0.46[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymysql-0.6.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.1.16[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
rm mycli/packages/counter.py || die "Could not remove python 2.6 counter.py"
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
EGIT_REPO_URI="https://github.com/dbcli/mycli.git"
|
||||
inherit distutils-r1 git-r3
|
||||
|
||||
DESCRIPTION="CLI for MySQL Database with auto-completion and syntax highlighting"
|
||||
|
||||
HOMEPAGE="http://mycli.net"
|
||||
SRC_URI=""
|
||||
LICENSE="BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
>=dev-python/click-4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
|
||||
=dev-python/prompt_toolkit-0.46[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymysql-0.6.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-sqlparse-0.1.16[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
rm mycli/packages/counter.py || die "Could not remove python 2.6 counter.py"
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_EXTRAS_VER="20150410-1944Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
inherit toolchain-funcs mysql-multilib
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='embedded extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# create symlink for the tests to find mysql_tzinfo_to_sql
|
||||
ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
|
||||
|
||||
# These are failing in MySQL 5.5/5.6 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# funcs_1.is_triggers funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter,
|
||||
# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt,
|
||||
# mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql
|
||||
# perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# rpl.rpl_plugin_load
|
||||
# fails due to included file not listed in expected result
|
||||
# appears to be poor planning
|
||||
#
|
||||
# main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
|
||||
# fails due to bad cleanup of previous tests when run in parallel
|
||||
# The tool is deprecated anyway
|
||||
# Bug 532288
|
||||
for t in \
|
||||
binlog.binlog_mysqlbinlog_filter \
|
||||
binlog.binlog_statement_insert_delayed \
|
||||
funcs_1.is_columns_mysql \
|
||||
funcs_1.is_tables_mysql \
|
||||
funcs_1.is_triggers \
|
||||
main.information_schema \
|
||||
main.mysql_client_test \
|
||||
main.mysqld--help-notwin \
|
||||
perfschema.binlog_edge_mix \
|
||||
perfschema.binlog_edge_stmt \
|
||||
rpl.rpl_plugin_load \
|
||||
main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
|
||||
; do
|
||||
mysql-multilib_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
if ! use extraengine ; then
|
||||
# bug 401673, 530766
|
||||
for t in federated.federated_plugin ; do
|
||||
mysql-multilib_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)"
|
||||
done
|
||||
fi
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# Set file limits higher so tests run
|
||||
ulimit -n 3000
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
|
||||
--suite-timeout=5000
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,161 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_EXTRAS_VER="20150717-1707Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
HAS_TOOLS_PATCH="1"
|
||||
SUBSLOT="18"
|
||||
|
||||
inherit toolchain-funcs mysql-multilib
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='server embedded extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if use server ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Create a symlink to provided binaries so the tests can find them when client-libs is off
|
||||
if ! use client-libs ; then
|
||||
ln -srf /usr/bin/my_print_defaults "${BUILD_DIR}/client/my_print_defaults" || die
|
||||
ln -srf /usr/bin/perror "${BUILD_DIR}/client/perror" || die
|
||||
mysql-multilib_disable_test main.perror "String mismatch due to not building local perror"
|
||||
fi
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# create symlink for the tests to find mysql_tzinfo_to_sql
|
||||
ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
|
||||
|
||||
# These are failing in MySQL 5.5/5.6 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# funcs_1.is_triggers funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter,
|
||||
# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt,
|
||||
# mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql
|
||||
# perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# rpl.rpl_plugin_load
|
||||
# fails due to included file not listed in expected result
|
||||
# appears to be poor planning
|
||||
#
|
||||
# main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
|
||||
# fails due to bad cleanup of previous tests when run in parallel
|
||||
# The tool is deprecated anyway
|
||||
# Bug 532288
|
||||
for t in \
|
||||
binlog.binlog_mysqlbinlog_filter \
|
||||
binlog.binlog_statement_insert_delayed \
|
||||
funcs_1.is_columns_mysql \
|
||||
funcs_1.is_tables_mysql \
|
||||
funcs_1.is_triggers \
|
||||
main.information_schema \
|
||||
main.mysql_client_test \
|
||||
main.mysqld--help-notwin \
|
||||
perfschema.binlog_edge_mix \
|
||||
perfschema.binlog_edge_stmt \
|
||||
rpl.rpl_plugin_load \
|
||||
main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
|
||||
; do
|
||||
mysql-multilib_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
if ! use extraengine ; then
|
||||
# bug 401673, 530766
|
||||
for t in federated.federated_plugin ; do
|
||||
mysql-multilib_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)"
|
||||
done
|
||||
fi
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# Set file limits higher so tests run
|
||||
ulimit -n 3000
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
|
||||
--suite-timeout=5000 --reorder
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,153 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
MY_EXTRAS_VER="20150410-1944Z"
|
||||
MY_PV="${PV//_alpha_pre/-m}"
|
||||
MY_PV="${MY_PV//_/-}"
|
||||
|
||||
inherit toolchain-funcs mysql-multilib
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='embedded extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mysql-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# create symlink for the tests to find mysql_tzinfo_to_sql
|
||||
ln -s "${BUILD_DIR}/sql/mysql_tzinfo_to_sql" "${S}/sql/"
|
||||
|
||||
# These are failing in MySQL 5.5/5.6 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# funcs_1.is_triggers funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql, binlog.binlog_mysqlbinlog_filter,
|
||||
# perfschema.binlog_edge_mix, perfschema.binlog_edge_stmt,
|
||||
# mysqld--help-notwin, funcs_1.is_triggers, funcs_1.is_tables_mysql, funcs_1.is_columns_mysql
|
||||
# perfschema.binlog_edge_stmt, perfschema.binlog_edge_mix, binlog.binlog_mysqlbinlog_filter
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# rpl.rpl_plugin_load
|
||||
# fails due to included file not listed in expected result
|
||||
# appears to be poor planning
|
||||
#
|
||||
# main.mysqlhotcopy_archive main.mysqlhotcopy_myisam
|
||||
# fails due to bad cleanup of previous tests when run in parallel
|
||||
# The tool is deprecated anyway
|
||||
# Bug 532288
|
||||
for t in \
|
||||
binlog.binlog_mysqlbinlog_filter \
|
||||
binlog.binlog_statement_insert_delayed \
|
||||
funcs_1.is_columns_mysql \
|
||||
funcs_1.is_tables_mysql \
|
||||
funcs_1.is_triggers \
|
||||
main.information_schema \
|
||||
main.mysql_client_test \
|
||||
main.mysqld--help-notwin \
|
||||
perfschema.binlog_edge_mix \
|
||||
perfschema.binlog_edge_stmt \
|
||||
rpl.rpl_plugin_load \
|
||||
main.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
|
||||
; do
|
||||
mysql-multilib_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
if ! use extraengine ; then
|
||||
# bug 401673, 530766
|
||||
for t in federated.federated_plugin ; do
|
||||
mysql-multilib_disable_test "$t" "Test $t requires USE=extraengine (Need federated engine)"
|
||||
done
|
||||
fi
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# Set file limits higher so tests run
|
||||
ulimit -n 3000
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
|
||||
--suite-timeout=5000
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit cmake-utils gnome2-utils
|
||||
|
||||
DESCRIPTION="Provides functionality for gaming input devices"
|
||||
|
||||
HOMEPAGE="http://sourceforge.net/projects/libgaminggear/"
|
||||
SRC_URI="mirror://sourceforge/libgaminggear/${P}.tar.bz2"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND="
|
||||
x11-libs/gtk+:2
|
||||
x11-libs/libnotify
|
||||
media-libs/libcanberra
|
||||
virtual/libusb:1
|
||||
dev-libs/dbus-glib
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.10.0-doc.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr
|
||||
-DDOCDIR=share/doc/${PF}
|
||||
$(cmake-utils_use_with doc DOC)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
gnome2_icon_savelist
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
gnome2_icon_cache_update
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST django-crispy-forms-1.4.0.tar.gz 47444 SHA256 d0c9531ebdff8dc255f625e677ec2fab326522e3f4cd8f7a3e891d773d281510 SHA512 e06ec72a2fc44aa0f57fd507230289f78caebdb02d4af9adafd4b09a29b1df1be5301f3883c8b9007ecd0722683395451bbc382060eca5a459ddf6ef9edc2e1b WHIRLPOOL 05813292a863c69b3b0296ea7a7912bb8ca0f673fc07eaeff5053def516dc2b836725c7559e98cd8aa7ad59d4d686b2ff04bc53b027ea53413ea2329fa04e42d
|
||||
DIST django-crispy-forms-1.5.0.tar.gz 73736 SHA256 888d95b332247092e53f1cbe0b1fa64dd348637ec84c327bab1a7c6d6a423739 SHA512 82146e0fe00ddcb0f629a238d48142ef487cb085191815f60a4d0ecfc78c494240e07cec463462a6c53f5a83de3eb15ea555fb3cbc36301fe3656c02efaa2596 WHIRLPOOL 605fc9e715d93536c9f742bcfe19c269ccfe2e1e5dddfd80921efc15ac93366fd10db054658a0d32eea4e6ec740b2c4235d0fd542af8909fa3b1bfa387067014
|
||||
DIST django-crispy-forms-1.5.1.tar.gz 114221 SHA256 f1f1d8cabb2cc2aa3a2e7c72d233d52b89895168ffd8fd6d4ecb20f465b72d29 SHA512 67eab10ffbfcaf64fa730e45bb1b03799010f0bdad3f2fd7a00847431453b4d126d7486d3c5a8cc951a22f042a8c1cc4120f11b320f5b0da9a7c42ae7059963f WHIRLPOOL b31a6814c886f41bac307bafd61a455876a7e1d25246bc72d8f9189a55747637d40d2000305d4c79972c6cf05f20108c011b7ee66e0bfd85491a36a6ee5d75c5
|
||||
DIST django-crispy-forms-1.5.2.tar.gz 114239 SHA256 47ef7f74003b2a07a78ce6ed70b6472bf30efd7f8c3ef15fe0ca6685be2e0dfb SHA512 35c0aedc9d118512c23fc3cb255fd54e7af6ced7a65fbcb5c0a0dd63e1afecebe92f06c2e674815167ec7c09ad130bd6db642054b13d800e1cb1911b1e7b10e9 WHIRLPOOL e7ada1b0114bd49925c3106cd05c72bf1a961ed9f931066c8461b8254e59abfafb20112b33ced13a1a2ca680df05e4ca928fa20f657e8770497ce07eacd8632f
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Best way to have Django DRY forms"
|
||||
HOMEPAGE="
|
||||
https://pypi.python.org/pypi/django-crispy-forms/
|
||||
https://github.com/maraujop/django-crispy-forms
|
||||
https://django-crispy-forms.readthedocs.org/en/latest/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
# Seems to be incompletely packed
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
DJANGO_SETTINGS_MODULE=crispy_forms.tests.test_settings py.test crispy_forms/tests || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST numexpr-2.4.1.tar.gz 84990 SHA256 5b53a9e9e50f33e2e562b4ae9f88066c9e54a3bd7c144d29d0067b87856815b4 SHA512 d5aa34532dd1a504b3c78cff07def4114201560c04ce30d033a4701eb95961c53582b71291569cd10f22d50b00edc5dbb4e1b6454d8597c68f231c9c576471b7 WHIRLPOOL 9bfde967bc772111e1cc4a8e5931dc31896b7da4b43c33b8ae7bb3701f782e895b434ee4cddabe2a90abfe90cc240322b92dc224b7917123d90f2d9f9044cea4
|
||||
DIST numexpr-2.4.3.tar.gz 85171 SHA256 3ae7191c89df40db6b0a8637a4dace7c5956bc910793a53225f985f3b443c722 SHA512 b33984072fddd4303980be8533e1348b48ff27de5e150029147e3666ce6bb9e1147dbc45eb0ef22506aebaea6fb366d65ff01221235f9b9935d78ea70ba9aa53 WHIRLPOOL ac5981bac643b825d6ab2fbd6c46b6d73ad62374490e5f05a71fc0b9c4269ab401617da98079e1604b11f454863e64e009a2acc00b7b30499b20eff73efe033f
|
||||
DIST numexpr-2.4.4.tar.gz 87133 SHA256 dfa2fad1af040e93a8022fbe4437f2183bf80e5f64d466381ad589308a73565b SHA512 abc53f8aafb39e55b6b811c1f08c01eefca23c36fb9d20a82484ef658c8062ffe51d8841d6651f43fb7f8cea6420270623df6ba9f98a95a0f7a09e6ceef91b35 WHIRLPOOL 9ab19609189e866a11c03b0aeaa3b93124d8018d53e8dec641721eff39eb73c969c34c457209d63988361ffadef13a205ba5b71d19ad120e9f44313f42c7cd1b
|
||||
DIST numexpr-2.4.tar.gz 84770 SHA256 1b63a5ce11c10d36433e2a74e2e4c360a4e004618507778881659e80a912fc58 SHA512 bebc3e81505f4c2e7d3c6f7cf2c02fe1ce07186c81de743db43399f2f81a135125a675dbd7a631fea55aaea1d092ab9a84539676027ce31f6fb7b1fca23cf253 WHIRLPOOL 1cf2e98f8e092505c1098f0c55a1b05488146164afa3bfec351cbe8ed44fa401edab503884ffa2b599a5a8db86e4bda94229a6d147aba60f554141ec85f37273
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy"
|
||||
HOMEPAGE="https://github.com/pydata/numexpr"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="mkl"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/numpy-1.6[${PYTHON_USEDEP}]
|
||||
mkl? ( sci-libs/mkl )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
# TODO: mkl can be used but it fails for me
|
||||
# only works with mkl in tree. newer mkl will use pkgconfig
|
||||
if use mkl; then
|
||||
local ext
|
||||
use amd64 && ext=_lp64
|
||||
cat <<- EOF > "${S}"/site.cfg
|
||||
[mkl]
|
||||
library_dirs = ${MKLROOT}/lib/em64t
|
||||
include_dirs = ${MKLROOT}/include
|
||||
mkl_libs = mkl_solver${ext}, mkl_intel${ext}, \
|
||||
mkl_intel_thread, mkl_core, iomp5
|
||||
EOF
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd "${BUILD_DIR}"/lib > /dev/null
|
||||
"${PYTHON}" -c "import numexpr; numexpr.test()" || die
|
||||
pushd > /dev/null
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Inject some useful and sensible default behaviors into setuptools"
|
||||
HOMEPAGE="https://github.com/openstack-dev/pbr"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~hppa ~mips ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-1.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testresources-0.2.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
)"
|
||||
PDEPEND="dev-python/pip[${PYTHON_USEDEP}]"
|
||||
|
||||
# Requ'd for testsuite
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
# This normally actually belongs here.
|
||||
python_prepare_all() {
|
||||
# This test passes when run within the source and doesn't represent a failure, but rather
|
||||
# a gentoo sandbox constraint
|
||||
# Rm tests that rely upon the package being already installed and fail
|
||||
sed -e s':test_console_script_develop:_&:' \
|
||||
-e s':test_console_script_install:_&:' \
|
||||
-e s':test_sdist_extra_files:_&:' \
|
||||
-e s':test_command_hooks:_&:' \
|
||||
-e s':test_sdist_git_extra_files:_&:' \
|
||||
-i pbr/tests/test_core.py || die
|
||||
sed -e s':test_command_hooks:_&:' \
|
||||
-e s':test_global_setup_hooks:_&:' \
|
||||
-i pbr/tests/test_hooks.py || die
|
||||
einfo "rogue tests disabled"
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# Note; Tests, that have been removed, pass once package is emerged.
|
||||
esetup.py testr
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST pypcap-1.1.1.tar.gz 44878 SHA256 b310d5af36f5d68ef4217fda68086ffce56345b415eaac15ad618f94057b017b SHA512 339a081cc06edc2f532b7a8eb962b3fd1d1185ed4fb42ef4a3b768bb27d852a7878d4e08ca421b0fdabd6db61b53663fbf20a073fa61f1839e06bdaf13ec1060 WHIRLPOOL 52cabe0b91747657a1f923ee619771d56af1c544ae7635f1e7e7dc0030064b8edcfe8ef9dc604163b85dce89b79b75e5595736863255147af7e34a2d7070821c
|
||||
DIST pypcap-1.1.3.tar.gz 44805 SHA256 cc0786efd527f16c5f0d08accf3cbd9ff8971ddc284a445cdabf2e47b458a377 SHA512 c8c3634173246838cd1d716ffd630cc149daa171749ab22901b352ed98f58c1377a754bf8510c33dc338deec4c80e5462eaf8baec502f1edb79cfac3ab8844bc WHIRLPOOL 2354f992aace04acad55e2dd8563543d5b4a408734259c228b6f3e30be587248e6db228b87b76c78e7e78b8a7007e4411684e8822dc9d0c3768df9a6ff07bcbc
|
||||
DIST pypcap-1.1.4.tar.gz 41371 SHA256 294d92a36ece9a09369b9b9dc1bfb81fdd4a9d3b38cf96fb4638ca52f7f0c647 SHA512 46e12c45c0615ec1ec7498e613695f05290abcf42081e7f65f549db48c0a242ec015061d4124c7a173b0f26faa6704f2b700de4c35f9bf5480514081b3a52944 WHIRLPOOL 0a24030eaebfe734e119fd1d23714009f6a9c71dbdd4123097cf5397134517604372873a0d5305dad4abb60574d6410504ef217fa4b899e356476222f6650a56
|
||||
|
@ -1 +1,2 @@
|
||||
DIST python-ceilometerclient-1.0.10.tar.gz 77469 SHA256 bbe29a6c85af3ec0bcbb7df1863bb3c3c620fa0423c67f25bd089e0ab7b33059 SHA512 23c9419ffb7610965fb0950e2c60d3f78724b23116a457c36b822c986988aee48c2b3d967f179b68769288f425c0a2ca17c25e90a41bdd487122f03ca42962dd WHIRLPOOL 798e0a0d516bf08f8be904fdba462dc2825de728a7bcca1a5e7056b035ddb992751cd9652968c5ec43dd0938b18cbbf387507b45c5f6b5c54181977609c8c54a
|
||||
DIST python-ceilometerclient-1.1.1.tar.gz 87597 SHA256 f48e2d9ecef25ab784510fa0b299d0d73aa8f41652abf9f28393a93612416a29 SHA512 ce4768e67c6a5871ec52de433292c6328d387d94860f808f63ab9102f96ba3ca2397116792a5b907d9037290a31c2780149481f1f12581e0a9dd585f4e8d0909 WHIRLPOOL 6ec0fba808036620729e984ce66ae90a9a45a4a1167ad25dc11e2da549406cfea12758e80574a7cbcb0dc56c99138918c834eb57ad486821c050a6812e425e03
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="This is a client library for Ceilometer built on the Ceilometer API"
|
||||
HOMEPAGE="https://github.com/openstack/python-ceilometerclient"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-0.8[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
<dev-python/fixtures-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/mock-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-sphinx-2.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.36[${PYTHON_USEDEP}]
|
||||
!~dev-python/testtools-1.2.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.5.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-i18n-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-1.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-serialization-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-1.4.0[${PYTHON_USEDEP}]
|
||||
<dev-python/oslo-utils-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/prettytable-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/python-keystoneclient-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.2.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.3.0[${PYTHON_USEDEP}]
|
||||
<dev-python/stevedore-1.4.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
sed -i '/^argparse/d' requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
testr init
|
||||
testr run || die "tests failed under python2.7"
|
||||
flake8 ceilometerclient/tests/ || die "run over tests folder by flake8 yielded error"
|
||||
}
|
@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
inherit cmake-utils ruby-ng
|
||||
|
||||
DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems"
|
||||
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
|
||||
SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
|
||||
S="${S}/all/${P}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="debug test"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||
|
||||
CDEPEND="
|
||||
>=sys-devel/gcc-4.8:*
|
||||
>=dev-libs/boost-1.54
|
||||
>=dev-cpp/yaml-cpp-0.5.1
|
||||
dev-libs/openssl:*
|
||||
sys-apps/util-linux
|
||||
app-emulation/virt-what
|
||||
net-misc/curl"
|
||||
|
||||
RDEPEND+=" ${CDEPEND}"
|
||||
DEPEND+=" test? ( ${CDEPEND} )"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/\-Werror\ //g' "vendor/leatherman/cmake/cflags.cmake" || die
|
||||
# Remove the code that installs facter.rb to the wrong directory.
|
||||
sed -i '/RUBY_VENDORDIR/d' lib/CMakeLists.txt || die
|
||||
# make it support multilib
|
||||
sed -i 's/\ lib)/\ lib${LIB_SUFFIX})/g' lib/CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCMAKE_VERBOSE_MAKEFILE=ON
|
||||
-DCMAKE_BUILD_TYPE=None
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
-DCMAKE_INSTALL_SYSCONFDIR=/etc
|
||||
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
|
||||
-DUSE_JRUBY_SUPPORT=FALSE
|
||||
)
|
||||
if use debug; then
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
)
|
||||
fi
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
doruby "${BUILD_DIR}"/lib/facter.rb
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
ruby-ng_src_install
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST locale-2.1.0-git.tgz 99139 SHA256 0773283ff0db2a6574ba5ea05132598ea0bad1f88cd0bb037be7e461ed6aa565 SHA512 6f87730f8e6b128a6647bc0c7d223d5e90e85d5bcec884c0680963b09a221882a6dcadb088a27aeb8cc96652582278a5ce24302125902b2c97ca8b00c701abeb WHIRLPOOL 1cf895045c9fd5e273289082e7a1c357a0bf43e2c01a4b8e1567e27fcc71c5a01dbfdd0c7ccb2b08980b01abf00863c59bdd883820466ab36a776a1263245d70
|
||||
DIST locale-2.1.1-git.tgz 99185 SHA256 b61d1f55bae161a539b269788a03d2068df66a905206e4eccde9af1a0a591691 SHA512 c983ac1c5b3819ecc4c7516578fb65b2b62f29e14956728f3c657777aeb3719e08d70cd90e8c718b9675acd537fa4865de15a445d6e6c59a06602305504b81bd WHIRLPOOL b5216eb0a954db2852e8fd8955aa281f3e03037a9b36c93bb55de8a2a23d2c54abd1f613e809a90cfe6ca424d65811061138cd1855b5ad9dc021521be35687b8
|
||||
DIST locale-2.1.2-git.tgz 99433 SHA256 d881ed2a4e9c929ab060163ace2415c969324b0f600981637181ed9b6b99d9bd SHA512 62a0c60f2102cd2d144126985748f4ab186b8f582c9597f7f4080e782196a39d72b9947b90aaecf5b208ccad0175064ac90e816472fb374d19cb5209da0f7ff4 WHIRLPOOL f19bfaadcc46115f69e78c33b924170dde3f2dac04af24bbd196cbd5722d3c1abc7ccd0e18bb915adede09439619abfbaca2785475e4ce1dd2acab7e981c1ca8
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_DOCDIR="doc/reference"
|
||||
RUBY_FAKEGEM_EXTRADOC="ChangeLog README.rdoc doc/text/news.md"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A pure ruby library which provides basic APIs for localization"
|
||||
HOMEPAGE="https://github.com/ruby-gettext/locale"
|
||||
LICENSE="|| ( Ruby GPL-2 )"
|
||||
SRC_URI="https://github.com/ruby-gettext/locale/archive/${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 dev-ruby/test-unit-rr )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/notify/ s:^:#:' test/run-test.rb || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use doc ; then
|
||||
yard || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} test/run-test.rb || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples || die
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="History.rdoc History-Types.rdoc README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Provides a mailcap-like MIME Content-Type lookup for Ruby"
|
||||
HOMEPAGE="https://github.com/mime-types/ruby-mime-types"
|
||||
|
||||
LICENSE="MIT Artistic GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest:5 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid unneeded dependency on minitest-focus.
|
||||
sed -i -e '/focus/ s:^:#:' test/minitest_helper.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST syslogger-1.6.2.gem 9728 SHA256 21e72804ff9ba28d36141df304ec32af00aa4e9f712416ed1a384f210d83f3e9 SHA512 84eaeae4804f9507a2e14c9bf9fd090b1b90189558e509848cca10ca7ce2df92c08232df6d2c05bb608a2d2a7fff206a3605064a67940f2cb058371e36138552 WHIRLPOOL e06d5181ff85457aeeb4df1f89b1b030d3549ffb42e6a99eaaac2f84f0f2bd19645a11b24561a711d14e04ed5a2e8638574803be1aaf96d189cda32faae47f6c
|
||||
DIST syslogger-1.6.3.gem 10240 SHA256 1ac179d3f310018a861d5e605c4d6910265a59dd1e234cb40fd0f49ce32decf8 SHA512 8256560025e4edba5f6efb865ce0d534926bce02a6ff47e1865f1da182b0ea2528c946beac382c0dd5fa229ed14c485e548befbd1fad45592b965c62d4001263 WHIRLPOOL b5c17c7a7e822bb03f4c085f34a9b4710f30aaea3ad297ab48f928b4a6995bd7419a7f2dbd8a6749637ed1979264c4d9941b5cabc63a4d3cd6f196c99a80212c
|
||||
DIST syslogger-1.6.4.gem 10240 SHA256 62e3c455e1c1621aa5c4e621d970821f237c4987d49dbfbb1232a29a422e6e74 SHA512 2e92cd1b1be45929db820237ddaa7a027779dd224d9dda844267f7261b4dc734441caecd20518c25c85bb577087c1697a4768919c68b3501b3967f84dd6c51b6 WHIRLPOOL 3d7afb3b91bdc9880fc82d99e00cde29c81738f1c9cffb29ff398065270693492232df58be55834b4eca4bdef08d7a7ff1c16348c04a4bea62413e9ebc989a80
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby19 ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
# if ever needed
|
||||
#GITHUB_USER="crohr"
|
||||
#GITHUB_PROJECT="${PN}"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Drop-in replacement for the standard Logger, that logs to the syslog"
|
||||
HOMEPAGE="https://github.com/crohr/syslogger"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
doc? ( >=dev-ruby/rdoc-2.4.2 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i '/[Bb]undler/d' Rakefile || die
|
||||
}
|
@ -1,3 +1,8 @@
|
||||
DIST android-tools-5.1.1_r13-arch.tar.gz 4078 SHA256 3d341733bf2de1d7f0127e59b1578514b7874924ae6c2e3afbaab42c21137d4e SHA512 e38e0d1c966b569defc6df185c0e2b35b3766a7f89bcc3f60cea9b536f37b5b6b76f40457735b509d806c4c5b24f6b3805b51b85ffeb4d04fc14a731f81414c3 WHIRLPOOL 82c62b2567e0d26a686329d0c654b1d3a074f9cb1f73c4b3c0d2d99fbcc4a7b3c1cf158a23b3b8f46d8332dc90fa1990094511c466a457b4ee1ae582ec063f14
|
||||
DIST android-tools-5.1.1_r13-core.tar.gz 1210720 SHA256 f62ad7eb61650bc69cafd0810194732a3ba5f42c7443c2dd6f45ae285a3668dd SHA512 2ce2f03193840bd894cb4638bd23a321e53c6185e9816729193714b9e2d068f5ca4ebcee4edc7febaa4ea1ee3621aa6977217a5a84d2f116f35b000969a4af15 WHIRLPOOL 61a5c3c50aa0821fd3dcb8848209a1049e6956196e697e41fb2da80ca2ba7e91bdbc1ad6cac15ec072c006661755412f058cde6f36782a58de1a6e3c50812870
|
||||
DIST android-tools-5.1.1_r13-extras.tar.gz 282690 SHA256 35440226e2dd41e91b96f4791fd389d38e98aedd596c09bdb80b9d27bb8fdf82 SHA512 322d45be02d3d5a5bf677e3a38a44085258ee7b9a8c0a7bc08ddb4104168170d5969699ee54e19009a2bd0d7e0ac6ad7971ccc67e2a0311c6f1ba7fb76cfce83 WHIRLPOOL 3b8e0cc2d00a88f9e00a6de8a88fbe6c5374e82929859045602fbd96d5f4cf5e06f257b27b0a8ba1aebde981c6d4fe090c1a75fe737ca514d93f78cb51964752
|
||||
DIST android-tools-5.1.1_r13-f2fs-tools.tar.gz 65931 SHA256 46aed56344b6661e1e638994ce57a7010c391356396b28cb207fc77f082c60cd SHA512 66f4be04164df8bb5138105db4e9d5b79c09cd8c28a0d30a6d1e6dead77961614172c96fa680953bf445b934f14b4dbbc21ce89a909d9f278f2eca1ca2e1e656 WHIRLPOOL 5aa59b453c6fa31bb76a5568553ab25376d72a35cb96b97a1e7d956b2901f8467f4c7d56b73046c559fc3714e73acace31649f0929899f4e043ccb998de12fdc
|
||||
DIST android-tools-5.1.1_r13-libselinux.tar.gz 49085 SHA256 0950aaa63e22c3d4399142f9795adaee9c0a866b7f037f6b7306642d46327bc2 SHA512 b1a8960b98206118a07f11e7e67429c0d4b8f89c4f65919bcd02a6ba1c7f30e5b73a9431ce8d10fc6ffa6e487b79061b84a969490bf22a49188dc5cd9dd46a2f WHIRLPOOL da4d532bf033aa8bd1f423b596b95e6768b963d65c6fb23f856a07c636882b9584354fd147b04f1393219cc2a45281e440ed6a4f8f5472bd5a39119f81ce9209
|
||||
DIST android-tools-e89e09dd2b9b42184973e3ade291186a2737bced.patch 1115 SHA256 3bac2ec91d6d53cc7a2bd31f0670ff2e560b15d8722d3961e7b24b2f41cf5932 SHA512 2239e883269dc2cbd9f25dde9159cff8de8525b021ea9e2a243d4553e60c28398cb8e830117cc20e7cfe1b951f2841430e9bc950916d30b0f6c9e6dbd154f6b9 WHIRLPOOL 1bdbb65ebbf94e8c732f4893f090f895d24173928f6cc48b53160595449efc0457130ab67e6be132f77763110fd08e7aeba6701effa27de6fe3c0bdc0d82a8d1
|
||||
DIST android-tools_4.2.2+git20130218-3ubuntu36.debian.tar.gz 152459 SHA256 1bb63a418dc785277173ce971711a86f66d35d4ca7053cd1ff4afff8001cc7a6 SHA512 8e03fa08433f0cc358855d116926e50f0e6346c29ab3d1a865eb5b0e3be00091d861bd3ac2f3bc236a9028b35bf40988ab8130f566c3aca8c4ccbd7066a317f9 WHIRLPOOL 50c152c32a6d7f505a86faf24d2645053362073608990228eaa88f25e86c54b2a4dcab51f8d52941af493ac68628cf75c2abd320ec7c80a7aa89431277578e6c
|
||||
DIST android-tools_4.2.2+git20130218.orig.tar.xz 215868 SHA256 9bfba987e1351b12aa983787b9ae4424ab752e9e646d8e93771538dc1e5d932f SHA512 c5bfd3c8e514809db257ba5559c865742768b7520b38aa2f53185aff5c328e5cf7fb328a6ff6450eeddd5056985f232d492eba63a87978440e2147e26d62f458 WHIRLPOOL 0ad784e8524adf1d23958336b73f22fe504074b85c93f17e023a10e57f4e413d8b803c619a0dd7ff495ff8910681d3023932d7a87a008f3e44bacbe6c1fd70a4
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit bash-completion-r1 eutils toolchain-funcs
|
||||
|
||||
MY_PV="${PV/_p/_r}"
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
DESCRIPTION="Android platform tools (adb, fastboot, and mkbootimg)"
|
||||
HOMEPAGE="https://android.googlesource.com/platform/system/core.git/"
|
||||
# For stable digests, git tarballs generated by android.googlesource.com
|
||||
# are fetched from mirror://gentoo/.
|
||||
SRC_URI="https://projects.archlinux.org/svntogit/community.git/snapshot/community-caa300cf262afcf5bdb4dcc923dee54e3715fd5c.tar.gz -> ${MY_P}-arch.tar.gz
|
||||
https://github.com/android/platform_system_core/archive/android-${MY_PV}.tar.gz -> ${MY_P}-core.tar.gz
|
||||
mirror://gentoo/${MY_P}-extras.tar.gz
|
||||
mirror://gentoo/${MY_P}-libselinux.tar.gz
|
||||
mirror://gentoo/${MY_P}-f2fs-tools.tar.gz"
|
||||
|
||||
# The entire source code is Apache-2.0, except for fastboot which is BSD-2.
|
||||
LICENSE="Apache-2.0 BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~arm-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="sys-libs/zlib:=
|
||||
dev-libs/openssl:0="
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
local dir filename
|
||||
for filename in ${A}; do
|
||||
if [[ ${filename} =~ ^${MY_P}-(.*)\.tar\.gz$ ]]; then
|
||||
dir=${BASH_REMATCH[1]}
|
||||
mkdir -p "${dir}" || die
|
||||
pushd "${dir}" >/dev/null
|
||||
unpack "${filename}"
|
||||
popd > /dev/null
|
||||
else
|
||||
die "unrecognized file in \${A}: ${filename}"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
mv core/*/* core/ || die
|
||||
sed -e 's|#include <dlfcn.h>|\0\n#include <stddef.h>\n#include <string.h>\n|' \
|
||||
-i extras/f2fs_utils/f2fs_utils.c || die
|
||||
mv arch/*/trunk/Makefile ./ || die
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
newbashcomp arch/*/trunk/bash_completion fastboot
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST cppcheck-1.63.tar.bz2 1157231 SHA256 924bfc4593215b7bab6b049dbbce9a6f343dbf15f4bdd869ef1d378f09f92064 SHA512 4c2f6080ce72ffa24f929a2b74c656538d9f555fb14b3e6f3a2632eca8973a8b711831ddd698e13059643446b0e90619f71e13b1d06b6fefc4b4562622939508 WHIRLPOOL af095e4f0b84ded78f9fa10baedc5266a66ac52ffa6813eeb38697d1c55e02b76670eb09228c4ce356f2d3402f4247a66fe2ccd666e5637326e0913a75c2732e
|
||||
DIST cppcheck-1.67.tar.bz2 1084926 SHA256 6214c0cf0c11c83ecfae35f8cc8db4fa47389a77360919653d635612cefe2ab9 SHA512 5d1e3e12c818f850b00a8e3b3d79f24fceb0fa806d9100aaa6aed1bbbc86237af2e7dd4567fdfd227281f62d4b5450ac6cbbc6a97e04b380c242c59ddd3609ef WHIRLPOOL 1fc82744a78b76d9bb682fa6f6d8a619164c5cb250eb199ac545d4c147522ab5c4961d635cdea291ccf65f7972a162d394c4e500542b27b8679e262093e86884
|
||||
DIST cppcheck-1.68.tar.bz2 1008321 SHA256 add6e5e12b05ca02b356cd0ec7420ae0dcafddeaef183b4dfbdef59c617349b1 SHA512 72c78a17281ad3d771459895ad776c5dceda605edef13886e870cff456db5dc5cbff39d56bdf39788283bf673dd28a13b1602a330b8e33a3042b07cf43f0f011 WHIRLPOOL 16d8d4deeef9ec9fb4415c5941935122ebf3a44159ac8251ebfbfca2aeeb270bccaed5dcf63f6018b3fcf79cad6779af76d0e1cba47e853394794be4942cd622
|
||||
DIST cppcheck-1.69.tar.bz2 1052984 SHA256 4bd5c8031258ef29764a4c92666384238a625beecbb2aceeb7065ec388c7532e SHA512 30f239bcdf4cb1fcc254271bf55f3fdc1ec22e7d26f0704218390cfce1d4cf3ef41f385f4e463ede1a1a401e87d81b1d66a462c7b07e045d46aebd2354384a01 WHIRLPOOL e341c8b8f133fd19188700d53d6f02ab5deffc10fdfedbc9474931596850c10027a91e445998a3884f8f30908581e428fe4c629397b14660a0fe7b852e48b3a4
|
||||
DIST cppcheck-1.70.tar.bz2 1111291 SHA256 c6aaafd41b4c2050f3fb96a4aa159507007403a163d05361bd9544e5baf18f39 SHA512 c2223edce22739e555eca114bc39d8f66229ec26fb122c976e3dcf88957bfd6b37c170e183f22611ea2d17ac22b33da78440f820c044f6099ac901bd6c4f1b8d WHIRLPOOL 0b6c52d13ff8c9c8dfdf383e419edd311a484a89d695dbf9409f1ea608c1dc5bbc20fcb03bc0469495a35b61a43a90ccf1e76cd191cf28326f929020d66083b6
|
||||
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1 eutils qt4-r2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="static analyzer of C/C++ code"
|
||||
HOMEPAGE="http://cppcheck.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/cppcheck/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="htmlreport qt4"
|
||||
|
||||
DEPEND="htmlreport? ( ${PYTHON_DEPS} )
|
||||
qt4? ( dev-qt/qtgui:4 )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
tc-export CXX
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CFGDIR="/usr/share/${PN}/cfg"
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_compile
|
||||
popd
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_compile
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
dodoc readme.txt
|
||||
insinto "/usr/share/${PN}/cfg"
|
||||
doins cfg/*.cfg
|
||||
if use qt4 ; then
|
||||
dobin gui/${PN}-gui
|
||||
dodoc readme_gui.txt gui/{projectfile.txt,gui.cppcheck}
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_install
|
||||
popd
|
||||
find "${D}" -name "*.egg-info" -delete
|
||||
fi
|
||||
}
|
@ -1,101 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic qt4-r2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="static analyzer of C/C++ code"
|
||||
HOMEPAGE="http://cppcheck.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="htmlreport pcre qt4"
|
||||
|
||||
RDEPEND="htmlreport? ( ${PYTHON_DEPS} )
|
||||
>=dev-libs/tinyxml2-2
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
pcre? ( dev-libs/libpcre )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# Drop bundled libs, patch Makefile generator and re-run it
|
||||
rm -r externals || die
|
||||
epatch "${FILESDIR}"/${PN}-1.66-tinyxml2.patch
|
||||
tc-export CXX
|
||||
emake dmake
|
||||
./dmake || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.65-c++0x.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use pcre ; then
|
||||
sed -e '/HAVE_RULES=/s:=no:=yes:' \
|
||||
-i Makefile
|
||||
fi
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LIBS="$(pkg-config --libs tinyxml2)"
|
||||
emake ${PN} man \
|
||||
CFGDIR="${EROOT}usr/share/${PN}/cfg" \
|
||||
DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
|
||||
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_compile
|
||||
popd
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_compile
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# safe final version
|
||||
mv -v ${PN}{,.final}
|
||||
mv -v lib/library.o{,.final}
|
||||
mv -v cli/cppcheckexecutor.o{,.final}
|
||||
#trigger recompile with CFGDIR inside ${S}
|
||||
emake check CFGDIR="${S}/cfg"
|
||||
# restore
|
||||
mv -v ${PN}{.final,}
|
||||
mv -v lib/library.o{.final,}
|
||||
mv -v cli/cppcheckexecutor.o{.final,}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
insinto "/usr/share/${PN}/cfg"
|
||||
doins cfg/*.cfg
|
||||
if use qt4 ; then
|
||||
dobin gui/${PN}-gui
|
||||
dodoc readme_gui.txt gui/{projectfile.txt,gui.${PN}}
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_install
|
||||
popd
|
||||
find "${D}" -name "*.egg-info" -delete
|
||||
fi
|
||||
doman ${PN}.1
|
||||
dodoc readme.txt
|
||||
}
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic qt4-r2 toolchain-funcs
|
||||
|
||||
DESCRIPTION="static analyzer of C/C++ code"
|
||||
HOMEPAGE="http://cppcheck.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="htmlreport pcre qt4"
|
||||
|
||||
RDEPEND="htmlreport? ( ${PYTHON_DEPS} )
|
||||
>=dev-libs/tinyxml2-2
|
||||
qt4? ( dev-qt/qtgui:4 )
|
||||
pcre? ( dev-libs/libpcre )"
|
||||
DEPEND="${RDEPEND}
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-libs/libxslt
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# Drop bundled libs, patch Makefile generator and re-run it
|
||||
rm -r externals || die
|
||||
epatch "${FILESDIR}"/${PN}-1.66-tinyxml2.patch
|
||||
tc-export CXX
|
||||
emake dmake
|
||||
./dmake || die
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-1.65-c++0x.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use pcre ; then
|
||||
sed -e '/HAVE_RULES=/s:=no:=yes:' \
|
||||
-i Makefile
|
||||
fi
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_configure
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export LIBS="$(pkg-config --libs tinyxml2)"
|
||||
emake ${PN} man \
|
||||
CFGDIR="${EROOT}usr/share/${PN}/cfg" \
|
||||
DB2MAN="${EROOT}usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl"
|
||||
|
||||
if use qt4 ; then
|
||||
pushd gui
|
||||
qt4-r2_src_compile
|
||||
popd
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_compile
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# safe final version
|
||||
mv -v ${PN}{,.final}
|
||||
mv -v lib/library.o{,.final}
|
||||
mv -v cli/cppcheckexecutor.o{,.final}
|
||||
#trigger recompile with CFGDIR inside ${S}
|
||||
emake check CFGDIR="${S}/cfg"
|
||||
# restore
|
||||
mv -v ${PN}{.final,}
|
||||
mv -v lib/library.o{.final,}
|
||||
mv -v cli/cppcheckexecutor.o{.final,}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# it's not autotools-based, so "${ED}" here, not "${D}", bug 531760
|
||||
emake install DESTDIR="${ED}"
|
||||
|
||||
insinto "/usr/share/${PN}/cfg"
|
||||
doins cfg/*.cfg
|
||||
if use qt4 ; then
|
||||
dobin gui/${PN}-gui
|
||||
dodoc readme_gui.txt gui/{projectfile.txt,gui.${PN}}
|
||||
fi
|
||||
if use htmlreport ; then
|
||||
pushd htmlreport
|
||||
distutils-r1_src_install
|
||||
popd
|
||||
find "${D}" -name "*.egg-info" -delete
|
||||
fi
|
||||
doman ${PN}.1
|
||||
dodoc readme.txt
|
||||
dodoc -r triage
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
--- cppcheck-1.65/gui/gui.pro
|
||||
+++ cppcheck-1.65/gui/gui.pro
|
||||
@@ -150,6 +150,4 @@
|
||||
LIBS += -lshlwapi
|
||||
}
|
||||
|
||||
-contains(QMAKE_CC, gcc) {
|
||||
QMAKE_CXXFLAGS += -std=c++0x
|
||||
-}
|
@ -1,67 +0,0 @@
|
||||
--- cppcheck-1.65/tools/dmake.cpp
|
||||
+++ cppcheck-1.65/tools/dmake.cpp
|
||||
@@ -170,7 +170,6 @@
|
||||
}
|
||||
|
||||
std::vector<std::string> externalfiles;
|
||||
- getCppFiles(externalfiles, "externals/");
|
||||
|
||||
|
||||
// QMAKE - lib/lib.pri
|
||||
@@ -179,10 +178,6 @@
|
||||
if (fout1.is_open()) {
|
||||
fout1 << "# no manual edits - this file is autogenerated by dmake\n\n";
|
||||
fout1 << "include($$PWD/pcrerules.pri)\n";
|
||||
- fout1 << "BASEPATH = ../externals/tinyxml/\n";
|
||||
- fout1 << "include($$PWD/../externals/tinyxml/tinyxml.pri)\n";
|
||||
- fout1 << "BASEPATH = ../lib/\n";
|
||||
- fout1 << "INCLUDEPATH += ../externals/tinyxml\n";
|
||||
fout1 << "HEADERS += $${BASEPATH}check.h \\\n";
|
||||
for (unsigned int i = 0; i < libfiles.size(); ++i) {
|
||||
std::string fname(libfiles[i].substr(4));
|
||||
@@ -208,7 +203,6 @@
|
||||
std::ofstream fout1("test/testfiles.pri");
|
||||
if (fout1.is_open()) {
|
||||
fout1 << "# no manual edits - this file is autogenerated by dmake\n\n";
|
||||
- fout1 << "INCLUDEPATH += ../externals/tinyxml\n";
|
||||
fout1 << "\n\nSOURCES += ";
|
||||
for (unsigned int i = 0; i < testfiles.size(); ++i) {
|
||||
const std::string filename(testfiles[i].substr(5));
|
||||
@@ -354,9 +348,9 @@
|
||||
|
||||
makeConditionalVariable(fout, "CXX", "g++");
|
||||
makeConditionalVariable(fout, "PREFIX", "/usr");
|
||||
- makeConditionalVariable(fout, "INCLUDE_FOR_LIB", "-Ilib -Iexternals/tinyxml");
|
||||
- makeConditionalVariable(fout, "INCLUDE_FOR_CLI", "-Ilib -Iexternals/tinyxml");
|
||||
- makeConditionalVariable(fout, "INCLUDE_FOR_TEST", "-Ilib -Icli -Iexternals/tinyxml");
|
||||
+ makeConditionalVariable(fout, "INCLUDE_FOR_LIB", "-Ilib");
|
||||
+ makeConditionalVariable(fout, "INCLUDE_FOR_CLI", "-Ilib");
|
||||
+ makeConditionalVariable(fout, "INCLUDE_FOR_TEST", "-Ilib -Icli");
|
||||
|
||||
fout << "BIN=$(DESTDIR)$(PREFIX)/bin\n\n";
|
||||
fout << "# For 'make man': sudo apt-get install xsltproc docbook-xsl docbook-xml on Linux\n";
|
||||
@@ -401,10 +401,10 @@
|
||||
fout << "dmake:\ttools/dmake.o cli/filelister.o lib/path.o\n";
|
||||
fout << "\t$(CXX) $(CXXFLAGS) -std=c++0x -o dmake tools/dmake.o cli/filelister.o lib/path.o -Ilib $(LDFLAGS)\n";
|
||||
fout << "\t./dmake\n\n";
|
||||
- fout << "reduce:\ttools/reduce.o externals/tinyxml/tinyxml2.o $(LIBOBJ)\n";
|
||||
- fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -std=c++0x -g -o reduce tools/reduce.o -Ilib -Iexternals/tinyxml $(LIBOBJ) $(LIBS) externals/tinyxml/tinyxml2.o $(LDFLAGS) $(RDYNAMIC)\n\n";
|
||||
+ fout << "reduce:\ttools/reduce.o $(LIBOBJ)\n";
|
||||
+ fout << "\t$(CXX) $(CPPFLAGS) $(CXXFLAGS) -std=c++0x -g -o reduce tools/reduce.o -Ilib $(LIBOBJ) $(LIBS) $(LDFLAGS) $(RDYNAMIC)\n\n";
|
||||
fout << "clean:\n";
|
||||
- fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o externals/tinyxml/*.o testrunner reduce dmake cppcheck cppcheck.1\n\n";
|
||||
+ fout << "\trm -f build/*.o lib/*.o cli/*.o test/*.o tools/*.o testrunner reduce dmake cppcheck cppcheck.1\n\n";
|
||||
fout << "man:\tman/cppcheck.1\n\n";
|
||||
fout << "man/cppcheck.1:\t$(MAN_SOURCE)\n\n";
|
||||
fout << "\t$(XP) $(DB2MAN) $(MAN_SOURCE)\n\n";
|
||||
--- cppcheck-1.65/gui/gui.pro
|
||||
+++ cppcheck-1.65/gui/gui.pro
|
||||
@@ -15,7 +15,7 @@
|
||||
LIBS += -l../bin/cppcheck-core
|
||||
DEFINES += CPPCHECKLIB_IMPORT
|
||||
}
|
||||
-LIBS += -L../externals
|
||||
+LIBS += `pkg-config --libs tinyxml2`
|
||||
|
||||
DESTDIR = .
|
||||
RCC_DIR = temp
|
@ -1,4 +1,4 @@
|
||||
DIST pycharm-community-3.4.1.tar.gz 112821686 SHA256 96427b1e842e7c09141ec4d3ede627c5ca7d821c0d6c98169b56a34f9035ef64 SHA512 3f5a4c8c598ed0fe1a28335b63864a5597fe6da3d6de225ada93bbe4342b81db8cc0a96f297b5f0ebe9608b8507f9293419790805b7e24e0151175e952ecd421 WHIRLPOOL efd62eb960902ab26983f51b2904209315b5a9535d6f0c0a45bc9d90df87cafc9d2d720d20e702b1846c0d2083af4e529f6de15184d73996da6164b4b8a38ac2
|
||||
DIST pycharm-community-4.0.6.tar.gz 121278114 SHA256 7aa0ed3d743ed6886329671d2e5ae10abdac35d0595cff8d6eeb39ada9168e9a SHA512 b9a20550fac93e9d247da702d8cf2e5c56eba9cb427024d85c76d21547f2e11f037ad12f465f4fdcbd3a8ee7e080bcaebf2b081af100b03953388f97921caba5 WHIRLPOOL cbb42c85a0835c323294f9b7648f8db51fd98b2b936dd92b228ee90e0ac78231d7fe8e16dd114c73380fd1bc6061a178e30483631fc16ee90c3b7a9f2c690d74
|
||||
DIST pycharm-community-4.5.2.tar.gz 121351880 SHA256 a951141777a6581dfe7df0344abcb07406f43577913e56daf1010d6840b46127 SHA512 f1b828fc432c3533aec74768435bf015d73eb29a22cca4c3b551a989c6980d5416ba4b41a67530599aaa93eb08050465839018e2f543c319f494f6f0e5a9d6ad WHIRLPOOL a260580d8427b17fbfa24356d85702df6db066a20406a1559e6f140015a6fb2c4cee5011bc26960f1ca9f7cd213a520c305fdd1bfa69cdcc97f07fe5e47318a8
|
||||
DIST pycharm-community-4.5.3.tar.gz 121605129 SHA256 205247b94965d9499e55d13ec701364475ff823d9353d967744750f6ceadc38d SHA512 0ae316890d6e348024f974a81cca9669c61f005a7af0cd0ef4d2f051fcb71cebbe372446f3a660f9c2a87837d7986809493499b34311a175542751d4f8597753 WHIRLPOOL e3895326751e6fd97a6ec60fc3933fc07b61337668dd18662ab22bb85f41fac1fca2511bf8eccfa0946dffa5f51f9cb24fda6019c88c88e07f281e390e6a37d9
|
||||
DIST pycharm-community-4.5.4.tar.gz 121580731 SHA256 6bdd344eb88ee50cf29e98278c87faad0d1a23a7ec84c1794b956d2633024228 SHA512 e0c90fd84d60e1ac644c2b29aef484c1768cf8832c70cbc1a7905b64e0ef0fd7ec50665b9b15fcdaad762852e42103487b59fc4c8d1e711fd3a30123f8c959eb WHIRLPOOL d3725d9f3d983edf111f8aeb903bced2df643e9b39dcff59f21c176a16d9304dfe833ee542e204d1a4f5cdfadb33025587a669f190202bbae83cd9d102250c08
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils readme.gentoo
|
||||
|
||||
DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
|
||||
HOMEPAGE="http://www.jetbrains.com/pycharm/"
|
||||
SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD CDDL MIT-with-advertising"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=""
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
QA_FLAGS_IGNORED="opt/${PN}/bin/libyjpagent-linux.so
|
||||
opt/${PN}/bin/libyjpagent-linux64.so"
|
||||
|
||||
MY_PN=${PN/-professional/}
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /opt/${PN}
|
||||
doins -r *
|
||||
|
||||
fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
|
||||
|
||||
dosym /opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
|
||||
newicon "bin/${MY_PN}.png" ${PN}.png
|
||||
make_desktop_entry ${PN} "${PN}" "${PN}"
|
||||
|
||||
readme.gentoo_src_install
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils readme.gentoo
|
||||
|
||||
DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
|
||||
HOMEPAGE="http://www.jetbrains.com/pycharm/"
|
||||
SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD CDDL MIT-with-advertising"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=""
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
QA_PREBUILT="opt/${PN}/bin/fsnotifier
|
||||
opt/${PN}/bin/fsnotifier64
|
||||
opt/${PN}/bin/libyjpagent-linux.so
|
||||
opt/${PN}/bin/libyjpagent-linux64.so"
|
||||
|
||||
MY_PN=${PN/-professional/}
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /opt/${PN}
|
||||
doins -r *
|
||||
|
||||
fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
|
||||
|
||||
dosym /opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
|
||||
newicon "bin/${MY_PN}.png" ${PN}.png
|
||||
make_desktop_entry ${PN} "${PN}" "${PN}"
|
||||
|
||||
readme.gentoo_src_install
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils readme.gentoo
|
||||
|
||||
DESCRIPTION="Intelligent Python IDE with unique code assistance and analysis"
|
||||
HOMEPAGE="http://www.jetbrains.com/pycharm/"
|
||||
SRC_URI="http://download.jetbrains.com/python/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD CDDL MIT-with-advertising"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
DEPEND=""
|
||||
|
||||
RESTRICT="mirror strip"
|
||||
QA_PREBUILT="opt/${PN}/bin/fsnotifier
|
||||
opt/${PN}/bin/fsnotifier64
|
||||
opt/${PN}/bin/libyjpagent-linux.so
|
||||
opt/${PN}/bin/libyjpagent-linux64.so"
|
||||
|
||||
MY_PN=${PN/-professional/}
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /opt/${PN}
|
||||
doins -r *
|
||||
|
||||
fperms a+x /opt/${PN}/bin/{pycharm.sh,fsnotifier{,64},inspect.sh}
|
||||
|
||||
dosym /opt/${PN}/bin/pycharm.sh /usr/bin/${PN}
|
||||
newicon "bin/${MY_PN}.png" ${PN}.png
|
||||
make_desktop_entry ${PN} "${PN}" "${PN}"
|
||||
|
||||
readme.gentoo_src_install
|
||||
}
|
@ -1 +1 @@
|
||||
DIST blogc-git-receiver-0.1-beta.5.tar.xz 68584 SHA256 761bdece93d5b9eacc76c8b561cede01d2acd29e1f52b91bab649246f1fb957a SHA512 7d319bcd011f7444f0003934c9ad8538690b00c28c48cefb039746c70690b1811e583f282a935c93c37fe07d0dccf6a7c82846ab241d6807604c17e636d1dd53 WHIRLPOOL df6e60062d13c90f91c658da6bfc9e5aaeaf23b0c37947f7c1d5f67ba32ad176f64847ced20385b841445bd1f5b9b81b9eb4f50502f1465dfe7ef069cb0aa4fe
|
||||
DIST blogc-git-receiver-0.1.tar.xz 67904 SHA256 e0d5a632c9e474b210343545f72748af796ea12db5e23d6e5dfc419247245897 SHA512 b7d095767d1abf4a4b79dea4fdb69ce02e90bd2d0f7e0da3e713d4dea166374200646b6c7351b533d9f5b60803869c4774bd5cfeb2d27bfa993eaf3bbd0b6a02 WHIRLPOOL 328c6a461cc482b1712dca514c808f7db2f2e776528aee838b37271e6ab21044e5412eb765ba279e2f93be1363efee0a9d68ad0dcaa1912f630fc99398c33fc3
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue