parent
db5a6b15f8
commit
5307bf1cf8
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST dxf-7.3.0.tar.gz 298408 BLAKE2B a8ba078d1bea8fed58df35562af678f902513f4da18123a3eabb52a707b7973358a7690d309b3b7d86fadc4086856580792177525b4e7e217da4542249e83663 SHA512 2bb16a41990f572c3352f708438e67550cc089c078296c765fcffec4ada60f40f097bfcdf4def3c57a0e6c1db31d2ab9020407b2c165509f132e51cc93af8205
|
||||
DIST dxf-7.4.0.tar.gz 300099 BLAKE2B a3d17709efed3af5be82b1bf4ebd4201101e92867f714355467d72b84d560cddcf13a9ad2b4b71553decfc664f29c7ee13f74d551092d8a3a25dc48eea9a4214 SHA512 7aaa5827c6f02bb22b4d2dae9e24aa921ecebe72fe8278d3fc84f48448c1f903c0b70c22873d2772f3da5367ecc45770b8719c4d1aa95cac146a392bd9a923d2
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Docker registry v2 client in Python"
|
||||
HOMEPAGE="https://github.com/davedoesdev/dxf"
|
||||
SRC_URI="https://github.com/davedoesdev/dxf/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/jwcrypto-0.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.18.4[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/tqdm-4.19.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/www-authenticate-0.9.2[${PYTHON_USEDEP}]"
|
||||
|
||||
RESTRICT="test"
|
||||
# Require dockerd running
|
||||
|
||||
python_test() {
|
||||
emake test
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# 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 570b54cabe6b8eb0bc2dfce68d964677d63b5260"
|
||||
"github.com/fsnotify/fsnotify 4da3e2cfbabc9f751898f250b49f2439785783a1"
|
||||
"github.com/golang/glog 23def4e6c14b4da8ac2ed8007337bc5eb5007998"
|
||||
"github.com/hashicorp/hcl 23c074d0eceb2b8a5bfdbb271ab780cde70f05a8"
|
||||
"github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
|
||||
"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 acbeb36b902d72a7a4c18e8f3241075e7ab763e4"
|
||||
"github.com/spf13/cobra 7b2c5ac9fc04fc5efafb60700713d4fa609b777b"
|
||||
"github.com/spf13/jwalterweatherman 12bd96e66386c1960ab0f74ced1362f66f552f7b"
|
||||
"github.com/spf13/pflag 4c012f6dcd9546820e378d0bdda4d8fc772cdfea"
|
||||
"github.com/spf13/viper 25b30aa063fc18e48662b86996252eabdcf2f0c7"
|
||||
"golang.org/x/sys e24f485414aeafb646f6fca458b0bf869c0880a1 github.com/golang/sys"
|
||||
"golang.org/x/text e19ae1496984b1c655b8044a65c0300a3c878dd3 github.com/golang/text"
|
||||
"gopkg.in/yaml.v2 c95af922eae69f190717a0b7148960af8c55a072 github.com/go-yaml/yaml"
|
||||
)
|
||||
|
||||
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 -o ${PN} . || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/${EGO_PN}/${PN}
|
||||
insinto /etc/kube-bench
|
||||
doins -r src/${EGO_PN}/cfg
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST cadvisor-0.28.3.tar.gz 4110487 BLAKE2B d6b9d6de67e5672a3ba57ea0c28f38e2e96ec43910f8f5bbbe17b377ccbadf026d4418928234149e9ad3936f4c0871d7c371dda2bea49111735a33520154b2d3 SHA512 da111d74bfa3485c42a03a027ccbf833886e561f3244a081ad5439f7a714767cf4666c43c17b0b976089ea40916089aaa2c6070ec4aefc19798a1d5325e005e4
|
||||
DIST cadvisor-0.29.1.tar.gz 4152413 BLAKE2B 7eca61553f98a27b9d42f81618b67ebec2003c047557ea2bb749d0d36545c9c5ed76b67f8558ba335f396f16b6c496271875dd68b0d9f3554f92e20a63cc0cf5 SHA512 ce3a937607be2725388434cecb23ea8417bf3ddbd662cedcf128f090d52cc96c052dc016eeab32c34d3338fbb5b56091ee62720c32fb3313a5d41a556bc0b575
|
||||
DIST cadvisor-0.30.2.tar.gz 4126305 BLAKE2B c0ded9a4e4d9f2942b2ae92dbc8037a4e6310686f82ff256dabdc6acc966b684621e213702ac97aac1648bd4dfcc6f757ce0c3a100b6830caa9d72e442a419c4 SHA512 415e89879c768d236dba1ad8a470b416406f53fc29d9654c011bf511b507c531e0be073c43110bba9c46f284a9235f76b743959f3363dcdc9d76a5631da530e2
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EGO_PN="github.com/google/cadvisor"
|
||||
|
||||
inherit user golang-build golang-vcs-snapshot
|
||||
SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
COMMIT="de723a0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Analyzes resource usage and performance characteristics of running containers"
|
||||
HOMEPAGE="https://github.com/google/cadvisor"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup ${PN}
|
||||
enewuser ${PN} -1 -1 /dev/null ${PN}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "/go get/d" src/${EGO_PN}/build/assets.sh || die
|
||||
sed -i -e "s/git describe.*/echo ${PV} )/"\
|
||||
-e "s/git rev-parse --short HEAD.*/echo ${COMMIT} )/"\
|
||||
src/${EGO_PN}/build/build.sh || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pushd "src/${EGO_PN}"
|
||||
GO_FLAGS="-v -work -x" VERBOSE="true" GOPATH="${S}:$(get_golibdir_gopath)" emake build
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||
dobin src/${EGO_PN}/${PN}
|
||||
keepdir /var/log/${PN}
|
||||
fowners ${PN}:${PN} /var/log/${PN}
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST kompose-1.13.0.tar.gz 5238799 BLAKE2B 8f51d9c4b162104636578b5b6b044060997d7c8fbd8a58fdf42d8db1e5fbce51cbfd2e010e84e80707462edc29603da3a6ac729f95873f2c84b7a43baeac8284 SHA512 6ec870f03762bde138e2c22e9b8a85a1e974897f3857f096e1fcd56bd402d1f3379936752b075ee57497e5d4f1c7c7d0c82b09d6c4e90860cc04aee434123419
|
||||
DIST kompose-1.14.0.tar.gz 5238716 BLAKE2B 27c054b58d2804fcb37627652d2d48ff377504203f9319c4321fcba08e9c8dd9c41f307ff599de3b65ae9a177370322d63314b70e5cb80edf1ce071eeaf15e24 SHA512 f356f2f38c99f0ca9d8f58a4dfa171ba0c41b3127b66ab887484c3bbc76b66470fbe8f52ca3eeba700b57a86e0ff264066ee92645f71a93bfe77077655f81e97
|
||||
DIST kompose-1.15.0.tar.gz 5239685 BLAKE2B fed8d978584e6f8006eac44c732476745520d28c83b122613baee24aba71723446c269b6e60197e0eec5f4e3cf481ed38756fb7c2c8840d3f885b9a790529f73 SHA512 55296b1227324e77c5febbb9a3701c8548049e8fb22b97c86e6a936024b00dcc55b7bc101469783656fdc05fdd72f8ba2282b3619e75e0f04ebe0d2446c1e245
|
||||
DIST kompose-1.16.0.tar.gz 5241785 BLAKE2B 9958b200827b70c94a499981880cc7a5d8137354205d96657d854aefebbd877e332ac3047f59e13b62dd6b9a9235d1ed83bb8b8de973d59f81906b3f376176a0 SHA512 267601ba51f5cfcbb95b9fbf52bbb99f9c810de8edb301b635a50936d7a714dc8410352ff3a4aa8819de1659a45cbb42caf5e552023cfa594a0eb8e99db57522
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
EGO_PN="github.com/kubernetes/kompose"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
GIT_COMMIT="0c01309fe899c587e8cb02e9c31196ee66ab5093"
|
||||
ARCHIVE_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Tool to move from docker-compose to Kubernetes"
|
||||
HOMEPAGE="https://github.com/kubernetes/kompose https://kompose.io"
|
||||
SRC_URI="${ARCHIVE_URI}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="hardened"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"
|
||||
GOPATH="${S}" go build -v -ldflags="-X github.com/kubernetes/kompose/cmd.GITCOMMIT=${GIT_COMMIT}" -o bin/kompose src/${EGO_PN}/main.go || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
dodoc -r src/${EGO_PN}/{docs,{README,RELEASE,ROADMAP,CHANGELOG,CONTRIBUTING}.md}
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST lxc-2.1.1.tar.gz 1378640 BLAKE2B 5fca516540a886729434579ff99acf3baa06977fa0e0b6f24dbf15094626335fc073597d308276e3dd20e27ceabf1477cc8e99d1fd24cf50b9aed2720b887b69 SHA512 2989d57acddfe091adcf8031721c3c9a2f8eff5476bd6155366b76ea7511e0f6120e669276e056e3963863e0f0acf3b095d44c36fa6652e67c197671f28cbdd4
|
||||
DIST lxc-3.0.0.tar.gz 1233316 BLAKE2B ba726a07f48b1d32366012c8d885a853e33f88d8c45c910b061d9deecf472d940f7d45a1e742c8194517ba3231e1875a49bbf303b2c3fd2c9ece33b941670bb7 SHA512 21372e6fe4d38e2cf54707fab4133137793deff1dd500ed7ed02c03bbaa809de56c7490971594cddbdcb2b96f0c03ab5dfb43a8582a584598a12c5943b7ca490
|
||||
DIST lxc-3.0.1.tar.gz 1239920 BLAKE2B 7be668c11d7211540fe7e2fb6318d38eac0d8d493914f4705d097fca4c004a8d2191609d02bd9e1d9204c3c0b9ea937084d3f9050fc841f6d777768067af3d19 SHA512 f51b0844f61f64d4efc530454eae1fa499f7f1b908bd3b40d7031e7f311a402893a7504bddbc53f2ef9da2b3154d1b047fc4d876b99f0d487d7c79de64eea505
|
||||
|
@ -1,12 +0,0 @@
|
||||
[Unit]
|
||||
Description=Linux Container %I
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
ExecStart=/usr/sbin/lxc-start -n %i
|
||||
ExecReload=/usr/sbin/lxc-restart -n %i
|
||||
ExecStop=/usr/sbin/lxc-stop -n %i
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,170 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools bash-completion-r1 linux-info flag-o-matic systemd readme.gentoo-r1 pam
|
||||
|
||||
DESCRIPTION="LinuX Containers userspace utilities"
|
||||
HOMEPAGE="https://linuxcontainers.org/"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
IUSE="examples pam seccomp selinux"
|
||||
|
||||
RDEPEND="
|
||||
net-libs/gnutls
|
||||
sys-libs/libcap
|
||||
pam? ( virtual/pam )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
selinux? ( sys-libs/libselinux )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=app-text/docbook-sgml-utils-0.6.14-r2
|
||||
>=sys-kernel/linux-headers-3.2"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
sys-apps/util-linux
|
||||
app-misc/pax-utils
|
||||
virtual/awk"
|
||||
|
||||
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
|
||||
~CPUSETS ~CGROUP_CPUACCT
|
||||
~CGROUP_SCHED
|
||||
|
||||
~NAMESPACES
|
||||
~IPC_NS ~USER_NS ~PID_NS
|
||||
|
||||
~NETLINK_DIAG ~PACKET_DIAG
|
||||
~INET_UDP_DIAG ~INET_TCP_DIAG
|
||||
~UNIX_DIAG ~CHECKPOINT_RESTORE
|
||||
|
||||
~CGROUP_FREEZER
|
||||
~UTS_NS ~NET_NS
|
||||
~VETH ~MACVLAN
|
||||
|
||||
~POSIX_MQUEUE
|
||||
~!NETPRIO_CGROUP
|
||||
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS
|
||||
~!GRKERNSEC_PROC
|
||||
~!GRKERNSEC_SYSFS_RESTRICT
|
||||
"
|
||||
|
||||
ERROR_DEVPTS_MULTIPLE_INSTANCES="CONFIG_DEVPTS_MULTIPLE_INSTANCES: needed for pts inside container"
|
||||
|
||||
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
|
||||
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
|
||||
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
|
||||
|
||||
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
|
||||
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
|
||||
|
||||
ERROR_NETLINK_DIAG="CONFIG_NETLINK_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_PACKET_DIAG="CONFIG_PACKET_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_UDP_DIAG="CONFIG_INET_UDP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_INET_TCP_DIAG="CONFIG_INET_TCP_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_UNIX_DIAG="CONFIG_UNIX_DIAG: needed for lxc-checkpoint"
|
||||
ERROR_CHECKPOINT_RESTORE="CONFIG_CHECKPOINT_RESTORE: needed for lxc-checkpoint"
|
||||
|
||||
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
|
||||
|
||||
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
|
||||
|
||||
ERROR_GRKERNSEC_CHROOT_MOUNT="CONFIG_GRKERNSEC_CHROOT_MOUNT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_DOUBLE="CONFIG_GRKERNSEC_CHROOT_DOUBLE: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_PIVOT="CONFIG_GRKERNSEC_CHROOT_PIVOT: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CHMOD="CONFIG_GRKERNSEC_CHROOT_CHMOD: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_CHROOT_CAPS="CONFIG_GRKERNSEC_CHROOT_CAPS: some GRSEC features make LXC unusable see postinst notes"
|
||||
ERROR_GRKERNSEC_PROC="CONFIG_GRKERNSEC_PROC: this GRSEC feature is incompatible with unprivileged containers"
|
||||
ERROR_GRKERNSEC_SYSFS_RESTRICT="CONFIG_GRKERNSEC_SYSFS_RESTRICT: this GRSEC feature is incompatible with unprivileged containers"
|
||||
|
||||
DOCS=(AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt)
|
||||
|
||||
pkg_setup() {
|
||||
kernel_is -lt 4 7 && CONFIG_CHECK="${CONFIG_CHECK} ~DEVPTS_MULTIPLE_INSTANCES"
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply "${FILESDIR}"/${PN}-3.0.0-bash-completion.patch
|
||||
#558854
|
||||
eapply "${FILESDIR}"/${PN}-2.0.5-omit-sysconfig.patch
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# I am not sure about the --with-rootfs-path
|
||||
# /var/lib/lxc is probably more appropriate than
|
||||
# /usr/lib/lxc.
|
||||
# Note by holgersson: Why is apparmor disabled?
|
||||
|
||||
# --enable-doc is for manpages which is why we don't link it to a "doc"
|
||||
# USE flag. We always want man pages.
|
||||
econf \
|
||||
--localstatedir=/var \
|
||||
--bindir=/usr/bin \
|
||||
--sbindir=/usr/bin \
|
||||
--with-config-path=/var/lib/lxc \
|
||||
--with-rootfs-path=/var/lib/lxc/rootfs \
|
||||
--with-distro=gentoo \
|
||||
--with-runtime-path=/run \
|
||||
--disable-apparmor \
|
||||
--disable-werror \
|
||||
--enable-doc \
|
||||
$(use_enable examples) \
|
||||
$(use_enable pam) \
|
||||
$(use_with pam pamdir $(getpam_mod_dir)) \
|
||||
$(use_enable seccomp) \
|
||||
$(use_enable selinux)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
mv "${ED}"/usr/share/bash-completion/completions/${PN} "${ED}"/$(get_bashcompdir)/${PN}-start || die
|
||||
bashcomp_alias ${PN}-start \
|
||||
${PN}-{attach,cgroup,copy,console,create,destroy,device,execute,freeze,info,monitor,snapshot,stop,unfreeze,wait}
|
||||
|
||||
keepdir /etc/lxc /var/lib/lxc/rootfs /var/log/lxc
|
||||
rmdir "${D}"/var/cache/lxc "${D}"/var/cache || die "rmdir failed"
|
||||
|
||||
find "${D}" -name '*.la' -delete
|
||||
|
||||
# Gentoo-specific additions!
|
||||
newinitd "${FILESDIR}/${PN}.initd.7" ${PN}
|
||||
|
||||
# Remember to compare our systemd unit file with the upstream one
|
||||
# config/init/systemd/lxc.service.in
|
||||
systemd_newunit "${FILESDIR}"/${PN}_at.service.4 "lxc@.service"
|
||||
|
||||
DOC_CONTENTS="
|
||||
For openrc, there is an init script provided with the package.
|
||||
You _should_ only need to symlink /etc/init.d/lxc to
|
||||
/etc/init.d/lxc.configname to start the container defined in
|
||||
/etc/lxc/configname.conf.
|
||||
|
||||
Correspondingly, for systemd a service file lxc@.service is installed.
|
||||
Enable and start lxc@configname in order to start the container defined
|
||||
in /etc/lxc/configname.conf.
|
||||
|
||||
If you want checkpoint/restore functionality, please install criu
|
||||
(sys-process/criu)."
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST go-jira-1.0.17.tar.gz 1382832 BLAKE2B 17cada8407b5136ec3b84d9f43c67cb25a893bdfeae7309bc15eb479954ba3ce7df4bc1248782a0bd1874b08b48a68a8e69a1651960c10d6260b22c63a0a8147 SHA512 8abbe6233413d12495399446adbb02d6a37aedf2a2b1a860c403b6e210f5e1f44fa01dfe937d86241486cb4a56c52530eff1c582d59f5ddde4b466a6908fd020
|
||||
DIST go-jira-1.0.18.tar.gz 1296612 BLAKE2B f88bbb57e3b775f8b2426574dd104d3b4683dfe90a991bf2f49eb1ae69b8281e0a381a30d42dcac1630e19482e2f04fb323098f379aca40f420644ba4e8e52ff SHA512 8421f176207f7b836d261734065c92aa43909564c0265792be0c2cf14a3751a800c4840bc93f860eee8433594542f4dc5ca57ae4bb3808b8282a9ed991418f5a
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="gopkg.in/Netflix-Skunkworks/go-jira.v1"
|
||||
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="A simple JIRA commandline client in Go"
|
||||
HOMEPAGE="https://github.com/Netflix-Skunkworks/go-jira"
|
||||
SRC_URI="https://github.com/Netflix-Skunkworks/go-jira/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
pushd src/${EGO_PN} || die
|
||||
GOPATH="${WORKDIR}/${P}" go build -v -o jira cmd/jira/main.go || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/${EGO_PN}/jira
|
||||
dodoc src/${EGO_PN}/{CHANGELOG,README}.md
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST mkcert-1.0.1.tar.gz 1695474 BLAKE2B eeef86a3e626f044c7b83d86be55082ce256752d834bf1388890db18f74678df57f2fc0050874dd4ff9ec4b849aa5b8d339e09e6af7e08a8f0b5236e0ac7aa09 SHA512 9e4ebadf19134fee7bf637fbb402df46a70d1f99ad06685a6a49da929fdd61b1ae9bea6b3f287201f488aec90505c60a58b454abb2efe584114d814023789600
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mrueg@gentoo.org</email>
|
||||
<name>Manuel Rüger</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">FiloSottile/mkcert</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGO_PN="github.com/FiloSottile/mkcert"
|
||||
|
||||
inherit golang-build golang-vcs-snapshot
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="A zero-config tool to make locally trusted development certificates"
|
||||
HOMEPAGE="https://github.com/FiloSottile/mkcert"
|
||||
SRC_URI="https://github.com/FiloSottile/mkcert/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
pushd src/${EGO_PN} || die
|
||||
GOPATH="${S}" go install -v ${EGO_PN} || die
|
||||
popd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/mkcert
|
||||
dodoc src/${EGO_PN}/README.md
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
DIST tcl-core8.6.5-src.tar.gz 5846556 BLAKE2B 9c3c48acffc13be526b507fc19711b21e710a84642d37d494bb46a2d4ac9445a95749fd9556ffbda57d55f90bd566d0c9cd72a800a34f062616aacf57e811aa4 SHA512 b726f7d3193ad92ba64911b8c724d5454c5a93d5f5e95462ec0a6d8ccbbdf20093888f66c83956d7631392ca805c1a80430f102c0a932de3ed55311101e0e09f
|
||||
DIST tcl-core8.6.6-src.tar.gz 5868427 BLAKE2B 3444d474bfdc4958919dbf75527420614251e3cffb0d18fbbf547ffb83ead544f266b6ea868738ae40e02075cf31be6e753e0f89da02a2a81ededf09fc9dd2e6 SHA512 469a0221ed16569b70986cdde261d0c0df3bf64c493b8d6fc8368eb14597f7c2f6a01f082a1c8f27eb720618956e053cc97fbb9aaf7bb29cc96781cdc8e9518c
|
||||
DIST tcl-core8.6.7-src.tar.gz 5875027 BLAKE2B bc08e4e6639ba33176c8c1e670b957b8ad62a4790ace4ff8f8dc964f676ca87473c31c28f645d32a8287f844756fa224a077f96f1425f61b9872a4a0ae1429a1 SHA512 95c8c5bcb4fe604a77ca6ba9d49f9e90d156feaa9f3ab97661983f256ab54476b103ec8de01cd47231ed95e6df5e36d60514aed2ba5b8f3619cc5a3698ad3ee5
|
||||
DIST tcl-core8.6.8-src.tar.gz 5887483 BLAKE2B 2b8428652e451b817fe63a811f910001929cdcbc8a8361cdf4f7df8e13cbf9b18c94a91c22c0f09cc46dc0174a66c44774b485539a8f24c14faee6658547b6b8 SHA512 36e6079b582c205e8c89435b361ef96550541357f473aea2ca4e6f01bd84e50ebd1474a75a1ae90640b9a5b392fb01ddfa71f0fa28e409b3569d88c32b4ddb69
|
||||
DIST tcl8.5.17-src.tar.gz 4546317 BLAKE2B 27031dd3bd5790d03692e77edf91eb7fae8a40d8d193d8c8ce4e79b21f90e683bfc9d5b71764760223987fb163be844e6096d0aea1058b8ce255731d97e2a0ea SHA512 ad5ddb4cd6378fd6bbea8cd85ceb1cf90392b2e8c49fbfb3e4b35c81d3ae3e3f087697c41fcba8c8e06de1d9e7539397e26d58b864dc01ba65abe4ba4efa9568
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/unix/tcl.m4
|
||||
+++ b/unix/tcl.m4
|
||||
@@ -1402,7 +1402,7 @@
|
||||
# get rid of the warnings.
|
||||
#CFLAGS_OPTIMIZE="${CFLAGS_OPTIMIZE} -D__NO_STRING_INLINES -D__NO_MATH_INLINES"
|
||||
|
||||
- SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared'
|
||||
+ SHLIB_LD='${CC} ${CFLAGS} ${LDFLAGS} -shared -fPIC -Wl,-soname,${@}'
|
||||
DL_OBJS="tclLoadDl.o"
|
||||
DL_LIBS="-ldl"
|
||||
LDFLAGS="$LDFLAGS -Wl,--export-dynamic"
|
@ -0,0 +1,15 @@
|
||||
--- a/unix/tcl.m4
|
||||
+++ b/unix/tcl.m4
|
||||
@@ -2470,12 +2470,9 @@
|
||||
#--------------------------------------------------------------------
|
||||
# On a few very rare systems, all of the libm.a stuff is
|
||||
# already in libc.a. Set compiler flags accordingly.
|
||||
- # Also, Linux requires the "ieee" library for math to work
|
||||
- # right (and it must appear before "-lm").
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
AC_CHECK_FUNC(sin, MATH_LIBS="", MATH_LIBS="-lm")
|
||||
- AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Interactive UNIX requires -linet instead of -lsocket, plus it
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib multilib-minimal toolchain-funcs versionator
|
||||
|
||||
MY_P="${PN}${PV}"
|
||||
|
||||
DESCRIPTION="Tool Command Language"
|
||||
HOMEPAGE="http://www.tcl.tk/"
|
||||
SRC_URI="mirror://sourceforge/tcl/${PN}-core${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0/8.6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug +threads"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SPARENT="${WORKDIR}/${MY_P}"
|
||||
S="${SPARENT}"/unix
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.5.13-multilib.patch
|
||||
"${FILESDIR}"/${PN}-8.6.8-conf.patch # Bug 125971
|
||||
"${FILESDIR}"/${PN}-8.6.8-libieee.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find \
|
||||
"${SPARENT}"/compat/* \
|
||||
"${SPARENT}"/doc/try.n \
|
||||
-delete || die
|
||||
|
||||
pushd "${SPARENT}" &>/dev/null || die
|
||||
default
|
||||
popd &>/dev/null || die
|
||||
|
||||
# workaround stack check issues, bug #280934
|
||||
use hppa && append-cflags "-DTCL_NO_STACK_CHECK=1"
|
||||
|
||||
tc-export CC
|
||||
|
||||
sed \
|
||||
-e '/chmod/s:555:755:g' \
|
||||
-i Makefile.in || die
|
||||
|
||||
sed \
|
||||
-e 's:-O[2s]\?::g' \
|
||||
-i tcl.m4 || die
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
|
||||
eautoconf
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# We went ahead and deleted the whole compat/ subdir which means
|
||||
# the configure tests to detect broken versions need to pass (else
|
||||
# we'll fail to build). This comes up when cross-compiling, but
|
||||
# might as well get a minor configure speed up normally.
|
||||
export ac_cv_func_memcmp_working="yes"
|
||||
export tcl_cv_str{str,toul,tod}_unbroken="ok"
|
||||
export tcl_cv_strtod_buggy="no"
|
||||
|
||||
econf \
|
||||
$(use_enable threads) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
#short version number
|
||||
local v1=$(get_version_component_range 1-2)
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
S= default
|
||||
# fix the tclConfig.sh to eliminate refs to the build directory
|
||||
# and drop unnecessary -L inclusion to default system libdir
|
||||
|
||||
sed \
|
||||
-e "/^TCL_BUILD_LIB_SPEC=/s:-L$(pwd) *::g" \
|
||||
-e "/^TCL_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TCL_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tcl${v1}/include:g" \
|
||||
-e "/^TCL_BUILD_STUB_LIB_SPEC=/s:-L$(pwd) *::g" \
|
||||
-e "/^TCL_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TCL_BUILD_STUB_LIB_PATH=/s:$(pwd):${EPREFIX}/usr/${mylibdir}:g" \
|
||||
-e "/^TCL_LIB_FILE=/s:'libtcl${v1}..TCL_DBGX..so':\"libtcl${v1}\$\{TCL_DBGX\}.so\":g" \
|
||||
-i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
|
||||
if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
|
||||
sed \
|
||||
-e "/^TCL_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
|
||||
-e "/^TCL_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
|
||||
-i "${ED}"/usr/${mylibdir}/tclConfig.sh || die
|
||||
fi
|
||||
|
||||
# install private headers
|
||||
insinto /usr/${mylibdir}/tcl${v1}/include/unix
|
||||
doins *.h
|
||||
insinto /usr/${mylibdir}/tcl${v1}/include/generic
|
||||
doins "${SPARENT}"/generic/*.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tcl${v1}/include/generic/{tcl,tclDecls,tclPlatDecls}.h || die
|
||||
|
||||
# install symlink for libraries
|
||||
dosym libtcl${v1}$(get_libname) /usr/${mylibdir}/libtcl$(get_libname)
|
||||
dosym libtclstub${v1}.a /usr/${mylibdir}/libtclstub.a
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
dosym tclsh${v1} /usr/bin/tclsh
|
||||
dodoc "${SPARENT}"/{ChangeLog*,README,changes}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
for version in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least 8.6 ${version}; then
|
||||
echo
|
||||
ewarn "You're upgrading from <${P}, you must recompile the other"
|
||||
ewarn "packages on your system that link with tcl after the upgrade"
|
||||
ewarn "completes. To perform this action, please run revdep-rebuild"
|
||||
ewarn "in package app-portage/gentoolkit."
|
||||
ewarn "If you have dev-lang/tk and dev-tcltk/tclx installed you should"
|
||||
ewarn "upgrade them before this recompilation, too,"
|
||||
echo
|
||||
fi
|
||||
done
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
--- a/unix/tcl.m4
|
||||
+++ b/unix/tcl.m4
|
||||
@@ -2470,12 +2470,9 @@
|
||||
#--------------------------------------------------------------------
|
||||
# On a few very rare systems, all of the libm.a stuff is
|
||||
# already in libc.a. Set compiler flags accordingly.
|
||||
- # Also, Linux requires the "ieee" library for math to work
|
||||
- # right (and it must appear before "-lm").
|
||||
#--------------------------------------------------------------------
|
||||
|
||||
AC_CHECK_FUNC(sin, MATH_LIBS="", MATH_LIBS="-lm")
|
||||
- AC_CHECK_LIB(ieee, main, [MATH_LIBS="-lieee $MATH_LIBS"])
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# Interactive UNIX requires -linet instead of -lsocket, plus it
|
@ -0,0 +1,146 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools eutils multilib multilib-minimal prefix toolchain-funcs versionator virtualx
|
||||
|
||||
MY_P="${PN}${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Tk Widget Set"
|
||||
HOMEPAGE="http://www.tcl.tk/"
|
||||
SRC_URI="mirror://sourceforge/tcl/${MY_P}-src.tar.gz"
|
||||
|
||||
LICENSE="tcltk"
|
||||
SLOT="0/8.6"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug +threads truetype aqua xscreensaver"
|
||||
|
||||
RDEPEND="
|
||||
!aqua? (
|
||||
>=media-libs/fontconfig-2.10.92[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
||||
>=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]
|
||||
truetype? ( >=x11-libs/libXft-2.3.1-r1[${MULTILIB_USEDEP}] )
|
||||
xscreensaver? ( >=x11-libs/libXScrnSaver-1.2.2-r1[${MULTILIB_USEDEP}] )
|
||||
)
|
||||
~dev-lang/tcl-${PV}:0=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
!aqua? ( x11-base/xorg-proto )"
|
||||
|
||||
# Not bumped to 8.6
|
||||
#RESTRICT=test
|
||||
|
||||
SPARENT="${WORKDIR}/${MY_P}"
|
||||
S="${SPARENT}"/unix
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-8.5.11-fedora-xft.patch
|
||||
"${FILESDIR}"/${PN}-8.5.13-multilib.patch
|
||||
"${FILESDIR}"/${PN}-8.4.15-aqua.patch
|
||||
"${FILESDIR}"/${PN}-8.5.14-conf.patch # Bug 125971
|
||||
"${FILESDIR}"/${PN}-8.6.8-libieee.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
find \
|
||||
"${SPARENT}"/compat/* \
|
||||
-delete || die
|
||||
|
||||
pushd "${SPARENT}" &>/dev/null || die
|
||||
default
|
||||
popd &>/dev/null || die
|
||||
eprefixify Makefile.in
|
||||
|
||||
# Make sure we use the right pkg-config, and link against fontconfig
|
||||
# (since the code base uses Fc* functions).
|
||||
sed \
|
||||
-e 's/FT_New_Face/XftFontOpen/g' \
|
||||
-e "s:\<pkg-config\>:$(tc-getPKG_CONFIG):" \
|
||||
-e 's:xft freetype2:xft freetype2 fontconfig:' \
|
||||
-i configure.in || die
|
||||
rm configure || die
|
||||
|
||||
tc-export CC
|
||||
|
||||
sed \
|
||||
-e '/chmod/s:555:755:g' \
|
||||
-i Makefile.in || die
|
||||
|
||||
sed \
|
||||
-e 's:-O[2s]\?::g' \
|
||||
-i tcl.m4 || die
|
||||
|
||||
mv configure.{in,ac} || die
|
||||
|
||||
eautoconf
|
||||
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
if tc-is-cross-compiler ; then
|
||||
export ac_cv_func_strtod=yes
|
||||
export tcl_cv_strtod_buggy=1
|
||||
fi
|
||||
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
econf \
|
||||
--with-tcl="${EPREFIX}/usr/${mylibdir}" \
|
||||
$(use_enable threads) \
|
||||
$(use_enable aqua) \
|
||||
$(use_enable truetype xft) \
|
||||
$(use_enable xscreensaver xss) \
|
||||
$(use_enable debug symbols)
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
virtx emake test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
#short version number
|
||||
local v1=$(get_version_component_range 1-2)
|
||||
local mylibdir=$(get_libdir)
|
||||
|
||||
S= default
|
||||
|
||||
# normalize $S path, bug #280766 (pkgcore)
|
||||
local nS="$(cd "${S}"; pwd)"
|
||||
|
||||
# fix the tkConfig.sh to eliminate refs to the build directory
|
||||
# and drop unnecessary -L inclusion to default system libdir
|
||||
|
||||
sed \
|
||||
-e "/^TK_BUILD_LIB_SPEC=/s:-L${S}-\w*\.\w* ::g" \
|
||||
-e "/^TK_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TK_SRC_DIR=/s:${SPARENT}:${EPREFIX}/usr/${mylibdir}/tk${v1}/include:g" \
|
||||
-e "/^TK_BUILD_STUB_LIB_SPEC=/s:-L${S}-\w*\.\w* *::g" \
|
||||
-e "/^TK_STUB_LIB_SPEC=/s:-L${EPREFIX}/usr/${mylibdir} *::g" \
|
||||
-e "/^TK_BUILD_STUB_LIB_PATH=/s:${S}-\w*\.\w*:${EPREFIX}/usr/${mylibdir}:g" \
|
||||
-e "/^TK_LIB_FILE=/s:'libtk${v1}..TK_DBGX..so':\"libk${v1}\$\{TK_DBGX\}.so\":g" \
|
||||
-i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
|
||||
if use prefix && [[ ${CHOST} != *-darwin* && ${CHOST} != *-mint* ]] ; then
|
||||
sed \
|
||||
-e "/^TK_CC_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|g" \
|
||||
-e "/^TK_LD_SEARCH_FLAGS=/s|'$|:${EPREFIX}/usr/${mylibdir}'|" \
|
||||
-i "${ED}"/usr/${mylibdir}/tkConfig.sh || die
|
||||
fi
|
||||
|
||||
# install private headers
|
||||
insinto /usr/${mylibdir}/tk${v1}/include/unix
|
||||
doins "${S}"/*.h
|
||||
insinto /usr/${mylibdir}/tk${v1}/include/generic
|
||||
doins "${SPARENT}"/generic/*.h
|
||||
rm -f "${ED}"/usr/${mylibdir}/tk${v1}/include/generic/{tk,tkDecls,tkPlatDecls}.h || die
|
||||
|
||||
# install symlink for libraries
|
||||
dosym libtk${v1}$(get_libname) /usr/${mylibdir}/libtk$(get_libname)
|
||||
dosym libtkstub${v1}.a /usr/${mylibdir}/libtkstub.a
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
dosym wish${v1} /usr/bin/wish
|
||||
dodoc "${SPARENT}"/{ChangeLog*,README,changes}
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST fribidi-0.19.5.tar.bz2 625034 BLAKE2B 74929614cc07a574ffaddcde4bcbfd09dd107362a9f82502b940f6be08bf61a2004237429695184d1c59667a3689d5e01787586cdbc536fb17c3c093b7fb22a2 SHA512 0a1216d3ff23f76dd90a1fa5b1eadd1276cfedc07bd636e345df23911d2e23bc3780a5ba2e32f2025b517f7137135fb3de6d337f872932466efe480ece364e43
|
||||
DIST fribidi-0.19.6.tar.bz2 639022 BLAKE2B cf17ec580d93807e7720f7833bcac2e5ffaa16dd52505e1a3158d6d6fc6af5111ad11d75b15c7837185d04b48f18ca72b6b903962b084c5a7f5fbcc0bcf7f1bb SHA512 0661cf8e0985edfd5bf02c8de32432bf2faacadcaf35aef4e039a28f802a0468288e76b60231ebe7b54f909bd4d3ecc31a1fc94e83d434ae16dd21de6089629e
|
||||
DIST fribidi-0.19.7.tar.bz2 648299 BLAKE2B 496d010f29dd8fc3d349ad3f89d60a596dfceaa5350663442d5965cb09bc7a23e2ab8a876d7ca5b05ec3f4c5e178060cae2b493ccc46a6cdfc022d139e778259 SHA512 4bfdda43d961030a8a2ae2c98d2ca5d43c1b59633fa0987920c5537ec69f3f624204ceacc4c474d878cbb417ee2d9e708dfe169cfce6ad584d2f2d5122678b63
|
||||
DIST fribidi-1.0.5.tar.bz2 2082617 BLAKE2B 99b088a37600d1b3e556b4dd978cafb04af0fea9c7db8ed9b0aa90d6a6a60f8ca312c214151ce386d2d61ae382d6ff0e6ae240bd44dfde28eb8c25a5c5f4cd1e SHA512 c8fb32468be4c461832d586d6c6af65fad1cfe9d5b2fed405f247d6974425ccedeb21ad11609fbcabc3ae5d635d78d88c12d201a4d19ef997e9497054afcdeb2
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- Makefile.am
|
||||
+++ Makefile.am
|
||||
@@ -9,7 +9,7 @@
|
||||
##############################################################################
|
||||
|
||||
## The order of subdirs is important, don't change without a reason.
|
||||
-SUBDIRS = gen.tab charset lib bin doc test
|
||||
+SUBDIRS = gen.tab charset lib bin test
|
||||
|
||||
EXTRA_DIST = bootstrap ChangeLog.old
|
||||
|
@ -1,22 +0,0 @@
|
||||
From 78dc3af68ed0e1aafe54c176b28dadee66eb306c Mon Sep 17 00:00:00 2001
|
||||
From: Behdad Esfahbod <behdad@behdad.org>
|
||||
Date: Thu, 06 Dec 2012 17:17:53 +0000
|
||||
Subject: Fix theoretically possible overflow
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=884000
|
||||
---
|
||||
diff --git a/bin/fribidi-main.c b/bin/fribidi-main.c
|
||||
index ac9e2ff..dd27f0d 100644
|
||||
--- a/bin/fribidi-main.c
|
||||
+++ b/bin/fribidi-main.c
|
||||
@@ -519,7 +519,7 @@ main (
|
||||
idx++;
|
||||
}
|
||||
#endif /* !FRIBIDI_MAIN_USE_ICONV_H */
|
||||
- if (wid < 0 && idx > st + 1)
|
||||
+ if (wid < 0 && idx - st > 1)
|
||||
idx--;
|
||||
inlen = idx - st;
|
||||
|
||||
--
|
||||
cgit v0.9.0.2-2-gbebe
|
@ -1,20 +0,0 @@
|
||||
diff -ur fribidi-0.19.6.old/lib/common.h fribidi-0.19.6/lib/common.h
|
||||
--- fribidi-0.19.6.old/lib/common.h 2012-12-30 00:12:59.000000000 +0000
|
||||
+++ fribidi-0.19.6/lib/common.h 2014-05-03 11:04:19.969727962 +0100
|
||||
@@ -130,14 +130,8 @@
|
||||
/* FRIBIDI_CHUNK_SIZE is the number of bytes in each chunk of memory being
|
||||
* allocated for data structure pools. */
|
||||
#ifndef FRIBIDI_CHUNK_SIZE
|
||||
-# if HAVE_ASM_PAGE_H
|
||||
-# ifndef __FRIBIDI_DOC
|
||||
-# include <asm/page.h>
|
||||
-# endif /* __FRIBIDI_DOC */
|
||||
-# define FRIBIDI_CHUNK_SIZE (PAGE_SIZE - 16)
|
||||
-# else /* !HAVE_ASM_PAGE_H */
|
||||
-# define FRIBIDI_CHUNK_SIZE (4096 - 16)
|
||||
-# endif /* !HAVE_ASM_PAGE_H */
|
||||
+# include <unistd.h>
|
||||
+# define FRIBIDI_CHUNK_SIZE (sysconf(_SC_PAGESIZE) - 16)
|
||||
#else /* FRIBIDI_CHUNK_SIZE */
|
||||
# if FRIBIDI_CHUNK_SIZE < 256
|
||||
# error FRIBIDI_CHUNK_SIZE now should define the size of a chunk in bytes.
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils
|
||||
|
||||
DESCRIPTION="A free implementation of the unicode bidirectional algorithm"
|
||||
HOMEPAGE="https://fribidi.org/"
|
||||
SRC_URI="https://github.com/fribidi/${PN}/releases/download/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RESTRICT="test" #397347
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS="AUTHORS NEWS README ChangeLog THANKS TODO"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.19.2-nodoc.patch \
|
||||
"${FILESDIR}"/${P}-signedwarning.patch
|
||||
|
||||
# Fix compability with dev-libs/glib >= 2.31
|
||||
sed -i \
|
||||
-e '/include/s:<glib/gstrfuncs.h>:<glib.h>:' \
|
||||
-e '/include/s:<glib/gmem.h>:<glib.h>:' \
|
||||
charset/fribidi-char-sets.c lib/mem.h || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --with-glib=yes is required for #345621 to ensure "Requires: glib-2.0" is
|
||||
# present in /usr/lib/pkgconfig/fribidi.pc
|
||||
econf \
|
||||
$(use_enable static-libs static) \
|
||||
--with-glib=yes
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
prune_libtool_files
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
|
||||
inherit autotools eutils autotools-multilib
|
||||
|
||||
DESCRIPTION="A free implementation of the unicode bidirectional algorithm"
|
||||
HOMEPAGE="https://fribidi.org/"
|
||||
SRC_URI="https://github.com/fribidi/${PN}/releases/download/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RESTRICT="test" #397347
|
||||
|
||||
RDEPEND=">=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS NEWS README ChangeLog THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${PN}-0.19.2-nodoc.patch \
|
||||
"${FILESDIR}"/${P}-page-size-header.patch
|
||||
|
||||
# Fix compability with dev-libs/glib >= 2.31
|
||||
sed -i \
|
||||
-e '/include/s:<glib/gstrfuncs.h>:<glib.h>:' \
|
||||
-e '/include/s:<glib/gmem.h>:<glib.h>:' \
|
||||
charset/fribidi-char-sets.c lib/mem.h || die
|
||||
|
||||
autotools-multilib_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# --with-glib=yes is required for #345621 to ensure "Requires: glib-2.0" is
|
||||
# present in /usr/lib/pkgconfig/fribidi.pc
|
||||
local myeconfargs=( --with-glib=yes )
|
||||
autotools-multilib_src_configure
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="A free implementation of the unicode bidirectional algorithm"
|
||||
HOMEPAGE="https://fribidi.org/"
|
||||
SRC_URI="https://github.com/fribidi/fribidi/releases/download/v${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig[${MULTILIB_USEDEP}]"
|
||||
|
||||
DOCS=( AUTHORS NEWS README ChangeLog THANKS )
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
--enable-shared
|
||||
$(use_enable static-libs static)
|
||||
--disable-debug
|
||||
)
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils multilib-minimal preserve-libs
|
||||
|
||||
DESCRIPTION="A library for manipulating integer points bounded by linear constraints"
|
||||
HOMEPAGE="http://isl.gforge.inria.fr/"
|
||||
SRC_URI="http://isl.gforge.inria.fr/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/19"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/gmp-5.1.3-r1[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/xz-utils
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( ChangeLog AUTHORS doc/manual.pdf )
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-0.19-gdb-autoload-dir.patch
|
||||
|
||||
# m4/ax_create_pkgconfig_info.m4 is broken but avoid eautoreconf
|
||||
# https://groups.google.com/group/isl-development/t/37ad876557e50f2c
|
||||
sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die #382737
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
preserve_old_lib \
|
||||
/usr/$(get_libdir)/libisl$(get_libname 14) \
|
||||
/usr/$(get_libdir)/libisl$(get_libname 15)
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
preserve_old_lib_notify \
|
||||
/usr/$(get_libdir)/libisl$(get_libname 14) \
|
||||
/usr/$(get_libdir)/libisl$(get_libname 15)
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST catkin_pkg-0.4.2-gh.tar.gz 52930 BLAKE2B 2b8589441d241197c661975c07c60856c614c4c328e441e6fbb1cb41ea2919f57864f67198b684eba7183004671df0980ddcf0070a53099074433166b5d7db20 SHA512 cb47771172d88792bc7039f072175a6f410aa046e2611ccc75e46bda388d620ac0059e0fa9e087fbb7f2833600a7233d714c1aeeab65e264606d8ae2e64d76bb
|
||||
DIST catkin_pkg-0.4.6-gh.tar.gz 60713 BLAKE2B 88442adafcedd90a53a37c5aa3632d06dd88c1c685427708e7801d2a6702b229dfc3f81ac3dfb0ac6ad7c932865b9a61b8c6da28165acef8fa45859cd3a8aaf6 SHA512 d95362a56680f3ca1eb33299e041d6a0a8bbe35bb4a20f411c3b846a2b6fe91f583ffa7a1ed1884604a420dcc1b5e88fe3336ebfebe9a51a7a9f2c8a80f79f8f
|
||||
DIST catkin_pkg-0.4.7-gh.tar.gz 60765 BLAKE2B 905de7f4f013f8e7d6472b5159cb0e9ac82bb06dfca0308a7a5f8881402a721d987a016f7980f7a435a7122c4771311f82f56f460949370ecd93057ef8a8bb25 SHA512 1e947c09aa4789d414de74bed7b1aa3d5f5d16d22a8a4609f656b47e51b7318fdd21e003f8bf65355728abaf54a016ce2d78b79cc4ab8bd7c3e048b66c0c0f6e
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy{,3} )
|
||||
|
||||
SCM=""
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SCM="git-r3"
|
||||
EGIT_REPO_URI="https://github.com/ros-infrastructure/catkin_pkg"
|
||||
fi
|
||||
|
||||
inherit ${SCM} distutils-r1
|
||||
|
||||
DESCRIPTION="Standalone Python library for the catkin package system"
|
||||
HOMEPAGE="http://wiki.ros.org/catkin_pkg"
|
||||
if [ "${PV#9999}" != "${PV}" ] ; then
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/ros-infrastructure/catkin_pkg/archive/${PV}.tar.gz -> ${P}-gh.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
fi
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/flake8[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${RDEPEND}
|
||||
!<dev-util/catkin-0.7.14"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/catkin_prefix2.patch"
|
||||
"${FILESDIR}/argparse.patch"
|
||||
"${FILESDIR}/ros_packages.patch"
|
||||
"${FILESDIR}/infinite_loop3.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
nosetests -s --tests test || die
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST Fabric-1.10.0.tar.gz 208969 BLAKE2B 08ddc1a43a34436e857595415b66d9f38d769647858d93258d454673be3be3f8da84ab3e6c89e526449cb6b89e05651ccebf65d648aaa9277337d342af7c1926 SHA512 991341dfb3f71e938c2a2e30f5bc158be84cb1600ab64c4f7c5c49decd0a38bc57615f9e07edfbed70d9ca796592d7c1a4f7f3e25a40c4d31049015df928b2e3
|
||||
DIST Fabric-1.12.0.tar.gz 232840 BLAKE2B 97d27261db631c8b4f89ba3e93a0e97aead841423d036dcdb00921b15a9b598428262de49e7ae2d0e960bf16ceb1297a526c124b2f39df9b3db4251a8af8d95b SHA512 cc07e811873c296c7e33ddadb00af3b4cbd1a87b2617b82505758e6b646e20e55edafe76cd969f3b2a7931a2deb4daefe8e44a7d6fe6ec67e5d9923d6c64e95e
|
||||
DIST Fabric-1.14.0.tar.gz 219294 BLAKE2B e4f8512fd5f84dacccdafbde51ed109fd7128954635ea67ed7461f686769c107cfa6bf0181921aea5db214ffb9fb52c7f0de88c5edbbdd63258e8c280e37c70d SHA512 3bb90597356ac033e5a9bba668ec8b080ee10cac31f54b1e89b6e2e21550ba5f2341e774ed9ff52c3a4ecbc3bae3206d155c6bfe6678576caca8e439c7810ed9
|
||||
DIST fabric-1.12.0-completion.bash 4266 BLAKE2B b691b34d3a62ab8a70d184fe89150d50a0817df0619cfcb4a82dcda485b0a77bb33b5f7e548b1c50ddf8c9c9ae48721c9621e0ca6ed4396dea2f9a0e1ae61931 SHA512 2303e3b6a71ac8f6a61ce3bd464f3c950db8374b61a6375ccc6fbb2dc815a4a44509a034788862bd361ace7c0f401533cd5cee0fb6fca8d9ff7e0ffd143706a3
|
||||
DIST fabric-1.14.0-completion.bash 4266 BLAKE2B b691b34d3a62ab8a70d184fe89150d50a0817df0619cfcb4a82dcda485b0a77bb33b5f7e548b1c50ddf8c9c9ae48721c9621e0ca6ed4396dea2f9a0e1ae61931 SHA512 2303e3b6a71ac8f6a61ce3bd464f3c950db8374b61a6375ccc6fbb2dc815a4a44509a034788862bd361ace7c0f401533cd5cee0fb6fca8d9ff7e0ffd143706a3
|
||||
DIST fabric-2.2.1.tar.gz 145848 BLAKE2B 8717a2df6d6bac41db3923e85045e1248e4376784ecf35ef3c0dc4e44a6698266305463f535d8998e489e056a158835597ae9117af2de7e6a22e2437c21217dc SHA512 51e570f1a94131e59c0e2b28c7d56e92e3230acdcb5be7c9e1ef96031988aff853ab7f91082ba468f75bf8eaa83ba826372f522ee336dcf1f2665e8222831d87
|
||||
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Fabric"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A simple pythonic tool for remote execution and deployment"
|
||||
HOMEPAGE="http://fabfile.org https://pypi.org/project/Fabric/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/paramiko-1.10[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-docs-2.7.6-r1:2.7
|
||||
dev-python/alabaster[${PYTHON_USEDEP}] )
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
<dev-python/fudge-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Re-set intersphinx_mapping for doc build
|
||||
if use doc; then
|
||||
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
|
||||
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
|
||||
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
|
||||
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
|
||||
sed -e "s|'http://docs.python.org/2.6', None|'${PYTHON_DOC}', '${PYTHON_DOC_INVENTORY}'|" \
|
||||
-e "s| 'www'| #'www'|" \
|
||||
-i sites/docs/conf.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build -b html -c sites/docs/ sites/docs/ sites/docs/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests tests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( sites/docs/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
MY_PN="Fabric"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
COMP_HASH="83d303e9fb352deaf4885b6db0781b3d9115e9c6"
|
||||
|
||||
DESCRIPTION="A simple pythonic tool for remote execution and deployment"
|
||||
HOMEPAGE="http://fabfile.org https://pypi.org/project/Fabric/"
|
||||
SRC_URI="
|
||||
mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz
|
||||
https://raw.githubusercontent.com/kbakulin/fabric-completion/${COMP_HASH}/fabric-completion.bash -> ${P}-completion.bash"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/paramiko-1.10[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-docs-2.7.6-r1:2.7
|
||||
dev-python/alabaster[${PYTHON_USEDEP}] )
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
<dev-python/fudge-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}] )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# Re-set intersphinx_mapping for doc build
|
||||
if use doc; then
|
||||
local PYTHON_DOC_ATOM=$(best_version --host-root dev-python/python-docs:2.7)
|
||||
local PYTHON_DOC_VERSION="${PYTHON_DOC_ATOM#dev-python/python-docs-}"
|
||||
local PYTHON_DOC="/usr/share/doc/python-docs-${PYTHON_DOC_VERSION}/html"
|
||||
local PYTHON_DOC_INVENTORY="${PYTHON_DOC}/objects.inv"
|
||||
sed \
|
||||
-e "s|'http://docs.python.org/2.6', None|'${PYTHON_DOC}', '${PYTHON_DOC_INVENTORY}'|" \
|
||||
-e "s| 'www'| #'www'|" \
|
||||
-i sites/docs/conf.py || die
|
||||
fi
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build -b html -c sites/docs/ sites/docs/ sites/docs/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# 1 failure, reported https://github.com/fabric/fabric/issues/1360
|
||||
sed \
|
||||
-e 's:test_abort_message_only_printed_once:_&:g' \
|
||||
-i tests/test_utils.py || die
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( sites/docs/html/. )
|
||||
distutils-r1_python_install_all
|
||||
newbashcomp "${DISTDIR}"/${P}-completion.bash ${PN}
|
||||
}
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_6 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple pythonic tool for remote execution and deployment"
|
||||
HOMEPAGE="http://fabfile.org https://pypi.org/project/Fabric/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc fab2 test"
|
||||
|
||||
RDEPEND="
|
||||
!fab2? ( !dev-python/fabric:0 )
|
||||
>=dev-python/cryptography-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/invoke-1.0[${PYTHON_USEDEP}]
|
||||
<dev-python/invoke-2.0
|
||||
>=dev-python/paramiko-2.4[${PYTHON_USEDEP}]"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
>=dev-python/alabaster-0.7[${PYTHON_USEDEP}]
|
||||
<dev-python/alabaster-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.4[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.7[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-relaxed[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_compile() {
|
||||
if use fab2; then
|
||||
export PACKAGE_AS_FABRIC2=1
|
||||
ln -s fabric fabric2 || die
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
if use doc; then
|
||||
sphinx-build -b html -c sites/docs/ sites/docs/ sites/docs/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} -m pytest -s -v || die "Tests failed"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( sites/docs/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1 @@
|
||||
DIST invoke-0.22.1.tar.gz 292418 BLAKE2B ae392d3cd84ff58a0e2f24a8beed7b0d556a45d55a11fb5522bfe11351d2b47512e7910a18bad2db1e1475410d9c15b0af4cedbae06240133d5d8b320c362669 SHA512 e1c55435923bbfae8eb8f22a7dff81ce3e127cecbc0c33c002acb94d49c6cd41b7fbaf54beea654c77873bbbc8bcc85c7a61cf5789af80758d5b3abd7d2a61b0
|
||||
DIST invoke-1.1.0.tar.gz 309811 BLAKE2B d1832d141a50d5ee9039614191cc02f266f440fd939463d572218a79ded9384ac8dc71798f716482021a0cc39611bc51b73973b67973d3cd5a3d208608091e17 SHA512 6b8ebee7d2dd68fe0134491b15a3b85fd6d1493c5b81f00ba577c6bcf3e4a264d74f68bdd0d40a4c5bdde18c021395ee335d10dde8e676bc9efb313e1ae9b55c
|
||||
|
@ -0,0 +1,29 @@
|
||||
This patch skips all tests related to PTYs: they all fail under portage
|
||||
because we don't have a valid TTY. Skip them. A bing chunk of them are
|
||||
skipped through "skipper()" under mock_pty. The rest of them are skipped
|
||||
by simulation windows (tests that don't run under windows don't run under
|
||||
portage either).
|
||||
diff --git a/tests/_util.py b/tests/_util.py
|
||||
index d954946b..27381cfd 100644
|
||||
--- a/tests/_util.py
|
||||
+++ b/tests/_util.py
|
||||
@@ -24,7 +24,7 @@ support = os.path.join(os.path.dirname(__file__), "_support")
|
||||
def skip_if_windows(fn):
|
||||
@wraps(fn)
|
||||
def wrapper(*args, **kwargs):
|
||||
- if WINDOWS:
|
||||
+ if True:
|
||||
skip()
|
||||
return fn(*args, **kwargs)
|
||||
|
||||
@@ -190,6 +190,10 @@ def mock_pty(
|
||||
return skip_if_windows
|
||||
|
||||
def decorator(f):
|
||||
+ def skipper(*args, **kwargs):
|
||||
+ skip()
|
||||
+
|
||||
+ return skipper
|
||||
import fcntl
|
||||
|
||||
ioctl_patch = patch("invoke.runners.fcntl.ioctl", wraps=fcntl.ioctl)
|
@ -1,15 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pythonic task execution"
|
||||
HOMEPAGE="https://pypi.org/project/invoke/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pythonic task execution"
|
||||
HOMEPAGE="https://pypi.org/project/invoke/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/mock
|
||||
>=dev-python/pytest-3.0
|
||||
dev-python/pytest-relaxed
|
||||
)"
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.1.0-skip-pty-tests.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
# -s flag is important: tests fail when pytest isn't in "no capture" mode
|
||||
${EPYTHON} -m pytest -s -v
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue