parent
9edc330b42
commit
cfbdd1a52d
@ -1,142 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit golang-base systemd user
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="Generic template rendering and notifications with Consul"
|
||||
EGO_PN="github.com/hashicorp/${PN}/..."
|
||||
HOMEPAGE="http://${EGO_PN%/*}"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.4:="
|
||||
RDEPEND=""
|
||||
|
||||
SRC_URI="https://${EGO_PN%/*}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/fatih/structs/archive/a924a2250d1033753512e95dce41dca3fd793ad9.tar.gz -> structs-a924a2250d1033753512e95dce41dca3fd793ad9.tar.gz
|
||||
https://github.com/go-yaml/yaml/archive/f7716cbe52baa25d2e9b0d0da546fcf909fc16b4.tar.gz -> go-yaml-v2-f7716cbe52baa25d2e9b0d0da546fcf909fc16b4.tar.gz
|
||||
https://github.com/golang/sys/archive/58da1121af381632b48b2843aeb16299f2e1dc50.tar.gz -> go-sys-0_pre20150729.tar.gz
|
||||
https://github.com/hashicorp/consul/archive/v0.6.3.tar.gz -> consul-0.6.3.tar.gz
|
||||
https://github.com/hashicorp/go-cleanhttp/archive/ce617e79981a8fff618bb643d155133a8f38db96.tar.gz -> go-cleanhttp-ce617e79981a8fff618bb643d155133a8f38db96.tar.gz
|
||||
https://github.com/hashicorp/errwrap/archive/7554cd9344cec97297fa6649b055a8c98c2a1e55.tar.gz -> errwrap-7554cd9344cec97297fa6649b055a8c98c2a1e55.tar.gz
|
||||
https://github.com/hashicorp/go-multierror/archive/d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5.tar.gz -> go-multierror-d30f09973e19c1dfcd120b2d9c4f168e68d6b5d5.tar.gz
|
||||
https://github.com/hashicorp/go-reap/archive/2d85522212dcf5a84c6b357094f5c44710441912.tar.gz -> go-reap-2d85522212dcf5a84c6b357094f5c44710441912.tar.gz
|
||||
https://github.com/hashicorp/go-syslog/archive/42a2b573b664dbf281bd48c3cc12c086b17a39ba.tar.gz -> go-syslog-42a2b573b664dbf281bd48c3cc12c086b17a39ba.tar.gz
|
||||
https://github.com/hashicorp/hcl/archive/578dd9746824a54637686b51a41bad457a56bcef.tar.gz -> hcl-578dd9746824a54637686b51a41bad457a56bcef.tar.gz
|
||||
https://github.com/hashicorp/logutils/archive/0dc08b1671f34c4250ce212759ebd880f743d883.tar.gz -> logutils-0dc08b1671f34c4250ce212759ebd880f743d883.tar.gz
|
||||
https://github.com/hashicorp/serf/archive/64d10e9428bd70dbcd831ad087573b66731c014b.tar.gz -> serf-64d10e9428bd70dbcd831ad087573b66731c014b.tar.gz
|
||||
https://github.com/hashicorp/vault/archive/145041757cee09193b0d132b816f72bc1e846107.tar.gz -> vault-145041757cee09193b0d132b816f72bc1e846107.tar.gz
|
||||
https://github.com/mitchellh/mapstructure/archive/281073eb9eb092240d33ef253c404f1cca550309.tar.gz -> mapstructure-281073eb9eb092240d33ef253c404f1cca550309.tar.gz
|
||||
test? (
|
||||
https://github.com/armon/go-metrics/archive/345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz -> go-metrics-345426c77237ece5dab0e1605c3e4b35c3f54757.tar.gz
|
||||
https://github.com/armon/go-radix/archive/4239b77079c7b5d1243b7b4736304ce8ddb6f0f2.tar.gz -> go-radix-4239b77079c7b5d1243b7b4736304ce8ddb6f0f2.tar.gz
|
||||
https://github.com/aws/aws-sdk-go/archive/v1.0.11.tar.gz -> aws-sdk-go-1.0.11.tar.gz
|
||||
https://github.com/coreos/etcd/archive/5099bf6f7ab92181158cc2f0f0db1bb6056e9aeb.tar.gz -> etcd-5099bf6f7ab92181158cc2f0f0db1bb6056e9aeb.tar.gz
|
||||
https://github.com/go-ini/ini/archive/v1.8.6.tar.gz -> go-ini-1.8.6.tar.gz
|
||||
https://github.com/go-sql-driver/mysql/archive/v1.2.tar.gz -> go-sql-driver-mysql-1.2.tar.gz
|
||||
https://github.com/golang/crypto/archive/83f1503f771a82af8a31f358eb825e9efb5dae6c.tar.gz -> go-crypto-0_pre20150808.tar.gz
|
||||
https://github.com/golang/net/archive/1bc0720082d79ce7ffc6ef6e523d00d46b0dee45.tar.gz -> go-net-0_pre20150804.tar.gz
|
||||
https://github.com/hashicorp/consul/archive/v0.6.3.tar.gz -> consul-0.6.3.tar.gz
|
||||
https://github.com/hashicorp/go-gatedio/archive/8b8de1022221dde1fb52fa25d0caab46e59c8c14.tar.gz -> go-gatedio-8b8de1022221dde1fb52fa25d0caab46e59c8c14.tar.gz
|
||||
https://github.com/hashicorp/go-msgpack/archive/fa3f63826f7c23912c15263591e65d54d080b458.tar.gz -> go-msgpack-fa3f63826f7c23912c15263591e65d54d080b458.tar.gz
|
||||
https://github.com/hashicorp/go-uuid/archive/36289988d83ca270bc07c234c36f364b0dd9c9a7.tar.gz -> go-uuid-36289988d83ca270bc07c234c36f364b0dd9c9a7.tar.gz
|
||||
https://github.com/hashicorp/golang-lru/archive/5c7531c003d8bf158b0fe5063649a2f41a822146.tar.gz -> golang-lru-5c7531c003d8bf158b0fe5063649a2f41a822146.tar.gz
|
||||
https://github.com/hashicorp/uuid/archive/2951e8b9707a040acdb49145ed9f36a088f3532e.tar.gz -> uuid-2951e8b9707a040acdb49145ed9f36a088f3532e.tar.gz
|
||||
https://github.com/jmespath/go-jmespath/archive/0.2.2.tar.gz -> go-jmespath-0.2.2.tar.gz
|
||||
https://github.com/mitchellh/copystructure/archive/6fc66267e9da7d155a9d3bd489e00dad02666dc6.tar.gz -> copystructure-6fc66267e9da7d155a9d3bd489e00dad02666dc6.tar.gz
|
||||
https://github.com/mitchellh/reflectwalk/archive/eecf4c70c626c7cfbb95c90195bc34d386c74ac6.tar.gz -> reflectwalk-eecf4c70c626c7cfbb95c90195bc34d386c74ac6.tar.gz
|
||||
https://github.com/samuel/go-zookeeper/archive/218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz -> go-zookeeper-218e9c81c0dd8b3b18172b2bbfad92cc7d6db55f.tar.gz
|
||||
)"
|
||||
|
||||
STRIP_MASK="*.a"
|
||||
S="${WORKDIR}/src/${EGO_PN%/*}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
get_archive_go_package() {
|
||||
local archive=${1} uri x
|
||||
case ${archive} in
|
||||
go-crypto-*) echo "crypto-* golang.org/x/crypto"; return;;
|
||||
go-net-*) echo "net-* golang.org/x/net"; return;;
|
||||
go-sys-*) echo "sys-* golang.org/x/sys"; return;;
|
||||
go-yaml-v2-*) echo "yaml-* gopkg.in/yaml.v2"; return;;
|
||||
esac
|
||||
for x in ${SRC_URI}; do
|
||||
if [[ ${x} == http* ]]; then
|
||||
uri=${x}
|
||||
elif [[ ${x} == ${archive} ]]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
uri=${uri#https://}
|
||||
uri=${uri%/archive/*}
|
||||
echo "${uri##*/}-* ${uri}"
|
||||
}
|
||||
|
||||
unpack_go_packages() {
|
||||
local go_package pattern x
|
||||
# Unpack packages to appropriate locations for GOPATH
|
||||
for x in ${A}; do
|
||||
unpack ${x}
|
||||
go_package=$(get_archive_go_package ${x})
|
||||
pattern=${go_package%% *}
|
||||
go_package=${go_package##* }
|
||||
mkdir -p src/${go_package%/*}
|
||||
mv ${pattern} src/${go_package} || die
|
||||
done
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
unpack_go_packages
|
||||
export GOPATH=${WORKDIR}:$(get_golibdir_gopath)
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Avoid the need to have a git checkout
|
||||
sed -e 's:^GIT.*::' \
|
||||
-e 's:-ldflags.*:\\:' \
|
||||
-i scripts/build.sh || die
|
||||
|
||||
# Create a writable GOROOT in order to avoid sandbox violations.
|
||||
export GOROOT="${WORKDIR}/goroot"
|
||||
cp -sR "${EPREFIX}"/usr/lib/go "${GOROOT}" || die
|
||||
rm -rf "${GOROOT}"/{src,pkg/$(go env GOOS)_$(go env GOARCH)}/"${EGO_PN%/*}" || die
|
||||
|
||||
# Prune conflicting libraries from GOROOT
|
||||
while read -r -d '' x; do
|
||||
x=${x#${WORKDIR}/src}
|
||||
rm -rf "${GOROOT}/src/${x}" "${GOROOT}/pkg/$(go env GOOS)_$(go env GOARCH)/${x}"{,.a} || die
|
||||
done < <(find "${WORKDIR}/src" -maxdepth 3 -mindepth 3 -type d -print0)
|
||||
|
||||
# Disable tests that fail under network-sandbox
|
||||
sed -e 's:TestRun_onceFlag(:_\0:' -i cli_test.go || die
|
||||
sed -e 's:TestRunner_quiescence(:_\0:' -i runner_test.go || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
go build -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
|
||||
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${WORKDIR}/bin/${PN}"
|
||||
dodoc README.md
|
||||
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
keepdir /etc/${PN}.d
|
||||
insinto /etc/${PN}.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
}
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit golang-base systemd user
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="Generic template rendering and notifications with Consul"
|
||||
EGO_PN="github.com/hashicorp/${PN}/..."
|
||||
HOMEPAGE="http://${EGO_PN%/*}"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND=">=dev-lang/go-1.6:="
|
||||
RDEPEND=""
|
||||
|
||||
SRC_URI="https://${EGO_PN%/*}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/mitchellh/gox/archive/c9740af9c6574448fd48eb30a71f964014c7a837.tar.gz -> gox-c9740af9c6574448fd48eb30a71f964014c7a837.tar.gz
|
||||
https://github.com/mitchellh/iochan/archive/87b45ffd0e9581375c491fef3d32130bb15c5bd7.tar.gz -> iochan-87b45ffd0e9581375c491fef3d32130bb15c5bd7.tar.gz
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 -1 ${PN}
|
||||
}
|
||||
|
||||
get_archive_go_package() {
|
||||
local archive=${1} uri x
|
||||
for x in ${SRC_URI}; do
|
||||
if [[ ${x} == http* ]]; then
|
||||
uri=${x}
|
||||
elif [[ ${x} == ${archive} ]]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
uri=${uri#https://}
|
||||
echo ${uri%/archive/*}
|
||||
}
|
||||
|
||||
unpack_go_packages() {
|
||||
local go_package x
|
||||
# Unpack packages to appropriate locations for GOPATH
|
||||
for x in ${A}; do
|
||||
unpack ${x}
|
||||
if [[ ${x} == *.tar.gz ]]; then
|
||||
go_package=$(get_archive_go_package ${x})
|
||||
mkdir -p src/${go_package%/*}
|
||||
mv ${go_package##*/}-* src/${go_package} || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
mkdir "${S}" && cd "${S}" || die
|
||||
unpack_go_packages
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
# Avoid the need to have a git checkout
|
||||
sed -e 's:^GIT.*::' -i src/${EGO_PN%/*}/scripts/build.sh || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export GOPATH=${S}
|
||||
go install -v -work -x ${EGO_BUILD_FLAGS} "github.com/mitchellh/gox/..." || die
|
||||
cd "${S}"/src/${EGO_PN%/*} || die
|
||||
PATH=${PATH}:${S}/bin \
|
||||
XC_ARCH=$(go env GOARCH) \
|
||||
XC_OS=$(go env GOOS) \
|
||||
emake bin
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${S}"/src/${EGO_PN%/*} || die
|
||||
emake test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${S}/bin/${PN}"
|
||||
dodoc "${S}"/src/${EGO_PN%/*}/{CHANGELOG.md,README.md}
|
||||
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
keepdir /etc/${PN}.d
|
||||
insinto /etc/${PN}.d
|
||||
doins "${FILESDIR}/"*.json.example
|
||||
}
|
@ -1 +0,0 @@
|
||||
consul = "127.0.0.1:8500"
|
@ -0,0 +1,111 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit eutils systemd unpacker user
|
||||
|
||||
DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
|
||||
HOMEPAGE="https://puppetlabs.com/"
|
||||
SRC_BASE="http://apt.puppetlabs.com/pool/xenial/PC1/${PN:0:1}/${PN}/${PN}_${PV}-1xenial"
|
||||
SRC_URI="
|
||||
amd64? ( ${SRC_BASE}_amd64.deb )
|
||||
x86? ( ${SRC_BASE}_i386.deb )
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="experimental 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}
|
||||
app-portage/eix
|
||||
sys-apps/dmidecode
|
||||
sys-libs/glibc
|
||||
>=sys-libs/readline-6.0
|
||||
<sys-libs/readline-7.0
|
||||
selinux? (
|
||||
sys-libs/libselinux[ruby]
|
||||
sec-policy/selinux-puppet
|
||||
)
|
||||
puppetdb? ( >=dev-ruby/puppetdb-termini-3.1.0 )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/puppetlabs/puppet
|
||||
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0/x86_64-linux/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/mathn/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/io/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/dl/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/racc/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/enc/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/json/ext/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/rbconfig/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/digest/*
|
||||
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/*
|
||||
/opt/puppetlabs/puppet/lib/engines/*
|
||||
/opt/puppetlabs/puppet/lib/virt-what/*
|
||||
/opt/puppetlabs/puppet/lib/*
|
||||
/opt/puppetlabs/puppet/bin/*"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup puppet
|
||||
enewuser puppet -1 -1 /var/run/puppet puppet
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use experimental; then
|
||||
epatch "${FILESDIR}/43e2c935252b995134ce353e5e6312cf77aea480.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# conf.d
|
||||
doconfd etc/default/puppet
|
||||
doconfd etc/default/mcollective
|
||||
doconfd etc/default/pxp-agent
|
||||
# logrotate.d
|
||||
insinto /etc/logrotate.d
|
||||
doins etc/logrotate.d/mcollective
|
||||
doins etc/logrotate.d/pxp-agent
|
||||
# puppet itself
|
||||
insinto /etc/puppetlabs
|
||||
doins -r etc/puppetlabs/*
|
||||
# logdir for systemd
|
||||
dodir var/log/puppetlabs/puppet/
|
||||
fperms 0750 var/log/puppetlabs/puppet/
|
||||
# the rest
|
||||
insinto /opt
|
||||
dodir opt/puppetlabs/puppet/cache
|
||||
doins -r opt/*
|
||||
fperms 0750 /opt/puppetlabs/puppet/cache
|
||||
# init
|
||||
newinitd "${FILESDIR}/puppet.initd" puppet
|
||||
newinitd "${FILESDIR}/mcollective.initd" mcollective
|
||||
systemd_dounit lib/systemd/system/puppet.service
|
||||
systemd_dounit lib/systemd/system/mcollective.service
|
||||
systemd_dounit lib/systemd/system/pxp-agent.service
|
||||
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
|
||||
# symlinks
|
||||
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
|
||||
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
|
||||
dosym /opt/puppetlabs/bin/facter /usr/bin/facter
|
||||
dosym /opt/puppetlabs/bin/hiera /usr/bin/hiera
|
||||
dosym /opt/puppetlabs/bin/mco /usr/bin/mco
|
||||
dosym /opt/puppetlabs/bin/puppet /usr/bin/puppet
|
||||
dosym /opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
|
||||
dosym /opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
|
||||
dosym /opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
|
||||
dosym /opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
|
||||
dosym /opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST dar-2.4.20.tar.gz 1804634 SHA256 f0f66108692de8b27e76b1832d9013d9d1dbf45d2aaaaf5c222dde3c6f1b308d SHA512 1ed2e43df05082c01f6a53aa8c1c7328cb27fc3d84115d3f4a07de943fc814b614155f673464cd1a455e3b8c21e30f95da03ed9f72883b58ae005e3696de8143 WHIRLPOOL b3ce8c59efe2f9f988133613b73fe1ec14af39746e7c5fff0c83fa2146218fad3e912f586e9b677af809696105fa9d72dc35122ec3b3ca3ad63b2cdd75fce954
|
||||
DIST dar-2.4.24.tar.gz 1820097 SHA256 cb9f0935f4aa1c10daaceef3fbcf165ca73524fd6ce50948cb91e926080825f0 SHA512 3e5fbaaac7ab8e25776d20c11accba94c30abcbc898e7700e9faa98dee94995e742a9481740f2d286149a198ce661d876d2737fed85f1a2555073436175c5f10 WHIRLPOOL 659ac04d22c4781595863b22372755a357f060ab7325623d54e7d258aa36701111c026a884775444c2cea232fc3a0410d6c85c06a5f56a14cc39022c72237fe6
|
||||
DIST dar-2.5.10.tar.gz 1888334 SHA256 771c8462b9e65bf646699a14a4e156c75b5bda4301ebf6f5e03bd82c2486a4d8 SHA512 90727f206634fc7d8ab7ca1faf588cfdb504d7474096b2965fde18a0a3cc54f603f0df3ddd1b00d331951d5d4688a1adb861eec71034e92aa1428e5ba9e665f1 WHIRLPOOL cdfaf5ee6535083e49aef2992010b960650b9804426cc6a52cf0839225d54e7537b8e356acfb398210b480eebf73551875f01ae016d04221c2ac18cc65ee4f05
|
||||
DIST dar-2.5.9.tar.gz 1886232 SHA256 6973614afa970d095719bf43d91855c450d0fa5dcf0a45b580055625500ba92e SHA512 ee7b9180fb5f937b3fdd9a2f615dfecc66bd0c39f95e067ac55fa6c6f038e5abbe8ec8ab639e3eb51dd2cc7e4221a42fb5e783ed2039e0deabaa75e6f93abdac WHIRLPOOL f0eef9ef3b44860b5693414e5de62becec1195099697ffe424d2ee805b7d2bffa03710d1e95ef49922334ccb708b46e62f7cafa612c74abaaa667a4244212ba3
|
||||
DIST dar-2.5.11.tar.gz 1891928 SHA256 ad9d4b32b7a1240d9ae74155ff0aab3848065bee65ce01a022a234c02be73989 SHA512 36b90218a34ac7f41ce9ca0a2167cfb2fd243b23b8e84350153e8804f0faabf87291b4e4b061533bcb0ca079f087c074eeaa12a54ee8084dd386a072ac503847 WHIRLPOOL 4e52c72a98d56b402cb546b96c5d09233910558322dca9344242ab5829f1c39e68fca31221db4f90dc6d20c216199ebce1329fd9dc214d548a78457178ab4cf5
|
||||
|
@ -1,2 +1 @@
|
||||
DIST cdlabelgen-4.1.0.tgz 193423 SHA256 d3217af8eccb8e94863389d321c4901e7cf7dd5fadf263bde9cb8078870ddc3b SHA512 12dbef9df24d6eb060fe0fca3d24cd91bf2ae0fe4f2e68d1e7a78b5980ae0111dd087ec23b6b2ff8adeff9bb49c0a41284dcb99505d6f25b96b0e718b437b1b9 WHIRLPOOL 26a1614cb0104dcd78ae6f75810eaa6f83eec22f6848470849e1d0e988c5d919715a42208b05ee47dfeac2ffdbe37631637ad96aef2e845aa25817864c4c3570
|
||||
DIST cdlabelgen-4.3.0.tgz 209771 SHA256 94202a33bd6b19cc3c1cbf6a8e1779d7c72d8b3b48b96267f97d61ced4e1753f SHA512 e9528dc1cfead1f3a90b2109346ac1e5305875e2a10dc3196a1caa94fb6e30daeff4bdac5eb43cb6710fdf36fc98349fdeaa225eaa6db3825bf9fd33cc9ab8cf WHIRLPOOL dda2e09613e192495139c455e3e2811cf5847d361c9190f3b9e2ad7503c80e3e44ab37bb382cf2836a849315495310a6080a419fca75e06d49a13f3f9029f32d
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2009 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="CD cover, tray card and envelope generator"
|
||||
HOMEPAGE="http://www.aczoom.com/tools/cdinsert"
|
||||
SRC_URI="http://www.aczoom.com/pub/tools/${P}.tgz"
|
||||
|
||||
LICENSE="aczoom"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-lang/perl"
|
||||
DEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/4.0.0-create-MAN_DIR.diff
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake BASE_DIR="${D}"/usr install || die "emake install failed"
|
||||
dodoc cdinsert.pl ChangeLog INSTALL.WEB
|
||||
dohtml *.html
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST gtkcdlabel-1.14.tar.bz2 36397 SHA256 df3307744822cde89632da8a83bae7e8e7c3754ed4738cf559c4be14cc66c303 SHA512 35dde20c73a38cb1dc61b42a8f54cc78d7b3db90b88cbf45f48ccf5eabe95333c5f61f4e8cd77ac1fe4f9faeb55acf944df9fb8bf363343da5bad8cc81115c6e WHIRLPOOL 152b3c02e3ecf37a7d0bc1eaa4efec885c2721b05f73d3d4f4d2cc52d25d46aedce41f3be3c919256793fa25c6795c26fcde5b5e778959969d9dddecc98fcdbb
|
||||
DIST gtkcdlabel-1.15.tar.bz2 36468 SHA256 878f59ca08c7b11bd2546faab9a9b352c4fa475acbf51376bc073831903622a7 SHA512 3edcaa0b15a592d684a20c34282437f5f51201cd6dde915a1a02ac1ed388a2046f8e2ce7aecf4afac3e4af01191d747c34e50d689eb945072bc20f4458bf7356 WHIRLPOOL b2f0856d9041b560f12be13f99ec029462a3754bee7218826d74d09956cc7ba85ec8ccb3cf2d94661e2a51eb43ea9f021a40b4b070b33b8dc52246428ebe4482
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit python-single-r1
|
||||
|
||||
DESCRIPTION="A GUI for cdlabelgen that generates CD labels"
|
||||
HOMEPAGE="http://gtkcdlabel.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=app-cdr/cdlabelgen-4
|
||||
dev-python/pygtk[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE=${PYTHON_REQUIRED_USE}
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
python_fix_shebang .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin usr/bin/${PN}.py || die "dobin failed"
|
||||
insinto /usr/share
|
||||
doins -r usr/share/{applications,${PN},pixmaps} || die "doins failed"
|
||||
dodoc usr/share/doc/${PN}/{AUTHORS,README}
|
||||
}
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit golang-base
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="KVM driver for docker-machine"
|
||||
EGO_PN="github.com/dhiltgen/${PN}/..."
|
||||
HOMEPAGE="http://${EGO_PN%/*}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
COMMON_DEPEND="app-emulation/libvirt:=[qemu,virt-network]"
|
||||
DEPEND=">=dev-lang/go-1.6:=
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
SRC_URI="https://${EGO_PN%/*}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/rgbkrk/libvirt-go/archive/v2.13.0.tar.gz -> libvirt-go-2.13.0.tar.gz
|
||||
https://github.com/docker/machine/archive/v0.8.2.tar.gz -> docker-machine-0.8.2.tar.gz"
|
||||
|
||||
get_archive_go_package() {
|
||||
local archive=${1} uri x
|
||||
for x in ${SRC_URI}; do
|
||||
if [[ ${x} == http* ]]; then
|
||||
uri=${x}
|
||||
elif [[ ${x} == ${archive} ]]; then
|
||||
break
|
||||
fi
|
||||
done
|
||||
uri=${uri#https://}
|
||||
echo ${uri%/archive/*}
|
||||
}
|
||||
|
||||
unpack_go_packages() {
|
||||
local go_package x
|
||||
# Unpack packages to appropriate locations for GOPATH
|
||||
for x in ${A}; do
|
||||
unpack ${x}
|
||||
if [[ ${x} == *.tar.gz ]]; then
|
||||
go_package=$(get_archive_go_package ${x})
|
||||
mkdir -p src/${go_package%/*}
|
||||
mv ${go_package##*/}-* src/${go_package} || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
mkdir "${S}" && cd "${S}" || die
|
||||
unpack_go_packages
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
sed -e 's|alexzorin|rgbkrk|g' -i src/${EGO_PN%/*}/kvm.go || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export GOPATH=${S}
|
||||
cd "${S}"/src/${EGO_PN%/*}/bin || die
|
||||
emake || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${S}/src/${EGO_PN%/*}/bin/${PN/kvm/driver-kvm}"
|
||||
dodoc "${S}/src/${EGO_PN%/*}/README.md"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST skopeo-0.1.22.tar.gz 1921286 SHA256 a2090f84e5318752bf506fd7aa6d8420285726c32dcbac3ab735ec5762104692 SHA512 10ed4e577b07f672540ff86774b5c5b6b7531765fd36313b9e4e6bf974840fee98ede193014977c381b96875cb9147307ee690f4fc8dd4f97d87681d7fa2f4f2 WHIRLPOOL 94c88b784c8a7186ff6abd5d4a1f2c2307fb9c29c98f256a28a5d066546afc7cbb0c848aec77c8835c63f5c62628a8e983d25f4e63e3c6bfa5f4322dd9420522
|
@ -0,0 +1,158 @@
|
||||
From a49f22efd84d1cc656242319cca27cbdf8852e05 Mon Sep 17 00:00:00 2001
|
||||
From: William Hubbs <whubbs@gaikai.com>
|
||||
Date: Fri, 23 Jun 2017 12:34:25 -0500
|
||||
Subject: [PATCH] make ostree optional
|
||||
|
||||
---
|
||||
vendor/github.com/containers/image/README.md | 14 ++++++---
|
||||
.../transports/alltransports/alltransports.go | 2 +-
|
||||
.../image/transports/alltransports/ostree.go | 8 +++++
|
||||
.../image/transports/alltransports/ostree_stub.go | 9 ++++++
|
||||
.../github.com/containers/image/transports/stub.go | 36 ++++++++++++++++++++++
|
||||
.../containers/image/transports/stub_test.go | 18 +++++++++++
|
||||
6 files changed, 82 insertions(+), 5 deletions(-)
|
||||
create mode 100644 vendor/github.com/containers/image/transports/alltransports/ostree.go
|
||||
create mode 100644 vendor/github.com/containers/image/transports/alltransports/ostree_stub.go
|
||||
create mode 100644 vendor/github.com/containers/image/transports/stub.go
|
||||
create mode 100644 vendor/github.com/containers/image/transports/stub_test.go
|
||||
|
||||
diff --git a/vendor/github.com/containers/image/README.md b/vendor/github.com/containers/image/README.md
|
||||
index ca8afd4..8e812bb 100644
|
||||
--- a/vendor/github.com/containers/image/README.md
|
||||
+++ b/vendor/github.com/containers/image/README.md
|
||||
@@ -51,14 +51,20 @@ Ensure that the dependencies documented [in vendor.conf](https://github.com/cont
|
||||
are also available
|
||||
(using those exact versions or different versions of your choosing).
|
||||
|
||||
-This library, by default, also depends on the GpgME C library. Either install it:
|
||||
+This library, by default, also depends on the GpgME and libostree C libraries. Either install them:
|
||||
```sh
|
||||
-Fedora$ dnf install gpgme-devel libassuan-devel
|
||||
+Fedora$ dnf install gpgme-devel libassuan-devel libostree-devel
|
||||
macOS$ brew install gpgme
|
||||
```
|
||||
-or use the `containers_image_openpgp` build tag (e.g. using `go build -tags …`)
|
||||
-This will use a Golang-only OpenPGP implementation for signature verification instead of the default cgo/gpgme-based implementation;
|
||||
+or use the build tags described below to avoid the dependencies (e.g. using `go build -tags …`)
|
||||
+
|
||||
+### Supported build tags
|
||||
+
|
||||
+- `containers_image_openpgp`: Use a Golang-only OpenPGP implementation for signature verification instead of the default cgo/gpgme-based implementation;
|
||||
the primary downside is that creating new signatures with the Golang-only implementation is not supported.
|
||||
+- `containers_image_ostree_stub`: Instead of importing `ostree:` transport in `github.com/containers/image/transports/alltransports`, use a stub which reports that the transport is not supported. This allows building the library without requiring the `libostree` development libraries.
|
||||
+
|
||||
+ (Note that explicitly importing `github.com/containers/image/ostree` will still depend on the `libostree` library, this build tag only affects generic users of …`/alltransports`.)
|
||||
|
||||
## Contributing
|
||||
|
||||
diff --git a/vendor/github.com/containers/image/transports/alltransports/alltransports.go b/vendor/github.com/containers/image/transports/alltransports/alltransports.go
|
||||
index dc70fad..dd80b7f 100644
|
||||
--- a/vendor/github.com/containers/image/transports/alltransports/alltransports.go
|
||||
+++ b/vendor/github.com/containers/image/transports/alltransports/alltransports.go
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
_ "github.com/containers/image/docker/daemon"
|
||||
_ "github.com/containers/image/oci/layout"
|
||||
_ "github.com/containers/image/openshift"
|
||||
- _ "github.com/containers/image/ostree"
|
||||
+ // The ostree transport is registered by ostree*.go
|
||||
_ "github.com/containers/image/storage"
|
||||
"github.com/containers/image/transports"
|
||||
"github.com/containers/image/types"
|
||||
diff --git a/vendor/github.com/containers/image/transports/alltransports/ostree.go b/vendor/github.com/containers/image/transports/alltransports/ostree.go
|
||||
new file mode 100644
|
||||
index 0000000..0fc5d7e
|
||||
--- /dev/null
|
||||
+++ b/vendor/github.com/containers/image/transports/alltransports/ostree.go
|
||||
@@ -0,0 +1,8 @@
|
||||
+// +build !containers_image_ostree_stub
|
||||
+
|
||||
+package alltransports
|
||||
+
|
||||
+import (
|
||||
+ // Register the ostree transport
|
||||
+ _ "github.com/containers/image/ostree"
|
||||
+)
|
||||
diff --git a/vendor/github.com/containers/image/transports/alltransports/ostree_stub.go b/vendor/github.com/containers/image/transports/alltransports/ostree_stub.go
|
||||
new file mode 100644
|
||||
index 0000000..8b01afe
|
||||
--- /dev/null
|
||||
+++ b/vendor/github.com/containers/image/transports/alltransports/ostree_stub.go
|
||||
@@ -0,0 +1,9 @@
|
||||
+// +build containers_image_ostree_stub
|
||||
+
|
||||
+package alltransports
|
||||
+
|
||||
+import "github.com/containers/image/transports"
|
||||
+
|
||||
+func init() {
|
||||
+ transports.Register(transports.NewStubTransport("ostree"))
|
||||
+}
|
||||
diff --git a/vendor/github.com/containers/image/transports/stub.go b/vendor/github.com/containers/image/transports/stub.go
|
||||
new file mode 100644
|
||||
index 0000000..087f69b
|
||||
--- /dev/null
|
||||
+++ b/vendor/github.com/containers/image/transports/stub.go
|
||||
@@ -0,0 +1,36 @@
|
||||
+package transports
|
||||
+
|
||||
+import (
|
||||
+ "fmt"
|
||||
+
|
||||
+ "github.com/containers/image/types"
|
||||
+)
|
||||
+
|
||||
+// stubTransport is an implementation of types.ImageTransport which has a name, but rejects any references with “the transport $name: is not supported in this build”.
|
||||
+type stubTransport string
|
||||
+
|
||||
+// NewStubTransport returns an implementation of types.ImageTransport which has a name, but rejects any references with “the transport $name: is not supported in this build”.
|
||||
+func NewStubTransport(name string) types.ImageTransport {
|
||||
+ return stubTransport(name)
|
||||
+}
|
||||
+
|
||||
+// Name returns the name of the transport, which must be unique among other transports.
|
||||
+func (s stubTransport) Name() string {
|
||||
+ return string(s)
|
||||
+}
|
||||
+
|
||||
+// ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an ImageReference.
|
||||
+func (s stubTransport) ParseReference(reference string) (types.ImageReference, error) {
|
||||
+ return nil, fmt.Errorf(`The transport "%s:" is not supported in this build`, string(s))
|
||||
+}
|
||||
+
|
||||
+// ValidatePolicyConfigurationScope checks that scope is a valid name for a signature.PolicyTransportScopes keys
|
||||
+// (i.e. a valid PolicyConfigurationIdentity() or PolicyConfigurationNamespaces() return value).
|
||||
+// It is acceptable to allow an invalid value which will never be matched, it can "only" cause user confusion.
|
||||
+// scope passed to this function will not be "", that value is always allowed.
|
||||
+func (s stubTransport) ValidatePolicyConfigurationScope(scope string) error {
|
||||
+ // Allowing any reference in here allows tools with some transports stubbed-out to still
|
||||
+ // use signature verification policies which refer to these stubbed-out transports.
|
||||
+ // See also the treatment of unknown transports in policyTransportScopesWithTransport.UnmarshalJSON .
|
||||
+ return nil
|
||||
+}
|
||||
diff --git a/vendor/github.com/containers/image/transports/stub_test.go b/vendor/github.com/containers/image/transports/stub_test.go
|
||||
new file mode 100644
|
||||
index 0000000..f181a1a
|
||||
--- /dev/null
|
||||
+++ b/vendor/github.com/containers/image/transports/stub_test.go
|
||||
@@ -0,0 +1,18 @@
|
||||
+package transports
|
||||
+
|
||||
+import (
|
||||
+ "testing"
|
||||
+
|
||||
+ "github.com/stretchr/testify/assert"
|
||||
+)
|
||||
+
|
||||
+func TestStubTransport(t *testing.T) {
|
||||
+ const name = "whatever"
|
||||
+
|
||||
+ s := NewStubTransport(name)
|
||||
+ assert.Equal(t, name, s.Name())
|
||||
+ _, err := s.ParseReference("this is rejected regardless of content")
|
||||
+ assert.Error(t, err)
|
||||
+ err = s.ValidatePolicyConfigurationScope("this is accepted regardless of content")
|
||||
+ assert.NoError(t, err)
|
||||
+}
|
||||
--
|
||||
2.13.0
|
||||
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>williamh@gentoo.org</email>
|
||||
<name>William Hubbs</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EGO_PN=github.com/projectatomic/skopeo
|
||||
COMMIT=5d24b67
|
||||
inherit golang-vcs-snapshot
|
||||
|
||||
DESCRIPTION="Command line utility foroperations on container images and image repositories"
|
||||
HOMEPAGE="http://github.com/projectatomic/skopeo"
|
||||
SRC_URI="https://github.com/projectatomic/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND=">=app-crypt/gpgme-1.5.5:=
|
||||
>=dev-libs/libassuan-2.4.3
|
||||
>=sys-fs/btrfs-progs-4.0.1
|
||||
>=sys-fs/lvm2-2.02.145"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-go/go-md2man"
|
||||
RDEPEND="${COMMON_DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-make-ostree-optional.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
local BUILDTAGS="containers_image_ostree_stub"
|
||||
set -- env GOPATH="${WORKDIR}/${P}" \
|
||||
go build -ldflags "-X main.gitCommit=${COMMIT}" \
|
||||
-gcflags "${GOGCFLAGS}" -tags "${BUILDTAGS}" \
|
||||
-o skopeo ./cmd/skopeo
|
||||
echo "$@"
|
||||
"$@" || die
|
||||
cd docs
|
||||
for f in *.1.md; do
|
||||
go-md2man -in ${f} -out ${f%%.md} || die
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin skopeo
|
||||
doman docs/*.1
|
||||
insinto /etc/containers
|
||||
newins default-policy.json policy.json
|
||||
insinto /etc/containers/registries.d
|
||||
doins default.yaml
|
||||
dodir /var/lib/atomic/sigstore
|
||||
einstalldocs
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
DIST neofetch-1.9.1.tar.gz 55739 SHA256 d7e30215994968ca861836f9bab9259624688fd50620e7d5af5c8b31da8bd32b SHA512 e5b339549bd5eae726e66369bd9ebae7927117d7fb5af52bdfa54d5bff0793d72ed893ed631999dd492a2044fcc91ffe990ae8113b40fa3d724f5584417defc9 WHIRLPOOL 74f35ede4b3836d4b5485df0a80a1a9fef0d23de637558456dac69bdf7f4a1742f7f2e87e4c0faa99bec5959145ea5cc8e764cde320f1005ec1263c0c808eaac
|
||||
DIST neofetch-2.0.2.tar.gz 57385 SHA256 25a174ed41720d7645240cce4ca24f6228097a0daae3afd42563bfcf01584bc9 SHA512 1c31df41cf1e08f40c1a8ff5721f503d9350facf13ae0df30e229ce772b198d22b52662db82908d8d501a396142ba5fea0e7f14e9c8c323bfcbe2080826e1477 WHIRLPOOL b0900b4cf672fb07a2b359a2a3ee8c6e0ae13d745bde0ea8aa435b0a886d86ee1a6b2ef7d9d41e8fec6947d02df47de234a3af250de783f1525db57888fac017
|
||||
DIST neofetch-3.0.1.tar.gz 66571 SHA256 31447da6507c13c44eb2006901c00ed4ca08f0423d9439aaddea64edcaca2c38 SHA512 e9353d61226dcb4f8161556ba07156ea13737d6cde05f00b39a85e4a2f54716db833e8be076c56168b7003230ef42dfa9b9223c0ab930456a664a9a2c31cf2ad WHIRLPOOL a4b241d611afc31395f4f228937e744257ded55f551d0cfc7193c8269d7174e47861489c1306f27a0d9a9e59acf340b37aa30f7919e59a2855c11732edc323c0
|
||||
DIST neofetch-3.1.0.tar.gz 68930 SHA256 db7afe24d859b9c8230c3491640d996701816ddc9cf66f98a5071775e8b4ffe5 SHA512 0a13acadf1841c1e714c07f9643028446a1f4df6a79e7c3189c4c11d8854813dfbb983784d62dc59a9209893ee2339ca5642fe413d1066a5cb6e9e167ae74975 WHIRLPOOL 0a11065f48d76c46854f65972e9d658fffcbc7e9023f61920fa756153860b5d06c05da005cdb2e61616649ecfaecd4122fcea2e4c4b899a751193838b9542aae
|
||||
DIST neofetch-3.2.0.tar.gz 71331 SHA256 6aecd51c165a36692b4f6481b3071ab936aafc3fccffabbbfda140567f16431d SHA512 790dd282b99437a416f25a895d5a3359be31d162447e2f59863c635c144045a6b81672e4469ca9b6eeba56fc927e787a67f0a317309bbc0f52500b0f9e072764 WHIRLPOOL 5494b97611f08297ec38893e38d06a6d2806a1bc00704b7334d64ba3322deb30d08d453ed85d817ff8f42a163d71580d2d6785a6f1c15443b92ebe826842b575
|
||||
|
@ -1 +1,2 @@
|
||||
DIST ansifilter-2.4.tar.bz2 114180 SHA256 c57cb878afa7191c7b7db3c086a344b4234df814aed632596619a4bda5941d48 SHA512 2eaecd7dc6027c6976775d2a817b8fde0221fb1cce967bd4f6e272230b64e0bb77ed0cbddbc41533aa6087897b94903efa9633dffdd76df57ba029f6776ae6d2 WHIRLPOOL df5f96802c4b988ee3c3326dc0a6ecc2ab594fe766c6e5118d1695a05adf3969d51b0a89b1bfbc0b94cb84325131dc39622334c549a47e0ffa76c0e3fca7a997
|
||||
DIST ansifilter-2.5.tar.bz2 435332 SHA256 30d05ccfa9be98b0328ee29fe39473e55047f1d32a9a2460d3d4d1ff2475f0e2 SHA512 2fca95a5a47e72f9348beef8b09a7fd995f0b99e0d6605cf7694f8fd1ddba40c64e5c30b9134f55319c902d45011605ba30184c0205d41573ac77c3cd98debe7 WHIRLPOOL 5c3c3cd8f1cef99ad0d4ea5ce7635301776cb5ce14442d74a1949894c24becb4d3727344f7b1cf2e137bc8abfc8469c23d13e0055529c04f9aafeb991e7cf7f6
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs qmake-utils
|
||||
|
||||
DESCRIPTION="Handles text files containing ANSI terminal escape codes"
|
||||
HOMEPAGE="http://www.andre-simon.de/"
|
||||
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="qt5"
|
||||
|
||||
RDEPEND="
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# bug 431452
|
||||
rm src/qt-gui/moc_mydialog.cpp || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use qt5 ; then
|
||||
pushd src/qt-gui > /dev/null || die
|
||||
eqmake5
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -f makefile CC="$(tc-getCXX)" CFLAGS="${CFLAGS} -c -std=c++11" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
if use qt5 ; then
|
||||
pushd src/qt-gui > /dev/null || die
|
||||
emake
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/${PN}
|
||||
use qt5 && dobin src/qt-gui/${PN}-gui
|
||||
|
||||
gunzip man/${PN}.1.gz
|
||||
doman man/${PN}.1
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils qmake-utils xdg-utils
|
||||
|
||||
DESCRIPTION="Feature rich chm file viewer, based on Qt"
|
||||
HOMEPAGE="https://www.ulduzsoft.com/kchmviewer/"
|
||||
SRC_URI="mirror://sourceforge/kchmviewer/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/chmlib
|
||||
dev-libs/libzip:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwebkit:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-force-qtwebkit.patch"
|
||||
"${FILESDIR}/${P}-underlinking.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
eqmake5
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc ChangeLog DBUS-bindings FAQ README
|
||||
doicon packages/kchmviewer.png
|
||||
dobin bin/kchmviewer
|
||||
domenu packages/kchmviewer.desktop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST gnatcoll-gpl-2016-src.tar.gz 5687584 SHA256 8cc7cc01db548447a78e3d6d35a35867514beb625009abbcd3be124c1e259b3b SHA512 8cf06e7c5d58d3b159855534791e7969882e04856ba9d03982a63dcfc630f5b5910c6cad57fec9b00c3d04008b0cb0a1fb238e349766348fa4548868238ede8a WHIRLPOOL d37c12bb6242d92104e89b7c1d9a9cd94d802137ee32faa58687700a822db69e2739372376d12032228843c2a5356f8085d6072715b8bc1bda411039d20b55f5
|
||||
DIST gnatcoll-gpl-2017-src.tar.gz 5785988 SHA256 66168ee795a67dde3b8a8d0fe6663a776d1bdf50091e6cdd47f3837d89afd434 SHA512 e8b7f2c00816597f33496168bf8928841a2037e517908810761849e23633b2c229d47e4bfaa808e5a619da52bc165f17b8aefa5dee39ecf1a6773b3b1db80363 WHIRLPOOL a0fbda792b282ecb184057efa98332f0b790c9412ba6fec541fbcb8c57cab48f64df6ff81017c283e599cda858d668f5f8fcf5b7bd771c23f34a84a6d16f4c79
|
||||
|
@ -0,0 +1,224 @@
|
||||
--- gnatcoll-gpl-2016-src/Makefile.old 2017-01-20 19:39:07.131398270 +0100
|
||||
+++ gnatcoll-gpl-2016-src/Makefile 2017-01-20 19:42:30.088728844 +0100
|
||||
@@ -49,12 +49,12 @@
|
||||
@${RM} src/gnatcoll-atomic.adb
|
||||
|
||||
@echo "====== Building $(@F) libraries ======"
|
||||
- ${GPRBUILD} ${GPRBLD_OPTS} -Pgnatcoll_full
|
||||
+ ${GPRBUILD} ${GPRBLD_OPTS} -Pgnatcoll_full -cargs ${ADAFLAGS}
|
||||
|
||||
@# Need to build libgnatcoll_gtk separately, because its project files
|
||||
@# requires gtkada.gpr, which might not exist on the machine.
|
||||
ifeq (${WITH_GTK},yes)
|
||||
- ${GPRBUILD} ${GPRBLD_OPTS} -Psrc/gnatcoll_gtk
|
||||
+ ${GPRBUILD} ${GPRBLD_OPTS} -Psrc/gnatcoll_gtk -cargs ${ADAFLAGS}
|
||||
endif
|
||||
|
||||
build_tools/%: build_library_type/%
|
||||
@@ -63,7 +63,7 @@
|
||||
@# They are not build as part of the above because only the Main from
|
||||
@# gnatcoll_full.gpr are build. We could use aggregate projects to
|
||||
@# speed things up.
|
||||
- ${GPRBUILD} ${GPRBLD_OPTS} -q -Psrc/gnatcoll_tools
|
||||
+ ${GPRBUILD} ${GPRBLD_OPTS} -q -Psrc/gnatcoll_tools -cargs ${ADAFLAGS}
|
||||
|
||||
#######################################################################
|
||||
# install
|
||||
--- gnatcoll-gpl-2015-src/src/gnatcoll_iconv.gpr.old 2017-01-07 08:58:01.361112843 +0100
|
||||
+++ gnatcoll-gpl-2015-src/src/gnatcoll_iconv.gpr 2017-01-07 08:58:23.653687385 +0100
|
||||
@@ -26,6 +26,7 @@
|
||||
|
||||
package Compiler is
|
||||
for Switches ("Ada") use GnatColl_Shared.Compiler'Switches ("Ada");
|
||||
+ for Driver ("C") use External ("GCC", "gcc");
|
||||
for Switches ("C") use GnatColl_Shared.Compiler'Switches ("C")
|
||||
& GnatColl_Shared.Iconv_Include;
|
||||
end Compiler;
|
||||
--- gnatcoll-gpl-2015-src/src/gnatcoll_sqlite.gpr.old 2017-01-07 09:00:17.146448202 +0100
|
||||
+++ gnatcoll-gpl-2015-src/src/gnatcoll_sqlite.gpr 2017-01-07 09:00:44.884885281 +0100
|
||||
@@ -60,8 +60,9 @@
|
||||
|
||||
-- force full optimization for sqlite, we do not debug it
|
||||
-- in any case.
|
||||
"-O3") & Gnatcoll_Shared.Sqlite_Switches;
|
||||
end case;
|
||||
+ for Driver ("C") use External ("GCC", "gcc");
|
||||
end Compiler;
|
||||
|
||||
package Linker is
|
||||
--- gnatcoll-gpl-2015-src/src/gnatcoll_postgres.gpr.old 2017-01-07 09:05:09.177756146 +0100
|
||||
+++ gnatcoll-gpl-2015-src/src/gnatcoll_postgres.gpr 2017-01-07 09:05:34.282279733 +0100
|
||||
@@ -38,6 +38,7 @@
|
||||
for Switches ("C") use
|
||||
GnatColl_Shared.Compiler'Switches ("C");
|
||||
end case;
|
||||
+ for Driver ("C") use External ("GCC", "gcc");
|
||||
end Compiler;
|
||||
|
||||
package Linker is
|
||||
--- gnatcoll-gpl-2016-src/gnatcoll_shared.gpr.in.old 2017-01-20 19:50:03.222808656 +0100
|
||||
+++ gnatcoll-gpl-2016-src/gnatcoll_shared.gpr.in 2017-01-20 19:50:28.200399274 +0100
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
type Yes_No is ("yes", "no");
|
||||
Gtk : Yes_No := External ("GTK", "@WITH_GTK@");
|
||||
- Python : Yes_No := External ("PYTHON", "@WITH_PYTHON@");
|
||||
+ Python : Yes_No := "@WITH_PYTHON@";
|
||||
Syslog : Yes_No := External ("SYSLOG", "@WITH_SYSLOG@");
|
||||
Postgres : Yes_No := External ("POSTGRES", "@WITH_POSTGRES@");
|
||||
type Sqlite_Inclusion is ("yes", "no", "embedded");
|
||||
--- gnatcoll-gpl-2016-src/src/gnatcoll__libgpr.gpr.old 2017-02-04 15:56:11.685079607 +0100
|
||||
+++ gnatcoll-gpl-2016-src/src/gnatcoll__libgpr.gpr 2017-02-04 15:57:00.383221978 +0100
|
||||
@@ -49,6 +49,8 @@
|
||||
package Builder renames GnatColl_Shared.Builder;
|
||||
|
||||
package Compiler is
|
||||
+ for Driver ("C") use External ("GCC", "gcc");
|
||||
+
|
||||
for Switches ("Ada") use GnatColl_Shared.Compiler'Switches ("Ada");
|
||||
for Switches ("C") use GnatColl_Shared.Compiler'Switches ("C");
|
||||
for Switches ("sinfo.adb") use Compiler'Switches ("Ada") & ("-gnatg");
|
||||
--- gnatcoll-gpl-2016-src/src/gnatcoll__nogpr.gpr.old 2017-02-04 15:58:41.008450044 +0100
|
||||
+++ gnatcoll-gpl-2016-src/src/gnatcoll__nogpr.gpr 2017-02-04 15:59:02.815066080 +0100
|
||||
@@ -64,6 +64,7 @@
|
||||
for Switches ("Ada") use GnatColl_Shared.Compiler'Switches ("Ada");
|
||||
for Switches ("C") use GnatColl_Shared.Compiler'Switches ("C");
|
||||
for Switches ("sinfo.adb") use Compiler'Switches ("Ada") & ("-gnatg");
|
||||
+ for Driver ("C") use External ("GCC", "gcc");
|
||||
|
||||
case GnatColl_Shared.Atomics is
|
||||
when "intrinsic" =>
|
||||
--- gnatcoll-gpl-2016-src/aclocal.m4.old 2017-04-06 08:25:14.796699365 +0200
|
||||
+++ gnatcoll-gpl-2016-src/aclocal.m4 2017-04-06 08:25:36.622318016 +0200
|
||||
@@ -45,7 +45,7 @@
|
||||
cat > conftest.ada <<EOF
|
||||
[$3]
|
||||
EOF
|
||||
- if AC_TRY_COMMAND([gnatchop -q conftest.ada && $1 $2 >/dev/null 2>conftest.out])
|
||||
+ if AC_TRY_COMMAND([${GNATCHOP} -q conftest.ada && $1 $2 >/dev/null 2>conftest.out])
|
||||
then
|
||||
: Success
|
||||
$4
|
||||
@@ -68,7 +68,7 @@
|
||||
AC_DEFUN(AM_HAS_INTRINSIC_SYNC_COUNTERS,
|
||||
[
|
||||
AC_MSG_CHECKING([whether platform supports atomic inc/dec])
|
||||
- AM_TRY_ADA([gnatmake], [check.adb],
|
||||
+ AM_TRY_ADA([${GNATMAKE}], [check.adb],
|
||||
[
|
||||
with Interfaces; use Interfaces;
|
||||
procedure Check is
|
||||
--- gnatcoll-gpl-2016-src/testsuite/json/__init__.py.old 2017-04-24 17:52:34.158513249 +0200
|
||||
+++ gnatcoll-gpl-2016-src/testsuite/json/__init__.py 2017-04-24 17:52:52.636207017 +0200
|
||||
@@ -21,7 +21,7 @@
|
||||
@requires_not_aix # Storage_Error on that machine
|
||||
@chdir("MB28-001")
|
||||
def test_MB28_001(self):
|
||||
- self.runexec(["python", "make_json.py"])
|
||||
+ self.runexec(["python2.7", "make_json.py"])
|
||||
self.gprbuild()
|
||||
self.runexec("json_stack_test", "test.out")
|
||||
|
||||
--- gnatcoll-gpl-2016-src/testsuite/projects/aggregate_create/c1/c.gpr.old 2017-04-24 18:00:21.652975475 +0200
|
||||
+++ gnatcoll-gpl-2016-src/testsuite/projects/aggregate_create/c1/c.gpr 2017-04-24 18:01:23.035983670 +0200
|
||||
@@ -15,5 +15,6 @@
|
||||
for Default_Switches ("ada") use
|
||||
("-g", "-gnatQ", "-O1", "-gnatf", "-gnato", "-gnatwa.Xe", "-gnaty");
|
||||
+ for Driver ("c") use External ("GCC", "gcc");
|
||||
end Compiler;
|
||||
|
||||
end c;
|
||||
--- gnatcoll-gpl-2016-src/testsuite/projects/aggregate_create/c2/c.gpr.old 2017-04-24 18:01:28.394896928 +0200
|
||||
+++ gnatcoll-gpl-2016-src/testsuite/projects/aggregate_create/c2/c.gpr 2017-04-24 18:01:44.343638682 +0200
|
||||
@@ -15,5 +15,6 @@
|
||||
for Default_Switches ("ada") use
|
||||
("-g", "-gnatQ", "-O1", "-gnatf", "-gnato", "-gnatwa.Xe", "-gnaty");
|
||||
+ for Driver ("C") use External ("GCC", "gcc");
|
||||
end Compiler;
|
||||
|
||||
end c;
|
||||
--- gnatcoll-gpl-2016-src/testsuite/projects/__init__.py.old 2017-04-24 19:10:30.465246199 +0200
|
||||
+++ gnatcoll-gpl-2016-src/testsuite/projects/__init__.py 2017-04-24 19:10:42.768035080 +0200
|
||||
@@ -105,25 +105,6 @@
|
||||
self.gprbuild("default.gpr")
|
||||
self.runexec("main", "")
|
||||
|
||||
- @support.requires_not_windows
|
||||
- @chdir("N918-040")
|
||||
- def test_bareboard(self):
|
||||
- self.create_fake_bb_compiler('install', 'arm-eabi', '6.1.0w', '3.4.6')
|
||||
-
|
||||
- # Make sure auto.cgpr is not deleted on exit
|
||||
- try:
|
||||
- os.unlink('auto.cgpr')
|
||||
- except:
|
||||
- pass
|
||||
- self.gprbuild('main_prj', switches=['--autoconf=auto.cgpr'])
|
||||
- m = re.search('for Target use "(.*?)"', open('auto.cgpr').read())
|
||||
- target = m.group(1)
|
||||
-
|
||||
- def customFilter(actual):
|
||||
- return actual.replace(target, "<native>")
|
||||
-
|
||||
- self.runexec(['sh', 'test.sh'], 'test.out', customFilter=customFilter)
|
||||
-
|
||||
@chdir("NB12-045")
|
||||
def test_NB12_045(self):
|
||||
# Test registering attribute in unknown package
|
||||
--- gnatcoll-gpl-2016-src/testsuite/xref/tabs/default.gpr.old 2017-04-24 20:01:55.535913959 +0200
|
||||
+++ gnatcoll-gpl-2016-src/testsuite/xref/tabs/default.gpr 2017-04-24 20:02:51.740950192 +0200
|
||||
@@ -1,3 +1,6 @@
|
||||
project Default is
|
||||
for Languages use ("Ada", "C");
|
||||
+ package Compiler is
|
||||
+ for Driver ("C") use External ("GCC", "gcc");
|
||||
+ end Compiler;
|
||||
end Default;
|
||||
--- gnatcoll-gpl-2016-src/testsuite/xref/doc1/dummy.gpr.old 2017-04-24 20:04:12.012574064 +0200
|
||||
+++ gnatcoll-gpl-2016-src/testsuite/xref/doc1/dummy.gpr 2017-04-24 20:04:54.025853974 +0200
|
||||
@@ -6,4 +6,7 @@
|
||||
for Body_Suffix ("c++") use ".cc";
|
||||
end Naming;
|
||||
|
||||
+ package Compiler is
|
||||
+ for Driver ("C") use External ("GCC", "gcc");
|
||||
+ end Compiler;
|
||||
end Dummy;
|
||||
--- gnatcoll-gpl-2016-src/src/tools/gnatcoll_db2ada.adb.old 2017-04-24 21:36:09.193973179 +0200
|
||||
+++ gnatcoll-gpl-2016-src/src/tools/gnatcoll_db2ada.adb 2017-04-24 21:36:16.029858932 +0200
|
||||
@@ -211,7 +211,7 @@
|
||||
|
||||
declare
|
||||
Output : constant String := Get_Command_Output
|
||||
- (Command => "python",
|
||||
+ (Command => "python2.7",
|
||||
Arguments => Args,
|
||||
Input => "",
|
||||
Status => Status'Access,
|
||||
--- gnatcoll-gpl-2017-src/src/gnatcoll_python.gpr.old 2017-06-24 18:06:19.702063079 +0200
|
||||
+++ gnatcoll-gpl-2017-src/src/gnatcoll_python.gpr 2017-06-24 18:05:04.276103652 +0200
|
||||
@@ -60,6 +60,7 @@
|
||||
|
||||
for Switches ("C") use
|
||||
- ("-g", "-O2") & GnatColl_Shared.Python_Cflags;
|
||||
+ ("-g", "-O2", "-fPIC") & GnatColl_Shared.Python_Cflags;
|
||||
+ for Driver ("C") use External ("GCC", "gcc");
|
||||
end Compiler;
|
||||
|
||||
package Linker is
|
||||
--- gnatcoll-gpl-2017-src/src/gnatcoll_gtk.gpr.old 2017-06-24 18:37:22.164631219 +0200
|
||||
+++ gnatcoll-gpl-2017-src/src/gnatcoll_gtk.gpr 2017-06-24 18:37:55.763186201 +0200
|
||||
@@ -71,11 +71,12 @@
|
||||
for Switches ("Ada") use GnatColl_Shared.Compiler'Switches ("Ada");
|
||||
|
||||
for Switches ("C") use
|
||||
- ("-g", "-O2")
|
||||
+ ("-g", "-O2", "-fPIC")
|
||||
& GnatColl_Shared.Python_Cflags
|
||||
& GnatColl_Shared.Pygtk_Include
|
||||
& GnatColl_Shared.PyGobject_Include
|
||||
& Gtk_Include;
|
||||
+ for Driver ("C") use External ("GCC", "gcc");
|
||||
end Compiler;
|
||||
|
||||
package Linker is
|
@ -0,0 +1,129 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit multilib multiprocessing autotools python-single-r1
|
||||
|
||||
MYP=${PN}-gpl-${PV}
|
||||
|
||||
DESCRIPTION="GNAT Component Collection"
|
||||
HOMEPAGE="http://libre.adacore.com"
|
||||
SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed016
|
||||
-> ${MYP}-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="gmp gtk iconv postgresql pygobject projects readline +shared sqlite
|
||||
static syslog"
|
||||
|
||||
RDEPEND="dev-lang/gnat-gpl:*
|
||||
${PYTHON_DEPS}
|
||||
gmp? ( dev-libs/gmp:* )
|
||||
gtk? (
|
||||
dev-ada/gtkada
|
||||
dev-libs/atk
|
||||
dev-libs/glib
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/pango
|
||||
)
|
||||
pygobject? ( dev-python/pygobject:3[${PYTHON_USEDEP}] )
|
||||
postgresql? ( dev-db/postgresql:* )
|
||||
sqlite? ( dev-db/sqlite )
|
||||
projects? (
|
||||
>=dev-ada/gprbuild-2017[static?,shared?]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-ada/gprbuild"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
pygobject? ( gtk )"
|
||||
|
||||
S="${WORKDIR}"/${MYP}-src
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch )
|
||||
|
||||
pkg_setup() {
|
||||
GCC=${ADA:-$(tc-getCC)}
|
||||
GNATMAKE="${GCC/gcc/gnatmake}"
|
||||
GNATCHOP="${GCC/gcc/gnatchop}"
|
||||
if [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then
|
||||
eerror "You need a gcc compiler that provides the Ada Compiler:"
|
||||
eerror "1) use gcc-config to select the right compiler or"
|
||||
eerror "2) set ADA=gcc-4.9.4 in make.conf"
|
||||
die "ada compiler not available"
|
||||
fi
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mv configure.{in,ac} || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use sqlite; then
|
||||
myConf="--with-sqlite=$(get_libdir)"
|
||||
else
|
||||
myConf="--without-sqlite"
|
||||
fi
|
||||
if use gtk ; then
|
||||
myConf="$myConf --with-gtk=3.0"
|
||||
else
|
||||
myConf="$myConf --with-gtk=no"
|
||||
fi
|
||||
econf \
|
||||
GNATCHOP="${GNATCHOP}" \
|
||||
GNATMAKE="${GNATMAKE}" \
|
||||
--with-python \
|
||||
$(use_with gmp) \
|
||||
$(use_with iconv) \
|
||||
$(use_with postgresql) \
|
||||
$(use_enable projects) \
|
||||
$(use_enable pygobject) \
|
||||
$(use_enable readline gpl) \
|
||||
$(use_enable readline) \
|
||||
$(use_enable syslog) \
|
||||
--with-python-exec=${EPYTHON} \
|
||||
--enable-shared-python \
|
||||
--disable-pygtk \
|
||||
CC=${GCC} \
|
||||
$myConf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use shared; then
|
||||
emake PROCESSORS=$(makeopts_jobs) GPRBUILD_OPTIONS=-v GCC=${GCC} \
|
||||
build_library_type/relocatable
|
||||
fi
|
||||
if use static; then
|
||||
emake PROCESSORS=$(makeopts_jobs) GPRBUILD_OPTIONS=-v GCC=${GCC} \
|
||||
build_library_type/static
|
||||
fi
|
||||
python_fix_shebang .
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use shared; then
|
||||
emake prefix="${D}usr" install_library_type/relocatable
|
||||
fi
|
||||
if use static; then
|
||||
emake prefix="${D}usr" install_library_type/static
|
||||
fi
|
||||
emake prefix="${D}usr" install_gps_plugin
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# The test suite is in
|
||||
# To run you need to have the ada compiler available as gcc
|
||||
# Even in this case there are still some problem
|
||||
# Going into the testsuite directory and running
|
||||
# ./run.py -v -v
|
||||
# run here (having enabled most USE flags)
|
||||
true
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
<?xml version="1.0" ?>
|
||||
<gprconfig>
|
||||
<compiler_description>
|
||||
<name>GNAT-@VER@</name>
|
||||
<executable prefix="1">gnatls-@VER@</executable>
|
||||
<version>
|
||||
<external>${PREFIX}gnatls-@VER@ -v --version</external>
|
||||
<grep regexp="^GNATLS.+?(\d+(\.\d+)?)" group="1"></grep>
|
||||
</version>
|
||||
<languages>Ada</languages>
|
||||
<variable name="gcc_version">
|
||||
<external>${PREFIX}gcc-@VER@ -v</external>
|
||||
<grep regexp="^[-\w]*gcc \S+ (\S+)" group="1"></grep>
|
||||
</variable>
|
||||
<runtimes default="default,kernel,native">
|
||||
<directory group="default" >\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/adalib/</directory>
|
||||
<directory group="default" contents="^rts-">\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/ada_object_path</directory>
|
||||
<directory group="2" >\.\./lib/gcc(-lib)?/$TARGET/$gcc_version/rts-(.*)/adalib/</directory>
|
||||
<directory group="1" >\.\./$TARGET/lib/gnat/(.*)/adalib/</directory>
|
||||
</runtimes>
|
||||
<target>
|
||||
<external>${PREFIX}gcc-@VER@ -dumpmachine</external>
|
||||
<grep regexp="[^\r\n]+"></grep>
|
||||
</target>
|
||||
</compiler_description>
|
||||
|
||||
<configuration>
|
||||
<compilers>
|
||||
<compiler name="GNAT-@VER@" />
|
||||
</compilers>
|
||||
<config>
|
||||
package Compiler is
|
||||
for Driver ("Ada") use "${PATH(ada)}${PREFIX(ada)}gcc-@VER@";
|
||||
for Language_Kind ("Ada") use "unit_based";
|
||||
for Dependency_Kind ("Ada") use "ALI_File";
|
||||
for Leading_Required_Switches ("Ada") use
|
||||
("-c", "-x", "ada", "-gnatA")
|
||||
& Compiler'Leading_Required_Switches ("Ada");
|
||||
for Mapping_File_Switches ("Ada") use ("-gnatem=");
|
||||
for Mapping_Spec_Suffix ("Ada") use "%s";
|
||||
for Mapping_Body_Suffix ("Ada") use "%b";
|
||||
for Config_File_Switches ("Ada") use ("-gnatec=");
|
||||
for Include_Path_File ("Ada") use "ADA_PRJ_INCLUDE_FILE";
|
||||
for Multi_Unit_Switches ("Ada") use ("-gnateI");
|
||||
for Multi_Unit_Object_Separator ("Ada") use "~";
|
||||
for Config_Body_File_Name ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Body_File_Name => ""%f"");";
|
||||
for Config_Spec_File_Name ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Spec_File_Name => ""%f"");";
|
||||
for Config_Body_File_Name_Index ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Body_File_Name => ""%f"", Index => %i);";
|
||||
for Config_Spec_File_Name_Index ("Ada") use
|
||||
"pragma Source_File_Name_Project (%u, Spec_File_Name => ""%f"", Index => %i);";
|
||||
for Config_Body_File_Name_Pattern ("Ada") use
|
||||
"pragma Source_File_Name_Project " &
|
||||
" (Body_File_Name => ""*%b""," &
|
||||
" Casing => %c," &
|
||||
" Dot_Replacement => ""%d"");";
|
||||
for Config_Spec_File_Name_Pattern ("Ada") use
|
||||
"pragma Source_File_Name_Project " &
|
||||
" (Spec_File_Name => ""*%s""," &
|
||||
" Casing => %c," &
|
||||
" Dot_Replacement => ""%d"");";
|
||||
for Config_File_Unique ("Ada") use "False";
|
||||
for PIC_Option ("Ada") use ("-fPIC");
|
||||
for Leading_Required_Switches ("Ada") use
|
||||
Compiler'Leading_Required_Switches ("Ada") & ("--RTS=${RUNTIME_DIR(ada)}");
|
||||
end Compiler;
|
||||
|
||||
package Binder is
|
||||
for Objects_Path_File ("Ada") use "ADA_PRJ_OBJECTS_FILE";
|
||||
for Driver ("Ada") use
|
||||
"${GPRCONFIG_PREFIX}libexec/gprbuild/gprbind";
|
||||
for Switches ("Ada") use ("--gnatbind_path=gnatbind-@VER@");
|
||||
for Required_Switches ("Ada") use
|
||||
Binder'Required_Switches ("Ada") & ("--RTS=${RUNTIME_DIR(ada)}");
|
||||
end Binder;
|
||||
|
||||
for Toolchain_Version ("Ada") use "GNAT ${VERSION(ada)}";
|
||||
|
||||
for Runtime_Dir ("Ada") use "${RUNTIME_DIR(ada)}";
|
||||
for Library_Encapsulated_Supported use "true";
|
||||
</config>
|
||||
</configuration>
|
||||
</gprconfig>
|
@ -1,10 +1,3 @@
|
||||
DIST elixir-1.2.3.tar.gz 1662478 SHA256 886e4efea0e9bbbb4ba55ea659986fb3460c5b77045410c10144838192214827 SHA512 fefdc490c266045c29ea513f77b45c82c01ca3e60f1cd35afd1214e14c23d1d008724801c102a006271916073707027666c98687b4878d280b836a2dbf25062b WHIRLPOOL 40cb6d462e026b138e3ba85e198a730f99df75900ab937bc48b123b23c38a3c5b084f9d9ae1335210e873d092b93279b86ef1cdf51d34e182b440b13bd8b220b
|
||||
DIST elixir-1.2.5.tar.gz 1666179 SHA256 8ed65722aeb55cbfe6022d77d0e36293d463d7b4922198f5c157e8286d896eee SHA512 62b09650002cc4ea01d1210765750706feb926bdc81ff30a3665b49722f8231f4e790e0fecb2fdc06a1d64dfc71213eaf187c8724c52841d91d5b5a7e3ca6749 WHIRLPOOL 067c090d6d6f80fcab5e8d32f7e588b33b3f78c25c31252ddb8d901acf707682b95a98c89d64afd842c16ea6ceaae44373b98079235aa3fecb587259f9f41afe
|
||||
DIST elixir-1.3.0.tar.gz 1744231 SHA256 66cb8448dd60397cad11ba554c2613f732192c9026468cff55e8347a5ae4004a SHA512 cde88fc780b5e90955459e9da9ba37f3cd442b7015e3432daf0551778df8d9aeeefe4d6c238144d2f0ca16b166d305f299a906155a7991b3fdeee1d337001bab WHIRLPOOL 4c4645a2da46c6900cb2a4bcdbb2c994f828294d618f6108a3f854feb04fdd41b1856068a3796ff41a5128d07a71651db67c688dd2b5194ba538cadce47d0b97
|
||||
DIST elixir-1.3.1.tar.gz 1745562 SHA256 c4ab90a0d8d7ed4159dd6b7e1bcbcdbdb8c6177a35328d774fccf00346b4b42c SHA512 9ded5d76743aa9b22c48e928b78c33908e037d74efbd8fef7d2cd19d6426a115cf34a4df4654406146be0a875408b015ebc0cc753f23e4a2fd832a74e7eb30b2 WHIRLPOOL 942f63da14c105594bdf587339368bce1b3ec4ada2e76944a3b75be97aae5cfbe997fb090518b74a57e5bc121791e579c4f803e72f4010d07ccaa22240620224
|
||||
DIST elixir-1.3.2.tar.gz 1748389 SHA256 be24efee0655206063208c5bb4157638310ff7e063b7ebd9d79e1c77e8344c4b SHA512 e50b4645d5720ab28dbedcfd4ef9919b10edd4290a2b1e9b2a69e8c3223ee3cdb3c8f8cc6d9191e6934970a7d0cbdc8396b9d7df6fc02e855cf4eae1707b5f7f WHIRLPOOL 678b584c1d1d7110f3f40caf36833787fdda8ede70afb003834db7f1f3053ad91cc87fcdfd3190becb154b8391e715799a01f22a057e6a487050edf48e09f35c
|
||||
DIST elixir-1.3.4.tar.gz 1751828 SHA256 f5ee5353d8dbe610b1dfd276d22f2038d57d9a7d3cea69dac10da2b098bd2033 SHA512 84c8c5dfbde82d125855caf46e2848e9a91e7af46ab259c3e8b6f9c1d228e11058dd62cc142b70eb6d374f04ea502749c9ee8263867daabfc8d51edce7b3fcab WHIRLPOOL 16da46751a00eda05e838fbb736319b5a48665590f1ce1ce8cfb9253f92df00aaac5e89de425078aa5782e43192b4d15f69cb4b1dfdc417d307db8dc360ef949
|
||||
DIST elixir-1.4.0.tar.gz 1825050 SHA256 34a6747b5db75c35e542805b75a08bc1b2b0a53b5180f33de6af0bdff870e6b3 SHA512 b09bdfeed2cc3634d50934edf558bbc85053f96a6a4dc861022bc53112168f9fb6e173a11ed2f920e27402a7cb79afa77421cd0a264b98d77f39717dabcb34ac WHIRLPOOL d30ce1be5f4165626629a4a301d70c7b6924e0ab06ac265d7cf269b00211da5f58090fe3be5529c2aeda12c63e839e6b722d0a55bee8e65cac421944f74a494d
|
||||
DIST elixir-1.4.1.tar.gz 1824714 SHA256 0b8e9e8340b9649c761d2514a60455a290c145732907574ac085b0f7a7e7829f SHA512 19ede9d6f2d95c3468afd3712c08e9684b542718b5a68b7d346b519219f6d9f5bb9dda5bba1ebe9de7a6c8b5f306e12911c5a334c7f147cca50044f2fde7def6 WHIRLPOOL 0bc1b7f9db3e929918542a6c4a2f6dcc7bf920ac692e7844c1afbd72132e61d5d2b24ce6f37f8c8069a3cfe35dc7561059f6a6581187f95be8a76a9fd2788b8c
|
||||
DIST elixir-1.4.2.tar.gz 1825935 SHA256 cb4e2ec4d68b3c8b800179b7ae5779e2999aa3375f74bd188d7d6703497f553f SHA512 f75aa7edeba063e81ce2e2caa1b5bac5385af7c120b69c5707ebd5aaab7acfaf8f4618f96b31d72f94a8e3e5ed5e918fd44b760e4e8d3fe55006923b2259a3b6 WHIRLPOOL 0eb58696fc474338ac517ef6283d583f1810f34e120e967fb505508643b2f1efcba837a3734c46255ddc6d48d2c66538906a6e8772c6fa0f6bb2d75b7a171856
|
||||
DIST elixir-1.4.4.tar.gz 1828694 SHA256 2d9d5faee079949f780c8f6a1ccba015d64ecf859ed87384ae4239d69be60142 SHA512 e339a27e1b31c7783077fc336703c30066d18af990c26741508caa16f15d33d71c56ca7884ed27d046b310db5e051adc428fc51535abecb06992225c6d2d274d WHIRLPOOL 71564643d228d870b76d8e556b01253f8c30193f6d222427ac8e7aa04caa00f2cf24e8792b4a1e75afd1a1ef365afed5fd3f943313ed0cc66a97c065a4760d16
|
||||
DIST elixir-1.4.5.tar.gz 1829098 SHA256 bef1a0ea7a36539eed4b104ec26a82e46940959345ed66509ec6cc3d987bada0 SHA512 3fe659a739ded54bfc7d05a96acf3061c860e44cfd7700651d138c7e21997c5703cc62d2bd3b7a258b27064bb222dfdcdc01e4d017451f522f9658a039073611 WHIRLPOOL c9e59b2de0756aecab11c480e60278ba8d87ae1bec74e8db47b5780a0c417858596c00c7f790a2bfa4c15f4d53e76918660e976b23a320a512a6b2f6652b295f
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-lang/erlang-18*[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-lang/erlang-18*[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CONTRIBUTING.md
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="=dev-lang/erlang-18*[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-18[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-18[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-18[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-18[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-18[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST leatherman-0.10.1.tar.gz 423218 SHA256 79b0eded49a02cb8f6ce6260ae39e3f1bdd2dc2c62c02f661308e04c08edb69e SHA512 bbbb772c855f5ce1e38abe7186400d9a2c9663dcdc72bd0a822bbe171eed3d01e33a6ec2196d4f6f8f0895f309d031b1eb77ec188bd16b37e52b306fafb66d17 WHIRLPOOL 19ff51352c49e9fca7d45683117809cf916e15066015e40cbe2eb10e3eb4ae3e6d27595e8bae8291bd5fac874f845399b9c87a5fcc6b645dd174bf3c9b1a8229
|
||||
DIST leatherman-0.12.1.tar.gz 423884 SHA256 656a49bdb1181932a8606b58dd19efd8cf428dd0ebbb4af619e3737f2131bdc0 SHA512 f93b6b0f1051507469bcb8d964cd38b238a269bf277f3b540d4b0e53700012aba3eefc8dc5656a4158ad55b8570ebdb09f528fb586621972b847e10305912ce4 WHIRLPOOL bb2ea8b025aa07b18c485e5d5b98cad035590cb2f13d59780b683a3c2003cfe676e160769e6293b185a8fb1c16c542e033fc10cb27ac6be705345d8c672b8e47
|
||||
DIST leatherman-1.0.0.tar.gz 423859 SHA256 4bcb8eaf08429e9e62cc6fcbfc1f216bd2eff800f751dbacabbec7d714ed21a2 SHA512 a4fabe53662e00b7be563b768b317d186204b66c0949d4cf0b3c9133462a95fe449758f474b04285803a786745d27c7327429dc80ff4d6d2b52b3973d3927ef0 WHIRLPOOL 3490566cdb495bb972fe4e906412184f4d16505fb7cd156588da68d1d08eb79014cdc65faeeb04f1646aef9d7054e84e087280c4a67607884a389ac85a2cffa2
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby21 ruby22"
|
||||
|
||||
inherit cmake-utils multilib
|
||||
|
||||
DESCRIPTION="A C++ toolkit"
|
||||
HOMEPAGE="https://github.com/puppetlabs/leatherman"
|
||||
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="debug test"
|
||||
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="net-misc/curl"
|
||||
DEPEND=">=dev-libs/boost-1.54[nls]
|
||||
net-misc/curl
|
||||
>=sys-devel/gcc-4.8:*"
|
||||
|
||||
src_prepare() {
|
||||
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || 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
|
||||
)
|
||||
if use debug; then
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_BUILD_TYPE=Debug
|
||||
)
|
||||
fi
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST libbsd-0.8.2.tar.xz 344292 SHA256 b2f644cae94a6e2fe109449c20ad79a0f6ee4faec2205b07eefa0020565e250a SHA512 2230d51a30a0c3a8518c7e325036d2b578c8c2b47525c2d0d5f530d28d82227ad48b50341e44521db21f99208fe7c0df7313254c90e3c92da1c8664a8cbb87c5 WHIRLPOOL 4f9b09aaa7c0775cd46bf0aaaba9e9a7f07040262739002bf3966aace3bb4d782f96b176e2c489e7d7cbc0840eecc463a414dee1b5c92414c9a821796d739290
|
||||
DIST libbsd-0.8.3.tar.xz 356772 SHA256 934b634f4dfd865b6482650b8f522c70ae65c463529de8be907b53c89c3a34a8 SHA512 155b895d6bd62b180718d65a2cda7484946c492d52735a57b51005705dfe4528b6a72e8745acea47b01fe68e3bbbe3c036c5e9998a8d06fc79efe2b96a04767f WHIRLPOOL ab74a85813ea3308e7e4c53b7a46f4b93e4dff4d091964a6347f9960729e8eb4c8a2a0866938de508caf47caf9371f14499fcb0cc4aa30da06f501f4ccad9ef2
|
||||
DIST libbsd-0.8.4.tar.xz 368396 SHA256 217af1642915703151ea6df077311633dd6ad7bfa3c7e07dd9329a93f642cab3 SHA512 83ca4733edad918a51096301480b702be96f064d7e731cc0870a78d6505574ac6f4edc101aae8b97ff430b2b3ae99e162660e7e3933d05caa14537e581926dc3 WHIRLPOOL 9e0cf7b0db53659d3cce19d2906092298da272dd52489f0820fc1df8a074c7f15e85b3fc4abf82e26b3c311df35ebdc96f06000f580458dc371eab0387d05a67
|
||||
DIST libbsd-0.8.5.tar.xz 370680 SHA256 7647d024f41389305272c263da933a6f2a978213c1801592f47e68d83ac05b28 SHA512 bb122862ce8b789e530e9ca1a777d4219db2066ad89fe6028a833a5dc33ac0cd6b553ef5a0a42962d4a594c1f410304fd553b8fab583db539989ec7cca85baf0 WHIRLPOOL 6a621bf56ec6660cef7663dec62c0623d85931a56239f435e60bff7df8c4150ef378bff03801f67f798d0e640dc1dd061457a3b6df6a2f3f20a03b66fba14ebd
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="An library to provide useful functions commonly found on BSD systems"
|
||||
HOMEPAGE="https://libbsd.freedesktop.org/wiki/"
|
||||
SRC_URI="https://${PN}.freedesktop.org/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD BSD-2 BSD-4 ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="static-libs"
|
||||
|
||||
DEPEND=">=sys-kernel/linux-headers-3.17"
|
||||
RDEPEND=""
|
||||
|
||||
pkg_setup() {
|
||||
local f="${EROOT}/usr/$(get_libdir)/${PN}.a"
|
||||
local m="You need to remove ${f} by hand or re-emerge sys-libs/glibc first."
|
||||
if ! has_version ${CATEGORY}/${PN}; then
|
||||
if [[ -e ${f} ]]; then
|
||||
eerror "${m}"
|
||||
die "${m}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# The build system will install libbsd-ctor.a despite of USE="-static-libs"
|
||||
# which is correct, see:
|
||||
# https://cgit.freedesktop.org/libbsd/commit/?id=c5b959028734ca2281250c85773d9b5e1d259bc8
|
||||
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
find "${ED}" -name "*.la" -delete || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST atd-1.12.0.tar.gz 145428 SHA256 3e81d562e74374b98c0f383c1ded46beb06d8416d2065645fd68d3b8b0238ddd SHA512 c24601b276da7837bc896bb42b2e0fa91ebfbf07759560c2490ed44bef722dcf8d586aaba1e62abff262805cab89996835611ab9fb68aa096dfc84bb55365475 WHIRLPOOL c39967976d80053680004e8c912af1d37da96e97f76e7056a89fb996ff629aec367ba68cc9783932b9fb49918ed60ef209a80af975535bc0382255e80b7d79c7
|
||||
DIST atd-1.2.0.tar.gz 41300 SHA256 488e06e406824efab12f53845b648c1a592c2c8349d4ac1e12b94ce61e7453e9 SHA512 a52824c9784ac0f4d6f314972fa1d92be14730de3c6bde04032004579ac27408385bd4fa7d926f9d564657eb62050fd732a032f364bada62a1dc7a8acfacb727 WHIRLPOOL b0fe31df2282e5533c6c5bc769a9dfedfc60b5457ccf5e0b7fed82d1da287b72cee3bf1133891e2abe674afb70df781a94200e17bdb0011a45af3f492ae38b1e
|
||||
DIST atd-1.2.1.tar.gz 39018 SHA256 515663f1c48c3592e360079f92eea6db82d3d989f1df19b45e8179aec0d48e34 SHA512 5dde8dd1e6ca53ae2ff7efc873211079678a824ae7a9d4182d58e3e10ce50a9dcd705de7168a8cfb12ea3d030a0d01b2485d436e77bfa48c14df7628b47161dc WHIRLPOOL 666cb45158769c98f1bd6b30e045447441cea0cfd54d803b88a3e1ae3b2fd355e351f5cfa5e86c8f96e9dbf44d56920748b639f31f7b4787f0d5f634ef7c2c57
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit findlib
|
||||
|
||||
DESCRIPTION="Syntax for cross-language type definitions"
|
||||
HOMEPAGE="https://github.com/mjambon/atd"
|
||||
SRC_URI="https://github.com/mjambon/atd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ocamlopt test"
|
||||
|
||||
DEPEND="
|
||||
dev-lang/ocaml:=[ocamlopt?]
|
||||
dev-ml/easy-format:=[ocamlopt?]
|
||||
dev-ml/menhir:=[ocamlopt?]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
dev-ml/jbuilder
|
||||
dev-ml/opam
|
||||
test? (
|
||||
dev-ml/biniou
|
||||
dev-ml/yojson
|
||||
)
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
jbuilder build -p atd || die
|
||||
}
|
||||
|
||||
oinstall() {
|
||||
opam-installer -i \
|
||||
--prefix="${ED}/usr" \
|
||||
--libdir="${D}/$(ocamlc -where)" \
|
||||
--docdir="${ED}/usr/share/doc/${PF}" \
|
||||
${1}.install || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
oinstall atd
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST atd-1.12.0.tar.gz 145428 SHA256 3e81d562e74374b98c0f383c1ded46beb06d8416d2065645fd68d3b8b0238ddd SHA512 c24601b276da7837bc896bb42b2e0fa91ebfbf07759560c2490ed44bef722dcf8d586aaba1e62abff262805cab89996835611ab9fb68aa096dfc84bb55365475 WHIRLPOOL c39967976d80053680004e8c912af1d37da96e97f76e7056a89fb996ff629aec367ba68cc9783932b9fb49918ed60ef209a80af975535bc0382255e80b7d79c7
|
||||
DIST atdgen-1.10.0.tar.gz 75447 SHA256 f21834bbba8e9365e1c919554dcb6e30d7db3321d49e44987556ae073cd6a272 SHA512 2dba16a0955b591a972bbd790a5344cf7f79c9485b5a064d3206643defe6c56413678aea389d831892ae1c72ff2fcb3a667731a236a7510fa7e9b4a60a128fb8 WHIRLPOOL 06c4e4215b7372a6975dbffed7b18b94a897a2dbdaa4e70a2a69065b2defde9032d4fa80934b6aae72462a69709b6cbec7892dd64e4725d3cedcbf0de89dd682
|
||||
DIST atdgen-1.10.2.tar.gz 73418 SHA256 1b063bf7cbffc5d9a33b10d1a5ceba1da4d8d0c09f6db1a3f45780391b760f1b SHA512 5912e339c61516f942e7c80775faf4832007a96e5841e91115d120323a07fdd3945698b39876da3c25302da25ce30ecbab79a6920dd1496b9de4e30f4a2be73a WHIRLPOOL 77197558186f52262a302ff7c297f1561445f2411002daf0ec78f2cc9e9561e645e417a50d0ed37e8cfd620c42aa9831ee8e78f85128a392e104d2d9a91b72de
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit findlib
|
||||
|
||||
DESCRIPTION="Generates optimized boilerplate OCaml code for JSON and Biniou IO from type definitions"
|
||||
HOMEPAGE="https://github.com/mjambon/atd"
|
||||
SRC_URI="https://github.com/mjambon/atd/archive/v${PV}.tar.gz -> atd-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
DEPEND="
|
||||
dev-lang/ocaml:=[ocamlopt?]
|
||||
dev-ml/atd:=
|
||||
dev-ml/biniou:=
|
||||
dev-ml/yojson:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
dev-ml/jbuilder
|
||||
dev-ml/opam
|
||||
"
|
||||
|
||||
S="${WORKDIR}/atd-${PV}"
|
||||
|
||||
src_compile() {
|
||||
jbuilder build -p atdgen || die
|
||||
}
|
||||
|
||||
oinstall() {
|
||||
opam-installer -i \
|
||||
--prefix="${ED}/usr" \
|
||||
--libdir="${D}/$(ocamlc -where)" \
|
||||
--docdir="${ED}/usr/share/doc/${PF}" \
|
||||
${1}.install || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
oinstall atdgen
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_VERSION=1.033
|
||||
DIST_AUTHOR=ZOWIE
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Find and verify functionality of the gnuplot executable"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-File-Temp
|
||||
virtual/perl-HTTP-Tiny
|
||||
virtual/perl-Time-HiRes
|
||||
sci-visualization/gnuplot
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
@ -0,0 +1 @@
|
||||
DIST Alien-Gnuplot-1.033.tar.gz 7827 SHA256 85d97835cee8538bfdf1d9e9a2cc9d6d7eb7daa475739a1c48b71315f7aee9db SHA512 b846e9be8193af376dced487b99bafdd29fdf094a92f824bacaa3c642ad110918995cabc66300bd04fbf78ae779855ba94d1e634398f479961f98bb7f1cbbf46 WHIRLPOOL 42911f76a92c9abac662fce3a6c0533a14a22201fae818248f3811bc48c89d2edcac60f8e5a5d55708f6159e6edc76449f9f07283b944f03fc98a3daffc0a806
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,151 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ "${PV}" != "9999" ]]; then
|
||||
DIST_VERSION=${PV%.0}
|
||||
DIST_AUTHOR="AKHUETTEL"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
inherit perl-module
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/lab-measurement/lab-measurement.git"
|
||||
EGIT_BRANCH="master"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-git"
|
||||
inherit perl-module git-r3
|
||||
fi
|
||||
|
||||
DESCRIPTION="Measurement control and automation with Perl"
|
||||
HOMEPAGE="http://www.labmeasurement.de/"
|
||||
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
DZIL_PLUGINS=( Git PodWeaver )
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
dev-perl/Class-ISA
|
||||
>=dev-perl/Class-Method-Modifiers-2.110.0
|
||||
>=dev-perl/Clone-0.310.0
|
||||
virtual/perl-Data-Dumper
|
||||
virtual/perl-Encode
|
||||
>=dev-perl/Exception-Class-1.0.0
|
||||
virtual/perl-File-Path
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Getopt-Long
|
||||
dev-perl/Hook-LexWrap
|
||||
virtual/perl-IO
|
||||
>=dev-perl/IO-Socket-Timeout-0.320.0
|
||||
dev-perl/List-MoreUtils
|
||||
virtual/perl-Scalar-List-Utils
|
||||
virtual/perl-Math-Complex
|
||||
>=virtual/perl-Module-Load-0.260.0
|
||||
>=dev-perl/Moose-2.121.300
|
||||
>=dev-perl/MooseX-Params-Validate-0.180.0
|
||||
>=dev-perl/PDL-2.7.0
|
||||
dev-perl/PDL-Graphics-Gnuplot
|
||||
>=dev-perl/Role-Tiny-1.3.4
|
||||
virtual/perl-Socket
|
||||
dev-perl/Statistics-Descriptive
|
||||
virtual/perl-Storable
|
||||
>=dev-perl/TermReadKey-2.300.0
|
||||
virtual/perl-Thread-Semaphore
|
||||
virtual/perl-Time-HiRes
|
||||
>=dev-perl/Try-Tiny-0.220.0
|
||||
>=dev-perl/YAML-LibYAML-0.410.0
|
||||
virtual/perl-autodie
|
||||
>=dev-perl/namespace-autoclean-0.200.0
|
||||
virtual/perl-parent
|
||||
sci-visualization/gnuplot
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
dev-perl/File-Slurper
|
||||
virtual/perl-File-Temp
|
||||
dev-perl/Test-Fatal
|
||||
dev-perl/Test-File
|
||||
virtual/perl-Test-Simple
|
||||
dev-perl/Text-Diff
|
||||
dev-perl/aliased
|
||||
)
|
||||
"
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
DEPEND="${DEPEND}
|
||||
dev-perl/Dist-Zilla"
|
||||
for dzp in ${DZIL_PLUGINS} ; do
|
||||
DEPEND="${DEPEND}
|
||||
dev-perl/Dist-Zilla-Plugin-${dzp}"
|
||||
done
|
||||
fi
|
||||
|
||||
src_unpack() {
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
git-r3_src_unpack
|
||||
mkdir -p "${S}" || die "Can't make ${S}"
|
||||
else
|
||||
default
|
||||
fi
|
||||
}
|
||||
|
||||
dzil_to_distdir() {
|
||||
local dzil_root dest has_missing modname dzil_version
|
||||
dzil_root="$1"
|
||||
dest="$2"
|
||||
|
||||
cd "${dzil_root}" || die "Can't enter git workdir '${dzil_root}'";
|
||||
|
||||
dzil_version="$(dzil version)" || die "Error invoking 'dzil version'"
|
||||
einfo "Generating CPAN dist with ${dzil_version}"
|
||||
|
||||
has_missing=""
|
||||
|
||||
einfo "Checking dzil authordeps"
|
||||
while IFS= read -d $'\n' -r modname; do
|
||||
if [[ -z "${has_missing}" ]]; then
|
||||
has_missing=1
|
||||
eerror "'dzil authordeps' indicates missing build dependencies"
|
||||
eerror "These will prevent building, please report a bug"
|
||||
eerror "Missing:"
|
||||
fi
|
||||
eerror " ${modname}"
|
||||
done < <( dzil authordeps --missing --versions )
|
||||
|
||||
[[ -z "${has_missing}" ]] || die "Satisfy all missing authordeps first"
|
||||
|
||||
einfo "Checking dzil build deps"
|
||||
while IFS= read -d $'\n' -r modname; do
|
||||
if [[ -z "${has_missing}" ]]; then
|
||||
has_missing=1
|
||||
ewarn "'dzil listdeps' indicates missing build dependencies"
|
||||
ewarn "These may prevent building, please report a bug if they do"
|
||||
ewarn "Missing:"
|
||||
fi
|
||||
ewarn " ${modname}"
|
||||
done < <( dzil listdeps --missing --versions --author )
|
||||
|
||||
einfo "Generating release"
|
||||
dzil build --notgz --in "${dest}" || die "Unable to build CPAN dist in '${dest}'"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
# Uses git sources in WORKDIR/rex-git
|
||||
# to generate a CPAN-style tree in ${S}
|
||||
# before letting perl-module.eclass do the rest
|
||||
dzil_to_distdir "${EGIT_CHECKOUT_DIR}/Measurement" "${S}"
|
||||
fi
|
||||
cd "${S}" || die "Can't enter build dir"
|
||||
perl-module_src_prepare
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ( ! has_version sci-libs/linuxgpib ) && ( ! has_version dev-perl/Lab-VISA ) ; then
|
||||
elog "You may want to install one or more backend driver modules. Supported are"
|
||||
elog " sci-libs/linuxgpib Open-source GPIB hardware driver"
|
||||
elog " dev-perl/Lab-VISA Bindings for the NI proprietary VISA driver"
|
||||
elog " stack (dilfridge overlay)"
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST Lab-Measurement-3.531.tar.gz 483289 SHA256 656cab0028f840065120ac67975e70c2f42739fa0e6788f4f07e93fd8d518d3c SHA512 28db6db91db281aec1b57d48f94d31c7f01731ad944b891332496329f91b4b5985ab474b645fa70ed396dd5662d5086722128cf1db9d88c5a766d500694ef5c7 WHIRLPOOL e1e85ef42a531e60cb04e715924e574925e78a9a45e58603e78627953d154d5df5569ab2991f48a3b9b3fa92994c432966f300a074b507f3669fe816d6204a4b
|
||||
DIST Lab-Measurement-3.550.tar.gz 510971 SHA256 5204bcd88db31156fec717b546eb4ed6e4a43a781d36a28141c5477d3c714768 SHA512 e3ab254909b5d6644ac0938233b643ccfa851631b54de0f409175020d4d577e61f90af2b797ad1418366b3876c917c7cc30109abc8b13f1d3b93fdcad439acaa WHIRLPOOL 7c9dbee0743fa6b21c0041ea67cbb0d5e6e083c8d81bc9fd5f0bd11dd12daf79856a174145a61f11916668a59d82f1d2e8cf6c372295cbc2eafddf12d6487c68
|
||||
|
@ -0,0 +1 @@
|
||||
DIST PDL-Graphics-Gnuplot-2.011.tar.gz 146990 SHA256 6f93e19651f8b05cc10a9eddcbc97955188905964ad6b904b3a39fc94b1abe22 SHA512 09bd38beaacf914241d2bddf9c159bd6db3a60ed0d15f001faec4c5da2e22cb8313b47ed71b8e6006159b4a0d74cea6ebbaf257fa9774eac7f8a5622cfade0e7 WHIRLPOOL dd89dddf564b9efecd1b5a4d1ebaa54d070969cea3302fd13cb48325393ae6a5b5c60e99ea228fea4d2f8e434d78a675f603eb4ce6cb2046ef91704f774d3e31
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_VERSION=2.011
|
||||
DIST_AUTHOR=ZOWIE
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Gnuplot-based plotting for PDL"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/Alien-Gnuplot
|
||||
virtual/perl-IO
|
||||
dev-perl/IPC-Run
|
||||
virtual/perl-Scalar-List-Utils
|
||||
dev-perl/PDL
|
||||
dev-perl/PDL-Transform-Color
|
||||
dev-perl/Safe-Isa
|
||||
virtual/perl-Storable
|
||||
virtual/perl-Time-HiRes
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.480.0
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
"
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST PDL-Transform-Color-1.003.tar.gz 51299 SHA256 249e3d30cae9ffca96e8e78966339643a735b7094f10d4e5492f7f78b266d688 SHA512 ab1c0643013a494584a688aaadd275ff361bf2212b2af6ed7718cbe344f87c5ed887a188729ad8f1a1922f2987b25e3816cca3ba9db78a45cc01630d50213b72 WHIRLPOOL 4cab2c936b546665056754091d32ab0be43d7ebafff1e7e57e777293ec3d7be1c6908f5f236b7507cca0254b9bcf6b03821f53067075d06cd937d6a56a2917dc
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_VERSION=1.003
|
||||
DIST_AUTHOR=ZOWIE
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Useful color system conversions for PDL"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/PDL
|
||||
dev-perl/Safe-Isa
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>perl@gentoo.org</email>
|
||||
<name>Gentoo Perl Project</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,142 @@
|
||||
From 717a19da57ec9f8fc80d4824cad47a04200fc515 Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentfredric@gmail.com>
|
||||
Date: Sat, 24 Jun 2017 17:27:27 +1200
|
||||
Subject: [PATCH] Backport fix for "." in @INC from 2.018
|
||||
|
||||
2.018 has far too many changes to safely review in such a short amount
|
||||
of time. Fixing this trivial build issue gets us what is necessary
|
||||
for Perl 5.26 roll-out without lots of additional verification
|
||||
---
|
||||
Basic/Core/Core.xs | 2 +-
|
||||
Basic/Core/pdl.h.PL | 2 +-
|
||||
Basic/Core/pdlconv.c.PL | 4 ++--
|
||||
Basic/Core/pdlcore.c.PL | 4 ++--
|
||||
Basic/Core/pdlcore.h.PL | 4 ++--
|
||||
Basic/Core/pdlsimple.h.PL | 2 +-
|
||||
Makefile.PL | 4 ++--
|
||||
7 files changed, 11 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/Basic/Core/Core.xs b/Basic/Core/Core.xs
|
||||
index 5e95356..b38f14c 100644
|
||||
--- a/Basic/Core/Core.xs
|
||||
+++ b/Basic/Core/Core.xs
|
||||
@@ -336,7 +336,7 @@ iscontig(x)
|
||||
|
||||
# using "perl" not $^X because that doesn't work on "perl in space"
|
||||
# TODO: switching back to $^X since using "perl" is not a viable fix
|
||||
-INCLUDE_COMMAND: $^X -e "require q{Dev.pm}; PDL::Core::Dev::generate_core_flags()"
|
||||
+INCLUDE_COMMAND: $^X -e "require q{./Dev.pm}; PDL::Core::Dev::generate_core_flags()"
|
||||
|
||||
#if 0
|
||||
=begin windows_mmap
|
||||
diff --git a/Basic/Core/pdl.h.PL b/Basic/Core/pdl.h.PL
|
||||
index d2e9758..6e01445 100644
|
||||
--- a/Basic/Core/pdl.h.PL
|
||||
+++ b/Basic/Core/pdl.h.PL
|
||||
@@ -6,7 +6,7 @@ use Config;
|
||||
use File::Basename qw(&basename &dirname);
|
||||
|
||||
# how many variable types (ie PDL_Byte, ...) are there?
|
||||
-require 'Types.pm';
|
||||
+require './Types.pm';
|
||||
my $ntypes = $#PDL::Types::names;
|
||||
my $PDL_DATATYPES = PDL::Types::datatypes_header();
|
||||
|
||||
diff --git a/Basic/Core/pdlconv.c.PL b/Basic/Core/pdlconv.c.PL
|
||||
index 160e29b..62a57b0 100644
|
||||
--- a/Basic/Core/pdlconv.c.PL
|
||||
+++ b/Basic/Core/pdlconv.c.PL
|
||||
@@ -7,9 +7,9 @@ use strict;
|
||||
use Config;
|
||||
use File::Basename qw(&basename &dirname);
|
||||
|
||||
-require 'Dev.pm'; PDL::Core::Dev->import;
|
||||
+require './Dev.pm'; PDL::Core::Dev->import;
|
||||
use vars qw( %PDL_DATATYPES );
|
||||
-require 'Types.pm'; #for typesrtkeys
|
||||
+require './Types.pm'; #for typesrtkeys
|
||||
|
||||
# This forces PL files to create target in same directory as PL file.
|
||||
# This is so that make depend always knows where to find PL derivatives.
|
||||
diff --git a/Basic/Core/pdlcore.c.PL b/Basic/Core/pdlcore.c.PL
|
||||
index a602b6e..445cfb8 100644
|
||||
--- a/Basic/Core/pdlcore.c.PL
|
||||
+++ b/Basic/Core/pdlcore.c.PL
|
||||
@@ -6,7 +6,7 @@ use strict;
|
||||
use Config;
|
||||
use File::Basename qw(&basename &dirname);
|
||||
|
||||
-require 'Dev.pm'; PDL::Core::Dev->import;
|
||||
+require './Dev.pm'; PDL::Core::Dev->import;
|
||||
use vars qw( %PDL_DATATYPES );
|
||||
|
||||
# check for bad value support
|
||||
@@ -14,7 +14,7 @@ require './Config.pm'; # to load the PDL not the Perl one
|
||||
die "No PDL::Config found" unless %PDL::Config;
|
||||
my $bvalflag = $PDL::Config{WITH_BADVAL};
|
||||
my $usenan = $PDL::Config{BADVAL_USENAN};
|
||||
-require 'Types.pm';
|
||||
+require './Types.pm';
|
||||
PDL::Types->import(':All');
|
||||
|
||||
|
||||
diff --git a/Basic/Core/pdlcore.h.PL b/Basic/Core/pdlcore.h.PL
|
||||
index 90469f0..760e6a1 100644
|
||||
--- a/Basic/Core/pdlcore.h.PL
|
||||
+++ b/Basic/Core/pdlcore.h.PL
|
||||
@@ -11,7 +11,7 @@ use strict;
|
||||
use Config;
|
||||
use File::Basename qw(&basename &dirname);
|
||||
|
||||
-require 'Dev.pm'; PDL::Core::Dev->import;
|
||||
+require './Dev.pm'; PDL::Core::Dev->import;
|
||||
use vars qw( %PDL_DATATYPES );
|
||||
|
||||
# version 2 is for versions after PDL 2.1.1
|
||||
@@ -349,7 +349,7 @@ double NaN_double;
|
||||
|
||||
# fortunately it looks like Types.pm.PL is processed before this
|
||||
# file
|
||||
- require "Types.pm"; # ie PDL::Types
|
||||
+ require "./Types.pm"; # ie PDL::Types
|
||||
|
||||
for (PDL::Types::typesrtkeys()) {
|
||||
my $ctype = $PDL::Types::typehash{$_}{ctype};
|
||||
diff --git a/Basic/Core/pdlsimple.h.PL b/Basic/Core/pdlsimple.h.PL
|
||||
index e511913..43eb557 100644
|
||||
--- a/Basic/Core/pdlsimple.h.PL
|
||||
+++ b/Basic/Core/pdlsimple.h.PL
|
||||
@@ -3,7 +3,7 @@
|
||||
use Config;
|
||||
use File::Basename qw(&basename &dirname);
|
||||
|
||||
-require 'Types.pm';
|
||||
+require './Types.pm';
|
||||
my $PDL_DATATYPES = PDL::Types::datatypes_header();
|
||||
|
||||
# List explicitly here the variables you want Configure to
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index fc8d590..a94d895 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -226,7 +226,7 @@ sub check_f77conf {
|
||||
|
||||
sub make_Version_pm {
|
||||
# Get Version from Basic/PDL.pm and generated Basic/Core/Version.pm from it
|
||||
- require 'Basic/PDL.pm';
|
||||
+ require './Basic/PDL.pm';
|
||||
# keep version info in $PDL::Config
|
||||
$PDL::Config{PDL_BUILD_VERSION} = "$PDL::VERSION";
|
||||
|
||||
@@ -376,7 +376,7 @@ make_Types_pm();
|
||||
# this will make PDL::Core::Dev's functions available
|
||||
# in Makefile.PL files in all subdirectories
|
||||
# IMPORTANT: it has to be after make_Types_pm()
|
||||
-require "Basic/Core/Dev.pm"; PDL::Core::Dev->import();
|
||||
+require "./Basic/Core/Dev.pm"; PDL::Core::Dev->import();
|
||||
|
||||
# only perform one test if required modules are missing
|
||||
# the test will print an informational message and fail
|
||||
--
|
||||
2.13.1
|
||||
|
@ -0,0 +1,23 @@
|
||||
From 75c5a03ac9b41d6dfd67b3b5c02b8942874fc94b Mon Sep 17 00:00:00 2001
|
||||
From: Kent Fredric <kentfredric@gmail.com>
|
||||
Date: Sat, 24 Jun 2017 18:36:10 +1200
|
||||
Subject: [PATCH] Fix for '.' in @INC
|
||||
|
||||
Bug: https://bugs.gentoo.org/show_bug.cgi?id=617056
|
||||
Bug: https://rt.cpan.org/Ticket/Display.html?id=120879
|
||||
---
|
||||
Makefile.PL | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.PL b/Makefile.PL
|
||||
index dafb7c9..c69a7b1 100644
|
||||
--- a/Makefile.PL
|
||||
+++ b/Makefile.PL
|
||||
@@ -1,2 +1,3 @@
|
||||
#!/usr/bin/env perl
|
||||
-use inc::Module::Package 'Au:dry 1';
|
||||
+use lib 'inc';
|
||||
+use Module::Package 'Au:dry 1';
|
||||
--
|
||||
2.13.1
|
||||
|
@ -1,3 +1,2 @@
|
||||
DIST lxml-3.6.0.tar.gz 3693901 SHA256 9c74ca28a7f0c30dca8872281b3c47705e21217c8bc63912d95c9e2a7cac6bdf SHA512 2dd25a4f51e3e71b78e82e32f3838137d8b21936c23c16f901f4180277c4d4b7f14e1f47d306022cc1d13dc2e0b7f405319632e554aa989f551f424cc423d60d WHIRLPOOL 081c97bca209bc234dfb4e439da45ecde1cfd4c2da31384601c96293a5ab5def9d713bee612b4c84a5372d5b9035126ff6cbc496bd56b141f89b6a4fe916540b
|
||||
DIST lxml-3.6.4.tar.gz 3707675 SHA256 61d5d3e00b5821e6cda099b3b4ccfea4527bf7c595e0fb3a7a760490cedd6172 SHA512 0412b266d7a70af21f2e4e05d63c3ce63049661ef27e2bf190cbfe1e982b6980fe980a998a360796b958fa9e148ae5bb48136354d4b0bb042055340e37f61e1e WHIRLPOOL b9cd81c885a1b12c36b50f4d616214f1912baed7991a3178e9415bffff74277c849b2e7c82fd7f27fb984148267348f5a72088d0b175ebf2731a16b876988255
|
||||
DIST lxml-3.7.3.tar.gz 3797713 SHA256 aa502d78a51ee7d127b4824ff96500f0181d3c7826e6ee7b800d068be79361c7 SHA512 9bf1142e81b6e1c8a47e296774d7e448d9ed47de3672f7442cc33274b07252baa47a9346efa9d2fda7b7bb66beb95bbc81f0ae16c9f808ff568f330991dd6d13 WHIRLPOOL d3881f308622ed8beb03a59bbf8256a55b92f5cf41c2c9a0c65c1e53acceea33ab93f420151330b09e8dbde3f717d5c095aa0275406355ec4a17105de46b6bae
|
||||
DIST lxml-3.8.0.tar.gz 3795205 SHA256 736f72be15caad8116891eb6aa4a078b590d231fdc63818c40c21624ac71db96 SHA512 08f6f352e22ed2bc199a5f34a1c6b5f7b41ec282dc0026c9f16a06466c27e39e8eb18608ba4493636170eeac4b0194f7050445e1cc9bd0a4628573c404593088 WHIRLPOOL b09d7509ca55df74c5ced03ca91b72e0f373df6cb22331a452a35cfe3aa305bb9417280ae0b4835cd4abd29f7df465468799fa25c1b8d732152222c74fee51e1
|
||||
|
@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1 eutils flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="A Pythonic binding for the libxml2 and libxslt libraries"
|
||||
HOMEPAGE="http://lxml.de/ https://pypi.python.org/pypi/lxml/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD ElementTree GPL-2 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc examples +threads test"
|
||||
|
||||
# Note: lib{xml2,xslt} are used as C libraries, not Python modules.
|
||||
RDEPEND="
|
||||
>=dev-libs/libxml2-2.9.2
|
||||
>=dev-libs/libxslt-1.1.28"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/cssselect[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.5.0-cross-compile.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# avoid replacing PYTHONPATH in tests.
|
||||
sed -i '/sys\.path/d' test.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if [[ ${EPYTHON} != python3* ]]; then
|
||||
local CFLAGS=${CFLAGS}
|
||||
append-cflags -fno-strict-aliasing
|
||||
fi
|
||||
tc-export PKG_CONFIG
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
cp -r -l src/lxml/tests "${BUILD_DIR}"/lib/lxml/ || die
|
||||
cp -r -l src/lxml/html/tests "${BUILD_DIR}"/lib/lxml/html/ || die
|
||||
ln -s "${S}"/doc "${BUILD_DIR}"/ || die
|
||||
|
||||
"${PYTHON}" test.py -vv --all-levels -p || die "Test ${test} fails with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use doc; then
|
||||
local DOCS=( *.txt doc/*.txt )
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
fi
|
||||
use examples && local EXAMPLES=( samples/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup
|
||||
optfeature "Translates CSS selectors to XPath 1.0 expressions" dev-python/cssselect
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST os_vif-1.2.1.tar.gz 41006 SHA256 57d5b306a63bcc7fde7dcab7b15929010ae03863c983368b749f97106a2ee9e5 SHA512 9eb8e2498e5bf4d1a96567fe4bbf0f9f95682db19c0123ec509e6f8f5871a340c529a347fdd8ee29c4981917e8f35396e19770da47f9265500ce4b4567ab6694 WHIRLPOOL 556d51093179f6125840b78ddf653a8da548f52e2b30bd4c2e64c04c540c93365a9332daee5f1c5cd65706bbafa69fde6462ee9855028d9d75f673969e13560d
|
||||
DIST os_vif-1.4.0.tar.gz 49279 SHA256 c11562f6d497436aff315c2121724a01fb03dc30eb475e1ad194096e1a809df3 SHA512 829f3bf912baa4480073d1587c08c007908741fc00bacd564a675d03e12732abd453067de6594f6050fa65c196dc44de8abde683e5d4a0275bdf5d0bb9728efe WHIRLPOOL 595e9486d155d1030019574ec13925e46c0cf552175bf53b34dd618f4623eabf4a78b9a935b424ddb5cb6d073fdd7daddb0d78639eeedea796bc6c2a3c26e981
|
||||
DIST os_vif-1.4.1.tar.gz 49559 SHA256 88faa15436b17e59cbfefd425a34cc0ccef200fa8c65ea4a3645f237abf88307 SHA512 e56e3138bdc6fa68ac7cc8efe792d198498fa6f14c5ce060f347042e46af9bd96692a93af332921693037e35f87f87e5f01053671309cb3ebd8dd3e45976dfff WHIRLPOOL ca1903d86e36e2b9ff78a3a2f9d8195bd5916f021d1d9dead8ccb2191465d7d639878db41b3a15592dc5b96eaaf0c6982594cd56fd045b1f08826d9ae3050d4e
|
||||
|
@ -1,39 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="OpenStack Cinder brick library for managing local volume attaches"
|
||||
HOMEPAGE="https://github.com/openstack/os-vif"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/os_vif/os_vif-${PV}.tar.gz"
|
||||
S="${WORKDIR}/os_vif-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/netaddr-0.7.13[${PYTHON_USEDEP}]
|
||||
!~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/oslo-config-3.18.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-log-3.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-privsep-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-versionedobjects-1.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.17.1[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST oslo.rootwrap-5.4.0.tar.gz 40741 SHA256 8b3c1c5726e0845fcd00d9f951f012bdd3405380acf125428268fba4f70f3c00 SHA512 9848d9f18b7a4063f74d170615b99dc3ebcbcba1ff1f0a10f42b2af9284dd58a65a6b483bed20d176de00170ad60ac7b847cf5a31b950fcd7bf06ecbaecb1823 WHIRLPOOL 0996255270825040156767ae1b08a82aa8df87cabd9122522866ce38e99278c72242d1dfae5e0417267d1dd683b5e3d4ba0d3dcbc75e4449df2a01b267ea24b2
|
||||
DIST oslo.rootwrap-5.4.1.tar.gz 42202 SHA256 a76cf545515c1cf6d4d9b1a01a339c1356d1eb78ff3b2190e168dafead3c7e7d SHA512 71980ea266703c7880834cf75b69be9f7bee834a3be314f13ade1bb9903ecf6337237a32a1ed06d020c2fdd3807642af1dd676b6736052d4e57784942782d960 WHIRLPOOL 321a2e9774e3702015510d608e4e145d9fc69c4069865dd5215ad6e94e3692e7e56e029298e908fc007f487d54737d3cd4218dfc93d0625c6950edba45da56b2
|
||||
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Allows fine filtering of shell commands to run as root from OpenStack services"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/oslo.config"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/oslo.rootwrap/oslo.rootwrap-${PV}.tar.gz"
|
||||
S="${WORKDIR}/oslo.rootwrap-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="
|
||||
>=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}
|
||||
test? (
|
||||
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
RDEPEND=">=dev-python/six-1.9.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i '/^hacking/d' test-requirements.txt || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
sed -i 's/sbin\/ip/bin\/ip/g' tests/test_rootwrap.py
|
||||
nosetests tests/ || die "test failed under ${EPYTHON}"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST python2-pythondialog-3.3.0.tar.gz 1906527 SHA256 3e6f593fead98f8a526bc3e306933533236e33729f552f52896ea504f55313fa SHA512 65ce7f9305e20b0c5e0d4588a241e0f14907ecad64f8a6bb3899a2d6e0245fdd848a8c4fb1da3465f03810a1e408fa97c46d9ec082c4ebba0c04a41293a23ea8 WHIRLPOOL 5fc43839b302956a42110e0d2e64bfb9f9b5ccada90cb69579afbb1211b7f117233a25f5bbb970c8b5033413c5c274e27c689e72c83a5887307fa11abc4dc6b8
|
||||
DIST python2-pythondialog-3.4.0.tar.gz 1487867 SHA256 a96d9cea9a371b5002b5575d1ec351233112519268d382ba6f3582323b3d1335 SHA512 f4ec3e3eeab9ee00146b4604a8f72c765fcc164a24def0f1a9cbf083123e55dbe371ce6d4790ad4c0b5ee6905a1877f9b8e90ca3443a780fa0965c9bcf4bf629 WHIRLPOOL 325641f3a89e976ef61a0cbdc9a178fc7376d64eb6c8933d87e8bb0b15ad810880edd6bfa9d2b5957a818044f1652800d34a498a7be66a4fa39ea665f59a13b2
|
||||
DIST python3-pythondialog-3.2.2.tar.bz2 1412368 SHA256 bb104bd0512f9eda046b0cda53b5607d68de72b585cd8d5a1eebd549d8f2af99 SHA512 58b84c0dd7b71ec9d1e60c4802cfc8e6cc72f79b8b6accd387553c685a92367d242746065bac6cb1c9d501ac291d9307cb2bb6b26694e9f24a3c5d6637a5bb8e WHIRLPOOL 8e899f910eaaa5112403aed8adcd2e8fc9db371a5023bafdb5d2645b2ade716710b1c826d9208055fc510e8777751f8a43ef501db11c04827b93cb3040f4d793
|
||||
DIST python3-pythondialog-3.3.0.tar.bz2 1827891 SHA256 e4ace5b09d712992b7327249e375e49608127666679b2ca9fd48141e218ec998 SHA512 b651593f077f6679be030182ac5f14a02d8bad86206c2733ba8b655d346809a32ea391de91e35101d400c55d9e8ecefaf6f1ba25fec036246186e13530f43a1f WHIRLPOOL 267a2ee4215fd53d7faaf88a02ee544e88eafdd5b1f4c45c4ba535fe46dbed41a1ebae72b0dae00fedb30cfb1fcd245e0439077f538d128137e8c8caca6bba70
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python module for making simple text/console-mode user interfaces"
|
||||
HOMEPAGE="http://pythondialog.sourceforge.net/ https://pypi.python.org/pypi/python2-pythondialog"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/python2-${PN}/python2-${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="python-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-util/dialog"
|
||||
DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/python2-${P}"
|
||||
|
||||
python_prepare() {
|
||||
if python_is_python3; then
|
||||
2to3 -w --no-diffs setup.py || die "could not convert to Python 3"
|
||||
fi
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C doc html
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST Werkzeug-0.11.11.tar.gz 1158304 SHA256 e72c46bc14405cba7a26bd2ce28df734471bc9016bc8b4cb69466c2c14c2f7e5 SHA512 b5eff55518900043840cd89238fd40873a74e762adb6d8717d5285a173725b92284ab992d753096c388a25db50bf089b91883cabc6210b6bbd7dc347ecb95027 WHIRLPOOL dacc6ae967e31688a2080e8fbc45bbb8b1cc5639008376de1e4efcf57ac82ad986109298405f647dac16b97ec0a529c5e9a9dbaf88a3273c3b60516a4de213d6
|
||||
DIST Werkzeug-0.11.15.tar.gz 1156471 SHA256 455d7798ac263266dbd38d4841f7534dd35ca9c3da4a8df303f8488f38f3bcc0 SHA512 f66303a4a65e50e3e7661330af57172ef390ddc64268ea85a33d48dfb1e72dfc3b50a01be2088704ea3d1a45cd162eda3810841ac4dd7fb4519a82718298eaa6 WHIRLPOOL d9f259d9fa732873522a7de3177b11cbf85cd0520c316c3c32227d6bfdba6b8db7683d6f188637021d278c227c41b89dd49a516db2ff0ce35fb5934fd2e1059b
|
||||
DIST Werkzeug-0.12.2.tar.gz 1169770 SHA256 903a7b87b74635244548b30d30db4c8947fe64c5198f58899ddcd3a13c23bb26 SHA512 9ff45aeb51a71fd5115e8cdee40a7b2fddfa0574c356686050cb1bdced5c6c18f672b601ca2637010c7f59be75c66ee558efb4ea05052c550ec7da3644b88e0a WHIRLPOOL 508ecad84004b9f46e06d53923920c249e16b2c56bc778f52e42ce5aa64a7a1fa09241e819e99a849b137186be7fec41cf5b7a8d1198b18918b4c38e2167b99b
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue