Sync with portage [Tue Jul 16 11:16:02 MSK 2019].

mhiretskiy 1455
root 5 years ago
parent c206a73f4d
commit a34479b7e0

Binary file not shown.

Binary file not shown.

@ -1,3 +1,4 @@
DIST consul-1.4.4.tar.gz 22736827 BLAKE2B a1b973a303f77d84993e4879aa92072d4f2d36353683cf9a2c6cdeaded8587e8464f066168f190f7347f6038df28b3cba1d8b8a3ca0b700ee085019af5014966 SHA512 d3e5dd536726976b705fe4c78c67eaf345b8f47225919c0ca1609d75e74343d9a16d893ef4cd5140998f23b3149cfa60f5b432ed9a7251bb3b232be9b65e7241
DIST consul-1.5.0.tar.gz 20830405 BLAKE2B e64fbc22ade0c737db4f2f1b0e3966dbe617456a35d18a7a3cfa1b0f6ce2e335542b3add06c8b8e49995135b5a1576c824840030ac8dd46019bee915689bc5e2 SHA512 8cefb77b56b27995bba38517144bf42585bd1d9ad9a10fc0c9b6bc1a87bfbd042e336ed5e945cfce1fb8eb4b8162dbc8246e2b4109dea5767b8745a7b2159ef8
DIST consul-1.5.1.tar.gz 21123963 BLAKE2B 4fe6a45f442d849196a7b9961110cdcc6f92931626ab583859efabe62038f6b2c356b27b37ea41b27755cca138c567be5c81854794a1ba0ccae3f9e0dfd10749 SHA512 7486d24bf1fa9fe94175abf9e008dc4fe4277c509381a524a9ee20e17bc4959f621e39be29e33622cb672ef3a04f9161e575009197bcd35c78b45f1d2637a2ea
DIST consul-1.5.2.tar.gz 21697719 BLAKE2B 782d6fe02cda097db9256a7e508cf19cf4d514d7936022d339fa62db705f6c60468cea907cd22338bb61c3287bfccb3a4d435a4f9222aa7558999553909e5d40 SHA512 e0820592abc5e119f74c8bf3d11a23726ee6dda7d193864a4486d64deef0bfd6ae4c9170b57d6f978e7ddfeb425229a019c45a8edcdea0938bce9315f2444fd6

@ -0,0 +1,69 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit golang-vcs-snapshot systemd user
GIT_COMMIT="a82e6a7"
KEYWORDS="~amd64"
EGO_PN="github.com/hashicorp/consul"
DESCRIPTION="A tool for service discovery, monitoring and configuration"
HOMEPAGE="https://www.consul.io"
SRC_URI="https://github.com/hashicorp/consul/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="MPL-2.0"
IUSE=""
RESTRICT="test"
DEPEND="dev-go/gox
>=dev-lang/go-1.11:=
>=dev-go/go-tools-0_pre20160121"
RDEPEND=""
pkg_setup() {
enewgroup consul
enewuser consul -1 -1 /var/lib/${PN} consul
}
src_prepare() {
default
sed -e 's:go get -u -v $(GOTOOLS)::' \
-e 's:vendorfmt dev-build:dev-build:' \
-i "src/${EGO_PN}/GNUmakefile" || die
}
src_compile() {
# The dev target sets causes build.sh to set appropriate XC_OS
# and XC_ARCH, and skips generation of an unused zip file,
# avoiding a dependency on app-arch/zip.
GOPATH="${S}" \
GOBIN="${S}/bin" \
GIT_DESCRIBE="v${PV}" \
GIT_DIRTY="" \
GIT_COMMIT="${GIT_COMMIT}" \
emake -C "src/${EGO_PN}" dev-build
}
src_install() {
local x
dobin bin/consul
keepdir /etc/consul.d
insinto /etc/consul.d
doins "${FILESDIR}/"*.json.example
for x in /var/{lib,log}/${PN}; do
keepdir "${x}"
fowners consul:consul "${x}"
done
newinitd "${FILESDIR}/consul.initd" "${PN}"
newconfd "${FILESDIR}/consul.confd" "${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
systemd_dounit "${FILESDIR}/consul.service"
}

@ -5,6 +5,3 @@
# extra arguments for the consul agent
command_args="-config-dir=/etc/consul.d"
# upstream strongly recommends > 1
GOMAXPROCS=2

@ -4,10 +4,10 @@
description="consul agent"
extra_started_commands="reload"
export GOMAXPROCS=${GOMAXPROCS:-2}
group=${group:-${RC_SVCNAME}}
user=${user:-${RC_SVCNAME}}
pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
rc_ulimit=${rc_ulimit-"-n 65536"}
command="/usr/bin/${RC_SVCNAME}"
command_args="agent ${command_args:-config-dir=/etc/consul.d}"
command_background="true"

@ -5,11 +5,13 @@ After=network-online.target
[Service]
User=consul
Environment=GOMAXPROCS=2
Group=consul
Environment=CONSUL_AGENT_OPTS="-config-dir=/etc/consul.d"
ExecStart=/usr/bin/consul agent $CONSUL_AGENT_OPTS
Restart=on-failure
ExecReload=/usr/bin/consul reload
KillMode=process
Restart=on-failure
LimitNOFILE=65536
[Install]
WantedBy=default.target

@ -31,3 +31,4 @@ DIST github.com-spf13-viper-v1.0.0.tar.gz 30804 BLAKE2B 9f88f872c1bcd0f3590f7b4b
DIST kube-bench-0.0.27.tar.gz 6208481 BLAKE2B 5d3efc972d0caee4db8ea80c6ec24008a9a47770cb1befce20795d6d7e8a3ae3a109b94239a0844bcc44b008f13051db72ca19b8395a9079bb424a3ac8660ebe SHA512 5c5bc90e24d805881b9949f86b852814c2e920b61616b91716a2705230a135e8d3475fa8ec2ed0add9fc2346a17e0538527eb8a7d4dce23dbc8d3b4e99b23a74
DIST kube-bench-0.0.28.tar.gz 6210140 BLAKE2B 239f151918b8ae0646e24bdfa95b08896dfa3702391bc736e2816c78a9309f45203ffa8111f133f6f566919a02845ea2f4f85f61fbdeebde013da834296df771 SHA512 82a8671fe02f44f9b8309ce7eac36e11e4b3ecff5f7a6dbecc65a02425eea142a60db9d494f038b412954085eb10c131e8e4ec1fb2e95bde2f96c2b35e97082a
DIST kube-bench-0.0.30.tar.gz 250893 BLAKE2B a52e465368b53671fcfe392d8c167a12d75405564333244212f743b57230f7b17edbe36e59a1262a17cf7d27b5b29d95204eaf600cd531a9f5d7dc25b4c2953d SHA512 7c0075429a446ba89d183867fef72c18f4d12765bb7f6faf65304fa8cf3a76e1552311907d66bbe0795cffccd7025d98b481b7f9a2f5fec82345acc4ea798efc
DIST kube-bench-0.0.33.tar.gz 253236 BLAKE2B f441cbb4315d785084a51ac89ee3f02b79d569a38079384b82afc8a966e2b9fa948f93db5655abb8ddebf8df1a95afc53376992441889f53b009fd96dd809937 SHA512 f6b688126c2f09d1af3128e4888548eb943b07a336d378eeeb35ca8d84ba69d93d8672b114559f91dcab72000c9bcc996d415d01f1de9af6ce6810a399a6e631

@ -0,0 +1,60 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EGO_PN="github.com/aquasecurity/kube-bench"
EGO_VENDOR=(
"github.com/fatih/color v1.5.0"
"github.com/golang/glog 23def4e6c14b4da8ac2ed8007337bc5eb5007998"
"github.com/fsnotify/fsnotify 4da3e2cfbabc9f751898f250b49f2439785783a1"
"github.com/hashicorp/hcl 23c074d0eceb2b8a5bfdbb271ab780cde70f05a8"
"github.com/inconshreveable/mousetrap v1.0.0"
"github.com/jinzhu/gorm 5174cc5c242a728b435ea2be8a2f7f998e15429b"
"github.com/jinzhu/inflection 1c35d901db3da928c72a72d8458480cc9ade058f"
"github.com/lib/pq 83612a56d3dd153a94a629cd64925371c9adad78"
"github.com/magiconair/properties 49d762b9817ba1c2e9d0c69183c2b4a8b8f1d934"
"github.com/mattn/go-colorable 5411d3eea5978e6cdc258b30de592b60df6aba96"
"github.com/mattn/go-isatty 57fdcb988a5c543893cc61bce354a6e24ab70022"
"github.com/mitchellh/mapstructure 06020f85339e21b2478f756a78e295255ffa4d6a"
"github.com/pelletier/go-toml 0131db6d737cfbbfb678f8b7d92e55e27ce46224"
"github.com/spf13/afero 57afd63c68602b63ed976de00dd066ccb3c319db"
"github.com/spf13/cast v1.1.0"
"github.com/spf13/cobra v0.0.1"
"github.com/spf13/jwalterweatherman 12bd96e66386c1960ab0f74ced1362f66f552f7b"
"github.com/spf13/pflag 4c012f6dcd9546820e378d0bdda4d8fc772cdfea"
"github.com/spf13/viper v1.0.0"
"golang.org/x/sys e24f485414aeafb646f6fca458b0bf869c0880a1 github.com/golang/sys"
"golang.org/x/text 17ff2d5776d2 github.com/golang/text"
"gopkg.in/yaml.v2 v2.2.2 github.com/go-yaml/yaml"
"k8s.io/client-go v10.0.0 github.com/kubernetes/client-go"
)
inherit golang-build golang-vcs-snapshot bash-completion-r1
ARCHIVE_URI="https://github.com/aquasecurity/kube-bench/archive/v${PV}.tar.gz -> ${P}.tar.gz
${EGO_VENDOR_URI}"
KEYWORDS="~amd64"
DESCRIPTION="Kubernetes Bench for Security runs the CIS Kubernetes Benchmark"
HOMEPAGE="https://github.com/aquasecurity/kube-bench"
SRC_URI="${ARCHIVE_URI}"
LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RESTRICT="test"
src_compile() {
pushd src/${EGO_PN} || die
GOPATH="${S}" go build -v -ldflags "-X github.com/aquasecurity/kube-bench/cmd.KubeBenchVersion=${PV}" -o ${PN} . || die
popd || die
}
src_install() {
dobin src/${EGO_PN}/${PN}
insinto /etc/kube-bench
doins -r src/${EGO_PN}/cfg
}

@ -5,3 +5,5 @@ DIST vault-1.1.0-webui.tar.xz 1278712 BLAKE2B f0a61d644f613e14e1e8d2adcb894a9cc4
DIST vault-1.1.0.tar.gz 25943119 BLAKE2B 44a7e339a7ab5e5ecfa33b70f28424b45305714df9eccee1286bdc063e3b1036f7ef830138df54482257a112b03c8e7289f921ad4f353aa37aff8ad06cb405c0 SHA512 b0bc32f438e8432d849aa896f610c9532fa923384d40749efe49985d64a91f4768a3309af449efd8c8ab4604ecdb2474c39999bfe196f0f876894f788618ae61
DIST vault-1.1.2-webui.tar.xz 1281868 BLAKE2B 9c3662dabfd9403fda4a8acd8f9a86ff867b1cdafb5e7fb01c426e1f83fa33fc7a9bce27f70991fbed4a1e0b5cacd05b20d24644521487bd1746cb83fe1d9eaa SHA512 a33ee124592faa9e7aa02093d4219f1706a34c97159d9e32c71923ddc377f7dd26f3705bc31f968b4036bf354b226f8d2dc2fac7a9fec49a7b73558f1e3e3062
DIST vault-1.1.2.tar.gz 26026601 BLAKE2B df208b15076007ab87c3c6683698dc4348f56d5a73ff2a52ce17c5a9858acf4d597f7c53f709a1415247cd4cdc65454cc1aa6c18504cbb10368d39df2974175d SHA512 bc645bc5efeaf5a185479ab2ea78589762d09a40e889845d8cceac94568fcfcfeac94ae602c548648aea800b791121fbb2b75c3af9a9651d08dd9e38c1219826
DIST vault-1.1.3-webui.tar.xz 1284144 BLAKE2B b84260974ce0827ce8ae834827c331a9bf70f589984975152188615aa480172cf41f4a45abc96fa13bfb7837ae1679bcff519f6aa7ab0678048b2cffbbe11afe SHA512 36331457c50e2a5d42269a5f91cd3e982c3f7dbfd0a2cfa4f8f435c253af6f075da6401b59a92e1949c683b4c5e899ef2f28bbd8a5cbeabcca8ef30816d75e73
DIST vault-1.1.3.tar.gz 26026249 BLAKE2B a8fb531caf43f675d604f58126a7e56f7bf86defa2309d5d81d92911457efe5595b5c3244be4d0f73806ca5b746bddc852f871c10841da0e7ec128e53c6c18a4 SHA512 bf757558b984711967fdc623393e71c74d5e73922de3b0574ecb229a5d52320ebc3f848b48eabf0ed7a8d6e9d9f6c12d69fb23309fb8c19492b135344c8c4be2

@ -1,10 +1,11 @@
#!/sbin/openrc-run
# Copyright 2015-2017 Gentoo Foundation
# Copyright 2015-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="vault server"
group=${group:-${RC_SVCNAME}}
pidfile=${pidfile:-"/run/${RC_SVCNAME}.pid"}
rc_ulimit=${rc_ulimit-"-n 65536"}
user=${user:-${RC_SVCNAME}}
command="/usr/bin/${RC_SVCNAME}"

@ -4,15 +4,28 @@ Requires=network-online.target
After=network-online.target
[Service]
User=vault
Environment=VAULT_SERVER_OPTS="-config=/etc/vault.d"
ExecStart=/usr/bin/vault server $VAULT_SERVER_OPTS
CapabilityBoundingSet=CAP_IPC_LOCK
AmbientCapabilities=CAP_IPC_LOCK
Capabilities=CAP_IPC_LOCK=ep
User=vault
Group=vault
ProtectSystem=full
ProtectHome=read-only
PrivateTmp=yes
PrivateDevices=yes
SecureBits=keep-caps
AmbientCapabilities=CAP_IPC_LOCK
Capabilities=CAP_IPC_LOCK+ep
CapabilityBoundingSet=CAP_SYSLOG CAP_IPC_LOCK
NoNewPrivileges=yes
ExecStart=/usr/bin/vault server $VAULT_SERVER_OPTS
ExecReload=/bin/kill --signal HUP $MAINPID
KillMode=process
KillSignal=SIGINT
Restart=on-failure
SuccessExitStatus=2
RestartSec=5
TimeoutStopSec=30
StartLimitIntervalSec=60
StartLimitBurst=3
LimitNOFILE=65536
[Install]
WantedBy=default.target

@ -0,0 +1,88 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit fcaps golang-base golang-vcs-snapshot systemd user
EGO_PN="github.com/hashicorp/${PN}"
VAULT_WEBUI_ARCHIVE="${P}-webui.tar.xz"
DESCRIPTION="A tool for managing secrets"
HOMEPAGE="https://vaultproject.io/"
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
webui? (
mirror://gentoo/${VAULT_WEBUI_ARCHIVE}
https://dev.gentoo.org/~zmedico/dist/${VAULT_WEBUI_ARCHIVE}
)"
SLOT="0"
LICENSE="MPL-2.0"
KEYWORDS="~amd64"
IUSE="+webui"
RESTRICT="test"
DEPEND=">=dev-lang/go-1.11:=
dev-go/gox"
FILECAPS=(
-m 755 'cap_ipc_lock=+ep' usr/bin/${PN}
)
src_unpack() {
golang-vcs-snapshot_src_unpack
if use webui; then
# The webui assets build has numerous nodejs dependencies,
# see https://github.com/hashicorp/vault/blob/master/ui/README.md
pushd "${S}/src/${EGO_PN}" >/dev/null || die
unpack "${VAULT_WEBUI_ARCHIVE}"
popd >/dev/null
fi
}
src_prepare() {
default
# Avoid the need to have a git checkout
sed -e 's:^\(GIT_COMMIT=\).*:\1:' \
-e 's:^\(GIT_DIRTY=\).*:\1:' \
-e s:\'\${GIT_COMMIT}\${GIT_DIRTY}\':: \
-i src/${EGO_PN}/scripts/build.sh || die
sed -e "/hooks/d" -i src/${EGO_PN}/Makefile || die
}
pkg_setup() {
enewgroup ${PN}
enewuser ${PN} -1 -1 -1 ${PN}
}
src_compile() {
mkdir bin || die
export -n GOCACHE XDG_CACHE_HOME #678970
export GOBIN=${S}/bin GOPATH=${S}
cd src/${EGO_PN} || die
# The fmt target may need to be executed if it was previously
# executed by an older version of go (bug 665438).
emake fmt
BUILD_TAGS="$(usex webui ui '')" \
XC_ARCH=$(go env GOARCH) \
XC_OS=$(go env GOOS) \
XC_OSARCH=$(go env GOOS)/$(go env GOARCH) \
emake
}
src_install() {
dodoc src/${EGO_PN}/{CHANGELOG.md,CONTRIBUTING.md,README.md}
newinitd "${FILESDIR}/${PN}.initd" "${PN}"
newconfd "${FILESDIR}/${PN}.confd" "${PN}"
insinto /etc/logrotate.d
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
systemd_dounit "${FILESDIR}/${PN}.service"
keepdir /etc/${PN}.d
insinto /etc/${PN}.d
doins "${FILESDIR}/"*.json.example
keepdir /var/log/${PN}
fowners ${PN}:${PN} /var/log/${PN}
dobin bin/${PN}
}

Binary file not shown.

@ -13,7 +13,7 @@ SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="bzip2 doc ldap nls readline selinux +smartcard ssl tofu tools usb user-socket wks-server"
# Existence of executables is checked during configuration.

Binary file not shown.

@ -31,4 +31,3 @@ pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}

Binary file not shown.

@ -8,7 +8,7 @@ EGO_PN="github.com/prometheus/node_exporter"
EGIT_COMMIT="v${PV/_rc/-rc.}"
NODE_EXPORTER_COMMIT="3db7773"
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
KEYWORDS="amd64"
DESCRIPTION="Prometheus exporter for machine metrics"
HOMEPAGE="https://github.com/prometheus/node_exporter"

Binary file not shown.

@ -1 +1,2 @@
DIST ddcutil-0.9.1.tar.gz 656853 BLAKE2B e4f11253176587cb5ee3c9647a01ab04d5a92ce4ca7a4098378318fc069e635e43c3716ace316498f64ceaaa00aa90db3b5f409b74b8d7089a7c25254c0e360d SHA512 b2d5866606a4bc081d89180e910822f2a2a653a2782e3df582536ddc86c7d3dc02309dbb41f8d566f6ebdc5d82d3aa11792a04c28b3d83552b024dfd59891fda
DIST ddcutil-0.9.5.tar.gz 681534 BLAKE2B 6746c239738d4f8eb7fe56323816fadee9b8fa9ad2b66a8242782e0b2688182c0140b40b9eddb3b54ad32c7ff7d1f0cf9a28c5477a48d90cc39431ed82f5d443 SHA512 6249ebdbb398ad5a6c32f3891be8bf5328114b1ed08afd75adf4b67f10a40f19451e188ce5cd88b3153a18f317e394146a34258a7d2298f126be227d7e1c25e8

@ -0,0 +1,107 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools flag-o-matic linux-info udev user
DESCRIPTION="Program for querying and changing monitor settings"
HOMEPAGE="http://www.ddcutil.com/"
SRC_URI="https://github.com/rockowitz/ddcutil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="drm usb-monitor user-permissions video_cards_nvidia X"
REQUIRED_USE="drm? ( X )"
RDEPEND="dev-libs/glib:2
sys-apps/i2c-tools
virtual/udev
drm? ( x11-libs/libdrm )
usb-monitor? (
dev-libs/hidapi
virtual/libusb:1
sys-apps/usbutils
)
X? (
x11-libs/libXrandr
x11-libs/libX11
)"
DEPEND="${RDEPEND}
virtual/pkgconfig"
pkg_pretend() {
# This program needs /dev/ic2-* devices to communicate with the monitor.
CONFIG_CHECK="~I2C_CHARDEV"
ERROR_I2C_CHARDEV="You must enable I2C_CHARDEV in your kernel to continue"
if use usb-monitor; then
CONFIG_CHECK+=" ~HIDRAW ~USB_HIDDEV"
ERROR_HIDRAW="HIDRAW is needed to support USB monitors"
ERROR_I2C_CHARDEV="USB_HIDDEV is needed to support USB monitors"
fi
# Now do the actual checks setup above
check_extra_config
}
src_prepare() {
default
eautoreconf
sed -i -e "s#usr/local/bin#usr/bin#" data/etc/udev/rules.d/45-ddcutil-usb.rules || die
}
src_configure() {
# Bug 607818.
replace-flags -O3 -O2
local myeconfargs=(
$(use_enable drm)
$(use_enable usb-monitor usb)
$(use_enable X x11)
--enable-lib
--disable-cffi
--disable-cython
--disable-swig
)
econf "${myeconfargs[@]}"
}
src_install() {
default
if use user-permissions; then
udev_dorules data/etc/udev/rules.d/45-ddcutil-i2c.rules
if use usb-monitor; then
udev_dorules data/etc/udev/rules.d/45-ddcutil-usb.rules
fi
fi
}
pkg_postinst() {
if use user-permissions; then
enewgroup i2c
einfo "To allow non-root users access to the /dev/i2c-* devices, add those"
einfo "users to the i2c group: usermod -aG i2c user"
einfo "Restart the computer or reload the i2c-dev module to activate"
einfo "the new udev rule."
einfo "For more information read: http://www.ddcutil.com/i2c_permissions/"
if use usb-monitor; then
enewgroup video
einfo "To allow non-root users access to USB monitors, add those users"
einfo "to the video group: usermod -aG video user"
einfo "Restart the computer, reload the hiddev and hidraw modules, or replug"
einfo "the monitor to activate the new udev rule."
einfo "For more information read: http://www.ddcutil.com/usb/"
fi
udev_reload
fi
if use video_cards_nvidia; then
ewarn "Please read the following webpage on proper usage with the nVidia "
ewarn "binary drivers, or it may not work: http://www.ddcutil.com/nvidia/"
fi
}

Binary file not shown.

@ -0,0 +1,28 @@
From 2d191b49ea074cc69ba4c68a572f26c8bdb55abd Mon Sep 17 00:00:00 2001
From: Albert Astals Cid <aacid@kde.org>
Date: Wed, 10 Jul 2019 01:10:22 +0200
Subject: [PATCH] Fix mistake on 093531cd0d0878b892d92ebc56c26936e5de3712
These i should have been j too
---
poppler/TextOutputDev.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/poppler/TextOutputDev.cc b/poppler/TextOutputDev.cc
index e62e088c..645e38fd 100644
--- a/poppler/TextOutputDev.cc
+++ b/poppler/TextOutputDev.cc
@@ -4791,8 +4791,8 @@ void TextSelectionPainter::endPage()
if (j != begin && sel->word->charPos[j] == sel->word->charPos[j - 1])
continue;
- out->drawChar(state, sel->word->textMat[i].m[4], sel->word->textMat[i].m[5], 0, 0, 0, 0,
- sel->word->charcode[i], 1, nullptr, 0);
+ out->drawChar(state, sel->word->textMat[j].m[4], sel->word->textMat[j].m[5], 0, 0, 0, 0,
+ sel->word->charcode[j], 1, nullptr, 0);
}
out->endString(state);
delete string;
--
2.21.0

@ -62,6 +62,7 @@ PATCHES=(
"${FILESDIR}/${PN}-0.78.0-respect-cflags.patch"
"${FILESDIR}/${PN}-0.61.0-respect-cflags.patch"
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
"${FILESDIR}/${PN}-0.78.0-fix-text-selection.patch" # bug 689660
)
src_prepare() {

Binary file not shown.

@ -1,2 +1,5 @@
DIST boost_1_59_0.tar.gz 83709983 BLAKE2B 8c6676fa05fa401a6ecb3b890d95aceb4421ec48dd0eab38ce8d170c618e177c82dc67a165938f6be1a01daab24ce41888f5442dbc19ad3dd41368a01a6f89e4 SHA512 05fdbe5637543defdbc630b921515425885593d16db14534ed7b9aa60925ade8fb598d50cb894aed6dae688e789047216daa1bf03fa1aeb6b531060d9dae52ae
DIST boost_1_68_0.tar.gz 108771741 BLAKE2B 35e00bff941d5c55a83b642454843ecf4b98726e44d6ed389c0bce316ac3280977a53002b442bbf9cfcd3813c47e4df896a62e112384cf49b195f834f6f1b0e1 SHA512 66090ac63257f8151dfc98d4adaf1f35e04071b23067139e1297b91f0a09418aa85464fb956eaef5b2795b06368b20377ad1c2565d81f614f8fe9a39b8382b41
DIST percona-xtrabackup-2.4.13.tar.gz 57254236 BLAKE2B 061cbee03374193359ae557909389ec675ed35edf216afc9deeb0b7880705d03024d380d0d6070aabfdb710bbde3664fd73da65ae5980e58290d8c9af29f351c SHA512 19d5fb3d775f1513b931cb2e736b753c1dd82c42fee382fdfa9f183eaee562c32f635db5d569d991cf1c8f7168de55ed863ba2c59db459ab79b80792b21ab298
DIST percona-xtrabackup-2.4.15.tar.gz 57357749 BLAKE2B fcc64736230636a3a5584a300229e0507f00bcd64a3d0b8e00f834b15ec757347a55a85521dd0aea939761c3a26b1ef99466ff7e633133b8088cd290bd835444 SHA512 789b6870d3ad06861126f67190717ffb31224628d1b9631ec5f39d0a41b3c66aaf2127e3ec4b38d3e8f7858a1438a74f0e89b07b9f4248b637b2ed39143ab599
DIST percona-xtrabackup-8.0.6.tar.gz 120345254 BLAKE2B e5cd5fe77cc439ffc42be9e8c97a987fbadc079262f1dd4a56d0fc93692bac604bc0ffaeefe2acd1e7edc2f57bfbeccff34621b4dfb5b707f5daa3d2653b0ec7 SHA512 39d4235e3c8e4f6d035d73154293968fd5e13d0d1430935c470155d7f00338ad612886e47c24a6a4d5f69985871ee9dd57d925f963b7c887412cf0c2480e3de1

@ -0,0 +1,79 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
CMAKE_MAKEFILE_GENERATOR="emake"
inherit cmake-utils flag-o-matic
DESCRIPTION="Hot backup utility for MySQL based servers"
HOMEPAGE="https://www.percona.com/software/mysql-database/percona-xtrabackup"
SRC_URI="https://www.percona.com/downloads/XtraBackup/Percona-XtraBackup-${PV}/source/tarball/${P}.tar.gz
mirror://sourceforge/boost/boost_1_59_0.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
app-arch/lz4:0=
app-editors/vim-core
dev-libs/libaio
dev-libs/libedit
dev-libs/libev
dev-libs/libevent:0=
dev-libs/libgcrypt:0=
dev-libs/libgpg-error
dev-python/sphinx
net-misc/curl
sys-libs/zlib:="
RDEPEND="
${DEPEND}
!dev-db/percona-xtrabackup-bin
dev-perl/DBD-mysql"
PATCHES=(
"${FILESDIR}"/${PN}-2.4.6-remove-boost-version-check.patch
"${FILESDIR}"/${PN}-2.4.11-fix-gcc6-isystem.patch
)
src_prepare() {
cmake-utils_src_prepare
# remove bundled libedit, libevent, zlib
# just to be safe...
# We keep lz4 directory because we use extra/lz4/xxhash.c in cmake/libutils.cmake
rm -rv \
cmd-line-utils/libedit \
libevent \
zlib || die
}
src_configure() {
local mycmakeargs=(
-DBUILD_CONFIG=xtrabackup_release
-DBUILD_SHARED_LIBS=OFF
-DWITH_BOOST="${WORKDIR}/boost_1_59_0"
-DWITH_EDITLINE=system
-DWITH_LIBEVENT=system
-DWITH_LZ4=system
-DWITH_SSL=bundled # uses yassl, which isn't packaged
-DWITH_ZLIB=system
-DWITH_PIC=ON
)
local CMAKE_BUILD_TYPE="Release"
cmake-utils_src_configure
}
src_install() {
local p="${BUILD_DIR}/storage/innobase/xtrabackup"
dobin "${p}"/src/{xbcloud/xbcloud,xbcrypt,xbstream,xtrabackup}
dosym xtrabackup /usr/bin/innobackupex
einstalldocs
doman "${p}"/doc/source/build/man/*
}

@ -0,0 +1,59 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
CMAKE_MAKEFILE_GENERATOR="emake"
inherit cmake-utils flag-o-matic
DESCRIPTION="Hot backup utility for MySQL based servers"
HOMEPAGE="https://www.percona.com/software/mysql-database/percona-xtrabackup"
SRC_URI="https://www.percona.com/downloads/Percona-XtraBackup-LATEST/Percona-XtraBackup-8.0-6/source/tarball/${P}.tar.gz
mirror://sourceforge/boost/boost_1_68_0.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
app-arch/lz4:0=
app-editors/vim-core
dev-libs/icu:=
dev-libs/libaio
dev-libs/libedit
dev-libs/libev
dev-libs/libevent:0=
dev-libs/libgcrypt:0=
dev-libs/libgpg-error
dev-libs/protobuf:=
dev-libs/rapidjson
dev-libs/re2:=
dev-python/sphinx
net-misc/curl
sys-libs/zlib:="
RDEPEND="
${DEPEND}
!dev-db/percona-xtrabackup-bin
dev-perl/DBD-mysql"
src_configure() {
local mycmakeargs=(
-DBUILD_CONFIG=xtrabackup_release
-DBUILD_SHARED_LIBS=OFF
-DWITH_BOOST="${WORKDIR}/boost_1_68_0"
-DWITH_SYSTEM_LIBS=ON
)
local CMAKE_BUILD_TYPE="Release"
cmake-utils_src_configure
}
src_install() {
local p="${BUILD_DIR}/storage/innobase/xtrabackup"
dobin "${p}"/xbcloud_osenv
dobin "${BUILD_DIR}"/runtime_output_directory/{xbcloud,xbcrypt,xbstream,xtrabackup}
doman "${p}"/doc/source/build/man/*
}

Binary file not shown.

@ -11,7 +11,7 @@ SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS="alpha amd64 arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="common-lisp nls static-libs"
RDEPEND="nls? ( >=virtual/libintl-0-r1[${MULTILIB_USEDEP}] )"

Binary file not shown.

@ -14,7 +14,7 @@ SRC_URI="https://github.com/LuaDist/toluapp/archive/${COMMIT_ID}.tar.gz -> ${P}.
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="~alpha amd64 ~ppc ~ppc64 sparc ~x86"
IUSE=""
RDEPEND="=dev-lang/lua-5.1*:=[deprecated]"

@ -24,6 +24,6 @@ DEPEND="
)
"
src_test() {
perl_rm_files t/release-pod-{syntax,coverge}.t
perl_rm_files t/release-pod-{syntax,coverage}.t
perl-module_src_test
}

@ -0,0 +1,23 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=ILYAZ
DIST_VERSION=1.15
DIST_SECTION=modules
DIST_A_EXT="zip"
DIST_EXAMPLES=("examples/*")
inherit perl-module
DESCRIPTION="Module for reading tags of MP3 Audio files"
SLOT="0"
LICENSE="Artistic"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE=""
RDEPEND="dev-perl/MP3-Info"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
"

@ -1 +1,2 @@
DIST MP3-Tag-1.14.tar.gz 279630 BLAKE2B 3971d5c37150d9c0093b31f2686a46b48584dfbef4782bc78a778b3be9508c5eb4b3a0da5fdfe240ff5521415b54ce6ae0f5851c650f099b2acf592f444cd596 SHA512 05e35f024868505cfc8a07146442e248ef1e80c3c156fd1eabeb874d458356f6b391793e343a24e9e490fd537e7f280316f651b6717378c06953480d271ed2e1
DIST MP3-Tag-1.15.zip 321983 BLAKE2B 7bea98bfa609fead2d91ed49451885d03e2031b0b081dbdde10a75b5e3c8a494032b9c13e1960411540754411e23b31e843b5786cb7a00c0f582e9fa7dd74c5e SHA512 e0361e34583dc8d1742b40d2922e66de8d43180d99e52f8e34166c432619ca4611b8589c6acc0498384f9f0dd2e30189351c18e0bfe2a4ca96df60809683cbb3

Binary file not shown.

@ -1 +1,2 @@
DIST MooseX-Getopt-0.71.tar.gz 54544 BLAKE2B f4aecb2d0d34b1bd665b7aca5cdfc5c612f17cfc7999f2c52105ed3e3d80c71ee5e7824bc279a1791896f812ff6ccb322faa3319bd5396340469deac5df47709 SHA512 cc3c24e545dcd9459340699552b38927a0f2fe114dcaab1201033b501397522e1faf5fbf09f4fa45df006035871e5fab058c682c000f5e1f1a576b4a36a9ed5c
DIST MooseX-Getopt-0.74.tar.gz 58129 BLAKE2B f2a451d819c53a725a73cefb0ad3d76c94090d25d927b11fd76a92c8534bca56fb5112e298d57caa7fb81e8b6c26f273f06efda74f55db20b384029bcd9b8ca1 SHA512 3b7ea4f75192c62936f7838809a4a3facc4ccc38fb9db5affd46d07273ac1ffadd5ddb0882fe5d29870bf4b8c816916febdc3748747223c837fc87c65faa60ac

@ -0,0 +1,42 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=ETHER
DIST_VERSION=0.74
inherit perl-module
DESCRIPTION="A Moose role for processing command line options"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RDEPEND="
virtual/perl-Carp
>=virtual/perl-Getopt-Long-2.370.0
>=dev-perl/Getopt-Long-Descriptive-0.88.0
>=dev-perl/Moose-0.560.0
>=dev-perl/MooseX-Role-Parameterized-1.10.0
virtual/perl-Scalar-List-Utils
dev-perl/Try-Tiny
dev-perl/namespace-autoclean
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
>=dev-perl/Module-Build-Tiny-0.34.0
test? (
virtual/perl-File-Spec
dev-perl/Module-Runtime
virtual/perl-Module-Metadata
>=dev-perl/Path-Tiny-0.9.0
dev-perl/Test-Deep
>=dev-perl/Test-Fatal-0.3.0
>=virtual/perl-Test-Simple-0.880.0
dev-perl/Test-Needs
dev-perl/Test-Trap
>=dev-perl/Test-Warnings-0.9.0
virtual/perl-if
)
"

@ -1 +1,2 @@
DIST Net-Server-Mail-0.23.tar.gz 26204 BLAKE2B 8752485cccc7721ba179ffcf7dd5a57cec2cb5bcab6d46bbe3cca4eedb83552f8d8e40ab593e60ef3b08172c90fde78a51fa75bc4d340fb807d52939105b71d9 SHA512 db793f26dd20aee6393e7d369059af12b6eafa0568f284130473fb235c09b6a63843be12ec9a86102dbc31ad81f2c669fedba7c4858301fe85d71a4d686adc4e
DIST Net-Server-Mail-0.28.tar.gz 32022 BLAKE2B c4e1d7e66d99130b2b288c351b76e1d489208ac0269dfba04818149b78ad3ba4782c428c61166667f66e3ad3431a1a7836cf4515497e99c9b7b608e1c3fba928 SHA512 543567f09417b5be82625000bf8626c8d17b6b648710aec3338a0e7675f831628347ae757a8422760c915b23c48d30b4c3b2c875e6bf4a145cb0dd3659008d91

@ -0,0 +1,26 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=GUIMARD
DIST_VERSION=0.28
DIST_EXAMPLES=("eg/*")
inherit perl-module
DESCRIPTION="Class to easily create a mail server"
# Some files Artistic-2
LICENSE="LGPL-2.1+ Artistic-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test"
RDEPEND="
>=dev-perl/IO-Socket-SSL-1.831.0
virtual/perl-libnet
"
DEPEND="${RDEPEND}
virtual/perl-ExtUtils-MakeMaker
test? ( dev-perl/Test-Most )
"

Binary file not shown.

@ -1 +1,2 @@
DIST diff-cover-1.0.4.tar.gz 73907 BLAKE2B 81562c30533739f950e52703ce235b214f66932f806a47b1ab245b69bba8ef46d4333924ddf2ba4ca6b70a7df85ae071805a4fac7181711495f46540c4a20301 SHA512 aa5646c5d097e2b3ace5807bde007c9d8ebcf99578dee2aff1174aaafbdb9777c4794a8e9ddd4dc6edb5af7f1afc812fce4410db87d0bab4159f044489eabb5b
DIST diff-cover-2.3.0.tar.gz 76738 BLAKE2B 467d8ed3cb2f4b0f76ad6b1928a87ad6f75ce46e555c061e30b56fc4856089fb270670ad9f704b9dc407e5c6cab2cf881696bd263befafbe3863bcda4ccd4ac2 SHA512 c47d64e1695596ba1244d687cdbbd6edf391b0c4a18b2550004bcfc36ce8798ef9e6a059e726e52eff45251b3bb27cca873be493c37b3b7eab9dec02f99953f6

@ -0,0 +1,48 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
inherit distutils-r1
DESCRIPTION="Automatically find diff lines that need test coverage"
HOMEPAGE="https://github.com/Bachmann1234/diff-cover"
SRC_URI="https://github.com/Bachmann1234/diff-cover/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
>=dev-python/jinja-2.7.1[${PYTHON_USEDEP}]
dev-python/jinja2_pluralize[${PYTHON_USEDEP}]
dev-python/pygments[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? (
dev-python/coverage[${PYTHON_USEDEP}]
dev-python/flake8[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
>=dev-python/pycodestyle-2.4.0[${PYTHON_USEDEP}]
dev-python/pyflakes[${PYTHON_USEDEP}]
)"
MY_PN=${PN/-/_}
S=${WORKDIR}/${MY_PN}-${PV}
python_prepare_all() {
# TypeError: test_parse_range_notation() takes exactly 2 arguments (1 given)
sed -e 's|test_parse_range_notation|_\0|' \
-i "${MY_PN}/tests/test_diff_cover_main.py" || die
distutils-r1_python_prepare_all
}
python_test() {
esetup.py test || die "tests failed with ${EPYTHON}"
}

@ -0,0 +1 @@
DIST django-cacheops-4.1.tar.gz 53766 BLAKE2B f74fa8b93700fa930f31e8db83b161c48eb520894d3e2072bf50ca4e18b20a8563438ac95ef5920a1371b3215a0d3b7c2a216a9d1f040cc51f4d468da438a966 SHA512 ea66f0744d9b0e3b03e92ee7083c17150c050a992e25159c50f766898d7ab9e2bcb0432db135abcc2dac0358aaaa7d2e86a8216ddf9afcdbb6c7400c3844ac02

@ -0,0 +1,21 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_6 )
inherit distutils-r1
DESCRIPTION="ORM cache with automatic granular event-driven invalidation for Django"
HOMEPAGE="https://github.com/Suor/django-cacheops"
SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=dev-python/django-1.8[${PYTHON_USEDEP}]
>=dev-python/redis-py-2.9.1[${PYTHON_USEDEP}]
>=dev-python/funcy-1.8[${PYTHON_USEDEP}]
>=dev-python/six-1.4.0[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<maintainer type="person">
<email>williamh@gentoo.org</email>
<name>William Hubbs</name>
</maintainer>
</pkgmetadata>

@ -0,0 +1 @@
DIST django-prometheus-1.0.15.tar.gz 13708 BLAKE2B 64d72224da9cb481108ad17ed1409d97108353a39894f824428743f3ee894292352de4d4beebf1984294e34cea7b6d0144c5066d0fe5cca7d9c682f9410355d3 SHA512 48794f6d07ebdd3487060e62e808a66a97630045433dd91a27f1095f79a72197124c44c5d178c89785b8d048e8e828f84804c789cb5c2f0a053cf18864cde6eb

@ -0,0 +1,18 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_6 )
inherit distutils-r1
DESCRIPTION="Library to export django metrics for prometheus"
HOMEPAGE="https://github.com/korfuri/django-prometheus"
SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
LICENSE="Apache-1.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=dev-python/prometheus_client-0.0.21[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"

@ -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>

@ -1 +1,2 @@
DIST django-rq-1.3.1.tar.gz 37462 BLAKE2B 17c3eb4527315c7d562586b5d62ac1866d4e1de755a61f6d882007139494921efc689b3c649f0647ceb2b29d6b0914159c5247af33cc6c21ac6108beef7c40dd SHA512 7e8443889fb7f7e8059f81fc8e7cd319e5a8b54c0388130190a39cc167bcd2e85b761f7f3703a3cd37e5be245cbc788d98a121d048837dc77072c8713c332577
DIST django-rq-2.1.0.tar.gz 38237 BLAKE2B d99a25655ab0f2ceb08f433b86e84f54f76bc6a93482655f117dced1f8242fb527acb8cfc598fadd282f932f9b7f02b780ef925dcbc8ee7778594a95d73e8ad2 SHA512 4bc59ed32176a121debcbc259386bd406ae141ad859b52ea779e7ee8c8b1d2634a1afc31b666e55bc8a70c841ce7aac81ba0e7f4207e925587cbf3817d9da666

@ -0,0 +1,20 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="An app that provides django integration for RQ (Redis Queue)"
HOMEPAGE="https://github.com/rq/django-rq"
SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=dev-python/django-1.8.0[${PYTHON_USEDEP}]
>=dev-python/rq-1.0[${PYTHON_USEDEP}]
>=dev-python/redis-py-3.0.0[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"

@ -1,2 +1 @@
DIST jellyfish-0.7.1.tar.gz 131122 BLAKE2B c494e38d3101b1a7bfd295b80957d834bc3e475dac72bd9d81669466eb395e293faa41a581953250133d455d20ca71959414cabd73d5c3dea444ee39e4e8f973 SHA512 c8464171cead812f6dab8c61c74d83afafbf6451e7143e5be74400dffcf895be925a3628ac4fff47467b6dbf70b6d068daaf1c141b1846e53d5d19bed1617ca0
DIST jellyfish-0.7.2.tar.gz 133320 BLAKE2B 094610c79e8c7f1caa94ff6c8f6936c3ff26c8d8ab8a7605c145e8293d1ebc28f5d057a603f7d8392811aea5d31a87ecb3e3d9eb682e2fd8a3222f23fbc7c3f7 SHA512 5fa19826a3adb16dea26855d733bd3e8ccce0c68652249f7bcc06f9b5d5ac36919152301c9afafdfca9877cef6614dccbe8e46a51ab41c1fed493374929c3367

@ -1,43 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
DISTUTILS_IN_SOURCE_BUILD=1
inherit distutils-r1
DESCRIPTION="Python module for doing approximate and phonetic matching of strings"
HOMEPAGE="https://github.com/jamesturk/jellyfish https://pypi.org/project/jellyfish/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? (
dev-python/pytest-runner[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/unicodecsv[${PYTHON_USEDEP}]
)
"
python_compile() {
esetup.py build_ext --inplace
esetup.py build
}
python_compile_all() {
if use doc; then
esetup.py build_sphinx
HTML_DOCS=( build/sphinx/html/. )
fi
}
python_test() {
py.test jellyfish/test.py || die "tests failed with ${EPYTHON}"
}

@ -3,7 +3,7 @@
EAPI=6
PYTHON_COMPAT=( python{2_7,3_{5,6}} )
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
inherit distutils-r1

@ -1 +1,2 @@
DIST loguru-0.2.6_pre20190412.tar.gz 362315 BLAKE2B 8273fd42522396d4a17c405bebf01f8de272a56515e4a63766126494b4449333e7c25f5be5851bdbcf922d35affa9ee091ac7138482f9e2daf30f48093cee812 SHA512 49320c19f2bfdc55569290740b49889133003329dbf6cae2e993730a957d69e5200b41b75d255d2e19d937658778945ffe44350431661162eaa6141edfcfc499
DIST loguru-0.3.1.tar.gz 377834 BLAKE2B 4402a6dfd8e36efb966eb0f31ba2161183c03a7072f45ef86110587b1f3653e4711c0461d39d5e0047fb7b84c7da417c011644ffee815f82bf1f4847588b17b8 SHA512 b0b75aa265839be0a522101671bf9992c1fe548439988a5c2feb58702be77944137e4f78920ec5dd4fe5953daf7160714a4de940527d0987dba4907ac27a0e15

@ -0,0 +1,47 @@
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Python logging made (stupidly) simple"
HOMEPAGE="https://github.com/Delgan/loguru"
SRC_URI="https://github.com/Delgan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=dev-python/colorama-0.3.4[${PYTHON_USEDEP}]"
DEPEND="
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
)
test? (
${RDEPEND}
>=dev-python/colorama-0.3.4[${PYTHON_USEDEP}]
>=dev-python/pytest-4.5.0[${PYTHON_USEDEP}]
)
"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
python_compile_all() {
use doc && esetup.py build_sphinx
}
python_install_all() {
use doc && HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
distutils-r1_python_install_all
}
python_test() {
distutils_install_for_testing
pytest -vv || die "Tests failed with ${EPYTHON}"
}

@ -1,3 +1,4 @@
DIST psycopg2-2.7.4.tar.gz 425331 BLAKE2B 9d256ea340e4bace53981596d9d42863ddc9c8c079579b0621d8043af34daade05b9cec5465c6b3990f537a4350d9cf60a43062a0aa34db1f39b336296b32d3f SHA512 e78db528a4d3b897e0d8d38755179082dacddfb2d10bda963fc3836548991eaa0d4c1b8f81b329b15f4e685046c39e6f2a352b6c47b1da42af3a262094233034
DIST psycopg2-2.7.5.tar.gz 426358 BLAKE2B 301bd4c6ecbc29b1b02e477ffd3576c4bbb00142998a85f5a79678a96b521098a8d0bf75779ab7ecb082c6d374cbf41cc845dcba0e1413b98621f67f9b139135 SHA512 5bf85b6760871f904b6b570ea454f99b72cf97acf9cce10b63dc7b6b0b18913b50ad4f24c469d101c54de6ad6100f1cac3c58225076b5e584a677f5ab4170a93
DIST psycopg2-2.7.7.tar.gz 427474 BLAKE2B bc721b721693bc5f560a4829e84715d15e8c14523ada00109c7d7ba916c91928082fff286bd3c2ff5987c0436443128d1408ac9de073ad538b1e356fc73aaf8f SHA512 032344957c00bf659ca5e46f54f827a6d79809e370d661cd349e2ce935873359bcc4f440b74c6f14658bf1cd9598b6d884abae507fd33db9e07b01fc87967fb0
DIST psycopg2-2.8.3.tar.gz 377333 BLAKE2B a4f22fb4dfc5492147bee198c587c5c5e43e197e5abb60cc7d5d7a006d91ffd22e35fbfeba35b8d36322f3802073fc105cb8270d436a3ad4d52b1c3c41ba39b1 SHA512 74268f6d05922c968d46ad62a49b4af54dc30463daa67cc0f32d5930c366596f9a1b2f368f2b38c8a9d45bfdcffb13be469a5cbf3911c62d163bea5c7a3ad928

@ -0,0 +1,24 @@
diff --git a/setup.py b/setup.py
index c1f319a..c44fc69 100644
--- a/setup.py
+++ b/setup.py
@@ -525,19 +525,6 @@ parser.read('setup.cfg')
# check for mx package
have_mxdatetime = False
-mxincludedir = ''
-if parser.has_option('build_ext', 'mx_include_dir'):
- mxincludedir = parser.get('build_ext', 'mx_include_dir')
-if not mxincludedir:
- mxincludedir = os.path.join(get_python_inc(plat_specific=1), "mx")
-if mxincludedir.strip() and os.path.exists(mxincludedir):
- # Build the support for mx: we will check at runtime if it can be imported
- include_dirs.append(mxincludedir)
- define_macros.append(('HAVE_MXDATETIME', '1'))
- sources.append('adapter_mxdatetime.c')
- depends.extend(['adapter_mxdatetime.h', 'typecast_mxdatetime.c'])
- have_mxdatetime = True
- version_flags.append('mx')
# generate a nice version string to avoid confusion when users report bugs
version_flags.append('pq3') # no more a choice

@ -0,0 +1,70 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit distutils-r1 flag-o-matic
MY_PN="${PN}2"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="PostgreSQL database adapter for Python"
HOMEPAGE="http://initd.org/psycopg/ https://pypi.org/project/psycopg2/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="LGPL-3+"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
IUSE="debug doc examples"
RDEPEND=">=dev-db/postgresql-8.1:*"
DEPEND="${RDEPEND}
doc? (
>=dev-python/pygments-2.2[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.6[${PYTHON_USEDEP}]
)"
RESTRICT="test"
# Avoid using mxdatetime: https://bugs.gentoo.org/452028
PATCHES=(
"${FILESDIR}"/psycopg-2.8.3-avoid-mxdatetime.patch
)
S="${WORKDIR}/${MY_P}"
python_compile() {
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
! python_is_python3 && append-flags -fno-strict-aliasing
distutils-r1_python_compile
}
python_prepare_all() {
if use debug; then
sed -i 's/^\(define=\)/\1PSYCOPG_DEBUG,/' setup.cfg || die
fi
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C doc/src -j1 html text
}
python_install_all() {
if use doc; then
dodoc -r doc/src/_build/html
dodoc doc/src/_build/text/*
fi
if use examples ; then
dodoc -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}

@ -0,0 +1,63 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
inherit distutils-r1
DESCRIPTION="Python library for reading and writing COLLADA documents"
HOMEPAGE="https://pycollada.readthedocs.org/"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples test"
RESTRICT="!test? ( test )"
RDEPEND="
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/python-dateutil-2.2[${PYTHON_USEDEP}]
"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( ${RDEPEND} )
"
DOCS=( AUTHORS.md CHANGELOG.rst COPYING README.markdown )
python_compile_all() {
if use doc ; then
pushd docs > /dev/null || die
emake html
popd > /dev/null || die
fi
}
python_install_all() {
if use examples ; then
insinto /usr/share/${P}/
doins -r examples
fi
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}
python_install() {
distutils-r1_python_install
# ensure data files for tests are getting installed too
python_moduleinto collada/tests/
python_domodule collada/tests/data
}
python_test() {
"${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
}

@ -2,3 +2,4 @@ DIST pycryptodome-3.4.6.tar.gz 6968560 BLAKE2B f066199a9d05bd046303be62c43835908
DIST pycryptodome-3.4.7.tar.gz 6483140 BLAKE2B 02368e2af0a12686cf2e635cca8e2c279f7c3b147a66f99e97cf04d829aa66eca5629f7cc8e76420970a4fa5ca5f97e7d2a04438b3a2ac5feb980fa96998b3ff SHA512 a328df1f3b2cfeccbb5984aca4c5cbd59e8a352c817e82411d2876b2494476027f63e61200b0cc87e9420e8b47e91fffe71865fb2c23a66da0276814641eaab0
DIST pycryptodome-3.6.6.tar.gz 7137656 BLAKE2B 72a3dffa22ca4a90a6515ce0bb6939d4c11aab31793ca330523feb08f6529cbfdf3dee01b1caa4577caed1818c0227961e7f25d855b2dcfb09757beb3e0790b4 SHA512 ce03d9940c23ce59e19bcd795c300dbddeddd49756a4bfcc6933da66dfb8b7bedb8d6eaa2b01727c53e72c8e84dfcab2961d1580a188afa9c9451bd2099bdc61
DIST pycryptodome-3.7.3.tar.gz 9285823 BLAKE2B 6f215a3bb0337f5b7469d92bd2d5b5a19ab4e2c6a8f119411c3a5bcdcf93307752d99113866268b5066cceda6470bd0fbe81b1b2f9e30b5e5e569c77ede087f3 SHA512 b5e09c08cd252cad4d76249be84ce29e16a9bba4f2c5e81594c24d9a39df0f3fc67822698497eb9daa4cb6a43311c5d5a2543f187a5d5f801288596c2941f08f
DIST pycryptodome-3.8.2.tar.gz 12441359 BLAKE2B 857b77ce23bafe8a296d6fc2402914491818b51142d2a08aa882a0d4e15899bc2b18a6b69ffa904cad406fb3ce8bf029404ea178532cd4580ce118ec03311cd2 SHA512 361909d479b3478b72f2723f2c94cafd4e9d50c2d4156535d217f0566c534dc27435f64e9ba0cdb8215c2c3d3800ad1e0befde95d9999eed481f33f9ed2ba318

@ -0,0 +1,28 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1
DESCRIPTION="A self-contained cryptographic library for Python"
HOMEPAGE="https://www.pycryptodome.org https://github.com/Legrandin/pycryptodome https://pypi.org/project/pycryptodome/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2 Unlicense"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE=""
RDEPEND="dev-libs/gmp:0
virtual/python-cffi[${PYTHON_USEDEP}]
!dev-python/pycrypto"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]"
python_test() {
esetup.py test
}

@ -1 +1,2 @@
DIST rq-0.13.0.tar.gz 45487 BLAKE2B 1985a097d419b50b19771a5f1c1526c8b8b3e9b960f7ecb2817cd731a9af0c37dd38e215a556d35ae8107cc93c3da9c023d4e73eda90e776d62a994d74f5bbda SHA512 f8cf5c3cf7360e0640a2ca97a42c85e67e59835317d04dc752008463224e073053c70ede17e179e1e8d287b3e4ed832971a0398636c49e2680f1183f0ebd2302
DIST rq-1.0.tar.gz 45516 BLAKE2B 10af545640c757671d2da4691d06b03fe0b61c82351824a51f8f382bb0e7380312d6902ceff86bb5fbfe06ac3bedca3275394063e6576db33e78d20610083527 SHA512 eb3040c5c312123ff99158d504f5fea8377c382a1067d923db29a9087e7e0f7d5214ca1ab1df190d3e9872d6d00917c2435730c121dee1a4c410e65d2875d918

@ -0,0 +1,19 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_5 python3_6 )
inherit distutils-r1
DESCRIPTION="simple, lightweight library for creating and processing background jobs"
HOMEPAGE="https://github.com/rq/rq"
SRC_URI="mirror://pypi/${PN:0:1}"/${PN}/${P}.tar.gz
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=" >=dev-python/click-5.0[${PYTHON_USEDEP}]
>=dev-python/redis-py-3.0.0[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}"

Binary file not shown.

@ -4,3 +4,4 @@ DIST capybara-3.2.1.gem 284672 BLAKE2B 9da8f588049fab74c4e734626e42758cdd4baf555
DIST capybara-3.23.0.gem 349184 BLAKE2B 233b83fb88f106de8e25a1aa34d1082664824571eca2a79ad3de3b164e639b68173804bf2e871c3fde7fe2af54d64ee6ade90c4149807e04e844cbf5d61f24dc SHA512 53e0c6223e574960e136e7620d7d00a0e1479f9eb0fb70c7150bc60e20ed009d163dc29f7cee84acad43168cca230465490c9ca64b640fdebe9223ec62b6e4db
DIST capybara-3.24.0.gem 349696 BLAKE2B 54447fc17169d953c43f31505a9267bebe6d093052cb553efa8eb65bf6e39fbb13fe02cb3b7252c4fe1f0554370266265eb759ad7f4dc5bab9299410e4f07e81 SHA512 32a19471d3f8d13871c40c28671125039b432065ab6ac1b31f38551f9e5c7d52c041ef9a56db853aeddd14d9411dec4e647336f6b78feb45c90a676ccdc606fe
DIST capybara-3.25.0.gem 351744 BLAKE2B 12e8f483bca814fa826707895a6fc72a3d54df2e03c1175eb4be8e2f83afeda2466d70eab03c7700665d3f94bc7b3b8f85b2d2d6cf8242cad285d9350428cadc SHA512 1be454984862c314f0571ca68ed3858d241dc5f0709d155b1b7accd7fd81a1ab0bf0a5c6537c871989c9abc758d0e7fa5109c8b04be8b620137e129a5da13a68
DIST capybara-3.26.0.gem 352256 BLAKE2B b6b71e163adfa2125d4e4a28fdaaf9feb725e874eab7180c0ece1166b2411ee0930244c79cac22f17e7c3ea8c1cb42b043d5bbd7321a3aa6460fbbfa775035b3 SHA512 31dabbb6ea77ed185d53b72e5f4ea89546f33b5c682d68692e4115bdec29c15d1f5f8bcab4f5256b76f6fbfadd5c638f8bf1d7b974dd3153d57521eb8c04a778

@ -0,0 +1,61 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby24 ruby25 ruby26"
RUBY_FAKEGEM_EXTRADOC="History.md README.md"
# Rake tasks are not distributed in the gem.
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_TASK_TEST=""
inherit virtualx ruby-fakegem
DESCRIPTION="Capybara aims to simplify the process of integration testing Rack applications"
HOMEPAGE="https://github.com/jnicklas/capybara"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~hppa ~x86"
SLOT="3"
IUSE="test"
DEPEND="${DEPEND} test? ( || ( www-client/firefox www-client/firefox-bin ) )"
ruby_add_bdepend "test? (
dev-ruby/rspec:3
>=dev-ruby/launchy-2.4.0
>=dev-ruby/selenium-webdriver-3.5:3
dev-ruby/sinatra:2
www-servers/puma
)"
ruby_add_rdepend "
dev-ruby/addressable
>=dev-ruby/mini_mime-0.1.3
>=dev-ruby/nokogiri-1.8:0
>=dev-ruby/rack-1.6.0:*
>=dev-ruby/rack-test-0.6.3:*
>=dev-ruby/regexp_parser-1.5:1
>=dev-ruby/xpath-3.2:3"
all_ruby_prepare() {
sed -i -e '/bundler/d' -e '/pry/d' -e '1igem "sinatra"' -e '/statistics/Id' spec/spec_helper.rb || die
# Avoid window-manager specific tests (sizes are specific for fluxbox)
sed -i -e '/#maximize/,/^ end/ s:^:#:' lib/capybara/spec/session/window/window_spec.rb || die
# Avoid spec that requires unpackaged geckodriver
sed -i -e '/describe.*register_server/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
# Avoid test dependency on puma server for now
sed -i -e '/should have :puma registered/,/^ end/ s:^:#:' spec/capybara_spec.rb || die
# Update spec to catch the right error code. This seems to have
# changed recently accross ruby versions.
sed -i -e '/raise_error/ s/EOFError/Net::ReadTimeout/' spec/server_spec.rb || die
}
each_ruby_test() {
virtx ${RUBY} -Ilib -S rspec-3 spec || die "Tests failed."
}

@ -1,3 +1,4 @@
DIST hashdiff-0.3.8.gem 18944 BLAKE2B e248384076cf73db84095060578fcf3f458eaccfee8bdf4645c98c9fe51c67fe1fe1b9affeb485880433acb52d41f5c23f8a9d1bfb4397a820dfad01dd7f9092 SHA512 d58b9a07db1044e9b9b61cf1eb9515ff5a8426f0d59484c132c2c498591c9dd73cebda8a98b180d05228fe8e1e610d0dddb3a63ea38981f6609ecdf239339a83
DIST hashdiff-0.3.9.gem 18944 BLAKE2B b24c557b0ca14758706b3de6a34034725af4f2c1d6f6a92d03353ab100ae2c82672d5854a17b382f2b5ef7a9bd296f03fd1877d4d36b7c626e3828e2d1cc6055 SHA512 0cfff7d94405391a5d810b6323b820ad73d4543a33bfe34dd6a4159bbf4190eaeb33e8a617bbe84662b14d54ec3d95e838cde5b38c29a029393b6b41f62ed45d
DIST hashdiff-0.4.0.gem 19968 BLAKE2B 8e9a70ef34a2099a2f3b1748e952132af00bdcd70ce16a8c05ef1dc941489b8b8880933bf97bb084c84f3f75753335f5831f968165dacbbc8c3133fd539e4bfa SHA512 4556479daa42486d12d181c6e231a788c5ddab1b193d1452644ae501a795233e6bf23556bdd0a162a9e386ad2ebebca4398724533d52eff3b36134f8ffa5615f
DIST hashdiff-1.0.0.gem 19968 BLAKE2B c27da71ad9bfba1e967e3c67804c591b880eb8af905d736d5e25c7f732256ab980855fbede619bb935ff29e99d9247b50f4c1790f415bb232b127de7177a9e23 SHA512 39aa1513f6a03ed79ee3f6c26491b914df2527d5dede6b15362e02550751a13fbddc341c0b39ed8c55afb8cf0e7927d528c22f309e54422bfe4dc64229ad9a6f

@ -17,7 +17,7 @@ HOMEPAGE="https://github.com/liufengyun/hashdiff"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
all_ruby_prepare() {

@ -0,0 +1,25 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_EXTRADOC="changelog.md README.md"
inherit ruby-fakegem
DESCRIPTION="Simple Hash extension to make working with nested hashes easier"
HOMEPAGE="https://github.com/liufengyun/hashdiff"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
all_ruby_prepare() {
sed -i -e '/simplecov/I s:^:#:' spec/spec_helper.rb || die
}

@ -1 +1,2 @@
DIST mini_magick-4.9.3.tar.gz 1187910 BLAKE2B d0eaa19da0d7310316ed6c11befa2e48ba75f441021f3ecd6533b0e04d9a44cc6da18c867cec87198abd3e433d63643ab61e21bd3c8b059a757634445f718207 SHA512 4a8cd953a8281229c36cb2482115a8fd127099729fbffd4be7db8967da90916e07c062c96ee066d9740d7261c07f263db8f020eabae59cf10fa6043e4be590c8
DIST mini_magick-4.9.4.tar.gz 1188193 BLAKE2B bd3ae9eb2f5796c42093d9162cd7b1437eccd7ffc2fccd257e2f18b7d34709fa723e413d36045f50bdc13aff1ba5220a4d277d95e419cd37c5b22d304628403d SHA512 9d1bcd7925a26332ff35daba67d78dab88690ea403e70042485d3c1499a41080365b73c03116f26cf11f9cc05c75cf7a8c40f660764f45ece5fdb9ca8a521757

@ -0,0 +1,59 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem eutils
DESCRIPTION="Manipulate images with minimal use of memory"
HOMEPAGE="https://github.com/minimagick/minimagick"
SRC_URI="https://github.com/minimagick/minimagick/archive/v${PV}.tar.gz -> ${P}.tar.gz"
RUBY_S="minimagick-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
# It's only used at runtime in this case because this extension only
# _calls_ the commands. But when we run tests we're going to need tiff
# and jpeg support at a minimum.
RDEPEND+=" media-gfx/imagemagick"
DEPEND+=" test? ( virtual/imagemagick-tools[jpeg,png,tiff] )"
ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/posix-spawn dev-ruby/webmock )"
all_ruby_prepare() {
# remove executable bit from all files
find "${S}" -type f -exec chmod -x {} +
sed -i -e '/\([Bb]undler\|pry\)/ s:^:#:' spec/spec_helper.rb || die
# Don't force a specific formatter but use overall Gentoo defaults.
sed -i -e '/config.formatter/d' spec/spec_helper.rb || die
# Avoid broken spec that does not assume . in path name
sed -i -e '/reformats a layer/,/end/ s:^:#:' spec/lib/mini_magick/image_spec.rb || die
# Avoid failing spec that also fails in upstream Travis
sed -i -e '/returns a hash of verbose information/,/^ end/ s:^:#:' spec/lib/mini_magick/image_spec.rb || die
# Make spec more lenient to imagemagick quoting
sed -i -e "/unable to open image/ s/'foo'/.foo./" spec/lib/mini_magick/shell_spec.rb || die
# Avoid graphicsmagick tests because installing both in parallel for
# tests is hard.
sed -i -e 's/:graphicsmagick//' spec/spec_helper.rb || die
sed -i -e '/identifies when gm exists/,/^ end/ s:^:#:' spec/lib/mini_magick/utilities_spec.rb || die
sed -i -e '/returns GraphicsMagick/,/^ end/ s:^:#:' spec/lib/mini_magick_spec.rb || die
}

@ -1 +1,2 @@
DIST mixlib-shellout-2.4.4.tar.gz 38305 BLAKE2B 19e4211dee056e03f007971d4d77685a2d2d6a111439903bd33e0ed8dee62090b54b6f15e0bc6db168591491c2462869645174a909609b7499bdce251a6ceeef SHA512 e42217a6ced0fb8335cb2df60947168c629d637d280b36fe3d77f47593dc73eda72578b0e9ddf48498e27460cb878764c5dff1b5648a0c7d244c16558d57eef4
DIST mixlib-shellout-3.0.4.tar.gz 42533 BLAKE2B 4d71cfb2d41120be04613749fd5c0e73d6939fe64410e46285a6f81ec61107b1e658ecc011c032621b433eb15e9ffd42b4f589419ffd8f68b7c5977691e011d1 SHA512 2ed866333874c8c40109de9bb4a1e5a3afea4f4c4cf537b11a1ccd670d374b9ce132717e87d43bb41065a9361e45de13bb1fa2db3e1f2d9f4af18253548f5811

@ -0,0 +1,29 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby24 ruby25 ruby26"
RUBY_FAKEGEM_TASK_DOC=""
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_EXTRA_DOC="CHANGELOG.md README.md"
inherit ruby-fakegem
DESCRIPTION="Run external commands on Unix or Windows"
HOMEPAGE="https://github.com/opscode/mixlib-shellout"
SRC_URI="https://github.com/opscode/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
each_ruby_prepare() {
# Make sure we actually use the right interpreter for testing
sed -i -e "/ruby_eval/ s:ruby :${RUBY} :" spec/mixlib/shellout_spec.rb || die
# Avoid spec that requires an interactive terminal
sed -i -e '/with subprocess writing lots of data to both stdout and stderr/,/^ end/ s:^:#:' spec/mixlib/shellout_spec.rb || die
}

@ -1 +1,2 @@
DIST plist-3.4.0.tar.gz 36637 BLAKE2B 8ea6b11c9adca311d91cf22f7ca11cdcb3acbbb97e18a813de754acc4474183fdd7cdb569b8fe64da06170219ef2fdcabec1d2349399006254c7f399365d1f97 SHA512 01dc47b183b7dce1f20fad8d68d1bebbb6d509c62b77f41855305bf5aafd1abf7960d74f1cb9d2467648a166fbb1747bbdd57f228f10ac091d16ab1a7189525b
DIST plist-3.5.0.tar.gz 36650 BLAKE2B 8f93f8ef2fdedd9da50c4bdf9c473d3b199cd828909ea1572b761bc4e8d0508e997a60737ea21c7fa96764787ecefd41aa0b0046f94d3f89de796a746a794e21 SHA512 b1c9ccd66db1e0d1ebef3931f6db0f57ace2a1bb417885da48e9658c66af28997b6675a8050db78fe0083f05afc91e1313cb823d79553288d7c0c4a3a9762920

@ -0,0 +1,28 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem
DESCRIPTION="A library to manipulate Property List files, also known as plists"
HOMEPAGE="https://github.com/patsplat/plist"
SRC_URI="https://github.com/patsplat/plist/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
IUSE=""
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
}

@ -2,3 +2,4 @@ DIST shoulda-matchers-2.8.0.gem 153600 BLAKE2B 49ddfe686bbd80665cde74019a046564b
DIST shoulda-matchers-3.1.3.gem 208384 BLAKE2B 0ce7cb91ec8a311ecd4872ca45b178686fedb126fd5a05d55cc8654f5a40d1ed7e0a1da2b2c47c34ce3e5ed13a302a1d309f4afa67bafb37d5ed8a724945e97f SHA512 c61397d20724f3048172a8a20ef8abaeafdba3a1d5d4b923b1b11480b25c70820fd372eb2851c6eb307894bc0b7e1aae515e23a3581a83db1b65a2c778b22d67
DIST shoulda-matchers-4.0.1.tar.gz 222637 BLAKE2B 70d1aaa08f7670716f9ad385a22cbca709827f2de276d2a82ea8306ea43c44e99f9a2e698813a8c99036568a1f451a7c39d06dc5effd438d2bd31dcab32df8a8 SHA512 c2d8b80d4a0fa8d607b62f56c2718fc9922459f85ffb8a56b0c933c60fc258ce3fe75b7676fee1b178c56d1e35e28356abd855e2e7046b82268f743010c9b273
DIST shoulda-matchers-4.1.0.tar.gz 231976 BLAKE2B dc77f6c8b31209e6651b8cd277a35afb6db9d32db9ce76cdb4f7b53fcd4dcfd86fe147b2aef1cd387eac602aedd863a6c5bb478a763446c30a88bbd0ed61de73 SHA512 9688712cdb2b5440f0a0a41df1c2956d3bb6f8824a41c0c5418706fc9124296705639286e04cc4d90e083b7b44a96b10f831aab2ae382f7379054ea6adb489d1
DIST shoulda-matchers-4.1.1.tar.gz 234756 BLAKE2B 19f178b6f80bbc4439053a11772ed449186f507ee1c971a20df1c50931f6ffb3f8e1555d603a111916fb2ab18329aaf97177e2610ad9e5186bc1fcea4c09f48c SHA512 af2df1321e5421211a01fe9b3a94e2786dd7526050ecd38fd256df2c0ed8187d51423df0df8bdfeb1c3eca9eeb9dc0b757605eb6fef5c42e1895deb2fcac257c

@ -0,0 +1,34 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby24 ruby25 ruby26"
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
RUBY_FAKEGEM_RECIPE_TEST="none"
RUBY_FAKEGEM_EXTRAINSTALL="NEWS.md README.md"
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
RUBY_FAKEGEM_BINWRAP=""
inherit ruby-fakegem
DESCRIPTION="Making tests easy on the fingers and eyes"
HOMEPAGE="https://github.com/thoughtbot/shoulda-matchers"
SRC_URI="https://github.com/thoughtbot/shoulda-matchers/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="3"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
IUSE=""
ruby_add_rdepend ">=dev-ruby/activesupport-4.2.0:*"
all_ruby_prepare() {
sed -i -e '/pry/ s:^:#:' spec/spec_helper.rb || die
sed -i -e '/s.files/,/^ end/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
}

@ -1,9 +1,9 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby22 ruby23 ruby24"
USE_RUBY="ruby23 ruby24 ruby25"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
RUBY_FAKEGEM_TASK_DOC="yard"

Binary file not shown.

@ -1 +1,2 @@
DIST trace-cmd-v2.7.tar.gz 1865571 BLAKE2B e0df57c78c6505c856381f17cfdecdaa7a4441eee4cfc57af4fff79a0157ca7aa7c76a81428ddf8d9d00d6bb0a5391b99d4bb5f92fadc7e4062a0181facb2cc9 SHA512 e507eb6609f1fd3dddec541e9f69c466f4f3f66c28f0a7f4292615e3984cebaaf42725f3d82b8c625e5c60977d1f9b5e96cce7664b951eb5f99b955cc440efe4
DIST trace-cmd-v2.8.tar.gz 1996407 BLAKE2B 6a9a0b221418d448f5af5508bf8acf0baca08e0cdd8c1a835a06d26f5f729608d6988f7ed83ccdc9e117ade19893fa32c2400a61c2d396804cd042bc25cd498a SHA512 0675c057e78878a0f56ee69edfe7ab4b771fd5346920fcd3ad4af777180fae311cc369dc3faa6cd49d30664401497d20e45a0cf1914805139116e3be8587e0a7

@ -0,0 +1,27 @@
diff --git a/Makefile b/Makefile
index d34c615..7931c88 100644
--- a/Makefile
+++ b/Makefile
@@ -115,9 +115,10 @@ PYTHON := ctracecmd.so
PYTHON_GUI := ctracecmd.so ctracecmdgui.so
PYTHON_VERS ?= python
+PYTHON_PKGCONFIG_VERS ?= $(PYTHON_VERS)
# Can build python?
-ifeq ($(shell sh -c "pkg-config --cflags $(PYTHON_VERS) > /dev/null 2>&1 && echo y"), y)
+ifeq ($(shell sh -c "pkg-config --cflags $(PYTHON_PKGCONFIG_VERS) > /dev/null 2>&1 && echo y"), y)
PYTHON_PLUGINS := plugin_python.so
BUILD_PYTHON := $(PYTHON) $(PYTHON_PLUGINS)
BUILD_PYTHON_WORKS := 1
@@ -372,8 +373,8 @@ report_nopythondev: force
$(Q)echo
ifndef NO_PYTHON
-PYTHON_INCLUDES = `pkg-config --cflags $(PYTHON_VERS)`
-PYTHON_LDFLAGS = `pkg-config --libs $(PYTHON_VERS)` \
+PYTHON_INCLUDES = `pkg-config --cflags $(PYTHON_PKGCONFIG_VERS)`
+PYTHON_LDFLAGS = `pkg-config --libs $(PYTHON_PKGCONFIG_VERS)` \
$(shell $(PYTHON_VERS)-config --ldflags)
PYGTK_CFLAGS = `pkg-config --cflags pygtk-2.0`
else

@ -0,0 +1,111 @@
diff --git a/plugins/plugin_python.c b/plugins/plugin_python.c
index e725ad8..196b825 100644
--- a/plugins/plugin_python.c
+++ b/plugins/plugin_python.c
@@ -81,7 +81,7 @@ int TEP_PLUGIN_LOADER(struct tep_handle *pevent)
} else
Py_DECREF(res);
- str = PyString_FromString("pevent");
+ str = PyUnicode_FromString("pevent");
if (!str)
return -ENOMEM;
diff --git a/python/ctracecmd.i b/python/ctracecmd.i
index 65a3d51..031e462 100644
--- a/python/ctracecmd.i
+++ b/python/ctracecmd.i
@@ -16,6 +16,7 @@
%{
#include "trace-cmd.h"
#include "event-utils.h"
+#include <Python.h>
%}
@@ -108,7 +109,7 @@ static PyObject *py_field_get_stack(struct tep_handle *pevent,
((int)addr == -1))
break;
func = tep_find_function(event->tep, addr);
- if (PyList_Append(list, PyString_FromString(func))) {
+ if (PyList_Append(list, PyUnicode_FromString(func))) {
Py_DECREF(list);
return NULL;
}
@@ -137,10 +138,10 @@ static PyObject *py_field_get_data(struct tep_format_field *f, struct tep_record
offset = val & 0xffff;
len = val >> 16;
- return PyBuffer_FromMemory((char *)r->data + offset, len);
+ return PyMemoryView_FromMemory((char *)r->data + offset, len, PyBUF_READ);
}
- return PyBuffer_FromMemory((char *)r->data + f->offset, f->size);
+ return PyMemoryView_FromMemory((char *)r->data + f->offset, f->size, PyBUF_READ);
}
static PyObject *py_field_get_str(struct tep_format_field *f, struct tep_record *r)
@@ -162,10 +163,10 @@ static PyObject *py_field_get_str(struct tep_format_field *f, struct tep_record
*/
offset = val & 0xffff;
- return PyString_FromString((char *)r->data + offset);
+ return PyUnicode_FromString((char *)r->data + offset);
}
- return PyString_FromStringAndSize((char *)r->data + f->offset,
+ return PyUnicode_FromStringAndSize((char *)r->data + f->offset,
strnlen((char *)r->data + f->offset, f->size));
}
@@ -177,7 +178,7 @@ static PyObject *py_format_get_keys(struct tep_event *ef)
list = PyList_New(0);
for (f = ef->format.fields; f; f = f->next) {
- if (PyList_Append(list, PyString_FromString(f->name))) {
+ if (PyList_Append(list, PyUnicode_FromString(f->name))) {
Py_DECREF(list);
return NULL;
}
@@ -210,14 +211,14 @@ static int python_callback(struct trace_seq *s,
result = PyEval_CallObject(context, arglist);
Py_XDECREF(arglist);
if (result && result != Py_None) {
- if (!PyInt_Check(result)) {
+ if (!PyLong_Check(result)) {
PyErr_SetString(PyExc_TypeError,
"callback must return int");
PyErr_Print();
Py_XDECREF(result);
return 0;
}
- r = PyInt_AS_LONG(result);
+ r = PyLong_AsLong(result);
} else if (result == Py_None)
r = 0;
else
diff --git a/python/ctracecmdgui.i b/python/ctracecmdgui.i
index 1dcdab0..8ca38f7 100644
--- a/python/ctracecmdgui.i
+++ b/python/ctracecmdgui.i
@@ -7,6 +7,7 @@
#include <pygobject.h>
#include <pyglib.h>
#include <Python.h>
+#include <memoryobject.h>
extern GtkTreeModel *trace_view_store_as_gtk_tree_model(struct trace_view_store *store);
@@ -37,10 +38,10 @@ pytype_from_gtype(GType gtype)
/* help swig cope with g* types */
%typemap(in) gint {
- $1 = PyInt_AsLong($input);
+ $1 = PyLong_AsLong($input);
}
%typemap(out) gint {
- $result = PyInt_FromLong($1);
+ $result = PyLong_FromLong($1);
}
%typemap(in) guint {
$1 = PyLong_AsUnsignedLong($input);

@ -0,0 +1,13 @@
diff --git a/scripts/utils.mk b/scripts/utils.mk
index 260023a..9eb127d 100644
--- a/scripts/utils.mk
+++ b/scripts/utils.mk
@@ -54,7 +54,7 @@ do_build_static_lib = \
do_compile_shared_library = \
($(print_shared_lib_compile) \
- $(CC) --shared $^ -o $@)
+ $(CC) --shared $^ -Wl,-soname,$@ -o $@)
do_compile_plugin_obj = \
($(print_plugin_obj_compile) \

@ -0,0 +1,110 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7} )
DISTUTILS_OPTIONAL=1
inherit linux-info python-r1 toolchain-funcs
DESCRIPTION="User-space front-end for Ftrace"
HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git"
if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/${PN}.git"
inherit git-r3
else
SRC_URI="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/${PN}-v${PV}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-v${PV}"
fi
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0"
IUSE="+audit doc python udis86"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="audit? ( sys-process/audit )
python? ( ${PYTHON_DEPS} )
udis86? ( dev-libs/udis86 )"
DEPEND="${RDEPEND}
sys-kernel/linux-headers
python? (
virtual/pkgconfig
dev-lang/swig
)
doc? ( app-text/asciidoc )"
CONFIG_CHECK="
~TRACING
~FTRACE
~BLK_DEV_IO_TRACE"
PATCHES=(
"${FILESDIR}/trace-cmd-2.7-makefile.patch"
"${FILESDIR}/trace-cmd-2.8-python-pkgconfig-name.patch"
"${FILESDIR}/trace-cmd-2.8-soname.patch"
)
pkg_setup() {
linux-info_pkg_setup
}
src_configure() {
EMAKE_FLAGS=(
"prefix=/usr"
"libdir=/usr/$(get_libdir)"
"CC=$(tc-getCC)"
"AR=$(tc-getAR)"
$(usex audit '' '' '' 'NO_AUDIT=1')
$(usex udis86 '' '' '' 'NO_UDIS86=1')
VERBOSE=1
)
}
src_compile() {
emake "${EMAKE_FLAGS[@]}" NO_PYTHON=1 \
trace-cmd libs
if use python; then
python_copy_sources
python_foreach_impl python_compile
fi
use doc && emake doc
}
python_compile() {
pushd "${BUILD_DIR}" > /dev/null || die
python_is_python3 && eapply "${FILESDIR}/trace-cmd-2.8-python3-warnings.patch"
emake "${EMAKE_FLAGS[@]}" \
PYTHON_VERS="${EPYTHON}" \
PYTHON_PKGCONFIG_VERS="${EPYTHON//python/python-}" \
python_dir=$(python_get_sitedir)/${PN} \
python python-plugin
popd > /dev/null || die
}
src_install() {
emake "${EMAKE_FLAGS[@]}" NO_PYTHON=1 \
DESTDIR="${D}" \
install install_libs
use doc && emake DESTDIR="${D}" install_doc
use python && python_foreach_impl python_install
}
python_install() {
pushd "${BUILD_DIR}" > /dev/null || die
emake "${EMAKE_FLAGS[@]}" DESTDIR="${D}" \
PYTHON_VERS="${EPYTHON}" \
PYTHON_PKGCONFIG_VERS="${EPYTHON//python/python-}" \
python_dir=$(python_get_sitedir)/${PN} \
install_python
popd > /dev/null || die
}

@ -2,9 +2,10 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=(python2_7)
PYTHON_COMPAT=( python2_7 python3_{6,7} )
DISTUTILS_OPTIONAL=1
inherit linux-info python-single-r1 toolchain-funcs
inherit linux-info python-r1 toolchain-funcs
DESCRIPTION="User-space front-end for Ftrace"
HOMEPAGE="https://git.kernel.org/cgit/linux/kernel/git/rostedt/trace-cmd.git"
@ -13,7 +14,7 @@ if [[ ${PV} == *9999 ]] ; then
EGIT_REPO_URI="https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/${PN}.git"
inherit git-r3
else
SRC_URI="https://git.kernel.org/pub/scm/linux/kernel/git/rostedt/${PN}.git/snapshot/${PN}-v${PV}.tar.gz"
SRC_URI="https://git.kernel.org/pub/scm/utils/trace-cmd/trace-cmd.git/snapshot/${PN}-v${PV}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-v${PV}"
fi
@ -41,13 +42,13 @@ CONFIG_CHECK="
~BLK_DEV_IO_TRACE"
PATCHES=(
"${FILESDIR}"/trace-cmd-2.7-makefile.patch
"${FILESDIR}"/trace-cmd-2.7-soname.patch
"${FILESDIR}/trace-cmd-2.7-makefile.patch"
"${FILESDIR}/trace-cmd-2.8-python-pkgconfig-name.patch"
"${FILESDIR}/trace-cmd-2.8-soname.patch"
)
pkg_setup() {
linux-info_pkg_setup
use python && python-single-r1_pkg_setup
}
src_configure() {
@ -58,26 +59,52 @@ src_configure() {
"AR=$(tc-getAR)"
$(usex audit '' '' '' 'NO_AUDIT=1')
$(usex udis86 '' '' '' 'NO_UDIS86=1')
VERBOSE=1
)
}
src_compile() {
emake "${EMAKE_FLAGS[@]}" NO_PYTHON=1 \
trace-cmd libs
if use python; then
EMAKE_FLAGS+=(
"PYTHON_VERS=${EPYTHON//python/python-}"
"python_dir=$(python_get_sitedir)/${PN}"
)
else
EMAKE_FLAGS+=("NO_PYTHON=1")
python_copy_sources
python_foreach_impl python_compile
fi
}
src_compile() {
emake "${EMAKE_FLAGS[@]}" all_cmd libs
use doc && emake doc
}
python_compile() {
pushd "${BUILD_DIR}" > /dev/null || die
python_is_python3 && eapply "${FILESDIR}/trace-cmd-2.8-python3-warnings.patch"
emake "${EMAKE_FLAGS[@]}" \
PYTHON_VERS="${EPYTHON}" \
PYTHON_PKGCONFIG_VERS="${EPYTHON//python/python-}" \
python_dir=$(python_get_sitedir)/${PN} \
python python-plugin
popd > /dev/null || die
}
src_install() {
emake "${EMAKE_FLAGS[@]}" DESTDIR="${D}" V=1 install install_libs
emake "${EMAKE_FLAGS[@]}" NO_PYTHON=1 \
DESTDIR="${D}" \
install install_libs
use doc && emake DESTDIR="${D}" install_doc
use python && python_foreach_impl python_install
}
python_install() {
pushd "${BUILD_DIR}" > /dev/null || die
emake "${EMAKE_FLAGS[@]}" DESTDIR="${D}" \
PYTHON_VERS="${EPYTHON}" \
PYTHON_PKGCONFIG_VERS="${EPYTHON//python/python-}" \
python_dir=$(python_get_sitedir)/${PN} \
install_python
popd > /dev/null || die
}

Binary file not shown.

@ -68,7 +68,7 @@ DEPEND="${COMMON_DEPEND}
RDEPEND="${COMMON_DEPEND}
$(add_frameworks_dep kimageformats)
$(add_qt_dep qtimageformats)
kipi? ( media-plugins/kipi-plugins:5 )
kipi? ( kde-apps/kipi-plugins:5 )
"
PATCHES=( "${FILESDIR}/${PN}-18.12.1-exiv2-0.27.patch" )

@ -68,7 +68,7 @@ DEPEND="${COMMON_DEPEND}
RDEPEND="${COMMON_DEPEND}
$(add_frameworks_dep kimageformats)
$(add_qt_dep qtimageformats)
kipi? ( media-plugins/kipi-plugins:5 )
kipi? ( kde-apps/kipi-plugins:5 )
"
src_prepare() {

@ -6,7 +6,7 @@ EAPI=7
KDE_HANDBOOK="forceoptional"
inherit kde5
DESCRIPTION="KDE Timer"
DESCRIPTION="Little tool to execute programs after some time"
HOMEPAGE="https://www.kde.org/applications/utilities/ktimer
https://utils.kde.org/projects/ktimer/"
KEYWORDS="amd64 ~arm64 x86"

@ -40,7 +40,7 @@ DEPEND="
share? ( $(add_frameworks_dep purpose) )
"
RDEPEND="${DEPEND}
kipi? ( media-plugins/kipi-plugins:5 )
kipi? ( kde-apps/kipi-plugins:5 )
"
src_configure() {

@ -40,7 +40,7 @@ DEPEND="
share? ( $(add_frameworks_dep purpose) )
"
RDEPEND="${DEPEND}
kipi? ( media-plugins/kipi-plugins:5 )
kipi? ( kde-apps/kipi-plugins:5 )
"
src_configure() {

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save