parent
5ce839ec06
commit
0f492598cf
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST containerd-1.4.11.tar.gz 6406769 BLAKE2B a4882223e2f71944a4d46fb0500a95248cfa33735447952f94c7d7350c2cb62b4911adc77f96559116cca462be02b7270185a0a3dfed5ce4c530465cca7e2078 SHA512 16aa6ae4209939754e122545b454d8b25027a3621464a4b4e0379480b35adf0efb318271f82cf2b959a62fffe531979c9bdfee9ac7d47d4b33269a6bafe2d070
|
||||
DIST containerd-1.4.12.tar.gz 6408402 BLAKE2B 559164a9d8680edea52040690da8e9b45777a39e471b1a7cc56ff4cf207cee7c83dc73969a8868db5d531f6e4e27cc7a975f073ffcf7f9c2768858b1a4001ddf SHA512 52dc4b0344eb4c6a6f1cc5690ff0c70ee052ef05c02300ed4a806458c40bb1970c26b374b0733b2c30a05c04a731d62a7c4206b1d768075d51c202912efd32b1
|
||||
DIST containerd-1.5.11.tar.gz 7494477 BLAKE2B 2415e85694e5f4410c8cee7be08d1d304adfcdb95c4078f7a92c710a5a11a29ae011daa70fcfa72c2fabf5b48b7cac962b39121f18bb027931ef77214e86b1aa SHA512 6348f4ae7f9b473aac7d5e7325ca4539345d09f01b95383cec28f09d5e5b0b831e25fe305c3a15050f1e1959948ee8dcad788a1d6dd4780cf3077132d5617ef8
|
||||
DIST containerd-1.6.2.tar.gz 8617797 BLAKE2B aaf16dbbd071f4eab45bc94cc50643b33665b5c4a4155ef007b7a974e04660235b69e12d99e78c24b27c09d45c0eb6e9be3d688b41592a54497a0a4e5f577c86 SHA512 3ff280ae0cf5a45b0c21a42290c94bad30d46bf8a5bbcef1024e3c67fde3345a31b23a88cdbb6025d526c93e2a0899e9b341c9b8ccbba381983de3d8a39b1046
|
||||
|
@ -0,0 +1,84 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
GIT_REVISION=de8046a5501db9e0e478e1c10cbcfb21af4c6b2d
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="A daemon to control runC"
|
||||
HOMEPAGE="https://containerd.io/"
|
||||
SRC_URI="https://github.com/containerd/containerd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="apparmor btrfs device-mapper +cri hardened +seccomp selinux test"
|
||||
|
||||
DEPEND="
|
||||
btrfs? ( sys-fs/btrfs-progs )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
"
|
||||
|
||||
# recommended version of runc is found in script/setup/runc-version
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
~app-containers/runc-1.1.0
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-go/go-md2man
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
# tests require root or docker
|
||||
# upstream does not recommend stripping binary
|
||||
RESTRICT+=" strip test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i \
|
||||
-e "s/-s -w//" \
|
||||
Makefile || die
|
||||
sed -i \
|
||||
-e "s:/usr/local:/usr:" \
|
||||
containerd.service || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local options=(
|
||||
$(usev apparmor)
|
||||
$(usex btrfs "" "no_btrfs")
|
||||
$(usex cri "" "no_cri")
|
||||
$(usex device-mapper "" "no_devmapper")
|
||||
$(usev seccomp)
|
||||
$(usev selinux)
|
||||
)
|
||||
|
||||
myemakeargs=(
|
||||
BUILDTAGS="${options[*]}"
|
||||
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')"
|
||||
REVISION="${GIT_REVISION}"
|
||||
VERSION=v${PV}
|
||||
)
|
||||
|
||||
# race condition in man target https://bugs.gentoo.org/765100
|
||||
# we need to explicitly specify GOFLAGS for "go run" to use vendor source
|
||||
emake "${myemakeargs[@]}" man -j1 #nowarn
|
||||
emake "${myemakeargs[@]}" all
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
doman man/*
|
||||
newinitd "${FILESDIR}"/${PN}.initd "${PN}"
|
||||
systemd_dounit containerd.service
|
||||
keepdir /var/lib/containerd
|
||||
|
||||
# we already installed manpages, remove markdown source
|
||||
# before installing docs directory
|
||||
rm -r docs/man || die
|
||||
|
||||
local DOCS=( ADOPTERS.md README.md RELEASES.md ROADMAP.md SCOPE.md docs/. )
|
||||
einstalldocs
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST docker-cli-20.10.12.tar.gz 7527161 BLAKE2B 34a90f6df9f43507461307817e72cfb9e37f88d00e6fc50b8b16f3db9c573e54edc2eb2641ff4e091a2a73e936f8844011520efe5aaec37a9eb9880f5f81c51a SHA512 ac7c997f5751f2e34b9bcb9f026d3d0c2cd58c32a13e9255536b0eb0d7eabd81c42f2d608c0fe7725322b619f2360818b08379e847d598dd0bec570602ad224f
|
||||
DIST docker-cli-20.10.14.tar.gz 7508390 BLAKE2B b268a329450540c2e94eced7e7b7bb9387cd208c68bde82607fc56e1f0529d8ca35bb8c16839154443d950c21b0625a13aa8547d9f3053ed19645da683f14419 SHA512 f8b7f1040eccd404e39ec33bcef8bb8423636b0695af65f84c0612e77223844892d219f82cfbb99ccd5326e228f8af27be1870d90ebace77810ea5fce9f86e4a
|
||||
DIST docker-cli-20.10.9.tar.gz 7525889 BLAKE2B 7b12f81ed98ed416fb00211b9e6d965ed3209fd83db17a98bef7fef0eb56b27f495093facb3d43e40ec651568a7d83dd484c014c998e046a57662087b1d7c2c6 SHA512 0a9bd36c139bb5e1cd4a975913aa5429ffce8c746d2104aa2a54d937c67073ddaa2a8a5e93d71d2d435459af58168de0e7e3a44fd452da535f3995738da206df
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public Lic
|
||||
EAPI=7
|
||||
GIT_COMMIT=a224086349
|
||||
EGO_PN="github.com/docker/cli"
|
||||
MY_PV=${PV/_/-}
|
||||
inherit bash-completion-r1 golang-vcs-snapshot
|
||||
|
||||
DESCRIPTION="the command line binary for docker"
|
||||
HOMEPAGE="https://www.docker.com/"
|
||||
SRC_URI="https://github.com/docker/cli/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="hardened"
|
||||
|
||||
RDEPEND="!<app-containers/docker-20.10.1"
|
||||
BDEPEND="
|
||||
>=dev-lang/go-1.16.6
|
||||
dev-go/go-md2man"
|
||||
|
||||
RESTRICT="installsources strip test"
|
||||
|
||||
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's@dockerd\?\.exe@@g' contrib/completion/bash/docker || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export DISABLE_WARN_OUTSIDE_CONTAINER=1
|
||||
export GOPATH="${WORKDIR}/${P}"
|
||||
# setup CFLAGS and LDFLAGS for separate build target
|
||||
# see https://github.com/tianon/docker-overlay/pull/10
|
||||
export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
|
||||
export CGO_LDFLAGS="-L${ESYSROOT}/usr/$(get_libdir)"
|
||||
emake \
|
||||
LDFLAGS="$(usex hardened '-extldflags -fno-PIC' '')" \
|
||||
VERSION="${PV}" \
|
||||
GITCOMMIT="${GIT_COMMIT}" \
|
||||
dynbinary
|
||||
|
||||
# build man pages
|
||||
# see "cli/scripts/docs/generate-man.sh" (which also does "go get" for go-md2man)
|
||||
mkdir -p ./man/man1 || die "mkdir failed"
|
||||
go build -o "${T}"/gen-manpages ./man ||
|
||||
die 'build gen-manpages failed'
|
||||
"${T}"/gen-manpages --root "$(pwd)" --target "$(pwd)"/man/man1 ||
|
||||
die 'gen-manpages failed'
|
||||
./man/md2man-all.sh -q ||
|
||||
die 'md2man-all.sh failed'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build/docker
|
||||
doman man/man*/*
|
||||
dobashcomp contrib/completion/bash/*
|
||||
bashcomp_alias docker dockerd
|
||||
insinto /usr/share/fish/vendor_completions.d/
|
||||
doins contrib/completion/fish/docker.fish
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins contrib/completion/zsh/_*
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST docker-20.10.12.tar.gz 11091999 BLAKE2B e3b1c40d2dcd2df9b158942759e035d53481dbd63c0fda188ec8564b0249402f5eff5f25fcb1a53c5d9af5b4c49f0919fc07f1f52d0b7333044c0a9c12631c21 SHA512 f4122c8cbc67e6b7703856dc76d6f15d7fab1b2001d4916b89958d5319c16d8b8445881841ef4804e8d47d64694184aec1be93e22d7baceb021c4a99c2c03753
|
||||
DIST docker-20.10.14.tar.gz 10989937 BLAKE2B 4b510408c8cf2aef3a9777996aadd024e61df519c6c83d8c59e066058fb082f72ee14405b011731cb3663abdf0759d8f005b3336f6e9b6430270a2e1ba337436 SHA512 94ee555337aaf96bb95ce8cbe8fe1d9c8b87fcd4f256d2af5082fc47915f7576882929c1211ef7fba0c754097bdef5e6df59abbdf77456d3babe139f4353ed21
|
||||
DIST docker-20.10.9.tar.gz 11083239 BLAKE2B 16dbd22b67ecd626b638406fffaec3c62eeee7dc93e661f982e12436afa10f230da4257a22a38ab1df366026033207d00e6571f3b853477852f3e14f24d9f567 SHA512 e4ae9e37633c821892e929e7a5f9dab652fe17f348a24cd37778bc4bfc33d99cdb347e2f575966364a37664dcfa83d1500f2bff7d0b0398a890f2039155a0c0c
|
||||
|
@ -0,0 +1,278 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EGO_PN=github.com/docker/docker
|
||||
MY_PV=${PV/_/-}
|
||||
GIT_COMMIT=87a90dc786
|
||||
inherit linux-info systemd udev golang-vcs-snapshot
|
||||
|
||||
DESCRIPTION="The core functions you need to create Docker images and run Docker containers"
|
||||
HOMEPAGE="https://www.docker.com/"
|
||||
SRC_URI="https://github.com/moby/moby/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="apparmor aufs btrfs +cli +container-init device-mapper hardened overlay seccomp"
|
||||
|
||||
DEPEND="
|
||||
acct-group/docker
|
||||
>=dev-db/sqlite-3.7.9:3
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
btrfs? ( >=sys-fs/btrfs-progs-3.16.1 )
|
||||
device-mapper? ( >=sys-fs/lvm2-2.02.89[thin] )
|
||||
seccomp? ( >=sys-libs/libseccomp-2.2.1 )
|
||||
"
|
||||
|
||||
# https://github.com/moby/moby/blob/master/project/PACKAGERS.md#runtime-dependencies
|
||||
# https://github.com/moby/moby/blob/master/project/PACKAGERS.md#optional-dependencies
|
||||
# https://github.com/moby/moby/tree/master//hack/dockerfile/install
|
||||
# make sure docker-proxy is pinned to exact version from ^,
|
||||
# for appropriate branchch/version of course
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
>=net-firewall/iptables-1.4
|
||||
sys-process/procps
|
||||
>=dev-vcs/git-1.7
|
||||
>=app-arch/xz-utils-4.9
|
||||
dev-libs/libltdl
|
||||
>=app-containers/containerd-1.4.12[apparmor?,btrfs?,device-mapper?,seccomp?]
|
||||
~app-containers/docker-proxy-0.8.0_p20210525
|
||||
cli? ( ~app-containers/docker-cli-${PV} )
|
||||
container-init? ( >=sys-process/tini-0.19.0[static] )
|
||||
"
|
||||
|
||||
# https://github.com/docker/docker/blob/master/project/PACKAGERS.md#build-dependencies
|
||||
BDEPEND="
|
||||
>=dev-lang/go-1.16.12
|
||||
dev-go/go-md2man
|
||||
virtual/pkgconfig
|
||||
"
|
||||
# tests require running dockerd as root and downloading containers
|
||||
RESTRICT="installsources strip test"
|
||||
|
||||
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
|
||||
# https://bugs.gentoo.org/748984 https://github.com/etcd-io/etcd/pull/12552
|
||||
PATCHES=(
|
||||
"${FILESDIR}/ppc64-buildmode.patch"
|
||||
)
|
||||
|
||||
# see "contrib/check-config.sh" from upstream's sources
|
||||
CONFIG_CHECK="
|
||||
~NAMESPACES ~NET_NS ~PID_NS ~IPC_NS ~UTS_NS
|
||||
~CGROUPS ~CGROUP_CPUACCT ~CGROUP_DEVICE ~CGROUP_FREEZER ~CGROUP_SCHED ~CPUSETS ~MEMCG
|
||||
~CGROUP_NET_PRIO
|
||||
~KEYS
|
||||
~VETH ~BRIDGE ~BRIDGE_NETFILTER
|
||||
~IP_NF_FILTER ~IP_NF_TARGET_MASQUERADE ~NETFILTER_XT_MARK
|
||||
~NETFILTER_NETLINK ~NETFILTER_XT_MATCH_ADDRTYPE ~NETFILTER_XT_MATCH_CONNTRACK ~NETFILTER_XT_MATCH_IPVS
|
||||
~IP_NF_NAT ~NF_NAT
|
||||
~POSIX_MQUEUE
|
||||
|
||||
~USER_NS
|
||||
~SECCOMP
|
||||
~CGROUP_PIDS
|
||||
~MEMCG_SWAP
|
||||
|
||||
~BLK_CGROUP ~BLK_DEV_THROTTLING
|
||||
~CGROUP_PERF
|
||||
~CGROUP_HUGETLB
|
||||
~NET_CLS_CGROUP
|
||||
~CFS_BANDWIDTH ~FAIR_GROUP_SCHED
|
||||
~IP_VS ~IP_VS_PROTO_TCP ~IP_VS_PROTO_UDP ~IP_VS_NFCT ~IP_VS_RR
|
||||
|
||||
~VXLAN
|
||||
~CRYPTO ~CRYPTO_AEAD ~CRYPTO_GCM ~CRYPTO_SEQIV ~CRYPTO_GHASH ~XFRM_ALGO ~XFRM_USER
|
||||
~IPVLAN
|
||||
~MACVLAN ~DUMMY
|
||||
|
||||
~OVERLAY_FS ~!OVERLAY_FS_REDIRECT_DIR
|
||||
~EXT4_FS_SECURITY
|
||||
~EXT4_FS_POSIX_ACL
|
||||
"
|
||||
|
||||
ERROR_KEYS="CONFIG_KEYS: is mandatory"
|
||||
ERROR_MEMCG_SWAP="CONFIG_MEMCG_SWAP: is required if you wish to limit swap usage of containers"
|
||||
ERROR_RESOURCE_COUNTERS="CONFIG_RESOURCE_COUNTERS: is optional for container statistics gathering"
|
||||
|
||||
ERROR_BLK_CGROUP="CONFIG_BLK_CGROUP: is optional for container statistics gathering"
|
||||
ERROR_IOSCHED_CFQ="CONFIG_IOSCHED_CFQ: is optional for container statistics gathering"
|
||||
ERROR_CGROUP_PERF="CONFIG_CGROUP_PERF: is optional for container statistics gathering"
|
||||
ERROR_CFS_BANDWIDTH="CONFIG_CFS_BANDWIDTH: is optional for container statistics gathering"
|
||||
ERROR_XFRM_ALGO="CONFIG_XFRM_ALGO: is optional for secure networks"
|
||||
ERROR_XFRM_USER="CONFIG_XFRM_USER: is optional for secure networks"
|
||||
|
||||
pkg_setup() {
|
||||
|
||||
if kernel_is lt 4 5; then
|
||||
CONFIG_CHECK+="
|
||||
~MEMCG_KMEM
|
||||
"
|
||||
ERROR_MEMCG_KMEM="CONFIG_MEMCG_KMEM: is optional"
|
||||
fi
|
||||
|
||||
if kernel_is lt 4 7; then
|
||||
CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES
|
||||
"
|
||||
fi
|
||||
|
||||
if kernel_is lt 5 1; then
|
||||
CONFIG_CHECK+="
|
||||
~NF_NAT_IPV4
|
||||
~IOSCHED_CFQ
|
||||
~CFQ_GROUP_IOSCHED
|
||||
"
|
||||
fi
|
||||
|
||||
if kernel_is lt 5 2; then
|
||||
CONFIG_CHECK+="
|
||||
~NF_NAT_NEEDED
|
||||
"
|
||||
fi
|
||||
|
||||
if kernel_is lt 5 8; then
|
||||
CONFIG_CHECK+="
|
||||
~MEMCG_SWAP_ENABLED
|
||||
"
|
||||
fi
|
||||
|
||||
if use aufs; then
|
||||
CONFIG_CHECK+="
|
||||
~AUFS_FS
|
||||
~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
|
||||
"
|
||||
ERROR_AUFS_FS="CONFIG_AUFS_FS: is required to be set if and only if aufs is patched to kernel instead of using standalone"
|
||||
fi
|
||||
|
||||
if use btrfs; then
|
||||
CONFIG_CHECK+="
|
||||
~BTRFS_FS
|
||||
~BTRFS_FS_POSIX_ACL
|
||||
"
|
||||
fi
|
||||
|
||||
if use device-mapper; then
|
||||
CONFIG_CHECK+="
|
||||
~BLK_DEV_DM ~DM_THIN_PROVISIONING ~EXT4_FS ~EXT4_FS_POSIX_ACL ~EXT4_FS_SECURITY
|
||||
"
|
||||
fi
|
||||
|
||||
linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export DOCKER_GITCOMMIT="${GIT_COMMIT}"
|
||||
export GOPATH="${WORKDIR}/${P}"
|
||||
export VERSION=${PV}
|
||||
|
||||
# setup CFLAGS and LDFLAGS for separate build target
|
||||
# see https://github.com/tianon/docker-overlay/pull/10
|
||||
export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
|
||||
export CGO_LDFLAGS="-L${ESYSROOT}/usr/$(get_libdir)"
|
||||
|
||||
# let's set up some optional features :)
|
||||
export DOCKER_BUILDTAGS=''
|
||||
for gd in aufs btrfs device-mapper overlay; do
|
||||
if ! use $gd; then
|
||||
DOCKER_BUILDTAGS+=" exclude_graphdriver_${gd//-/}"
|
||||
fi
|
||||
done
|
||||
|
||||
for tag in apparmor seccomp; do
|
||||
if use $tag; then
|
||||
DOCKER_BUILDTAGS+=" $tag"
|
||||
fi
|
||||
done
|
||||
|
||||
if use hardened; then
|
||||
sed -i "s/EXTLDFLAGS_STATIC='/&-fno-PIC /" hack/make.sh || die
|
||||
grep -q -- '-fno-PIC' hack/make.sh || die 'hardened sed failed'
|
||||
sed "s/LDFLAGS_STATIC_DOCKER='/&-extldflags -fno-PIC /" \
|
||||
-i hack/make/dynbinary-daemon || die
|
||||
grep -q -- '-fno-PIC' hack/make/dynbinary-daemon || die 'hardened sed failed'
|
||||
fi
|
||||
|
||||
# build daemon
|
||||
./hack/make.sh dynbinary || die 'dynbinary failed'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosym containerd /usr/bin/docker-containerd
|
||||
dosym containerd-shim /usr/bin/docker-containerd-shim
|
||||
dosym runc /usr/bin/docker-runc
|
||||
use container-init && dosym tini /usr/bin/docker-init
|
||||
newbin bundles/dynbinary-daemon/dockerd dockerd
|
||||
|
||||
newinitd contrib/init/openrc/docker.initd docker
|
||||
newconfd contrib/init/openrc/docker.confd docker
|
||||
|
||||
systemd_dounit contrib/init/systemd/docker.{service,socket}
|
||||
|
||||
udev_dorules contrib/udev/*.rules
|
||||
|
||||
dodoc AUTHORS CONTRIBUTING.md CHANGELOG.md NOTICE README.md
|
||||
dodoc -r docs/*
|
||||
|
||||
# note: intentionally not using "doins" so that we preserve +x bits
|
||||
dodir /usr/share/${PN}/contrib
|
||||
cp -R contrib/* "${ED}/usr/share/${PN}/contrib"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
elog
|
||||
elog "To use Docker, the Docker daemon must be running as root. To automatically"
|
||||
elog "start the Docker daemon at boot:"
|
||||
if systemd_is_booted || has_version sys-apps/systemd; then
|
||||
elog " systemctl enable docker.service"
|
||||
else
|
||||
elog " rc-update add docker default"
|
||||
fi
|
||||
elog
|
||||
elog "To use Docker as a non-root user, add yourself to the 'docker' group:"
|
||||
elog ' usermod -aG docker <youruser>'
|
||||
elog
|
||||
|
||||
if use device-mapper; then
|
||||
elog " Devicemapper storage driver has been deprecated"
|
||||
elog " It will be removed in a future release"
|
||||
elog
|
||||
fi
|
||||
|
||||
if use overlay; then
|
||||
elog " Overlay storage driver/USEflag has been deprecated"
|
||||
elog " in favor of overlay2 (enabled unconditionally)"
|
||||
elog
|
||||
fi
|
||||
|
||||
if has_version sys-fs/zfs; then
|
||||
elog " ZFS storage driver is available"
|
||||
elog " Check https://docs.docker.com/storage/storagedriver/zfs-driver for more info"
|
||||
elog
|
||||
fi
|
||||
|
||||
if use cli; then
|
||||
ewarn "Starting with docker 20.10.2, docker has been split into"
|
||||
ewarn "two packages upstream, so Gentoo has followed suit."
|
||||
ewarn
|
||||
ewarn "app-containers/docker contains the daemon and"
|
||||
ewarn "app-containers/docker-cli contains the docker command."
|
||||
ewarn
|
||||
ewarn "docker currently installs docker-cli using the cli use flag."
|
||||
ewarn
|
||||
ewarn "This use flag is temporary, so you need to take the"
|
||||
ewarn "following actions:"
|
||||
ewarn
|
||||
ewarn "First, disable the cli use flag for app-containers/docker"
|
||||
ewarn
|
||||
ewarn "Then, if you need docker-cli and docker on the same machine,"
|
||||
ewarn "run the following command:"
|
||||
ewarn
|
||||
ewarn "# emerge --noreplace docker-cli"
|
||||
ewarn
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST runc-1.0.2.tar.gz 2374156 BLAKE2B 526520adb7127e46e7258de75e66a15a5aac216a2a2fcb91f4d9c5da393892242c4d93c5f5483ab111bf29eed7d8f0c8c138ae83a22809d72802a981dcda0395 SHA512 434abd6d7ad2508c2272b627d8aeeb28ecd8461899bff463e7d2c7abbc0f0cbb2e0bafbfe81fc534fad506b1acb4bda3e05639ecd908bc9d0d2e9356f1e56e26
|
||||
DIST runc-1.0.3.tar.gz 2375241 BLAKE2B 0fb9368ab5442462001c15a67a71821133ad90d16cac5aac760e52b2477db69c0a5dd59df42601119b19ede508889796c994a24624f88ec6a1a29dad19e0bf33 SHA512 64a1894c2b4ed5a68b185e88548fc9fbbd01d8a9495feed59fb196aa06763d64cfb71ca6cbc09d1defa26a0d94ad58626296585741f23df2e290147ba6c4c26e
|
||||
DIST runc-1.1.0.tar.gz 2332427 BLAKE2B 3a194221d0bab813249e23c5f725255e453ce6843c2cb7e1a40a3c6fdd90a1a805c18ebadf56ee5d535f253025716aae6ab3f437140a3cc69e854e750e205e0c SHA512 542ea87c488fd120f2b77e53e2c197f09cd504fbe55dbe47008aaa5b0565aa300fc49f8cadc24ead796e45a4e95a30dfb08bfeefa58dc370145a218fd2869e41
|
||||
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module linux-info
|
||||
|
||||
# update on bump, look for https://github.com/docker\
|
||||
# docker-ce/blob/<docker ver OR branch>/components/engine/hack/dockerfile/install/runc.installer
|
||||
RUNC_COMMIT=067aaf8548d78269dcb2c13b856775e27c410f9c
|
||||
CONFIG_CHECK="~USER_NS"
|
||||
|
||||
DESCRIPTION="runc container cli tools"
|
||||
HOMEPAGE="http://github.com/opencontainers/runc/"
|
||||
MY_PV="${PV/_/-}"
|
||||
SRC_URI="https://github.com/opencontainers/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="apparmor hardened +kmem +seccomp test"
|
||||
|
||||
DEPEND="seccomp? ( sys-libs/libseccomp )"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!app-emulation/docker-runc
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-go/go-md2man
|
||||
test? ( "${RDEPEND}" )
|
||||
"
|
||||
|
||||
# tests need busybox binary, and portage namespace
|
||||
# sandboxing disabled: mount-sandbox pid-sandbox ipc-sandbox
|
||||
# majority of tests pass
|
||||
RESTRICT+=" test"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_compile() {
|
||||
# Taken from app-containers/docker-1.7.0-r1
|
||||
export CGO_CFLAGS="-I${ESYSROOT}/usr/include"
|
||||
export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')
|
||||
-L${ESYSROOT}/usr/$(get_libdir)"
|
||||
|
||||
# build up optional flags
|
||||
local options=(
|
||||
$(usev apparmor)
|
||||
$(usev seccomp)
|
||||
$(usex kmem '' 'nokmem')
|
||||
)
|
||||
|
||||
myemakeargs=(
|
||||
BUILDTAGS="${options[*]}"
|
||||
COMMIT="${RUNC_COMMIT}"
|
||||
)
|
||||
|
||||
emake "${myemakeargs[@]}" runc man
|
||||
}
|
||||
|
||||
src_install() {
|
||||
myemakeargs+=(
|
||||
PREFIX="${ED}/usr"
|
||||
BINDIR="${ED}/usr/bin"
|
||||
MANDIR="${ED}/usr/share/man"
|
||||
)
|
||||
emake "${myemakeargs[@]}" install install-man install-bash
|
||||
|
||||
local DOCS=( README.md PRINCIPLES.md docs/. )
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake "${myemakeargs[@]}" localunittest
|
||||
}
|
Binary file not shown.
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="The GNU Emacs Lisp Reference Manual"
|
||||
HOMEPAGE="https://www.gnu.org/software/emacs/manual/"
|
||||
# taken from doc/lispref/ (and some files from doc/emacs/) of emacs-${PV}
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||
S="${WORKDIR}/lispref"
|
||||
|
||||
LICENSE="FDL-1.3+"
|
||||
SLOT="27"
|
||||
KEYWORDS="~amd64 ~ppc ~riscv ~x86"
|
||||
|
||||
BDEPEND="sys-apps/texinfo"
|
||||
|
||||
PATCHES=("${FILESDIR}/${P}-direntry.patch")
|
||||
|
||||
src_compile() {
|
||||
makeinfo -I "${WORKDIR}"/emacs elisp.texi || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
doinfo elisp${SLOT}.info*
|
||||
dodoc README
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
--- lispref/elisp.texi
|
||||
+++ lispref/elisp.texi
|
||||
@@ -1,6 +1,6 @@
|
||||
\input texinfo @c -*-texinfo-*-
|
||||
@c %**start of header
|
||||
-@setfilename ../../info/elisp.info
|
||||
+@setfilename elisp27.info
|
||||
|
||||
@ifset VOL1
|
||||
@set volflag
|
||||
@@ -117,9 +117,9 @@
|
||||
@end quotation
|
||||
@end copying
|
||||
|
||||
-@dircategory Emacs lisp
|
||||
+@dircategory Emacs
|
||||
@direntry
|
||||
-* Elisp: (elisp). The Emacs Lisp Reference Manual.
|
||||
+* Elisp 27: (elisp27). The Emacs Lisp Reference Manual for Emacs 27.
|
||||
@end direntry
|
||||
|
||||
@titlepage
|
Binary file not shown.
Binary file not shown.
@ -1,208 +0,0 @@
|
||||
From e669d8bdc18a04154b10f0a21ee3f7c4141d2a42 Mon Sep 17 00:00:00 2001
|
||||
Message-Id: <e669d8bdc18a04154b10f0a21ee3f7c4141d2a42.1642669122.git.mprivozn@redhat.com>
|
||||
From: Michal Privoznik <mprivozn@redhat.com>
|
||||
Date: Thu, 20 Jan 2022 09:39:58 +0100
|
||||
Subject: [PATCH] do not use sysconfig
|
||||
|
||||
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
|
||||
---
|
||||
src/interface/virtinterfaced.service.in | 1 -
|
||||
src/libxl/virtxend.service.in | 1 -
|
||||
src/locking/virtlockd.service.in | 1 -
|
||||
src/logging/virtlogd.service.in | 1 -
|
||||
src/lxc/virtlxcd.service.in | 1 -
|
||||
src/network/virtnetworkd.service.in | 1 -
|
||||
src/node_device/virtnodedevd.service.in | 1 -
|
||||
src/nwfilter/virtnwfilterd.service.in | 1 -
|
||||
src/qemu/virtqemud.service.in | 1 -
|
||||
src/remote/libvirtd.service.in | 1 -
|
||||
src/remote/virtproxyd.service.in | 1 -
|
||||
src/secret/virtsecretd.service.in | 1 -
|
||||
src/storage/virtstoraged.service.in | 1 -
|
||||
src/vbox/virtvboxd.service.in | 1 -
|
||||
tools/libvirt-guests.service.in | 1 -
|
||||
15 files changed, 15 deletions(-)
|
||||
|
||||
diff --git a/src/interface/virtinterfaced.service.in b/src/interface/virtinterfaced.service.in
|
||||
index 3d944e17a9..1d94f3c943 100644
|
||||
--- a/src/interface/virtinterfaced.service.in
|
||||
+++ b/src/interface/virtinterfaced.service.in
|
||||
@@ -14,7 +14,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTINTERFACED_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtinterfaced
|
||||
ExecStart=@sbindir@/virtinterfaced $VIRTINTERFACED_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
diff --git a/src/libxl/virtxend.service.in b/src/libxl/virtxend.service.in
|
||||
index 2b5163e179..4edfdeb719 100644
|
||||
--- a/src/libxl/virtxend.service.in
|
||||
+++ b/src/libxl/virtxend.service.in
|
||||
@@ -19,7 +19,6 @@ ConditionPathExists=/proc/xen/capabilities
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTXEND_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtxend
|
||||
ExecStart=@sbindir@/virtxend $VIRTXEND_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
diff --git a/src/locking/virtlockd.service.in b/src/locking/virtlockd.service.in
|
||||
index 19271d1e7d..87193952cb 100644
|
||||
--- a/src/locking/virtlockd.service.in
|
||||
+++ b/src/locking/virtlockd.service.in
|
||||
@@ -8,7 +8,6 @@ Documentation=https://libvirt.org
|
||||
|
||||
[Service]
|
||||
Environment=VIRTLOCKD_ARGS=
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtlockd
|
||||
ExecStart=@sbindir@/virtlockd $VIRTLOCKD_ARGS
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
# Losing the locks is a really bad thing that will
|
||||
diff --git a/src/logging/virtlogd.service.in b/src/logging/virtlogd.service.in
|
||||
index 8ab5478517..a734e0ef9d 100644
|
||||
--- a/src/logging/virtlogd.service.in
|
||||
+++ b/src/logging/virtlogd.service.in
|
||||
@@ -7,7 +7,6 @@ Documentation=man:virtlogd(8)
|
||||
Documentation=https://libvirt.org
|
||||
|
||||
[Service]
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtlogd
|
||||
ExecStart=@sbindir@/virtlogd $VIRTLOGD_ARGS
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
# Losing the logs is a really bad thing that will
|
||||
diff --git a/src/lxc/virtlxcd.service.in b/src/lxc/virtlxcd.service.in
|
||||
index d58bde9f5d..c5c2bb31e4 100644
|
||||
--- a/src/lxc/virtlxcd.service.in
|
||||
+++ b/src/lxc/virtlxcd.service.in
|
||||
@@ -19,7 +19,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTLXCD_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtlxcd
|
||||
ExecStart=@sbindir@/virtlxcd $VIRTLXCD_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
diff --git a/src/network/virtnetworkd.service.in b/src/network/virtnetworkd.service.in
|
||||
index 3decfbbf1d..c7c57fdd44 100644
|
||||
--- a/src/network/virtnetworkd.service.in
|
||||
+++ b/src/network/virtnetworkd.service.in
|
||||
@@ -17,7 +17,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTNETWORKD_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtnetworkd
|
||||
ExecStart=@sbindir@/virtnetworkd $VIRTNETWORKD_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
diff --git a/src/node_device/virtnodedevd.service.in b/src/node_device/virtnodedevd.service.in
|
||||
index 688cf89822..41c7a0f0f0 100644
|
||||
--- a/src/node_device/virtnodedevd.service.in
|
||||
+++ b/src/node_device/virtnodedevd.service.in
|
||||
@@ -14,7 +14,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTNODEDEVD_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtnodedevd
|
||||
ExecStart=@sbindir@/virtnodedevd $VIRTNODEDEVD_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
diff --git a/src/nwfilter/virtnwfilterd.service.in b/src/nwfilter/virtnwfilterd.service.in
|
||||
index 36d00b58f0..d422bfeca1 100644
|
||||
--- a/src/nwfilter/virtnwfilterd.service.in
|
||||
+++ b/src/nwfilter/virtnwfilterd.service.in
|
||||
@@ -14,7 +14,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTNWFILTERD_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtnwfilterd
|
||||
ExecStart=@sbindir@/virtnwfilterd $VIRTNWFILTERD_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
diff --git a/src/qemu/virtqemud.service.in b/src/qemu/virtqemud.service.in
|
||||
index 551eb4d405..4c0344aad2 100644
|
||||
--- a/src/qemu/virtqemud.service.in
|
||||
+++ b/src/qemu/virtqemud.service.in
|
||||
@@ -21,7 +21,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTQEMUD_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtqemud
|
||||
ExecStart=@sbindir@/virtqemud $VIRTQEMUD_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
diff --git a/src/remote/libvirtd.service.in b/src/remote/libvirtd.service.in
|
||||
index 5d4d412fcc..27cfc34b90 100644
|
||||
--- a/src/remote/libvirtd.service.in
|
||||
+++ b/src/remote/libvirtd.service.in
|
||||
@@ -29,7 +29,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=LIBVIRTD_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/libvirtd
|
||||
ExecStart=@sbindir@/libvirtd $LIBVIRTD_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
KillMode=process
|
||||
diff --git a/src/remote/virtproxyd.service.in b/src/remote/virtproxyd.service.in
|
||||
index 10e8cf7263..5fc887fe4a 100644
|
||||
--- a/src/remote/virtproxyd.service.in
|
||||
+++ b/src/remote/virtproxyd.service.in
|
||||
@@ -14,7 +14,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTPROXYD_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtproxyd
|
||||
ExecStart=@sbindir@/virtproxyd $VIRTPROXYD_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
diff --git a/src/secret/virtsecretd.service.in b/src/secret/virtsecretd.service.in
|
||||
index cbd63fe0b2..bdf96ea0b1 100644
|
||||
--- a/src/secret/virtsecretd.service.in
|
||||
+++ b/src/secret/virtsecretd.service.in
|
||||
@@ -14,7 +14,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTSECRETD_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtsecretd
|
||||
ExecStart=@sbindir@/virtsecretd $VIRTSECRETD_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
diff --git a/src/storage/virtstoraged.service.in b/src/storage/virtstoraged.service.in
|
||||
index f72f8426fd..6e865e53e7 100644
|
||||
--- a/src/storage/virtstoraged.service.in
|
||||
+++ b/src/storage/virtstoraged.service.in
|
||||
@@ -16,7 +16,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTSTORAGED_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtstoraged
|
||||
ExecStart=@sbindir@/virtstoraged $VIRTSTORAGED_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
diff --git a/src/vbox/virtvboxd.service.in b/src/vbox/virtvboxd.service.in
|
||||
index cfdafc39d2..a1108e60f8 100644
|
||||
--- a/src/vbox/virtvboxd.service.in
|
||||
+++ b/src/vbox/virtvboxd.service.in
|
||||
@@ -15,7 +15,6 @@ Documentation=https://libvirt.org
|
||||
[Service]
|
||||
Type=notify
|
||||
Environment=VIRTVBOXD_ARGS="--timeout 120"
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/virtvboxd
|
||||
ExecStart=@sbindir@/virtvboxd $VIRTVBOXD_ARGS
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=on-failure
|
||||
diff --git a/tools/libvirt-guests.service.in b/tools/libvirt-guests.service.in
|
||||
index 1a9b233e11..765b777536 100644
|
||||
--- a/tools/libvirt-guests.service.in
|
||||
+++ b/tools/libvirt-guests.service.in
|
||||
@@ -10,7 +10,6 @@ Documentation=man:libvirt-guests(8)
|
||||
Documentation=https://libvirt.org
|
||||
|
||||
[Service]
|
||||
-EnvironmentFile=-@sysconfdir@/sysconfig/libvirt-guests
|
||||
# Hack just call traditional service until we factor
|
||||
# out the code
|
||||
ExecStart=@libexecdir@/libvirt-guests.sh start
|
||||
--
|
||||
2.34.1
|
||||
|
Binary file not shown.
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="Cross-platform content manager assistant for the PS Vita"
|
||||
HOMEPAGE="https://github.com/codestation/qcma"
|
||||
SRC_URI="https://github.com/codestation/qcma/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="+ffmpeg"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsql:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/vitamtp:0
|
||||
ffmpeg? ( media-video/ffmpeg:0 )
|
||||
x11-libs/libnotify:0
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# http://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225051.html
|
||||
sed -r \
|
||||
-e '/av_register_all/d' \
|
||||
-i "${S}"/common/avdecoder.h || die "Failed to fix ffmpeg stuff"
|
||||
rm ChangeLog || die "Failed to rm changelog" # Triggers QA warn (symlink to nowhere)
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
lrelease common/resources/translations/*.ts
|
||||
eqmake5 PREFIX="${D}"/usr qcma.pro CONFIG+="QT5_SUFFIX" $(usex ffmpeg "" CONFIG+="DISABLE_FFMPEG")
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils vcs-snapshot
|
||||
|
||||
GIT_COMMIT="65f0eab8ca0640447d2e84cdc5fadc66d2c07efb"
|
||||
|
||||
DESCRIPTION="Cross-platform content manager assistant for the PS Vita"
|
||||
HOMEPAGE="https://github.com/codestation/qcma"
|
||||
SRC_URI="https://github.com/codestation/qcma/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="+ffmpeg"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/glib:2
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtsql:5
|
||||
dev-qt/qtwidgets:5
|
||||
media-libs/vitamtp:0
|
||||
ffmpeg? ( media-video/ffmpeg:0 )
|
||||
x11-libs/libnotify:0
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# http://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225051.html
|
||||
sed -r \
|
||||
-e '/av_register_all/d' \
|
||||
-i "${S}"/common/avdecoder.h || die "Failed to fix ffmpeg stuff"
|
||||
rm ChangeLog || die "Failed to rm changelog" # Triggers QA warn (symlink to nowhere)
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
lrelease common/resources/translations/*.ts
|
||||
eqmake5 PREFIX="${D}"/usr qcma.pro CONFIG+="QT5_SUFFIX" $(usex ffmpeg "" CONFIG+="DISABLE_FFMPEG")
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST discount-2.2.7.tar.bz2 102277 BLAKE2B 58ec3bce2b8fc41a090d9b81b4326cbf54e36bf774f4f9ef63c2a2b1d34ba464e9f0a021f19b4fef165da426742af3045a631af005371d1a8a4cd81dc0be3367 SHA512 1b61eb7c625bb50da0dbe97350a0ccbb15930ccaef449c4b4659950907bce3c0564dabf20578379a7fdd0e375f5d4d5b61acd34db474a85e942b60373688bd08
|
||||
DIST discount-2.2.7b.tar.bz2 102685 BLAKE2B 1af4d47248e4a65ea1517b03d0b1a0b15eb79bdb7d1f00779515e2a1113b2a923f5d9e5d0a93d63cfc6c7257f11d3825d9baa55c7f2252fe3d2513785ab67ae3 SHA512 d68ffb85ae3e6d6ce8a2e506609bd4cb042617e350d113dd632a1ed81adb0b076df75ca4e70e97d43f3a3a2907555a9f28087a3762f41806289c526af3c55806
|
||||
|
@ -1,84 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
inherit desktop java-pkg-2 java-ant-2 java-utils-2
|
||||
|
||||
MY_PV="${PV/_beta/b}"
|
||||
|
||||
DESCRIPTION="Java GUI for managing BibTeX and other bibliographies"
|
||||
HOMEPAGE="https://www.jabref.org/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/JabRef-${MY_PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc"
|
||||
|
||||
COMMON_DEP="
|
||||
dev-java/antlr:0
|
||||
dev-java/antlr:3
|
||||
dev-java/fontbox:1.7
|
||||
dev-java/jempbox:1.7
|
||||
dev-java/log4j:0
|
||||
dev-java/spin:0
|
||||
dev-java/microba:0
|
||||
>=dev-java/glazedlists-1.8.0:0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
virtual/jdk:1.8
|
||||
${COMMON_DEP}"
|
||||
|
||||
RDEPEND="
|
||||
virtual/jre:1.8
|
||||
${COMMON_DEP}"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# If we cleanup it complains about missing jarbundler
|
||||
# BUILD FAILED
|
||||
# taskdef class net.sourceforge.jarbundler.JarBundler cannot be found
|
||||
# java-pkg_clean
|
||||
|
||||
# Remove bundled dependencies.
|
||||
rm lib/antlr*.jar || die
|
||||
rm lib/fontbox*.jar || die
|
||||
rm lib/jempbox*.jar || die
|
||||
rm lib/spin.jar || die
|
||||
rm lib/microba.jar || die
|
||||
rm lib/glazedlists*.jar || die
|
||||
|
||||
# Remove unjarlib target (do this only once we have removed all
|
||||
# bundled dependencies in lib).
|
||||
#sed -i -e 's:depends="build, unjarlib":depends="build":' build.xml
|
||||
|
||||
# Fix license file copy operation for microba bundled lib.
|
||||
sed -i -e 's:^.*microba-license.*::' build.xml
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local EXTERNAL_JARS="antlr,antlr-3,fontbox-1.7,jempbox-1.7,log4j,spin,microba,glazedlists"
|
||||
local CLASSPATH="$(java-pkg_getjars --with-dependencies ${EXTERNAL_JARS})"
|
||||
eant \
|
||||
-Dgentoo.classpath=${CLASSPATH} \
|
||||
jars \
|
||||
$(usex doc docs "")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar build/lib/JabRef-${MY_PV}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc build/docs/API
|
||||
dodoc src/txt/README
|
||||
|
||||
java-pkg_dolauncher ${PN} --main net.sf.jabref.JabRef
|
||||
newicon src/images/JabRef-icon-48.png JabRef-icon.png
|
||||
make_desktop_entry ${PN} JabRef JabRef-icon Office
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST xa-2.3.10.tar.gz 152433 BLAKE2B af9ab28e6596f6c96abd075779670955e7bfe79b3e9e18c5c75f35ffb166c705a0ebb60dcca1928c49a836eefcd7b15d12437579fbe645c0b5ce51e81da92d8d SHA512 08b9994e295495744d5252fa983b111f41d0447cdb32d0c065f8fbd942ffa0899476d6cfebe1162e4aa08b1d0a2d8df74c2a60987d2509b8bca45da670f4a67f
|
||||
DIST xa-2.3.13.tar.gz 155606 BLAKE2B 8196f8f88bee29dbab9ad026c0d4e3519159c4ed7579dc7db391c0bdd7b1bfe31e2884644258d863e299ac3b5fcc43718b3d95b9b7d7802541a9d58366728ffe SHA512 b8a4c1856e51bbe212b98be06895987d6fb926a229511a67ea90a934da1fcc84daf29bd289c3c4c2254d2bce345333bb92747947f3286376761613b2e181e99b
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="High-speed, two-pass portable 6502 cross-assembler"
|
||||
HOMEPAGE="https://www.floodgap.com/retrotech/xa/"
|
||||
SRC_URI="https://www.floodgap.com/retrotech/xa/dists/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.3.10-Makefile.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
tc-export CC
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}"/usr install
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Tests require an existing running SQL server and 'junit.jar.file' property
|
||||
JAVA_PKG_IUSE="doc examples source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="JDBC drivers with JNDI-bindable DataSources"
|
||||
HOMEPAGE="https://www.mchange.com/projects/c3p0/"
|
||||
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.src.tgz"
|
||||
LICENSE="|| ( EPL-1.0 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/log4j:0
|
||||
dev-java/mchange-commons:0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
${CP_DEPEND}
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
${CP_DEPEND}
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P}.src"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
|
||||
src_prepare() {
|
||||
java-pkg_clean
|
||||
java-pkg-2_src_prepare
|
||||
java-pkg_jar-from --into lib/ log4j
|
||||
java-pkg_jar-from --into lib/ mchange-commons
|
||||
|
||||
# Test sources interfere with Javadoc generation on JDK 11
|
||||
# Remove since the tests will never be run
|
||||
rm -r src/java/com/mchange/v2/c3p0/test ||
|
||||
die "Failed to remove unused test sources"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "build/${P}.jar"
|
||||
einstalldocs
|
||||
|
||||
use doc && java-pkg_dojavadoc build/apidocs
|
||||
use examples && java-pkg_doexamples src/java/com/mchange/v2/c3p0/example
|
||||
use source && java-pkg_dosrc src/java/com/mchange/v2
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST fop-2.0-src.zip 26381859 BLAKE2B 8500de6a23e93c14fdb4f27c59bafba27a64e6aaffb7a761f16de5bd523e2fdb83593ab53a66de79bf7b7d6c2b887ab97a34accb18be416b26448753babe2395 SHA512 428793303fcf143cffaecadc22cfdb8a065bad0108cceebcabc479d92dbe9834b4f81fd27f3e0314546d848e1960b2fe1a9d443999d8f336f7e87fce771beb7a
|
||||
DIST fop-2.7-src.tar.gz 26799877 BLAKE2B 00bcbd4cc915aad67c0dac54e85b7c5d10576115a0a8a16517846af249137c73b10c8b0ff161c9957f7c49686eefbf9777dc452b038573c996e29cbad951176a SHA512 bffbc0a97db8bbc826cf9af89fbf4a7e6f705585ea4915c0954df57c6d7af50d323387bb4bb9e2d13047826352d9eb7cbf4f23d5146ce246965b4c531e015633
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,154 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.apache.xmlgraphics:fop:2.7"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="XML Graphics Format Object Processor All-In-One"
|
||||
HOMEPAGE="https://xmlgraphics.apache.org/fop/"
|
||||
SRC_URI="mirror://apache/xmlgraphics/fop/source/fop-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.7"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/batik:1.14
|
||||
dev-java/commons-io:1
|
||||
dev-java/fontbox:0
|
||||
dev-java/qdox:1.12
|
||||
dev-java/sun-jai-bin:0
|
||||
dev-java/xmlgraphics-commons:2
|
||||
"
|
||||
|
||||
DEPEND="${CP_DEPEND}
|
||||
>=virtual/jdk-1.8:*
|
||||
dev-java/ant-core:0
|
||||
dev-java/sun-jai-bin:0
|
||||
test? (
|
||||
dev-java/mockito:0
|
||||
dev-java/pdfbox:0
|
||||
dev-java/xmlunit:1
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${CP_DEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DOCS=( NOTICE README )
|
||||
|
||||
S="${WORKDIR}/fop-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
java-pkg_clean
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
JAVA_SRC_DIR="fop-util/src/main/java"
|
||||
JAVA_JAR_FILENAME="fop-util.jar"
|
||||
java-pkg-simple_src_compile
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA+=":fop-util.jar"
|
||||
rm -r target || die
|
||||
|
||||
JAVA_SRC_DIR="fop-events/src/main/java"
|
||||
JAVA_RESOURCE_DIRS="fop-events/src/main/resources"
|
||||
JAVA_JAR_FILENAME="fop-events.jar"
|
||||
java-pkg-simple_src_compile
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA+=":fop-events.jar"
|
||||
rm -r target || die
|
||||
|
||||
JAVA_SRC_DIR="fop-core/src/main/java"
|
||||
JAVA_RESOURCE_DIRS="fop-core/src/main/resources"
|
||||
JAVA_MAIN_CLASS=$( sed -n 's:.*<mainClass>\(.*\)</mainClass>:\1:p' fop-core/pom.xml )
|
||||
JAVA_JAR_FILENAME="fop-core.jar"
|
||||
# Code generation according to
|
||||
# https://github.com/apache/xmlgraphics-fop/blob/fop-2_7/fop-core/pom.xml#L150-L219
|
||||
pushd fop-core/src/main/codegen/fonts >/dev/null || die
|
||||
local fonts=$(find . -name "Courier*.xml" \
|
||||
-o -name "Helvetica*.xml" \
|
||||
-o -name "Times*.xml" \
|
||||
-o -name "Symbol.xml" \
|
||||
-o -name "ZapfDingbats.xml"
|
||||
)
|
||||
for font in ${fonts}; do \
|
||||
xalan -XSLTC \
|
||||
-IN $font \
|
||||
-XSL font-file.xsl \
|
||||
-OUT ../../java/org/apache/fop/fonts/base14/${font//.xml}.java || die
|
||||
done
|
||||
xalan -XSLTC \
|
||||
-IN encodings.xml \
|
||||
-XSL code-point-mapping.xsl \
|
||||
-OUT ../../java/org/apache/fop/fonts/base14/CodePointMapping.java || die
|
||||
popd
|
||||
java-pkg-simple_src_compile
|
||||
rm -r target || die
|
||||
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA+=":fop-core.jar"
|
||||
|
||||
# Update "fop-core.jar" with "event-mode.xml" files produced manually
|
||||
# by running "mvn package".
|
||||
mkdir event-model && pushd $_ >/dev/null || die
|
||||
jar -xf "${FILESDIR}/fop-2.7-core-event-models.jar"
|
||||
popd
|
||||
jar -uf "fop-core.jar" -C event-model . || die
|
||||
# Upstream does this with maven-antrun-plugin:
|
||||
# https://github.com/apache/xmlgraphics-fop/blob/fop-2_7/fop-core/pom.xml#L263-L284
|
||||
|
||||
# public class EventProducerCollectorTask extends Task {
|
||||
#
|
||||
# private List<FileSet> filesets = new java.util.ArrayList<FileSet>();
|
||||
# private File destDir;
|
||||
# private File translationFile;
|
||||
|
||||
if use doc; then \
|
||||
JAVA_SRC_DIR=(
|
||||
"fop-util/src/main/java"
|
||||
"fop-events/src/main/java"
|
||||
"fop-core/src/main/java"
|
||||
)
|
||||
JAVA_JAR_FILENAME="ignoreme.jar"
|
||||
java-pkg-simple_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4,mockito,pdfbox,xmlunit-1"
|
||||
|
||||
JAVA_TEST_SRC_DIR="fop-events/src/test/java"
|
||||
JAVA_TEST_RUN_ONLY="org.apache.fop.events.BasicEventTestCase"
|
||||
|
||||
# This jar file was created manually from the output of "mvn test".
|
||||
# Upstream does this with maven-antrun-plugin
|
||||
jar -xf ${FILESDIR}/fop-2.7-test-event-model.jar || die
|
||||
|
||||
java-pkg-simple_src_test
|
||||
|
||||
JAVA_TEST_SRC_DIR="fop-core/src/test/java"
|
||||
JAVA_TEST_RESOURCE_DIRS="fop-core/src/test/resources"
|
||||
|
||||
# Testing fop-core seems to want a newer mockito:
|
||||
# error: cannot find symbol
|
||||
# import static org.mockito.ArgumentMatchers.anyInt;
|
||||
# java-pkg-simple_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
for module in fop-util fop-events fop-core ; do
|
||||
java-pkg_dojar $module.jar
|
||||
if use source; then
|
||||
java-pkg_dosrc "$module/src/main/java/*"
|
||||
fi
|
||||
done
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc target/api
|
||||
fi
|
||||
java-pkg_dolauncher "fop-${SLOT}" --main "org.apache.fop.cli.Main"
|
||||
einstalldocs
|
||||
}
|
@ -1,8 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://issues.apache.org/jira/projects/FOP/issues</bugs-to>
|
||||
<changelog>https://xmlgraphics.apache.org/fop/changes.html</changelog>
|
||||
<remote-id type="github">apache/xmlgraphics-fop</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST apache-log4j-2.17.1-src.tar.gz 11602282 BLAKE2B 6e6a69565ee28fc138ddb78258ac30b13a9be3f3baee64c3427b63b059c552d314be3c4a345ea297010d345c4dcb31d154aaea6cd2fc587512c6087c5dfe0745 SHA512 21cdfca54eb0d6af261a5ae89ff98197473d9c0203b0ab530f3aef6c90957bfb95a423983c8a19d7fbab05ec194b6fad8e46628e32270dd8b94ddd194a1cb177
|
||||
DIST apache-log4j-2.17.2-src.tar.gz 11680029 BLAKE2B 19baf31f4e00f0572fad810177d52bf3376f73a47a70ea251ce60a198f4bb322e6e97691f23b1ebb78e29f4eb6f0a36093bd2c6cb558486841d569b601d11015 SHA512 ae09c3af8662fcf5fdc4e7c7dd298e91ec85e90272b8247ce4ee60c7d4ecd48a4cd294fc9e51c0b307fbb58c677e61e31527eab4085debcc9b40919af0920176
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom log4j-1.2-api/pom.xml --download-uri mirror://apache/logging/log4j/2.17.2/apache-log4j-2.17.2-src.tar.gz --slot 2 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild log4j-12-api-2.17.2.ebuild
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.apache.logging.log4j:log4j-1.2-api:2.17.2"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-vintage junit-jupiter"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="The Apache Log4j 1.x Compatibility API"
|
||||
HOMEPAGE="https://logging.apache.org/log4j/2.x/"
|
||||
SRC_URI="mirror://apache/logging/log4j/${PV}/apache-log4j-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
# We don't have junit-vintage and junit-jupiter
|
||||
RESTRICT="test"
|
||||
|
||||
# Common dependencies
|
||||
# POM: log4j-1.2-api/pom.xml
|
||||
# org.apache.logging.log4j:log4j-api:2.17.2 -> >=dev-java/log4j-api-2.17.2:2
|
||||
# org.apache.logging.log4j:log4j-core:2.17.2 -> >=dev-java/log4j-core-2.17.2:2
|
||||
|
||||
CP_DEPEND="
|
||||
~dev-java/log4j-api-${PV}:2
|
||||
~dev-java/log4j-core-${PV}:2
|
||||
"
|
||||
|
||||
# Compile dependencies
|
||||
# POM: log4j-1.2-api/pom.xml
|
||||
# org.jboss.spec.javax.jms:jboss-jms-api_1.1_spec:1.0.1.Final -> >=dev-java/jboss-jms-api-1.0.1:1.1
|
||||
# POM: log4j-1.2-api/pom.xml
|
||||
# test? com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.13.1 -> >=dev-java/jackson-dataformat-xml-2.13.2:0
|
||||
# test? commons-io:commons-io:2.11.0 -> >=dev-java/commons-io-2.11.0:1
|
||||
# test? org.apache.commons:commons-lang3:3.12.0 -> >=dev-java/commons-lang-3.12.0:3.6
|
||||
# test? org.apache.felix:org.apache.felix.framework:5.6.12 -> !!!groupId-not-found!!!
|
||||
# test? org.apache.logging.log4j:log4j-api:2.17.2 -> >=dev-java/log4j-api-2.17.2:2
|
||||
# test? org.apache.logging.log4j:log4j-core:2.17.2 -> >=dev-java/log4j-core-2.17.2:2
|
||||
# test? org.apache.velocity:velocity:1.7 -> !!!artifactId-not-found!!!
|
||||
# test? org.eclipse.tycho:org.eclipse.osgi:3.13.0.v20180226-1711 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.jupiter:junit-jupiter-engine:5.8.2 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.vintage:junit-vintage-engine:5.8.2 -> !!!groupId-not-found!!!
|
||||
# test? oro:oro:2.0.8 -> >=dev-java/jakarta-oro-2.0.8:2.0
|
||||
|
||||
DEPEND="${CP_DEPEND}
|
||||
>=virtual/jdk-1.8:*
|
||||
dev-java/jboss-jms-api:1.1"
|
||||
# test? (
|
||||
# !!!artifactId-not-found!!!
|
||||
# !!!groupId-not-found!!!
|
||||
# >=dev-java/commons-io-2.11.0:1
|
||||
# >=dev-java/jackson-dataformat-xml-2.13.0:0
|
||||
# ~dev-java/log4j-api-${PV}:2
|
||||
# ~dev-java/log4j-core-${PV}:2
|
||||
# )
|
||||
#"
|
||||
|
||||
RDEPEND="${CP_DEPEND}
|
||||
>=virtual/jre-1.8:*"
|
||||
|
||||
DOCS=( {CONTRIBUTING,README,RELEASE-NOTES,SECURITY}.md )
|
||||
|
||||
S="${WORKDIR}/apache-log4j-${PV}-src"
|
||||
|
||||
JAVA_CLASSPATH_EXTRA="jboss-jms-api-1.1"
|
||||
JAVA_SRC_DIR="log4j-1.2-api/src/main/java"
|
||||
JAVA_RESOURCE_DIRS="log4j-1.2-api/src/main/resources"
|
||||
|
||||
# JAVA_TEST_GENTOO_CLASSPATH="jackson-dataformat-xml,commons-io-1,!!!groupId-not-found!!!,log4j-api-2,log4j-core-2,!!!artifactId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!"
|
||||
# JAVA_TEST_SRC_DIR="log4j-1.2-api/src/test/java"
|
||||
# JAVA_TEST_RESOURCE_DIRS=(
|
||||
# "log4j-1.2-api/src/test/resources"
|
||||
# )
|
||||
|
||||
src_install() {
|
||||
default # https://bugs.gentoo.org/789582
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST apache-log4j-2.17.1-src.tar.gz 11602282 BLAKE2B 6e6a69565ee28fc138ddb78258ac30b13a9be3f3baee64c3427b63b059c552d314be3c4a345ea297010d345c4dcb31d154aaea6cd2fc587512c6087c5dfe0745 SHA512 21cdfca54eb0d6af261a5ae89ff98197473d9c0203b0ab530f3aef6c90957bfb95a423983c8a19d7fbab05ec194b6fad8e46628e32270dd8b94ddd194a1cb177
|
||||
DIST apache-log4j-2.17.2-src.tar.gz 11680029 BLAKE2B 19baf31f4e00f0572fad810177d52bf3376f73a47a70ea251ce60a198f4bb322e6e97691f23b1ebb78e29f4eb6f0a36093bd2c6cb558486841d569b601d11015 SHA512 ae09c3af8662fcf5fdc4e7c7dd298e91ec85e90272b8247ce4ee60c7d4ecd48a4cd294fc9e51c0b307fbb58c677e61e31527eab4085debcc9b40919af0920176
|
||||
|
@ -0,0 +1,72 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom log4j-api/pom.xml --download-uri mirror://apache/logging/log4j/2.17.2/apache-log4j-2.17.2-src.tar.gz --slot 2 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild log4j-api-2.17.2.ebuild
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.apache.logging.log4j:log4j-api:2.17.2"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-vintage junit-jupiter"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="The Apache Log4j API"
|
||||
HOMEPAGE="https://logging.apache.org/log4j/2.x/"
|
||||
SRC_URI="mirror://apache/logging/log4j/${PV}/apache-log4j-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
# junit-{jupiter,vintage} is not available in ::gentoo
|
||||
RESTRICT="test"
|
||||
|
||||
# Compile dependencies
|
||||
# POM: ${PN}/pom.xml
|
||||
# org.osgi:org.osgi.core:4.3.1 -> >=dev-java/osgi-core-api-5.0.0:0
|
||||
# POM: ${PN}/pom.xml
|
||||
# test? com.fasterxml.jackson.core:jackson-core:2.13.1 -> >=dev-java/jackson-core-2.13.2:0
|
||||
# test? com.fasterxml.jackson.core:jackson-databind:2.13.1 -> >=dev-java/jackson-databind-2.13.2:0
|
||||
# test? org.apache.commons:commons-lang3:3.12.0 -> >=dev-java/commons-lang-3.12.0:3.6
|
||||
# test? org.apache.felix:org.apache.felix.framework:5.6.12 -> !!!groupId-not-found!!!
|
||||
# test? org.apache.maven:maven-core:3.8.4 -> !!!groupId-not-found!!!
|
||||
# test? org.assertj:assertj-core:3.22.0 -> !!!suitable-mavenVersion-not-found!!!
|
||||
# test? org.eclipse.tycho:org.eclipse.osgi:3.13.0.v20180226-1711 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.jupiter:junit-jupiter-engine:5.8.2 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.jupiter:junit-jupiter-migrationsupport:5.8.2 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.jupiter:junit-jupiter-params:5.8.2 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.vintage:junit-vintage-engine:5.8.2 -> !!!groupId-not-found!!!
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*
|
||||
dev-java/osgi-core-api:0"
|
||||
# test? (
|
||||
# !!!groupId-not-found!!!
|
||||
# !!!suitable-mavenVersion-not-found!!!
|
||||
# >=dev-java/commons-lang-3.12.0:3.6
|
||||
# >=dev-java/jackson-core-2.13.2:0
|
||||
# >=dev-java/jackson-databind-2.13.2:0
|
||||
# )
|
||||
#"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
DOCS=( {CONTRIBUTING,README,RELEASE-NOTES,SECURITY}.md )
|
||||
|
||||
S="${WORKDIR}/apache-log4j-${PV}-src"
|
||||
|
||||
JAVA_CLASSPATH_EXTRA="osgi-core-api"
|
||||
JAVA_SRC_DIR="${PN}/src/main/java"
|
||||
JAVA_RESOURCE_DIRS="${PN}/src/main/resources"
|
||||
|
||||
# JAVA_TEST_GENTOO_CLASSPATH="jackson-core,jackson-databind,commons-lang-3.6,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!suitable-mavenVersion-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!"
|
||||
# JAVA_TEST_SRC_DIR="${PN}/src/test/java"
|
||||
# JAVA_TEST_RESOURCE_DIRS=(
|
||||
# "${PN}/src/test/resources"
|
||||
# )
|
||||
|
||||
src_install() {
|
||||
default # https://bugs.gentoo.org/789582
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST apache-log4j-2.17.1-src.tar.gz 11602282 BLAKE2B 6e6a69565ee28fc138ddb78258ac30b13a9be3f3baee64c3427b63b059c552d314be3c4a345ea297010d345c4dcb31d154aaea6cd2fc587512c6087c5dfe0745 SHA512 21cdfca54eb0d6af261a5ae89ff98197473d9c0203b0ab530f3aef6c90957bfb95a423983c8a19d7fbab05ec194b6fad8e46628e32270dd8b94ddd194a1cb177
|
||||
DIST apache-log4j-2.17.2-src.tar.gz 11680029 BLAKE2B 19baf31f4e00f0572fad810177d52bf3376f73a47a70ea251ce60a198f4bb322e6e97691f23b1ebb78e29f4eb6f0a36093bd2c6cb558486841d569b601d11015 SHA512 ae09c3af8662fcf5fdc4e7c7dd298e91ec85e90272b8247ce4ee60c7d4ecd48a4cd294fc9e51c0b307fbb58c677e61e31527eab4085debcc9b40919af0920176
|
||||
|
@ -0,0 +1,172 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom log4j-core/pom.xml --download-uri mirror://apache/logging/log4j/2.17.2/apache-log4j-2.17.2-src.tar.gz --slot 2 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild log4j-core-2.17.2.ebuild
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.apache.logging.log4j:log4j-core:2.17.2"
|
||||
# JAVA_TESTING_FRAMEWORKS="junit-vintage junit-jupiter"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="The Apache Log4j Implementation"
|
||||
HOMEPAGE="https://logging.apache.org/log4j/2.x/"
|
||||
SRC_URI="mirror://apache/logging/log4j/${PV}/apache-log4j-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
# We don't have junit-vintage and junit-jupiter
|
||||
RESTRICT="test"
|
||||
|
||||
# Common dependencies
|
||||
# POM: ${PN}/pom.xml
|
||||
# com.conversantmedia:disruptor:1.2.15 -> >=dev-java/conversant-disruptor-1.2.19:0
|
||||
# com.fasterxml.jackson.core:jackson-core:2.13.1 -> >=dev-java/jackson-core-2.13.2:0
|
||||
# com.fasterxml.jackson.core:jackson-databind:2.13.1 -> >=dev-java/jackson-databind-2.13.2:0
|
||||
# com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.13.1 -> >=dev-java/jackson-dataformat-xml-2.13.2:0
|
||||
# com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.1 -> >=dev-java/jackson-dataformat-yaml-2.13.2:0
|
||||
# com.fasterxml.woodstox:woodstox-core:6.2.8 -> >=dev-java/woodstox-core-6.2.8:0
|
||||
# com.lmax:disruptor:3.4.4 -> >=dev-java/lmax-disruptor-3.4.4:0
|
||||
# com.sun.mail:javax.mail:1.6.2 -> !!!suitable-mavenVersion-not-found!!!
|
||||
# org.apache.commons:commons-compress:1.21 -> >=dev-java/commons-compress-1.21:0
|
||||
# org.apache.commons:commons-csv:1.9.0 -> >=dev-java/commons-csv-1.9.0:0
|
||||
# org.apache.kafka:kafka-clients:1.1.1 -> >=dev-java/kafka-clients-1.1.1:0
|
||||
# org.apache.logging.log4j:log4j-api:2.17.2 -> >=dev-java/log4j-api-2.17.2:2
|
||||
# org.fusesource.jansi:jansi:2.4.0 -> >=dev-java/jansi-2.4.0:2
|
||||
# org.jctools:jctools-core:1.2.1 -> >=dev-java/jctools-core-2.0.2:0
|
||||
# org.slf4j:slf4j-api:1.7.35 -> >=dev-java/slf4j-api-1.7.36:0
|
||||
# org.zeromq:jeromq:0.4.3 -> >=dev-java/jeromq-0.5.2:0
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/commons-compress:0
|
||||
dev-java/commons-csv:0
|
||||
dev-java/conversant-disruptor:0
|
||||
dev-java/jackson-core:0
|
||||
dev-java/jackson-databind:0
|
||||
dev-java/jackson-dataformat-xml:0
|
||||
dev-java/jackson-dataformat-yaml:0
|
||||
dev-java/jakarta-activation-api:1
|
||||
dev-java/jansi:2
|
||||
dev-java/javax-mail:0
|
||||
dev-java/jctools-core:0
|
||||
dev-java/jeromq:0
|
||||
dev-java/kafka-clients:0
|
||||
dev-java/lmax-disruptor:0
|
||||
~dev-java/log4j-api-${PV}:2
|
||||
dev-java/slf4j-api:0
|
||||
dev-java/woodstox-core:0
|
||||
"
|
||||
|
||||
# Compile dependencies
|
||||
# POM: ${PN}/pom.xml
|
||||
# org.jboss.spec.javax.jms:jboss-jms-api_1.1_spec:1.0.1.Final -> >=dev-java/jboss-jms-api-1.0.1:1.1
|
||||
# org.osgi:org.osgi.core:4.3.1 -> >=dev-java/osgi-core-api-5.0.0:0
|
||||
# POM: ${PN}/pom.xml
|
||||
# test? ch.qos.logback:logback-classic:1.2.3 -> !!!groupId-not-found!!!
|
||||
# test? ch.qos.logback:logback-core:1.2.3 -> !!!groupId-not-found!!!
|
||||
# test? com.github.tomakehurst:wiremock:2.26.3 -> !!!groupId-not-found!!!
|
||||
# test? com.google.code.java-allocation-instrumenter:java-allocation-instrumenter:3.3.0 -> !!!groupId-not-found!!!
|
||||
# test? com.h2database:h2:1.4.200 -> !!!groupId-not-found!!!
|
||||
# test? commons-codec:commons-codec:1.15 -> >=dev-java/commons-codec-1.15:0
|
||||
# test? commons-io:commons-io:2.11.0 -> >=dev-java/commons-io-2.11.0:1
|
||||
# test? commons-logging:commons-logging:1.2 -> >=dev-java/commons-logging-1.2:0
|
||||
# test? log4j:log4j:1.2.17 -> >=dev-java/log4j-1.2.17:0
|
||||
# test? net.javacrumbs.json-unit:json-unit:2.32.0 -> !!!groupId-not-found!!!
|
||||
# test? org.apache-extras.beanshell:bsh:2.0b6 -> >=dev-java/bsh-2.0_beta6:0
|
||||
# test? org.apache.activemq:activemq-broker:5.16.4 -> !!!groupId-not-found!!!
|
||||
# test? org.apache.commons:commons-lang3:3.12.0 -> >=dev-java/commons-lang-3.12.0:3.6
|
||||
# test? org.apache.felix:org.apache.felix.framework:5.6.12 -> !!!groupId-not-found!!!
|
||||
# test? org.apache.logging.log4j:log4j-api:2.17.2 -> >=dev-java/log4j-api-2.17.2:2
|
||||
# test? org.apache.maven:maven-core:3.8.4 -> !!!groupId-not-found!!!
|
||||
# test? org.awaitility:awaitility:4.1.1 -> !!!groupId-not-found!!!
|
||||
# test? org.codehaus.groovy:groovy-dateutil:3.0.9 -> !!!groupId-not-found!!!
|
||||
# test? org.codehaus.groovy:groovy-jsr223:3.0.9 -> !!!groupId-not-found!!!
|
||||
# test? org.codehaus.plexus:plexus-utils:3.4.1 -> !!!groupId-not-found!!!
|
||||
# test? org.eclipse.tycho:org.eclipse.osgi:3.13.0.v20180226-1711 -> !!!groupId-not-found!!!
|
||||
# test? org.hamcrest:hamcrest:2.2 -> !!!artifactId-not-found!!!
|
||||
# test? org.hdrhistogram:HdrHistogram:2.1.12 -> !!!groupId-not-found!!!
|
||||
# test? org.hsqldb:hsqldb:2.5.2 -> !!!groupId-not-found!!!
|
||||
# test? org.jmdns:jmdns:3.5.7 -> !!!groupId-not-found!!!
|
||||
# test? org.junit-pioneer:junit-pioneer:1.6.1 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.jupiter:junit-jupiter-engine:5.8.2 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.jupiter:junit-jupiter-params:5.8.2 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.platform:junit-platform-commons:1.8.2 -> !!!groupId-not-found!!!
|
||||
# test? org.junit.vintage:junit-vintage-engine:5.8.2 -> !!!groupId-not-found!!!
|
||||
# test? org.mockito:mockito-core:4.3.1 -> !!!suitable-mavenVersion-not-found!!!
|
||||
# test? org.mockito:mockito-junit-jupiter:4.3.1 -> !!!artifactId-not-found!!!
|
||||
# test? org.slf4j:slf4j-ext:1.7.35 -> >=dev-java/slf4j-ext-1.7.36:0
|
||||
# test? org.springframework:spring-test:5.3.15 -> !!!groupId-not-found!!!
|
||||
# test? org.tukaani:xz:1.9 -> >=dev-java/xz-java-1.9:0
|
||||
# test? org.xmlunit:xmlunit-core:2.9.0 -> !!!groupId-not-found!!!
|
||||
# test? org.xmlunit:xmlunit-matchers:2.9.0 -> !!!groupId-not-found!!!
|
||||
# test? org.zapodot:embedded-ldap-junit:0.8.1 -> !!!groupId-not-found!!!
|
||||
|
||||
DEPEND="${CP_DEPEND}
|
||||
dev-java/jboss-jms-api:1.1
|
||||
dev-java/osgi-core-api:0
|
||||
>=virtual/jdk-1.8:*"
|
||||
# test? (
|
||||
# !!!artifactId-not-found!!!
|
||||
# !!!groupId-not-found!!!
|
||||
# !!!suitable-mavenVersion-not-found!!!
|
||||
# >=dev-java/bsh-2.0_beta6:0
|
||||
# >=dev-java/commons-codec-1.15:0
|
||||
# >=dev-java/commons-io-2.11.0:1
|
||||
# >=dev-java/commons-lang-3.12.0:3.6
|
||||
# >=dev-java/commons-logging-1.2:0
|
||||
# >=dev-java/log4j-1.2.17:0
|
||||
# ~dev-java/log4j-api-${PV}:2
|
||||
# >=dev-java/slf4j-ext-1.7.36:0
|
||||
# >=dev-java/xz-java-1.9:0
|
||||
# )
|
||||
#"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
DOCS=( {CONTRIBUTING,README,RELEASE-NOTES,SECURITY}.md )
|
||||
|
||||
S="${WORKDIR}/apache-log4j-${PV}-src"
|
||||
|
||||
JAVA_CLASSPATH_EXTRA="jboss-jms-api-1.1,osgi-core-api"
|
||||
JAVA_SRC_DIR="${PN}/src/main/java"
|
||||
JAVA_RESOURCE_DIRS="${PN}/src/main/resources"
|
||||
|
||||
# JAVA_TEST_GENTOO_CLASSPATH="!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,commons-codec,commons-io-1,commons-logging,log4j,!!!groupId-not-found!!!,bsh,!!!groupId-not-found!!!,commons-lang-3.6,!!!groupId-not-found!!!,log4j-api-2,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!artifactId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!suitable-mavenVersion-not-found!!!,!!!artifactId-not-found!!!,!!!artifactId-not-found!!!,!!!groupId-not-found!!!,xz-java,!!!groupId-not-found!!!,!!!groupId-not-found!!!,!!!groupId-not-found!!!"
|
||||
# JAVA_TEST_SRC_DIR="${PN}/src/test/java"
|
||||
# JAVA_TEST_RESOURCE_DIRS=(
|
||||
# "${PN}/src/test/resources"
|
||||
# )
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
|
||||
# Process the @Plugin annotation used on Log4j 2 built-in plugins
|
||||
# to generate a serialized plugin listing file
|
||||
# https://logging.apache.org/log4j/2.x/manual/plugins.html
|
||||
local processor="org.apache.logging.log4j.core.config.plugins.processor.PluginProcessor"
|
||||
local classes="target/classes"
|
||||
local classpath="${JAVA_JAR_FILENAME}:$(\
|
||||
java-pkg_getjars --build-only --with-dependencies \
|
||||
"${JAVA_GENTOO_CLASSPATH},${JAVA_CLASSPATH_EXTRA}")"
|
||||
# Just in case java-pkg-simple.eclass changes the path in the future
|
||||
mkdir -p "${classes}" || die "Failed to create directory for classes"
|
||||
ejavac -d "${classes}" -cp "${classpath}" \
|
||||
-proc:only -processor "${processor}" \
|
||||
$(find "${JAVA_SRC_DIR}" -name "*.java")
|
||||
# Update the JAR to include the serialized plugin listing file
|
||||
local jar="$(java-config -j)"
|
||||
"${jar}" -uf "${JAVA_JAR_FILENAME}" -C "${classes}" . ||
|
||||
die "Failed to update JAR"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default # https://bugs.gentoo.org/789582
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -1,98 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_A="apache-${PN}-${PV}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 5.0/JSP API 3.0/EL API 4.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-10/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="5.0"
|
||||
KEYWORDS="amd64 ~arm arm64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
JAVA_TEST_SRC_DIR="src/test"
|
||||
|
||||
SERVLET_API_JAR="servlet-api.jar"
|
||||
SERVLET_API_SRC="src/main/servlet-api"
|
||||
SERVLET_API_RESOURCES="src/resources/servlet-api"
|
||||
EL_API_JAR="el-api.jar"
|
||||
EL_API_SRC="src/main/el-api"
|
||||
EL_API_RESOURCES="src/resources/el-api"
|
||||
JSP_API_JAR="jsp-api.jar"
|
||||
JSP_API_SRC="src/main/jsp-api"
|
||||
JSP_API_RESOURCES="src/resources/jsp-api"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# The sources and also resources are mixed together so we first give it a structure to make it easier to compile and package
|
||||
mkdir -p ${SERVLET_API_SRC} ${SERVLET_API_RESOURCES} \
|
||||
${EL_API_SRC} ${EL_API_RESOURCES} \
|
||||
${JSP_API_SRC}/jakarta/servlet ${JSP_API_RESOURCES} \
|
||||
${JAVA_TEST_SRC_DIR} || die "Failed to create source directory"
|
||||
|
||||
pushd java || die "Failed to cd to java dir"
|
||||
|
||||
cp --parents -R jakarta/servlet "${S}/${SERVLET_API_SRC}/" || die "Failed to copy servlet-api sources"
|
||||
mv "${S}/${SERVLET_API_SRC}/jakarta/servlet/jsp" "${S}/${JSP_API_SRC}/jakarta/servlet" || die "Failed to copy jsp-api sources"
|
||||
cp --parents -R jakarta/el "${S}/${EL_API_SRC}/" || die "Failed to copy el-api sources"
|
||||
|
||||
popd
|
||||
|
||||
for file in $(find src -type f | grep -vE "\.java$"); do
|
||||
target_dir=$(dirname $file | sed "s%src/main/%src/resources/%g")
|
||||
mkdir -p ${target_dir} || die "Failed to create resource directory"
|
||||
mv $file ${target_dir} || die "Failed to move resource file"
|
||||
done
|
||||
|
||||
mv test/jakarta ${JAVA_TEST_SRC_DIR} || die "Failed to copy test sources"
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${SERVLET_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${EL_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${JSP_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="servlet-api.jar:el-api.jar"
|
||||
java-pkg-simple_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
JAVA_TEST_SRC_DIR="src/test"
|
||||
|
||||
SERVLET_API_JAR="servlet-api.jar"
|
||||
SERVLET_API_SRC="src/main/servlet-api"
|
||||
SERVLET_API_RESOURCES="src/resources/servlet-api"
|
||||
EL_API_JAR="el-api.jar"
|
||||
EL_API_SRC="src/main/el-api"
|
||||
EL_API_RESOURCES="src/resources/el-api"
|
||||
JSP_API_JAR="jsp-api.jar"
|
||||
JSP_API_SRC="src/main/jsp-api"
|
||||
JSP_API_RESOURCES="src/resources/jsp-api"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# The sources and also resources are mixed together so we first give it a structure to make it easier to compila and package
|
||||
|
||||
mkdir -p ${SERVLET_API_SRC} ${SERVLET_API_RESOURCES} \
|
||||
${EL_API_SRC} ${EL_API_RESOURCES} \
|
||||
${JSP_API_SRC}/javax/servlet ${JSP_API_RESOURCES} \
|
||||
${JAVA_TEST_SRC_DIR} || die "Failed to create source directory"
|
||||
|
||||
pushd java || die "Failed to cd to java dir"
|
||||
|
||||
cp --parents -R javax/servlet "${S}/${SERVLET_API_SRC}/" || die "Failed to copy servlet-api sources"
|
||||
mv "${S}/${SERVLET_API_SRC}/javax/servlet/jsp" "${S}/${JSP_API_SRC}/javax/servlet" || die "Failed to copy jsp-api sources"
|
||||
cp --parents -R javax/el "${S}/${EL_API_SRC}/" || die "Failed to copy el-api sources"
|
||||
|
||||
popd
|
||||
|
||||
for file in $(find src -type f | grep -vE "\.java$"); do
|
||||
target_dir=$(dirname $file | sed "s%src/main/%src/resources/%g")
|
||||
mkdir -p ${target_dir} || die "Failed to create resource directory"
|
||||
mv $file ${target_dir} || die "Failed to move resource file"
|
||||
done
|
||||
|
||||
mv test/javax ${JAVA_TEST_SRC_DIR} || die "Failed to copy test sources"
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${SERVLET_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${EL_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${JSP_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="servlet-api.jar:el-api.jar"
|
||||
java-pkg-simple_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -1,99 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
MY_A="apache-${PN}-${PV}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 4.0/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-9/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="4.0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
JAVA_TEST_SRC_DIR="src/test"
|
||||
|
||||
SERVLET_API_JAR="servlet-api.jar"
|
||||
SERVLET_API_SRC="src/main/servlet-api"
|
||||
SERVLET_API_RESOURCES="src/resources/servlet-api"
|
||||
EL_API_JAR="el-api.jar"
|
||||
EL_API_SRC="src/main/el-api"
|
||||
EL_API_RESOURCES="src/resources/el-api"
|
||||
JSP_API_JAR="jsp-api.jar"
|
||||
JSP_API_SRC="src/main/jsp-api"
|
||||
JSP_API_RESOURCES="src/resources/jsp-api"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# The sources and also resources are mixed together so we first give it a structure to make it easier to compila and package
|
||||
|
||||
mkdir -p ${SERVLET_API_SRC} ${SERVLET_API_RESOURCES} \
|
||||
${EL_API_SRC} ${EL_API_RESOURCES} \
|
||||
${JSP_API_SRC}/javax/servlet ${JSP_API_RESOURCES} \
|
||||
${JAVA_TEST_SRC_DIR} || die "Failed to create source directory"
|
||||
|
||||
pushd java || die "Failed to cd to java dir"
|
||||
|
||||
cp --parents -R javax/servlet "${S}/${SERVLET_API_SRC}/" || die "Failed to copy servlet-api sources"
|
||||
mv "${S}/${SERVLET_API_SRC}/javax/servlet/jsp" "${S}/${JSP_API_SRC}/javax/servlet" || die "Failed to copy jsp-api sources"
|
||||
cp --parents -R javax/el "${S}/${EL_API_SRC}/" || die "Failed to copy el-api sources"
|
||||
|
||||
popd
|
||||
|
||||
for file in $(find src -type f | grep -vE "\.java$"); do
|
||||
target_dir=$(dirname $file | sed "s%src/main/%src/resources/%g")
|
||||
mkdir -p ${target_dir} || die "Failed to create resource directory"
|
||||
mv $file ${target_dir} || die "Failed to move resource file"
|
||||
done
|
||||
|
||||
mv test/javax ${JAVA_TEST_SRC_DIR} || die "Failed to copy test sources"
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${SERVLET_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${EL_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_compile
|
||||
rm -fr target || die "Failed to remove compiled files"
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_RESOURCE_DIRS="${JSP_API_RESOURCES}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="servlet-api.jar:el-api.jar"
|
||||
java-pkg-simple_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
JAVA_SRC_DIR="${SERVLET_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${SERVLET_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${EL_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${EL_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
|
||||
JAVA_SRC_DIR="${JSP_API_SRC}"
|
||||
JAVA_JAR_FILENAME="${JSP_API_JAR}"
|
||||
java-pkg-simple_src_install
|
||||
}
|
Binary file not shown.
@ -1,20 +0,0 @@
|
||||
https://github.com/benhoyt/inih/pull/135
|
||||
|
||||
From 690fd8cb5a1c7db67e78b9e2543ff5a9fc733ce3 Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Thu, 24 Mar 2022 23:32:46 +0000
|
||||
Subject: [PATCH] meson.build: define version
|
||||
|
||||
Otherwise, the installed .pc file contains "Version: undefined".
|
||||
|
||||
Signed-off-by: Sam James <sam@gentoo.org>
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -1,6 +1,7 @@
|
||||
project('inih',
|
||||
['c'],
|
||||
license : 'BSD-3-Clause',
|
||||
+ version : '54',
|
||||
)
|
||||
|
||||
#### options ####
|
@ -1,3 +1,3 @@
|
||||
DIST libxmlb-0.1.15.tar.gz 92923 BLAKE2B 97b6af812397dd279e7e3c038627fcf8228cbfa5c3af91ceeb5361e32d37d357eda6a193f627a5f4442426fb08abca1ff11684fe199d9d3a4add72ca4f3f5d08 SHA512 58268b3a690af36c0923afdee3ae58e88bf778eebbc6a439be1bc85ed985efdc20cd7006c976586f7be87310dc091d67dddd370f4bbec58379fc4e7349bfa3d8
|
||||
DIST libxmlb-0.3.6.tar.gz 118521 BLAKE2B ba79d80216705b8f2f6e02a10ebab7cb3765d3718bf821bff4c6fbfe3cee7c2128230f670751948b430bd206f34924be438d4293dc154bcd69338e85cea90032 SHA512 2ea8592aa950be597254beefe1db0097ea3fb36b42e8ace04a13e34a17718bd74f232633e1555cc90283d81568fdfe2a198b68151ead5e0fa5628d344de8df9b
|
||||
DIST libxmlb-0.3.7.tar.gz 121055 BLAKE2B 5dda4695041af85a3fbb6c5ed9888ed822df1ddc6c281a89629598c82c022a8c55fdebbb4e49c553ed99d38c97843855569a3fcc5c2531b698b024e4b68638f6 SHA512 398d49e190aedd5c1f0eab2a8b6ddf5fc1cd866d575459c049e55399fc8fb54512783cc024b8f3016fbf19232502ba86781eea5b937871a3aed25b5ed28a5edd
|
||||
DIST libxmlb-0.3.8.tar.gz 121068 BLAKE2B fed6eccf0746952e3063030aa63447f2e5d29199c13166ed129c012be3e954d3fbc3109aa5397b4e9622c197222961984fb6cd3c0cec14c74f9fe80611639747 SHA512 a5302d570b5d6e5fae4be2536a11b93986cb22e7095da81e1982754cb6460464a1a9020a3e5b98566aa92d8570aa30a6fec190ae03a946e17b99f48621f476ff
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
@ -1 +1,2 @@
|
||||
DIST re2-2021-11-01.tar.gz 408934 BLAKE2B 31662b1e9cdfec67347cbe146763a29cc8970683d545965e649a5f54ac318c40cd6daf553b6098fae7024a944f73914641b05970f1274511fac6766abe6b9130 SHA512 9ea04638b7a8667fa9a9d9894c543417c86dde21a93bd4508ae8a43fdd21384092866a3f55e93249942f36488c165e93bee18c61bab3cf138a920654563b8122
|
||||
DIST re2-2022-04-01.tar.gz 380861 BLAKE2B ebb9ac6754382dc3a2b4c6ebab994678d364b83fc433e8c7b3b8ca8733503da41b37b796081cc24120801bdda8e69fbf111ccb9ddca51808129c65c622738e61 SHA512 fc3d7cc1ee6bd771719845566d83ffc8c4e19d838748e842a1e19c7564473c9a0a061bebb3966ffa82de6515346f9bbddc2d94ceb3de89233f58826774bd7ce7
|
||||
|
@ -0,0 +1,52 @@
|
||||
# Copyright 2012-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit multilib-minimal toolchain-funcs
|
||||
|
||||
# Different date format used upstream.
|
||||
RE2_VER=${PV#0.}
|
||||
RE2_VER=${RE2_VER//./-}
|
||||
|
||||
DESCRIPTION="An efficient, principled regular expression library"
|
||||
HOMEPAGE="https://github.com/google/re2"
|
||||
SRC_URI="https://github.com/google/re2/archive/${RE2_VER}.tar.gz -> re2-${RE2_VER}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
# NOTE: Always run libre2 through abi-compliance-checker!
|
||||
# https://abi-laboratory.pro/tracker/timeline/re2/
|
||||
SONAME="9"
|
||||
SLOT="0/${SONAME}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="icu"
|
||||
|
||||
BDEPEND="icu? ( virtual/pkgconfig )"
|
||||
DEPEND="icu? ( dev-libs/icu:0=[${MULTILIB_USEDEP}] )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/re2-${RE2_VER}"
|
||||
|
||||
DOCS=( AUTHORS CONTRIBUTORS README doc/syntax.txt )
|
||||
HTML_DOCS=( doc/syntax.html )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
grep -q "^SONAME=${SONAME}\$" Makefile || die "SONAME mismatch"
|
||||
if use icu; then
|
||||
sed -i -e 's:^# \(\(CC\|LD\)ICU=.*\):\1:' Makefile || die
|
||||
fi
|
||||
multilib_copy_sources
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CXX
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
emake SONAME="${SONAME}" shared
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake SONAME="${SONAME}" DESTDIR="${D}" prefix="${EPREFIX}/usr" libdir="\$(exec_prefix)/$(get_libdir)" shared-install
|
||||
}
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST camlp-streams-5.0.tar.gz 6992 BLAKE2B 54025cec15420ec8e1ad8ce6faaf9132b9197c3bb57acb9b4f39f4dd83939aac25104a6d4fd40035db22cdd33dbffc92597b6913702a252180ef62b60c2503be SHA512 f42e2f5e5ca353b3d647cd7e97a278c167c2d1abd185a634f155965cec29e35d9be7ce940b4c205b0577d7e9b6f714580bfd2e2fd79f1b1b461bc3fb96d26d36
|
@ -0,0 +1,21 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="Stream and Genlex libraries for use with Camlp4 and Camlp5"
|
||||
HOMEPAGE="https://github.com/ocaml/camlp-streams"
|
||||
SRC_URI="https://github.com/ocaml/${PN}/archive/refs/tags/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2-with-linking-exception"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
IUSE="+ocamlopt"
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ml@gentoo.org</email>
|
||||
<name>ML</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ocaml/camlp-streams</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit findlib vcs-clean
|
||||
|
||||
DESCRIPTION="A preprocessor-pretty-printer of ocaml"
|
||||
HOMEPAGE="https://camlp5.github.io/"
|
||||
SRC_URI="https://github.com/camlp5/camlp5/archive/rel${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-rel${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc +ocamlopt"
|
||||
|
||||
RDEPEND="dev-ml/camlp-streams:="
|
||||
|
||||
src_prepare() {
|
||||
egit_clean
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
./configure \
|
||||
--strict \
|
||||
-prefix /usr \
|
||||
-bindir /usr/bin \
|
||||
-libdir /usr/$(get_libdir)/ocaml \
|
||||
-mandir /usr/share/man || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
ulimit -s 11530000
|
||||
emake out
|
||||
if use ocamlopt; then
|
||||
emake opt
|
||||
emake opt.opt
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake bootstrap
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${ED}" install
|
||||
# findlib support
|
||||
insinto "$(ocamlfind printconf destdir)/${PN}"
|
||||
doins etc/META
|
||||
|
||||
dodoc -r doc/*
|
||||
dodoc CHANGES DEVEL ICHANGES README.md UPGRADING MODE
|
||||
}
|
Binary file not shown.
@ -1,38 +0,0 @@
|
||||
From f59293c180f846a220762701006d25655095991f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Sat, 23 Oct 2021 09:09:29 +0200
|
||||
Subject: [PATCH] Fix test_describe_empty to work without global -Werror
|
||||
|
||||
Fix test_describe_empty to work when the test suite is run without
|
||||
global -Werror. This is e.g. desirable for packagers who don't want
|
||||
the test suite for a fixed version to suddenly start failing due to
|
||||
DeprecationWarnings in dependencies that otherwise don't break
|
||||
the package.
|
||||
|
||||
Since the test expects either a ValueError or a RuntimeWarning, it seems
|
||||
that the easiest way to assert for that is to inject the "error" filter
|
||||
for the scope of the call.
|
||||
---
|
||||
dask/dataframe/tests/test_dataframe.py | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dask/dataframe/tests/test_dataframe.py b/dask/dataframe/tests/test_dataframe.py
|
||||
index 32edb488..e0d88ba8 100644
|
||||
--- a/dask/dataframe/tests/test_dataframe.py
|
||||
+++ b/dask/dataframe/tests/test_dataframe.py
|
||||
@@ -570,7 +570,11 @@ def test_describe_empty():
|
||||
)
|
||||
|
||||
with pytest.raises((ValueError, RuntimeWarning)):
|
||||
- ddf_len0.describe(percentiles_method="dask").compute()
|
||||
+ with warnings.catch_warnings():
|
||||
+ # ensure that the warning is turned into an error since this is
|
||||
+ # the easiest way to assert for exception-or-warning
|
||||
+ warnings.simplefilter("error")
|
||||
+ ddf_len0.describe(percentiles_method="dask").compute()
|
||||
|
||||
with pytest.raises(ValueError):
|
||||
ddf_nocols.describe(percentiles_method="dask").compute()
|
||||
--
|
||||
2.33.1
|
||||
|
@ -0,0 +1,39 @@
|
||||
From 1a40d273d6671657ef10081123a675bd22e4bf06 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
|
||||
Date: Sat, 2 Apr 2022 18:21:39 +0200
|
||||
Subject: [PATCH] Support duplicate plugin instances in
|
||||
test_list_from_entry_points
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Account for the possibility of the isort plugin occurring more than
|
||||
once in the plugin list, in test_list_from_entry_points. This is needed
|
||||
to avoid test failures on Gentoo where tests are run in a venv
|
||||
with --system-site-packages. As a result, if ini2toml is installed
|
||||
already, it grabs all plugins twice — once from the venv, and then again
|
||||
from system site-packages directory.
|
||||
---
|
||||
AUTHORS.rst | 1 +
|
||||
tests/test_plugins.py | 3 ++-
|
||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/test_plugins.py b/tests/test_plugins.py
|
||||
index a1e96eb..9b52432 100644
|
||||
--- a/tests/test_plugins.py
|
||||
+++ b/tests/test_plugins.py
|
||||
@@ -46,6 +46,7 @@ def test_list_from_entry_points():
|
||||
# Should return a list with all the plugins registered in the entrypoints
|
||||
pluging_list = plugins.list_from_entry_points()
|
||||
orig_len = len(pluging_list)
|
||||
+ isort_count = len([e for e in pluging_list if "isort" in str(e.__module__)])
|
||||
assert all(callable(e) for e in pluging_list)
|
||||
plugin_names = " ".join(str(e.__module__) for e in pluging_list)
|
||||
for example in EXISTING:
|
||||
@@ -54,5 +55,5 @@ def test_list_from_entry_points():
|
||||
# a filtering function can be passed to avoid loading plugins that are not needed
|
||||
pluging_list = plugins.list_from_entry_points(filtering=lambda e: e.name != "isort")
|
||||
plugin_names = " ".join(str(e.__module__) for e in pluging_list)
|
||||
- assert len(pluging_list) == orig_len - 1
|
||||
+ assert len(pluging_list) == orig_len - isort_count
|
||||
assert "isort" not in plugin_names
|
@ -0,0 +1 @@
|
||||
DIST itunespy-1.6.tar.gz 9724 BLAKE2B c46ccfd00a3dec1772499d3299dae7c20355628176db4e660aca0b2b819b81423ac78ce55319c822c15e1c4bf0641c2fc3c4d9ba94dafad1ffdeb503be4f76f9 SHA512 d91428e23a71bdbc62e6b8126b379aa48f06a365056147cf30eb4fa6132243d35c8a8d6dc536174a53f206bf7bcb4dcebb5a3697fac0fd88cbcb38205202ad81
|
@ -0,0 +1,9 @@
|
||||
index 224a779..0f94f37 100644
|
||||
--- a/setup.cfg
|
||||
+++ b/setup.cfg
|
||||
@@ -1,2 +1,2 @@
|
||||
[metadata]
|
||||
-description-file = README.md
|
||||
\ No newline at end of file
|
||||
+description_file = README.md
|
||||
\ No newline at end of file
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A simple library to fetch data from the iTunes Store API"
|
||||
HOMEPAGE="https://github.com/sleepyfran/itunespy/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/sleepyfran/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/sleepyfran/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-setup.cfg-description_file.patch )
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@gentoo.org</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/sleepyfran/itunespy/issues/</bugs-to>
|
||||
<remote-id type="github">sleepyfran/itunespy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST pyDes-2.0.1.tar.gz 9878 BLAKE2B 45a2d0575519afc389abe080f2c3a6751c5ee1f973e9e4370f24c5dbf9d85882e875682005eae3d749a2e11bffc3cd46868f83baa58f9e7e4feb7a25db641a14 SHA512 9d2a048dd6f629713d93d5cfcf5eaccb45a28fd3942f6837baf492bc6d9f0fcd16a1611e467231e9abfa6756d1684b0848c2190195e9e772bed2e6574327885c
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@gentoo.org</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/twhiteman/pyDes/issues/</bugs-to>
|
||||
<remote-id type="github">twhiteman/pyDes</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python implementation of DES and TRIPLE DES"
|
||||
HOMEPAGE="https://twhiteman.netfirms.com/des.html"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
@ -1,2 +1 @@
|
||||
DIST pyFFTW-0.12.0.tar.gz 147372 BLAKE2B 1ea1f1f8de6759c42781a535b30d7119c0cb02dffea3abfe4130a97c465e000aa9b3064a219718569552304513a77ac51aa309f1be29f9eecae25c63cce70c6c SHA512 e4d7258d5c053b5367d8c4f1892eba8e595f9d540c1c3e6caf61e0c113d598ba872b5e72a21edace66be70d9ad75c599e4b1fbc692e0015c3c1ae35e9a7ba599
|
||||
DIST pyFFTW-0.13.0.tar.gz 158660 BLAKE2B c54096f0814625d49832094a6d823c6d258801a0831b07846993da97a713238a5df5b59beddc38b7e940685403178b2f3100f5713334fc9861757420bc87303a SHA512 1d4c69cc19dd00f2433037f25ea90335544403b542c0c5ca00cb055e0fde076ec9e00990f02da2385466be171ed8c910a5ce06a7cfa5efbc6544b2383bbce599
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pythonic python wrapper around FFTW"
|
||||
HOMEPAGE="https://github.com/pyFFTW/pyFFTW"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
if [[ "${PV}" = "9999" ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/pyFFTW/pyFFTW.git"
|
||||
else
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SRC_URI="https://github.com/pyFFTW/pyFFTW/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
fi
|
||||
|
||||
DEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
>=sci-libs/fftw-3.3:3.0=[threads]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/dask[${PYTHON_USEDEP}]
|
||||
dev-python/scipy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_test() {
|
||||
cp -r -l -n test/ "${BUILD_DIR}/lib" || die
|
||||
cd "${BUILD_DIR}/lib" || die
|
||||
eunittest
|
||||
rm -r test/ || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST simber-0.2.4.tar.gz 91600 BLAKE2B 64ef49a8458fc98bfe87ceaeaa7bfcf9f76c8283f8a80cd918dcc8709ca5f4c2b1d657fda345812b3cb280855f3bc7bc9e3d8045b593bc8dd9dbc134f84e0e81 SHA512 17def9e8c6f0695ec36b5e48011d2db892436b7076203fe008aac7c8c2ce0e0ab9cc5be45f6eb136984f41997a7e91549c77cb1761b65694039619bdb8397ae1
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@gentoo.org</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/deepjyoti30/simber/issues/</bugs-to>
|
||||
<remote-id type="github">deepjyoti30/simber</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple, minimal and powerful logging library for Python"
|
||||
HOMEPAGE="https://simber.deepjyoti30.dev/"
|
||||
SRC_URI="https://github.com/deepjyoti30/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/colorama[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
||||
DIST tqdm-4.63.1.tar.gz 168619 BLAKE2B c5d282f07bd1042097ba24cfc7c5311ce53fa5b66e4f9d4b8504c5d102a4c380dfbc8bb59deee469c90d9726b7d36a34cf9c88ed07b412378f51819f789e8e9c SHA512 3d7dfb81ca6b8b72f26d6b3ef4309af19e1679d3ee805e3c1326e804df4204acc20de8d935394eac736a1598d9c5485165f3cbd2b83b746c2bbf202d3b1e4c5c
|
||||
DIST tqdm-4.64.0.tar.gz 169499 BLAKE2B a6b9587a366c026716c63af4358ddba693b52be3490a161071bc750fffcd50429bc639255635d96c950a130d9fe994dc2abc98f3fbaf0a0c344140c8ae972596 SHA512 84d243b86ea3665e915e6a79e7887a4d0487b166971d211e34229b7a46429f4e4f5808c03f24420b20fb85d274e1e6b36ed852af99c5c9d177c8ce71f0ce0c17
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Add a progress meter to your loops in a second"
|
||||
HOMEPAGE="
|
||||
https://github.com/tqdm/tqdm/
|
||||
https://pypi.org/project/tqdm/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
IUSE="examples"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# Skip unpredictable performance tests
|
||||
tests/tests_perf.py
|
||||
)
|
||||
|
||||
python_install_all() {
|
||||
doman tqdm/tqdm.1
|
||||
newbashcomp tqdm/completion.sh tqdm
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST youtube-search-python-1.6.3.tar.gz 115934 BLAKE2B 1151a29da0d66206424a88a2ac3839269f11d970b4a829f9d33ede4ef7ffec39c6762bfe138edd5da9c57308444021be93054c34cbc71e12a031a8d798d94975 SHA512 16d0dfbc95387bb3ccac9224e53ea087cdfa41d1330abd96fc3ad0136af227359fc2d8409a2eca81ae2fe9790efdb86a42e409748ba1a49c595df2629216e331
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@gentoo.org</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/alexmercerind/youtube-search-python/issues/</bugs-to>
|
||||
<remote-id type="github">alexmercerind/youtube-search-python</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,22 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Get YouTube video information using link WITHOUT YouTube Data API v3"
|
||||
HOMEPAGE="https://github.com/alexmercerind/youtube-search-python/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/httpx[${PYTHON_USEDEP}]
|
||||
net-misc/yt-dlp[${PYTHON_USEDEP}]
|
||||
"
|
@ -0,0 +1 @@
|
||||
DIST ytmusicapi-0.21.0.tar.gz 48457 BLAKE2B ace8818c2a6859bb17d98fa608ac8cf7a806745741e634f639f4022527021089dc9b0b7bc48c0f999937a4599847a144afcb9f7e5585daa5d7b0ea1d5d12e399 SHA512 c34abbe8ba8d3b92ac162ffc9679ab21ce6c618a349aaeaa6c06b5597a3aed14e9b9f78a6b351ba545729da1c0bd57c2b7f999957bd8e56b0b453c04624bca4b
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@gentoo.org</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/sigma67/ytmusicapi/issues/</bugs-to>
|
||||
<remote-id type="github">sigma67/ytmusicapi</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Unofficial API for YouTube Music"
|
||||
HOMEPAGE="https://ytmusicapi.readthedocs.io/"
|
||||
SRC_URI="https://github.com/sigma67/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_sphinx docs/source dev-python/sphinx_rtd_theme
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue