parent
3790137145
commit
9a62ce8d81
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29326 BLAKE2B 9633c8638fd18813f7ab964b452681be91f21543b3cd7c37ac28ba2f55a697f8c71a7da735860d9929a3dd9fe184ed957aa27cdcf3e264043f91babf9a40310c SHA512 8b549bd6256352916b2b0f41d560f28cc2425e3b28ee4bbef59e173b2d0597a91f620072ac914c4d6598f7dbd68fbb15b08e94e2ec28e60fa9a45394c9ff8a3d
|
||||
TIMESTAMP 2021-10-20T20:08:59Z
|
||||
MANIFEST Manifest.files.gz 29315 BLAKE2B 289f9730e15a44c26c97a5cc205f262d12472f1bbd23729465556c3dd0252bbb2e9cbfb63c182c2bcddc3ab3a828dc799cbc5e8e6d0f482d76552c0b1a34a17d SHA512 a3accd339623fbe78a33dac836b5960117a1cb5aad68e013e66dfc60776aee88bf8eefdca724d2873581c39ad9c9dd2da599d67da39674ca22a4c43238a5ba55
|
||||
TIMESTAMP 2021-10-21T05:38:58Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmFwd1tfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmFw/PJfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCqjRAAt4jqL7/EfBDZxwDKm72hL3LPOG0+Th6re+punnDeq1VsQim47bx+fVV0
|
||||
T41d6XSNUnDVqzb3+ew9iagDp4YOGo0C+qlBq/CMS5eLmDFGu2dpfSp8ZZz0QwRp
|
||||
DMIbpaJmfha3G7BBtvSyeRdZicocq1QRwPjIa2AGxSr2GNhqyZ0olhgOjLPeHzxp
|
||||
N9ubstrcajFh3sxQHA8qloUWF9sgDEvero5ea+N/DlZSaWBNsv/LMn1H4cYA8/hi
|
||||
61CwXkAo5XJpuThkNYJpStVkyruQwHhNvchOMQlxR4cSXZ3RRRxV5PZijTfYzLZ/
|
||||
Zab9Sb8lk97BD7dKZ8W1Zk++0t6c6n9NkDk9xpEw+vsYW2RwljnQ/MLCIOw/I9rx
|
||||
yNf1krOmTvYKWBZxGaL9JKXpxgY4gWL6CH3H4lN2lg2ki6Y+OUNBUy3SFRyzALMY
|
||||
6m1ygsYgJRLd2aSqUw/draHQ0fr+lU+N0AS6obMwQYXrxEvh/NhoJfq0/1BcvVtB
|
||||
IvROktidVzzodoYBQDcNEM+T2k0DsFEJdLIK+GW0kHbajc8CzlY30+mmkfUXz+fd
|
||||
BTyIPp7Qtzq1Gu8BL6VjZmoUiuuPew7zRqTH5+9Fe65SnmodeOY/K+A3jwvflrcb
|
||||
pcpprVWXT+9a0D2w0dbOY+JskaJmBochvBQGeK4kCGwKpmVeRNY=
|
||||
=EJQ7
|
||||
klCEfg/+Pj3yyXhpoKdVadgTsbzkikCZcEWSEqxC8wYAMpk/mbwx36+++zL6kibe
|
||||
QNejk2u+GBDVnGk1dfbX4Aav734EJqChJ2IExaSF44SNKcLqOukl+ohcefrGnYn3
|
||||
Ppf1hzGFKP5GkzlYsb74kgyzo75M75xoDlecpQgWWTkcDxMSDTBg8JVqiCQ4Loy5
|
||||
nmCsUQ4l9hcXIsx0SAbgF1aTfKsUXO29AUH+PbpkOXaOBswkP9UclXpHv3gLHjkF
|
||||
d0EEqgmpcc9KxNYwVS5U/nkkTR/ErmsgshkPQXTRH/ccZ8NujCVXC4E7tPAc62lD
|
||||
X8jugsOXfel66HO8nJdLNeIxaYKO4VJ6j6dyQahJK3mXmG+OIwRMGXAt4KRe9SHA
|
||||
Xc2TqADNbzEoiLW6X4VNVKcHYX+Q9ld8FbXoDnwvZVvCksDM2Szu/RKKWnCUQa3g
|
||||
t9VvCD01S9mOTt2An3laLep7gOSaFuehbgADXRsIpdoSKiYvCR8O+itV0N1xJMWN
|
||||
f76C6XmxCWeco60P1gm4dvHdB49d46ANwdumREBIMhbU96pG1+GHwve5aF75eOYO
|
||||
N3n5f5mbNwZRmMFTTFwmzabEQeelBcgm+ygvyrYFMnVtDVi9KaQ/lz1w5kykZ7N0
|
||||
9aOG2y+amGBLi67ZXyRM49UehFooytaFgXDww4KeWUXJP6tSIYE=
|
||||
=yIRY
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,487 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PYTHON_COMPAT=( python3_{7..10} )
|
||||
|
||||
inherit autotools linux-info python-any-r1 systemd
|
||||
|
||||
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||
HOMEPAGE="https://www.rsyslog.com/"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
|
||||
|
||||
DOC_REPO_URI="https://github.com/rsyslog/${PN}-doc.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
|
||||
|
||||
SRC_URI="
|
||||
https://www.rsyslog.com/files/download/${PN}/${P}.tar.gz
|
||||
doc? ( https://www.rsyslog.com/files/download/${PN}/${PN}-doc-${PV}.tar.gz )
|
||||
"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="clickhouse curl dbi debug doc elasticsearch +gcrypt gnutls imhttp"
|
||||
IUSE+=" impcap jemalloc kafka kerberos kubernetes mdblookup"
|
||||
IUSE+=" mongodb mysql normalize omhttp omhttpfs omudpspoof +openssl"
|
||||
IUSE+=" postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp +ssl"
|
||||
IUSE+=" systemd test usertools +uuid xxhash zeromq"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="
|
||||
kubernetes? ( normalize )
|
||||
ssl? ( || ( gnutls openssl ) )
|
||||
"
|
||||
|
||||
BDEPEND=">=sys-devel/autoconf-archive-2015.02.24
|
||||
virtual/pkgconfig
|
||||
elibc_musl? ( sys-libs/queue-standalone )
|
||||
test? (
|
||||
jemalloc? ( <sys-libs/libfaketime-0.9.7 )
|
||||
!jemalloc? ( sys-libs/libfaketime )
|
||||
${PYTHON_DEPS}
|
||||
)"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/libfastjson-0.99.8:=
|
||||
>=dev-libs/libestr-0.1.9
|
||||
>=sys-libs/zlib-1.2.5
|
||||
curl? ( >=net-misc/curl-7.35.0 )
|
||||
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||
imhttp? (
|
||||
dev-libs/apr-util
|
||||
www-servers/civetweb
|
||||
virtual/libcrypt:=
|
||||
)
|
||||
impcap? ( net-libs/libpcap )
|
||||
jemalloc? ( >=dev-libs/jemalloc-3.3.1:= )
|
||||
kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||
kerberos? ( virtual/krb5 )
|
||||
kubernetes? ( >=net-misc/curl-7.35.0 )
|
||||
mdblookup? ( dev-libs/libmaxminddb:= )
|
||||
mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= )
|
||||
mysql? ( dev-db/mysql-connector-c:= )
|
||||
normalize? (
|
||||
>=dev-libs/liblognorm-2.0.3:=
|
||||
)
|
||||
clickhouse? ( >=net-misc/curl-7.35.0 )
|
||||
omhttpfs? ( >=net-misc/curl-7.35.0 )
|
||||
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
|
||||
redis? ( >=dev-libs/hiredis-0.11.0:= )
|
||||
relp? ( >=dev-libs/librelp-1.2.17:= )
|
||||
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||
rfc5424hmac? (
|
||||
>=dev-libs/openssl-0.9.8y:0=
|
||||
)
|
||||
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||
ssl? (
|
||||
gnutls? ( >=net-libs/gnutls-2.12.23:0= )
|
||||
openssl? (
|
||||
dev-libs/openssl:0=
|
||||
)
|
||||
)
|
||||
systemd? ( >=sys-apps/systemd-234 )
|
||||
uuid? ( sys-apps/util-linux:0= )
|
||||
xxhash? ( dev-libs/xxhash:= )
|
||||
zeromq? (
|
||||
>=net-libs/czmq-4:=[drafts]
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
>=dev-libs/liblogging-1.0.1[stdlog]
|
||||
)"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
BDEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||
BDEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||
BDEPEND+=" >=sys-devel/bison-2.4.3"
|
||||
BDEPEND+=" >=dev-python/docutils-0.12"
|
||||
fi
|
||||
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER isn't set. Imfile module on this system will only support polling mode!"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
else
|
||||
unpack ${P}.tar.gz
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
local _EGIT_BRANCH=
|
||||
if [[ -n "${EGIT_BRANCH}" ]]; then
|
||||
# Cannot use rsyslog commits/branches for documentation repository
|
||||
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||
unset EGIT_BRANCH
|
||||
fi
|
||||
|
||||
git-r3_fetch "${DOC_REPO_URI}"
|
||||
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||
|
||||
if [[ -n "${_EGIT_BRANCH}" ]]; then
|
||||
# Restore previous EGIT_BRANCH information
|
||||
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||
fi
|
||||
else
|
||||
cd "${S}" || die "Cannot change dir into '${S}'"
|
||||
mkdir docs || die "Failed to create docs directory"
|
||||
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||
unpack ${PN}-doc-${PV}.tar.gz
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# https://github.com/rsyslog/rsyslog/issues/3626
|
||||
sed -i \
|
||||
-e '\|^#!/bin/bash$|a exit 77' \
|
||||
tests/mmkubernetes-cache-expir*.sh \
|
||||
|| die "Failed to disabled known test failure mmkubernetes-cache-expir*.sh"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Maintainer notes:
|
||||
# * Guardtime support is missing because libgt isn't yet available
|
||||
# in portage.
|
||||
# * Hadoop's HDFS file system output module is currently not
|
||||
# supported in Gentoo because nobody is able to test it
|
||||
# (JAVA dependency).
|
||||
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||
# variables because rsyslog's build system depends on pkg-config.
|
||||
|
||||
if use redis; then
|
||||
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||
fi
|
||||
|
||||
local myeconfargs=(
|
||||
--disable-debug-symbols
|
||||
--disable-generate-man-pages
|
||||
--without-valgrind-testbench
|
||||
--disable-liblogging-stdlog
|
||||
$(use_enable test testbench)
|
||||
$(use_enable test libfaketime)
|
||||
$(use_enable test extended-tests)
|
||||
# Input Plugins without dependencies
|
||||
--enable-imbatchreport
|
||||
--enable-imdiag
|
||||
--enable-imfile
|
||||
--enable-improg
|
||||
--enable-impstats
|
||||
--enable-imptcp
|
||||
# Message Modificiation Plugins without dependencies
|
||||
--enable-mmanon
|
||||
--enable-mmaudit
|
||||
--enable-mmcount
|
||||
--enable-mmfields
|
||||
--enable-mmjsonparse
|
||||
--enable-mmpstrucdata
|
||||
--enable-mmrm1stspace
|
||||
--enable-mmsequence
|
||||
--enable-mmtaghostname
|
||||
--enable-mmutf8fix
|
||||
# Output Modification Plugins without dependencies
|
||||
--enable-mail
|
||||
--enable-omprog
|
||||
--enable-omruleset
|
||||
--enable-omstdout
|
||||
--enable-omuxsock
|
||||
# Misc
|
||||
--enable-fmhash
|
||||
--enable-fmunflatten
|
||||
$(use_enable xxhash fmhash-xxhash)
|
||||
--enable-pmaixforwardedfrom
|
||||
--enable-pmciscoios
|
||||
--enable-pmcisconames
|
||||
--enable-pmdb2diag
|
||||
--enable-pmlastmsg
|
||||
$(use_enable normalize pmnormalize)
|
||||
--enable-pmnull
|
||||
--enable-pmpanngfw
|
||||
--enable-pmsnare
|
||||
# DB
|
||||
$(use_enable dbi libdbi)
|
||||
$(use_enable mongodb ommongodb)
|
||||
$(use_enable mysql)
|
||||
$(use_enable postgres pgsql)
|
||||
$(use_enable redis imhiredis)
|
||||
$(use_enable redis omhiredis)
|
||||
# Debug
|
||||
$(use_enable debug)
|
||||
$(use_enable debug diagtools)
|
||||
$(use_enable debug valgrind)
|
||||
# Misc
|
||||
$(use_enable clickhouse)
|
||||
$(use_enable curl fmhttp)
|
||||
$(use_enable elasticsearch)
|
||||
$(use_enable gcrypt libgcrypt)
|
||||
$(use_enable imhttp)
|
||||
$(use_enable impcap)
|
||||
$(use_enable jemalloc)
|
||||
$(use_enable kafka imkafka)
|
||||
$(use_enable kafka omkafka)
|
||||
$(use_enable kerberos gssapi-krb5)
|
||||
$(use_enable kubernetes mmkubernetes)
|
||||
$(use_enable normalize mmnormalize)
|
||||
$(use_enable mdblookup mmdblookup)
|
||||
$(use_enable omhttp)
|
||||
$(use_enable omhttpfs)
|
||||
$(use_enable omudpspoof)
|
||||
$(use_enable rabbitmq omrabbitmq)
|
||||
$(use_enable relp)
|
||||
$(use_enable rfc3195)
|
||||
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||
$(use_enable snmp)
|
||||
$(use_enable snmp mmsnmptrapd)
|
||||
$(use_enable gnutls)
|
||||
$(use_enable openssl)
|
||||
$(use_enable systemd imjournal)
|
||||
$(use_enable systemd omjournal)
|
||||
$(use_enable usertools)
|
||||
$(use_enable uuid)
|
||||
$(use_enable zeromq imczmq)
|
||||
$(use_enable zeromq omczmq)
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
|
||||
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||
einfo "Building documentation ..."
|
||||
local doc_dir="${S}/docs"
|
||||
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||
sphinx-build -b html source build || die "Building documentation failed!"
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local _has_increased_ulimit=
|
||||
|
||||
# Sometimes tests aren't executable (i.e. when added via patch)
|
||||
einfo "Adjusting permissions of test scripts ..."
|
||||
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||
die "Failed to adjust test scripts permission"
|
||||
|
||||
if ulimit -n 3072; then
|
||||
_has_increased_ulimit="true"
|
||||
fi
|
||||
|
||||
if ! emake --jobs 1 check; then
|
||||
eerror "Test suite failed! :("
|
||||
|
||||
if [[ -z "${_has_increased_ulimit}" ]]; then
|
||||
eerror "Probably because open file limit couldn't be set to 3072."
|
||||
fi
|
||||
|
||||
if has userpriv ${FEATURES}; then
|
||||
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||
"before you submit a bug report."
|
||||
fi
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
"${FILESDIR}"/README.gentoo
|
||||
)
|
||||
|
||||
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||
|
||||
default
|
||||
|
||||
newconfd "${FILESDIR}/${PN}.confd-r1" ${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd-r1" ${PN}
|
||||
|
||||
systemd_newunit "${FILESDIR}/${PN}.service" ${PN}.service
|
||||
|
||||
keepdir /var/empty/dev
|
||||
keepdir /var/spool/${PN}
|
||||
keepdir /etc/ssl/${PN}
|
||||
keepdir /etc/${PN}.d
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf" ${PN}.conf
|
||||
|
||||
insinto /etc/rsyslog.d/
|
||||
newins "${FILESDIR}/50-default-r1.conf" 50-default.conf
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}-r1.logrotate" ${PN}
|
||||
|
||||
if use mysql; then
|
||||
insinto /usr/share/${PN}/scripts/mysql
|
||||
doins plugins/ommysql/createDB.sql
|
||||
fi
|
||||
|
||||
if use postgres; then
|
||||
insinto /usr/share/${PN}/scripts/pgsql
|
||||
doins plugins/ompgsql/createDB.sql
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local advertise_readme=0
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
|
||||
advertise_readme=1
|
||||
|
||||
if use mysql || use postgres; then
|
||||
echo
|
||||
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||
elog " /usr/share/doc/${PF}/scripts"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
echo
|
||||
elog "To create a default CA and certificates for your server and clients, run:"
|
||||
elog " emerge --config =${PF}"
|
||||
elog "on your logging server. You can run it several times,"
|
||||
elog "once for each logging client. The client certificates will be signed"
|
||||
elog "using the CA certificate generated during the first run."
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||
# We need to show the README file location
|
||||
|
||||
echo ""
|
||||
elog "Please read"
|
||||
elog ""
|
||||
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||
elog ""
|
||||
elog "for more details."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
if ! use ssl; then
|
||||
einfo "There is nothing to configure for rsyslog unless you"
|
||||
einfo "used USE=ssl to build it."
|
||||
return 0
|
||||
fi
|
||||
|
||||
if ! hash certtool &>/dev/null; then
|
||||
die "certtool not found! Is net-libs/gnutls[tools] is installed?"
|
||||
fi
|
||||
|
||||
# Make sure the certificates directory exists
|
||||
local CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||
if [[ ! -d "${CERTDIR}" ]]; then
|
||||
mkdir "${CERTDIR}" || die
|
||||
fi
|
||||
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||
|
||||
# Create a default CA if needed
|
||||
if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then
|
||||
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = Portage automated CA
|
||||
ca
|
||||
cert_signing_key
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-self-signed \
|
||||
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||
|
||||
# Create the server certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for server ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_server
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" &>/dev/null
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
else
|
||||
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||
fi
|
||||
|
||||
# Create a client certificate
|
||||
echo
|
||||
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||
read -r CN
|
||||
|
||||
einfo "Creating private key and certificate for client ${CN}..."
|
||||
certtool --generate-privkey \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||
|
||||
cat > "${T}/${PF}.$$" <<- _EOF
|
||||
cn = ${CN}
|
||||
tls_www_client
|
||||
dns_name = ${CN}
|
||||
expiration_days = 3650
|
||||
_EOF
|
||||
|
||||
certtool --generate-certificate \
|
||||
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||
--template "${T}/${PF}.$$" || die
|
||||
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||
|
||||
rm -f "${T}/${PF}.$$"
|
||||
|
||||
echo
|
||||
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||
einfo " https://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||
}
|
Binary file not shown.
@ -0,0 +1,101 @@
|
||||
From 2d1a35f1e6c2113a6322fdb758a198608c90e4bd Mon Sep 17 00:00:00 2001
|
||||
From: Costin Lupu <costin.lupu@cs.pub.ro>
|
||||
Date: Tue, 8 Jun 2021 15:35:29 +0300
|
||||
Subject: [PATCH] tools/ocaml: Fix redefinition errors
|
||||
|
||||
If PAGE_SIZE is already defined in the system (e.g. in /usr/include/limits.h
|
||||
header) then gcc will trigger a redefinition error because of -Werror. This
|
||||
patch replaces usage of PAGE_* macros with XC_PAGE_* macros in order to avoid
|
||||
confusion between control domain page granularity (PAGE_* definitions) and
|
||||
guest domain page granularity (which is what we are dealing with here).
|
||||
|
||||
Same issue applies for redefinitions of Val_none and Some_val macros which
|
||||
can be already define in the OCaml system headers (e.g.
|
||||
/usr/lib/ocaml/caml/mlvalues.h).
|
||||
|
||||
Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
|
||||
Reviewed-by: Julien Grall <jgrall@amazon.com>
|
||||
Acked-by: Ian Jackson <iwj@xenproject.org>
|
||||
Tested-by: Dario Faggioli <dfaggioli@suse.com>
|
||||
---
|
||||
tools/ocaml/libs/xc/xenctrl_stubs.c | 10 ++++------
|
||||
tools/ocaml/libs/xentoollog/xentoollog_stubs.c | 4 ++++
|
||||
tools/ocaml/libs/xl/xenlight_stubs.c | 4 ++++
|
||||
3 files changed, 12 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/tools/ocaml/libs/xc/xenctrl_stubs.c b/tools/ocaml/libs/xc/xenctrl_stubs.c
|
||||
index 6e4bc567f5..a6756c4a8c 100644
|
||||
--- a/tools/ocaml/libs/xc/xenctrl_stubs.c
|
||||
+++ b/tools/ocaml/libs/xc/xenctrl_stubs.c
|
||||
@@ -37,14 +37,12 @@
|
||||
|
||||
#include "mmap_stubs.h"
|
||||
|
||||
-#define PAGE_SHIFT 12
|
||||
-#define PAGE_SIZE (1UL << PAGE_SHIFT)
|
||||
-#define PAGE_MASK (~(PAGE_SIZE-1))
|
||||
-
|
||||
#define _H(__h) ((xc_interface *)(__h))
|
||||
#define _D(__d) ((uint32_t)Int_val(__d))
|
||||
|
||||
+#ifndef Val_none
|
||||
#define Val_none (Val_int(0))
|
||||
+#endif
|
||||
|
||||
#define string_of_option_array(array, index) \
|
||||
((Field(array, index) == Val_none) ? NULL : String_val(Field(Field(array, index), 0)))
|
||||
@@ -819,7 +817,7 @@ CAMLprim value stub_xc_domain_memory_increase_reservation(value xch,
|
||||
CAMLparam3(xch, domid, mem_kb);
|
||||
int retval;
|
||||
|
||||
- unsigned long nr_extents = ((unsigned long)(Int64_val(mem_kb))) >> (PAGE_SHIFT - 10);
|
||||
+ unsigned long nr_extents = ((unsigned long)(Int64_val(mem_kb))) >> (XC_PAGE_SHIFT - 10);
|
||||
|
||||
uint32_t c_domid = _D(domid);
|
||||
caml_enter_blocking_section();
|
||||
@@ -925,7 +923,7 @@ CAMLprim value stub_pages_to_kib(value pages)
|
||||
{
|
||||
CAMLparam1(pages);
|
||||
|
||||
- CAMLreturn(caml_copy_int64(Int64_val(pages) << (PAGE_SHIFT - 10)));
|
||||
+ CAMLreturn(caml_copy_int64(Int64_val(pages) << (XC_PAGE_SHIFT - 10)));
|
||||
}
|
||||
|
||||
|
||||
diff --git a/tools/ocaml/libs/xentoollog/xentoollog_stubs.c b/tools/ocaml/libs/xentoollog/xentoollog_stubs.c
|
||||
index bf64b211c2..e4306a0c2f 100644
|
||||
--- a/tools/ocaml/libs/xentoollog/xentoollog_stubs.c
|
||||
+++ b/tools/ocaml/libs/xentoollog/xentoollog_stubs.c
|
||||
@@ -53,8 +53,12 @@ static char * dup_String_val(value s)
|
||||
#include "_xtl_levels.inc"
|
||||
|
||||
/* Option type support as per http://www.linux-nantes.org/~fmonnier/ocaml/ocaml-wrapping-c.php */
|
||||
+#ifndef Val_none
|
||||
#define Val_none Val_int(0)
|
||||
+#endif
|
||||
+#ifndef Some_val
|
||||
#define Some_val(v) Field(v,0)
|
||||
+#endif
|
||||
|
||||
static value Val_some(value v)
|
||||
{
|
||||
diff --git a/tools/ocaml/libs/xl/xenlight_stubs.c b/tools/ocaml/libs/xl/xenlight_stubs.c
|
||||
index 352a00134d..45b8af61c7 100644
|
||||
--- a/tools/ocaml/libs/xl/xenlight_stubs.c
|
||||
+++ b/tools/ocaml/libs/xl/xenlight_stubs.c
|
||||
@@ -227,8 +227,12 @@ static value Val_string_list(libxl_string_list *c_val)
|
||||
}
|
||||
|
||||
/* Option type support as per http://www.linux-nantes.org/~fmonnier/ocaml/ocaml-wrapping-c.php */
|
||||
+#ifndef Val_none
|
||||
#define Val_none Val_int(0)
|
||||
+#endif
|
||||
+#ifndef Some_val
|
||||
#define Some_val(v) Field(v,0)
|
||||
+#endif
|
||||
|
||||
static value Val_some(value v)
|
||||
{
|
||||
--
|
||||
2.30.2
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,106 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit python-any-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Apache Kafka C/C++ client library"
|
||||
HOMEPAGE="https://github.com/edenhill/librdkafka"
|
||||
|
||||
if [[ ${PV} == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/edenhill/${PN}.git"
|
||||
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/edenhill/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
|
||||
# subslot = soname version
|
||||
SLOT="0/1"
|
||||
|
||||
IUSE="lz4 sasl ssl static-libs zstd"
|
||||
|
||||
LIB_DEPEND="
|
||||
lz4? ( app-arch/lz4:=[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl:=[static-libs(+)] )
|
||||
ssl? ( dev-libs/openssl:0=[static-libs(+)] )
|
||||
zstd? ( app-arch/zstd:=[static-libs(+)] )
|
||||
sys-libs/zlib:=[static-libs(+)]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
RDEPEND="!static-libs? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
static-libs? ( ${LIB_DEPEND} )
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} != "9999" ]]; then
|
||||
sed -i \
|
||||
-e "s/^\(export RDKAFKA_GITVER=\).*/\1\"${PV}@release\"/" \
|
||||
tests/run-test.sh || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC CXX LD NM OBJDUMP PKG_CONFIG STRIP
|
||||
|
||||
local myeconf=(
|
||||
--prefix="${EPREFIX}/usr"
|
||||
--build="${CBUILD}"
|
||||
--host="${CHOST}"
|
||||
--mandir="${EPREFIX}/usr/share/man"
|
||||
--infodir="${EPREFIX}/usr/share/info"
|
||||
--datadir="${EPREFIX}/usr/share"
|
||||
--sysconfdir="${EPREFIX}/etc"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)"
|
||||
--no-cache
|
||||
--no-download
|
||||
--disable-debug-symbols
|
||||
$(use_enable lz4)
|
||||
$(use_enable sasl)
|
||||
$(usex static-libs '--enable-static' '')
|
||||
$(use_enable ssl)
|
||||
$(use_enable zstd)
|
||||
)
|
||||
|
||||
./configure ${myeconf[@]} || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Simulate CI so we do not fail when tests are running longer than expected,
|
||||
# https://github.com/edenhill/librdkafka/blob/v1.6.1/tests/0062-stats_event.c#L101-L116
|
||||
local -x CI=true
|
||||
|
||||
emake -C tests run_local
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 \
|
||||
DESTDIR="${D}" \
|
||||
docdir="/usr/share/doc/${PF}" \
|
||||
install
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||
fi
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
AUX protobuf-c-1.3.0-no-build-tests.patch 1020 BLAKE2B adda0e4764283d00093709bc97500187521c1d099c6a057513cd4c4ab3b595479f62e7f90bc28ee062f7cae8a760445c78334468f25291320b74d46a5bb454cc SHA512 c6b6f37d8d0fb1ac14e650cc521034267b0af06525249078cc81fc8a3d551dc446bb5285228ca349ce18581979ea88eb9765233154cfbbedd8c4a937987d2684
|
||||
DIST protobuf-c-1.3.3.tar.gz 500505 BLAKE2B 6f00eac847f5287cdea5afaea5be05d660eda10b30a14bbab89331ef134f93b8a77d3f6546cab246447494b0283b32218f794c56a7d081906c49668631b14505 SHA512 85308348929487e3a89158c6078dab39cee0b39a0611a4d5ba73d20520e41d96915e42a0d6060ebd3eb7d922c82444f5ca000ea4f8791b37734485cbb7e283b1
|
||||
DIST protobuf-c-1.4.0.tar.gz 505251 BLAKE2B 5f53238c064f82de87012eb739bf6a44c202d0dbf2fc5af394accdc52a9934d1fb9cea2bb4a4d529fdf98959546aaa672c1c991a9a7016803d16f65accc907cd SHA512 6a2e5031b85b5986e863661437dea002eba217257a50a27db88d29fa1a3db1014ed6ec7c21d89df700d181b18e169d1037146cb6475c10cd5a068a91e522e3c3
|
||||
EBUILD protobuf-c-1.3.3.ebuild 984 BLAKE2B c282ba26b201c74f2d32a0218e3ac04d3d1319471c10bfaf3b8efa72ac335317a2b1d93699c8f64f01691138c53b09e621de43dd80d4b56df9365e17d49fee2b SHA512 2d67f3edc2c60e5705c2fcfca275cd49f1c42f60defa443c94e3a2f5cd62e433bcd55fe3a9abe0e57c015b1e65398423ba17fc29f0d735df59f9f342adf9e49b
|
||||
EBUILD protobuf-c-1.4.0.ebuild 967 BLAKE2B 5df7953ee98cf8099b54eeb22907e95afdf89abb5760f9a4be9b6731a55dde750203a069a8fe2ff9c540502ec510201af93a09b631b395864fc1b0034ba27606 SHA512 6e34a04329f0eb8538b3f8a5952b0fe11ebf8288e619454ae074c7bc951f538b59a24756ec9f5096778e65adb76a46718e3a673e756e199e299e9d408bb3dea9
|
||||
EBUILD protobuf-c-1.3.3-r1.ebuild 1080 BLAKE2B 030805a9c9ac7dbf9fa6d9f2815b6ddb74821abdec9b4ba1d540df15d97a8f29c6f0b7d144c88392740d99bfe134e8b52d6be90da9ccb48138f7741ff552e173 SHA512 4c3fbacee9cb0f9a636158544cf68e58b0f648f582459b8741a45b4022dbf563f735b42d4ba6eb4ad48e7479e305f9a7dbe5972c072d0b5e35650ff8f6c04fe4
|
||||
EBUILD protobuf-c-1.4.0-r1.ebuild 1063 BLAKE2B 6092cb7ce936018f20d7f2bc8e496098cc0c4c56588b7da5878b60962f976423fc2428753fe4a1f5132e7d5ab96805dee3cfe0e4acd1536756dd9c4296ab85fa SHA512 b3b2a403eab746d74d89dda90dd80222dfd87fde5e0fed626d1c8c25ceb6c884ce43279f508cd9fd6cb8f5091d160818839f78dbb4fde369f5c3ba762484b12b
|
||||
MISC metadata.xml 259 BLAKE2B 650e53279ca9375b8dcdec83d1065b370b820ee770225c753fc93d8600781aa4c191fe2a8016e34f5a24b4f9a94b922bc48eb75550c25a2d85672674866c0b62 SHA512 12f8cbcc9bac27c99a9a80b6f9ae803a8cde6b765ce0487a08cf76e83347bf0ac9793d50cc00d692a6069906d0e98af684c7b060262ec95f57621850ca47677c
|
||||
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=ISHIGAKI
|
||||
DIST_VERSION=1.70
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Self Contained RDBMS in a DBI Driver"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="system-sqlite"
|
||||
|
||||
# Please read https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBD-SQLite
|
||||
# when bumping versions re: system-sqlite interop
|
||||
SYSTEM_SQLITE_DEP="
|
||||
>=dev-db/sqlite-3.35.5[extensions(+)]
|
||||
"
|
||||
RDEPEND="
|
||||
system-sqlite? ( ${SYSTEM_SQLITE_DEP} )
|
||||
>=dev-perl/DBI-1.570.0
|
||||
!<dev-perl/DBD-SQLite-1
|
||||
virtual/perl-Scalar-List-Utils
|
||||
"
|
||||
DEPEND="
|
||||
system-sqlite? ( ${SYSTEM_SQLITE_DEP} )
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.480.0
|
||||
test? (
|
||||
>=virtual/perl-File-Spec-0.820.0
|
||||
>=virtual/perl-Test-Simple-0.880.0
|
||||
)
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
perl-module_src_prepare
|
||||
if use system-sqlite; then
|
||||
einfo "Removing bundled SQLite"
|
||||
eapply "${FILESDIR}/${PN}-1.64-no-bundle.patch"
|
||||
# remove bundled sqlite (rt.cpan#61361)
|
||||
perl_rm_files sqlite3{.c,.h,ext.h}
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use system-sqlite && myconf="SQLITE_LOCATION=${EPREFIX}/usr"
|
||||
perl-module_src_configure
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX DBD-SQLite-1.64-no-bundle.patch 722 BLAKE2B 6c906a72b8ecc0111eed947ce9ab06c8ef28a2989d1dcd3d23937dc9a4f656ef7342ab2b66634ba987282934156a1e8ba0621766279293044c1269f2e7754d91 SHA512 b547a410367d739b3d8790788a5d6cb8b7f9026f176cbcaa90c01c6007a406b28dbb06deda00ffb4bd6b502433c6035026754809e1faae6d2855180c0f0b58e0
|
||||
DIST DBD-SQLite-1.66.tar.gz 2483436 BLAKE2B 269f10652b1ca5b56d7db096c5cb9010d0103b28f3eca88a426adbacab7a84cd22002af752fcb6afd8a47d87ba702434640a2c398055eca4b37016e104f26bd7 SHA512 4d58003e69f29b18d01ed0b5853cdac40ec9ce5d4c75bc8a3743937897a38290a99be30b1b9fae593b0d8d51d05b7e2438d29f7a7c1c755b66de51826397aef9
|
||||
DIST DBD-SQLite-1.70.tar.gz 2537672 BLAKE2B 30703bce48e4c4c91a60fa863210e91a2443167201583393700b550f9e91a908a881a3acaf643c901b2305792a6200207caaaf5e12fda315f4572a12c1ebdb6b SHA512 163d53a8a214202a39b346ae023f9d10255c69dde537bc764a4ef312b62ef7b02ae1400e6c1a59d0483fd98abba6c36939214c13f5d9b3a2727c41753ba59060
|
||||
EBUILD DBD-SQLite-1.660.0.ebuild 1412 BLAKE2B 0671faed5b3a45e7bf9d8bcd4e08742bb6cd6b377cc35c7efd2daaff97f67462fa81f5babf0ea8977a7f71d55b7d8ada6e650d320a8ef4e8d5094891ae038d89 SHA512 7cdcf47a4a4c3bcd5eb03a36a662204a4673781d47c93fdf0f1dad5cc4764c1a073eb3973fab3e374aed10c56f3cb96478022a409037fd4c5c098193ede2eb50
|
||||
EBUILD DBD-SQLite-1.700.0.ebuild 1309 BLAKE2B 1c7f7ab2cc452aaeb387f0e12fdd3b50fe8699df2e34823370711431fc68db98eb792f409531dceaedb42d5fb90c33f715c9060f6f24aaebcf5d9f5420b9c8d1 SHA512 9a47cc31c31b767079a29cc28a10805fd9411097930af84a4f55d0fe9e8ae4279046694438a3b60bc6c57c2a168e3d3d5954b739bdaa72415045d29fdf195443
|
||||
MISC metadata.xml 1144 BLAKE2B 6fd95b7afc6f741971272b1781c1477506f380d796d2298546715490fda34379338e6e5e536f464fd8f7e3d2de9294ab7787c7ec09f885060af74e60f173f05e SHA512 fd7b6a5e97c6f29f48af30c7a58c72f8569b0e6c26accb8cbf40273011923ff36658382d214ceef04118e3137411f388bfbe3988d98b74384db771292be4cbe5
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=TLOWERY
|
||||
DIST_VERSION=11.95
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Interactive command shell for the DBI"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/IO-Tee
|
||||
dev-perl/Text-Reform
|
||||
dev-perl/DBI
|
||||
dev-perl/Text-CSV_XS"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-perl526.patch"
|
||||
"${FILESDIR}/${P}-local-scalar.patch"
|
||||
"${FILESDIR}/${P}-nochrdir.patch"
|
||||
"${FILESDIR}/${P}-sprintf-warn.patch"
|
||||
)
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=SCHUBIGER
|
||||
DIST_VERSION=1.11
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Parse informal natural language date/time strings"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
dev-perl/Clone
|
||||
dev-perl/Date-Calc
|
||||
dev-perl/DateTime
|
||||
dev-perl/DateTime-TimeZone
|
||||
virtual/perl-Exporter
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Getopt-Long
|
||||
dev-perl/List-MoreUtils
|
||||
>=dev-perl/Params-Validate-1.150.0
|
||||
virtual/perl-Scalar-List-Utils
|
||||
virtual/perl-Storable
|
||||
virtual/perl-Term-ReadLine
|
||||
dev-perl/boolean
|
||||
"
|
||||
DEPEND="
|
||||
dev-perl/Module-Build
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
>=dev-perl/Module-Build-0.420.0
|
||||
test? (
|
||||
dev-perl/Module-Util
|
||||
dev-perl/Test-MockTime
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
PERL_RM_FILES=(
|
||||
t/pod-coverage.t
|
||||
t/pod.t
|
||||
)
|
@ -1,5 +1,3 @@
|
||||
DIST DateTime-Format-Natural-1.11.tar.gz 82424 BLAKE2B 454b6c525f3bdee31ad077ba3445b307e175f023dcee3309b7b9f05eced9d9424bde28700dbf22b210910bd056b21293e026290c3a9bf7b47ac3f73d2ac1ccfb SHA512 1e89fe7ea05eec620f453cde4874bba6ced5d4055944e9e396226041c1d2efaa9b5a4852b88484b7dc00d792d2842a5c74f5eb86e70b220a3a8afbc7e1111c80
|
||||
DIST DateTime-Format-Natural-1.12.tar.gz 82853 BLAKE2B 4705b8449bf255d9a2e15bca7dfe862d0c44e9e851808f2879e3452df083e89d97af2ff48a599959102a85bfb4d701b5dd390200c6516eae49cf29bb2e43fa32 SHA512 c2685815e76d7208d2491a01bc93e0c15657325fc1e9b33b85f123085814b9d4554a25b575241605a6c819f1627486b093bf08eeb25bb55531e15a15ddf158c8
|
||||
EBUILD DateTime-Format-Natural-1.110.0.ebuild 880 BLAKE2B c49834f3a89c16c84644e09de5b0a896614b90cbc92ba8104513d225ad750c55f539d862a2d6ca27d24b2e008bdef6efd783b0b89bc5c53dff8a8b1ad3596989 SHA512 82454b8151f4505ee486f32c5b3aa67ec0ef6200fd92e0c7f7054cf681b185f327f1f92c034b2a635006bd6f88f4e6c47593095f49d630e69483b0df1e7598a4
|
||||
EBUILD DateTime-Format-Natural-1.120.0.ebuild 823 BLAKE2B dafd46dc79b50641e9deb9ad7cb44beae26281e30ce6d8d0b8a7ff53bd38528c1c053675be3647d19012d61835a1903212a69a499456bf50e0cb47a51f28a590 SHA512 a54002f09c8c8a0bd22f16421f12f39f333e07d061252dd8eb81384f8f13a5f921e3d23b0f917e39686878e013758eb0199e6abeeee24ee077303c92ad79dba0
|
||||
MISC metadata.xml 1561 BLAKE2B 42dcfac089867f7b309ea7cdf73bed3288e1618edc82348a8c581aa32f7f99ed07c90ee501b21e670c18e8b439974b3bebaa9d4d71a217af3ac362bf9c7081e6 SHA512 e0d0c45e146c0604b18c0ee9b617913167823ecd289751fab414ec24eadf3ba8c415288f3ffd5c113c2df8780644278b3c10c74c3218148012e89115b53426cc
|
||||
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=DROLSKY
|
||||
DIST_VERSION=1.77
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Parse and Format DateTimes using Strptime"
|
||||
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
>=dev-perl/DateTime-1
|
||||
>=dev-perl/DateTime-Locale-1.230.0
|
||||
>=dev-perl/DateTime-TimeZone-2.90.0
|
||||
virtual/perl-Exporter
|
||||
dev-perl/Params-ValidationCompiler
|
||||
>=dev-perl/Specio-0.330.0
|
||||
dev-perl/Try-Tiny
|
||||
virtual/perl-parent
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-File-Spec
|
||||
dev-perl/Test-Fatal
|
||||
>=virtual/perl-Test-Simple-0.960.0
|
||||
dev-perl/Test-Warnings
|
||||
)
|
||||
"
|
@ -1,7 +1,5 @@
|
||||
DIST DateTime-Format-Strptime-1.74.tar.gz 105317 BLAKE2B 997a76591b710f61e003998fc97ec26a8c5ce43dff83e42dd9cab5b13238c21e40f327afe46a0258b9f8e725abfc35d0d9957cf4e89936aa17cf79b1f7d111d9 SHA512 3b2b640f93956e82aff47f068c596018700615414c9b9ccf8d6bf68ad7b626ec86a831ec2b68807d7f137c10d4b8cfa5d2d50a6304252f3dfecbe9ff94e59617
|
||||
DIST DateTime-Format-Strptime-1.77.tar.gz 114321 BLAKE2B e942f79b4d54aac70b922f4c4b0649bef65a4b80a1aeb784409186c74a8e9dc3cf878460a9282ae947ce6a354da964a67403c5f0c2dd83e33ec2f36f07555497 SHA512 d6f997831ffe054b6052dc7d9a783fa64fb2dd90babbd97ea2dd11eacc0e6d1a6718c2dc877c444863be502482f6fc856f02f0feae8abb36220b60f417ee87ec
|
||||
DIST DateTime-Format-Strptime-1.79.tar.gz 119122 BLAKE2B 8125e095d6bc9c14b26278bbf2d7b04b783533f75f441637b13c5d5a117bf248b4db6db8da3e8c72e4c39aa45acc38a00816eba21ee29ab13e953021b84086b6 SHA512 842da603c4314e2506f12de2a8ce5e7bf29b183d6064b7f40b663934fba3612e26073835c49c5f58accc9727f1c1883d48deb69e11ceec28f9f47e776c4e2d7c
|
||||
EBUILD DateTime-Format-Strptime-1.740.0.ebuild 919 BLAKE2B 7e0ff0092a54624d9e725bc657966bccfb0ec6f02797f8f672ec9f2ec418b3b7ec625149e8f8ae8c7ad72544ddcdff417bc083720c356cf0b1cfdf4ecf3b9968 SHA512 a8b5999289b0644266c3f7429daeef10eb3d8432f9eb09b7f9eaab10870afef184e39b1583b582c842c94291849a940e9518133730a13c00641484559feac63f
|
||||
EBUILD DateTime-Format-Strptime-1.770.0.ebuild 879 BLAKE2B 0a7b394365c8c728f03c3b1efb6823060d24651deeed05e19a5fcd93ca08f084cf52e6047731310326c3bf7d64285d6bb6d993e5c6b5691d0487e336af5383c9 SHA512 67ac48dcb32edf43dfdd77d96e26b44202925811a3d84b8a4ed464c753906cbe8f0b2384293ab6403bf249ea548f1fa7b312f99b14c126b8e60d234df1ba54e0
|
||||
EBUILD DateTime-Format-Strptime-1.790.0.ebuild 877 BLAKE2B 38a7152ecc8f3537dce3b90aa61e740fa35b5518f3f97516801018cb9d3e2276fa70c01911c90f5e84cee6d0e4dfdeff322011ef840cbcf374b4cefbf7067265 SHA512 51570779b7aea05c428ecca7066743200d4d04ece8d3bdc42677380bee298514204a6e5813faeffeefd6324de0ae1e02d6d5140bc1ed73f06a57936b9c9bcdec
|
||||
MISC metadata.xml 502 BLAKE2B d97ddac13e97735b35aaac5f209a94a7e7532101d9dd130889d70641d7e6446aa644e3e03a6f7a0790a1a1439bdd85f1255fac2e9fb248c2300ada18010a2666 SHA512 96ed5b2143e555d4b348d894541ada1c3b26d13dbb63ea62959b5a39558cc79d2a0d04520695ef1dc7260015309bde299e77b82cb0260131b8212dbd9583aebb
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=GWILLIAMS
|
||||
DIST_VERSION=0.07
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Parse and format W3CDTF datetime strings"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-perl/DateTime"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.360.0
|
||||
test? (
|
||||
>=virtual/perl-Test-Simple-0.610.0
|
||||
)
|
||||
"
|
||||
src_prepare() {
|
||||
use test && perl_rm_files t/pod.t t/pod_coverage.t
|
||||
perl-module_src_prepare
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
DIST DateTime-Format-W3CDTF-0.07.tar.gz 29598 BLAKE2B 11d1281124a59ccc1734bad641b9f0278b3a34d1bcb6ad6dc030fe2e384961fbcdfea7653c62578c9c22d636610a1b0bb4fea327ab0b4674d0a27178fcc81b62 SHA512 f5b8f3437c4e9a7e192900af16e83a567889dbdf1a934d604461c5096c271b497cda9bd4f9359658f536d262232e4521519f92c06bf07712922403baf6429c64
|
||||
DIST DateTime-Format-W3CDTF-0.08.tar.gz 32885 BLAKE2B 049c45a757bca3e8bf437665cc1e4383d1efbd283fe613501354c38bf29f728543f1a4496dc30938e9d9cfbfc12118d491292ea0101a701f747ed75c344eddbd SHA512 d7b04870909432a7a98189dc2239ec201f9132e5a5b6db5d3284351a7db31324c1451538880d215073f8fa1e0f909b99a51354e8e87d6c4cf11d90ea184c9b4e
|
||||
EBUILD DateTime-Format-W3CDTF-0.70.0.ebuild 623 BLAKE2B 31616f2e6c2348d942b63506660a17933a44ee522c476cde0aaf59c6ef3d8ddff219d1cbe2fd4acc596880596d34bd2b519786a5d6185ebb9499623a31bddd45 SHA512 dcd3be0f60b2bffea3c919bcaaabe1827451a1c8098a6de435072eeef7341fdbd7404ce72cef514ce7b7b33c7a44d37e83684f113a7a3bb54033a8b53757308c
|
||||
EBUILD DateTime-Format-W3CDTF-0.80.0.ebuild 635 BLAKE2B 0da3b108dbadede9fcdc3e4867c19399d079ea642faf359ce17fb3c93acc558b581fe1708a7a8cb8777d8e03b94cde0d4173cbd368aaea8c0ebdf76cc15c1dcb SHA512 7ddf50fb70ddda05b85e5455e6822b405c86398511dcfbf74b06c89f2798fefda664815a05ebc46e4ad624efa1a89861b5bde3080b7cf559ec8c4066128c24e6
|
||||
MISC metadata.xml 418 BLAKE2B d3040ddba94a944f6516f868b126333652bff81edaa76f24e24201dbed7a4d88100e806bfaf9103577aa857ec79c48a017a7ba5331f6031799408de27743e743 SHA512 a7a13f7d0c8e2701806387b130f8a302b8390126ff39b8f79d9ba5f4329e78d7b44641235b4fa3661089a5e8f4b2e2f64caf46712f1e4518fc95a50de744f56f
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=DROLSKY
|
||||
DIST_VERSION=0.03
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Create DateTime objects with sub-second current time resolution"
|
||||
LICENSE="Artistic-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-perl/DateTime
|
||||
virtual/perl-Time-HiRes
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
virtual/perl-File-Spec
|
||||
>=virtual/perl-Test-Simple-0.960.0
|
||||
)
|
||||
"
|
@ -1,5 +1,3 @@
|
||||
DIST DateTime-HiRes-0.03.tar.gz 24278 BLAKE2B 89430f4c1c520dce86951b7231883b374a5ec081e0b844b2a0c4d86744eadfd577238a173fb5cd4138f78ee39d7d4e4be6f8399aac1b658aa89f7b49d68864b5 SHA512 94b5cf4d3dd73efca7a1ac184df06b1525c09873d7d0090e15a7107d7ecec48cdc3e5c8670499c2701e4c6a03fd6594f8ce51e732ee8ba7cb1dd34827149c207
|
||||
DIST DateTime-HiRes-0.04.tar.gz 27696 BLAKE2B f5e08d0facd0dd636d8fb198f31cec7ca1df28fec5b1f9b60085c8916389ba716d3661614bc0689b980aed20f264cc94eb6999734cbba499f9e9994195c7fb20 SHA512 5e0a8c3e0efd4b50a6057e56200735c5457edbc99005cea4620f2b6c095c47b283b62b2d6f06a8ddc2886c9020cb0e32f9fb33c8fd711210c67bc8391fa57bc3
|
||||
EBUILD DateTime-HiRes-0.30.0.ebuild 528 BLAKE2B a68cb37d241eedb4083410c39369a2a77fb198f2536d108460a384f63245679e2c58b697d27f4e06c1b7d1919bfc0eac5a41f0c88ba6f749aa11b801015cca7f SHA512 d896b4c0436b2463c1c815d173e33206cb7dcbbf13c3cea3000b09013bf7daafaf82d9e9b051dd87987970f30ce32d585883267e95c0654e535915121744ceb5
|
||||
EBUILD DateTime-HiRes-0.40.0.ebuild 507 BLAKE2B 366268008747d09fcb7a206986017530ec2e9f16623cdf33c84ab502479c32b73d92a5e83359922c48805e50087cfa0910a985be41538ad833c0531bb42c50ec SHA512 c90e6e05c7a681f086db17e7e542c2068fb9a52ce61647fe57cf91ab719a3fdb2f5d862cf7514714977aa2e6fa0c3dc7cc66c50e793aa81a6b68c5be0d69274d
|
||||
MISC metadata.xml 401 BLAKE2B 58edffacf2bb6ecf95bcc927109a44c1df006332b9e5e1fd93ba1d8724c7516ce01fef28c4be15f8e1276810c24c4e96d7d235b32748787ebbd90191e144fed4 SHA512 ea4f355660eb3ac2c6377cb211e5995f0f687b723edbffd47ecedf61fa1d6d998e95c4a8fde95c95eee450a3d4b6b5ee32e792c644557f8aebb3796309cbef52
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=DROLSKY
|
||||
DIST_VERSION=1.16
|
||||
DIST_EXAMPLES=("eg/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Localization support for DateTime"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-2+ ) unicode"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
>=dev-perl/Dist-CheckConflicts-0.20.0
|
||||
virtual/perl-Exporter
|
||||
dev-perl/File-ShareDir
|
||||
>=dev-perl/Params-ValidationCompiler-0.130.0
|
||||
>=virtual/perl-Scalar-List-Utils-1.450.0
|
||||
>=dev-perl/Specio-0.150.0
|
||||
>=dev-perl/namespace-autoclean-0.190.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/File-ShareDir-Install-0.60.0
|
||||
test? (
|
||||
virtual/perl-CPAN-Meta-Requirements
|
||||
>=dev-perl/CPAN-Meta-Check-0.11.0
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Storable
|
||||
dev-perl/Test-Fatal
|
||||
dev-perl/Test-File-ShareDir
|
||||
dev-perl/Test-Requires
|
||||
>=virtual/perl-Test-Simple-0.960.0
|
||||
dev-perl/Test-Warnings
|
||||
)
|
||||
"
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DIST_AUTHOR=DROLSKY
|
||||
DIST_VERSION=1.28
|
||||
DIST_EXAMPLES=("eg/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Localization support for DateTime"
|
||||
|
||||
LICENSE="|| ( Artistic GPL-1+ ) unicode"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
>=dev-perl/Dist-CheckConflicts-0.20.0
|
||||
virtual/perl-Exporter
|
||||
dev-perl/File-ShareDir
|
||||
virtual/perl-File-Spec
|
||||
>=dev-perl/Params-ValidationCompiler-0.130.0
|
||||
>=virtual/perl-Scalar-List-Utils-1.450.0
|
||||
>=dev-perl/Specio-0.150.0
|
||||
virtual/perl-Storable
|
||||
>=dev-perl/namespace-autoclean-0.190.0
|
||||
"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
>=dev-perl/File-ShareDir-Install-0.60.0
|
||||
test? (
|
||||
virtual/perl-CPAN-Meta-Requirements
|
||||
>=dev-perl/CPAN-Meta-Check-0.11.0
|
||||
virtual/perl-File-Temp
|
||||
dev-perl/IPC-System-Simple
|
||||
dev-perl/Path-Tiny
|
||||
dev-perl/Test-File-ShareDir
|
||||
>=virtual/perl-Test-Simple-1.302.15
|
||||
dev-perl/Test2-Plugin-NoWarnings
|
||||
dev-perl/Test2-Suite
|
||||
)
|
||||
"
|
@ -1,7 +1,3 @@
|
||||
DIST DateTime-Locale-1.16.tar.gz 1228443 BLAKE2B 43b9bc0439d269dd29856538c87ff866337dc989b85d7e677e62ececf93a194b65cfb99eae07c17a97e8d7c2c917cf533e751856e09c1d63684c70de99aac4a9 SHA512 66b09f2f2d9cbb9ed969c6e881dd68a48957d69d5d4cd8a998b7a79538050807d862813eae677ef28ec2ce645c8fc15b9b5de2b15ed077e936d63a44e072a145
|
||||
DIST DateTime-Locale-1.28.tar.gz 1391000 BLAKE2B ec19047a6d0e55db0235db480e96d49d3ef091df8a3b37acd87fc54936923298cb70b55480b048ac64376e28784f6995ce5f42793f626b5e8022078b03c98eee SHA512 5c6349e9115bd8d6dba0b33809f9d8544f0d40802bbf0111005fda4990d3d815b236c44f60a1b5fe8d28d3f2f19343627df2d7ac87158be07e7de4f05c19a763
|
||||
DIST DateTime-Locale-1.32.tar.gz 1463023 BLAKE2B 56dabcb6bddb81536cae8c5f8ad1073d9e1519faa97de4bb5de2ecce01f2425a778705c33ae9557ca44ec82c75d16e2320d5dc390b7cd7b82e7d7549b98cf98e SHA512 8563f7121876272b9815f5af36f77501cc89d720e0fe08a855a7c563dee6b6399a6213162c6a6f1257c7c76c30a0f3741f642947d1499876d981225c1f5a878f
|
||||
EBUILD DateTime-Locale-1.160.0.ebuild 1125 BLAKE2B ff49c019efcf4b99f9cbde78960594fc53f9c62399b5a64d72106328c2c7c96f4ada71934cf2b0736dd04f294f2037ede7f3c0b5c25ced431679ae7f5801a5ee SHA512 3921d22f8861b3b6b8a8a2c03731b258cb73d34b5e2ce66eb4b2b3f2fab4dcb18e5e1e99c255c32c88f415f6054c02285a2ed9e8dc2a8d9d6389b0d083d3a763
|
||||
EBUILD DateTime-Locale-1.280.0.ebuild 1193 BLAKE2B 962386f4b58d52685a673c0092f804a1d8f9d0137a71d9c4463f1c5a722245ee223b7e8bc55fd69c088399e7234a5731902e54c765eaf617b9bc11aafc292a92 SHA512 4ae0c5fa97060223b050ba7328ac1cb8f6af1c7bebe3bc5250008cbdb0efcbc129a739b23665253ccd5e8fa7cd03e5c30ee9d1cfdd5e343da3e40f8c6f1907c2
|
||||
EBUILD DateTime-Locale-1.320.0.ebuild 1186 BLAKE2B 5b3e9db4624cfe62c3b6c1e0596458bc852d8a7a08b5612151c579db7a35da7bb0edc1d8ef8d98bec12148280659f643778bfac3c4bad9b2d6e3eecbbc1b1e22 SHA512 9567b6abe0b0f984e5a668c009f2a1b760614218e98c9251bb7dd9d906f90fe8f4e2ed99861cef1843b0b9a2c137345329974b8a7471407502d6375662c4d0d5
|
||||
MISC metadata.xml 826 BLAKE2B 7fe3dc4564349c189813e5e0624b5b50920668d0591ed0d0f802d2d7cc51ff980effc63d9cead67d16bbb7e3dbdfbf2765c35b3d6f42e503d08386a599b0958a SHA512 158fa8dd652a0ae0c663d0ffdfbe4e628173d68173145ea1aa26ed1f2a4eee081f081249f932890f7f3dc251e67642a1fc67e1208ffcd248afc23c0feecf88d0
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=FGLOCK
|
||||
DIST_VERSION=0.3900
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Datetime sets and set math"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/DateTime-0.120.0
|
||||
>=dev-perl/Set-Infinite-0.590.0
|
||||
dev-perl/Params-Validate
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-perl/Module-Build
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
"
|
||||
# meta.json is incorrect, it needs P-V and M-B
|
@ -1,4 +1,3 @@
|
||||
DIST DateTime-Set-0.3900.tar.gz 45158 BLAKE2B d8d4e3fa9cbab0196d4f71e551a2f93df9134ac21f2f348d424197cc157d9d9ae04cab1b70fdf7d3a557c28d2eb25d6c4aa53c976f7f03842dd0b80d42018a68 SHA512 cf480bc6220392567757665828541d9cd5534c28aa54e81ffde15c5fa23ce33e64dbe153cbb5add4a6a466a3debc28bd92166aeb0d107ecd9c73960d93b6442f
|
||||
EBUILD DateTime-Set-0.390.0-r1.ebuild 553 BLAKE2B 366d3473f14e973fd5aee64deb4c70fa6c99db5ca1251dc468cbf2582fef8a2d7a93d25b69728d9312540dd23b972a769cab3e30b02373c927f0ce89b9f87fc8 SHA512 d3ad3a56fe9a5ad33fc8061eabfd358c1b262edbff12c12414890ae69b7446248da07280c06119eb16a21c6b886ab83c709cb3e0a0a3d88bb408e4f474f7ff8e
|
||||
EBUILD DateTime-Set-0.390.0.ebuild 512 BLAKE2B db5e9006b6f199741b1557e7590042ecaeed58a55a70295fec568f88deb9cbb46bc9d411058480e8ea0f408aa2b329f2fe860e204c821cedd4cb375eb1a7ab5b SHA512 44f4166b8302ff66a189a2bae9c956d62335585768e3217cc5386fc9bd17763be1d7b785a7e5e0f330a91087037d590afc21365a23e5a11ed519eba61bdd743b
|
||||
MISC metadata.xml 595 BLAKE2B 24a366ec73296ef1afa952ad0f15ed9a427743767821d0a68a7ab686d85cfffb5a8067ab5588eb457b102bf0a7b853bc27ffc246388b7550f251893dc72e57c5 SHA512 65dd44a85164b4bbe46b1a8a8b2ac4b893f0fc74031743557573a8d67d7fdf22ea38ce2d2bf67aee3c5235c8c569029440a02b715b0a54a6dcb50a94668b88f5
|
||||
|
@ -1,5 +1,5 @@
|
||||
DIST DateTime-TimeZone-2.13.tar.gz 945446 BLAKE2B cbc715cdea59098c1cb6994a99b93785769b0a97c32260fd2c00a0caa48682cbb0280db02e68e7d9dea97d5a557baa9a37cad86d9518a30a7d760bc0f44447b6 SHA512 6003b2b6044c35a7c75840cf550d1f68500c1d762dc0ebdcf22e1714b68804382d2d969512d183c460fe89fe2fdbd8037463594536d6c3acee0ccf79734ac654
|
||||
DIST DateTime-TimeZone-2.47.tar.gz 1006477 BLAKE2B 51d538f2e83c4179f0b77033953f7b8cb23b8978d916ae5e390acd773a59705f80a25ff3874bc71fa8c8f3ee94c8c755b59f76e8689e277a0ca4a4988bba69bf SHA512 483c5314fa520c1597ad9c819b6785302cc77d719e4042babe6a35e72e7600e9b9d506950979d4051825588ad45efb0a2023bc08340e6fbb308f03706f3438bf
|
||||
EBUILD DateTime-TimeZone-2.130.0.ebuild 931 BLAKE2B 7791fc98e273ef33669fe0b7a4a91259ae61a80ad1ffa1497e210e6d634e3312b6af5cf55c9319fd4918abb1bba5399f3461fd5730d32ed9a070293c16584625 SHA512 d0c480ade26a3425a750c1fade10a60750fa5dd671343ebfb79354038e0044ca4e1167cfc58e70de85999c3cc90c6ce6fb14a9694d2ac9f908653ff15922ceed
|
||||
DIST DateTime-TimeZone-2.50.tar.gz 996568 BLAKE2B 62512945ce26617343ff53d458760fe1da67a330007999915e57276c7194750771a47da2780282a6d6271e0600002d77c484f70a26f0afd8331827fc82554ffe SHA512 3fa436bdcccdda2bc7d9506b0faaad654731b6bfb886ff1c69544211b697deb2a6d9810b4cfb858109b42bd4e53e532b2b958157a99108f2100038fd2f953e24
|
||||
EBUILD DateTime-TimeZone-2.470.0.ebuild 940 BLAKE2B 49f5ac562ff0866d0207b86b85588275394dce402a6b1717afce98f7321c037fad7b7d2e4e81f2f5424cfdd37ca4d96c79f440a4c2aa8e3821aac18ece49545d SHA512 6277fb9eca65d57a43434ac00d04acd370d6b8788b29cf05d537ad8a854dd4dcbfede65e2669c804a47733d5eddffb96332cead16806f59856dbb08f4d8b7de5
|
||||
EBUILD DateTime-TimeZone-2.500.0.ebuild 908 BLAKE2B 51210b3e3cdb5d9501a64a40378372da3c8f6a81e5209fd87634f2e525b8b22ca30792164685284d812cb4373da8f32ecb1bf77771b2ea928a6c1c2bd4192c56 SHA512 b741e8c92e2f184d83b014db2de87db09aa26096b3fab77df0c342a8ce27ce084398be581bd93fd4bb9fc8dfa80c4523e8e2329243e4d6b5ecdf6a6e64ddc6d1
|
||||
MISC metadata.xml 31313 BLAKE2B 98b7ffebb5825d4ed6dfb2cdf1e451431738c5b08c428977dac880dafc9b78a0518e9c39262dba8de76169f4ad4715a21a8d42e18d6b35cdbe901b5c2772722d SHA512 b06ba76d7c41edd3f825cf06ae338d089b3d4fa53ef4c2fd0f90196e1ab406fc7080af57b0f3a285241c69251fb93ab55018c3dadd51d5da8a747f7611daa8fa
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,6 +1,6 @@
|
||||
DIST raphf-2.0.0.tgz 15715 BLAKE2B bab2997d9ce8358efaa69f2e633f49e4dd16f640e8d30284ebb33767285bead1aabcd973e7133152b82cf624e2c2e68cc6247e424aa5ed540e4211b5ed3da365 SHA512 16b029b694d30817a68a1a9d80bdf031d058ada45a93a4b34b49ec5d61fa8af78d0dbf1a3e5e2f1b950b2a11ac0b86b5a467807551556ab2a77f7f99739ed11b
|
||||
DIST raphf-2.0.1.tgz 16003 BLAKE2B 4eaf9f89e6572e17e0df347543dc99221f68d45103444f89e59862b9078574722278fbb1e2841b0a5952ffd6dfc4ea0fa81298f2014ffbe8a6b51ed6887f6692 SHA512 0a609fc21a62880963e7afb75297eb75a2598aab2c816cb61e84d665b0453e4952aa9bf25fe2c818cc94492a4b94aed965053c67899fdb984d88661364fffb1e
|
||||
EBUILD pecl-raphf-2.0.0-r2.ebuild 919 BLAKE2B 14dfe1232c27311d3606cb8ae7c7719db41a62d379dd22573868c208e1507958647d3132c31d71aa67c3402cf6baab00daed248e4fcb046e4e92ed4b48d5e4c9 SHA512 5af2ec4f69bd7d5ae63199bde5cdb486af2685b6e9174d7e83b1d5547f87e3852b98d22f3f7c4c07cc69c760f1aae864053fe87be89749accd7130fc2cd6eee6
|
||||
EBUILD pecl-raphf-2.0.1-r1.ebuild 422 BLAKE2B 868dc5bcc9d3d51ce7ee9cadc31e6693d23fa015f7c79846f3b2bb155a54b3c30396b4c1f39621f863d5c77c3a8c4ef188bd6f7f517b35c5b93c1c25e2e77346 SHA512 b73b9aab5e84924dc19dc05ab2ab8db23e526dc2053c2d01791187a6500ce6a52c9c36012a67d5bed8d8b61d4bf2f74eb5838744bcb7edd7ea2b918b8bddc3b1
|
||||
EBUILD pecl-raphf-2.0.1-r1.ebuild 421 BLAKE2B ecb0f629f2cee29cbaeec7a98edc65830f0b72729abca3fc6bbf04ded3fe51bbe3ac6b2580fe88ad96ba89c23d67991b79c261c16a72f80133724d7172c99cdf SHA512 1cbec8756d57bd05eb90800bbb0e9b9d6758aee65afb3cc47fa50cc635a68749dde8052992497373c3f73b8f4028a33a654dae92506d75fbf7b60ee389490c64
|
||||
EBUILD pecl-raphf-2.0.1.ebuild 936 BLAKE2B 93e6dff75e26213d70f78b51f60875ea7f4d1a356935a2a2657bd1ee016980cb73f23b388c9095534fb6e8bca559c899e829aaaed2374a804d2cc879416f1452 SHA512 96af5e9198f568f0fa60d71eeb9022098c03105d5bd6407b41ccb788ad6adb309c50ca48558f26e54f7a5e7df03000ea869594cdd61b5f0fbc01fb3c01bdef3a
|
||||
MISC metadata.xml 240 BLAKE2B f60f325331d493a555e53c29c7cf2742a415356da28a467505f1441f3fd790fd0d59050df84854bdc379d19d94a46121216479807975a2922d5a2fefde83416b SHA512 fada9d69055f2be962b95aac82f260ec5db7a3f4392d10f0458a1d125938fa17539f7ec486000f3a95cff85a3fbb6bbf1f6f4fe6c2de7aa420a7543a3e89d03e
|
||||
|
Binary file not shown.
@ -1,5 +1,7 @@
|
||||
DIST PyQt5-5.15.4.tar.gz 3258085 BLAKE2B 96bda4da1321e499707d29d9870693815170ccc32e2e0d7bb3c6977ea2933f9684557124deb92abbf92b923e0071cf47ee4822f6cb5d06fdc61b498efc44db4c SHA512 6d19f549a71eb8df8ba8407398ccd6e3d339436f4f2e7c5dca6885849d6ce510c4f4dea3c97257685aa462bb09a2ead33d80234ccb934f9b1a40285dbec631c7
|
||||
DIST PyQt5-5.15.5.dev2107091435.tar.gz 3264477 BLAKE2B 8289bcce9ebef9b8c289992d508ee1d365c86a127b03e175bb14382ad72150aea396d8358d560ce62b9ff33f3b54f3ebb0bbad8ab26a23edc73217c8325d9853 SHA512 5baf434f57c72a0e01753c69f8b40bc37321441efb652e002e3fff330edb8b7b318af3803fc8702897545763a952f99b68a0043a08e364e6fc1feb1e5d8520f5
|
||||
DIST PyQt5-5.15.5.tar.gz 3239628 BLAKE2B 8992eb9293bb823f1298108a48d0c8578d0acfcccbabc6cb7c209bb591bfed61caf3ab8b8717205698149b5e4b59b4181e67491332e38ae87856b8169d74ba86 SHA512 67600668c769deb37052e6099a35756519987a0796045cdc291add1763bad103df1226f1b6e304e74808279d6ce56231e614617011ce238e1cf91a302981dd26
|
||||
EBUILD PyQt5-5.15.4-r1.ebuild 5441 BLAKE2B 90338bd83e4cefbca3f207be293dfa17ce05f4058522da44129607d1949107c0794c06a8d4e2d79450c5f969520d6d982d4282385d1cc439c6d737144739887f SHA512 5da215138c6c2fbfbd23d3206f69fde4c805725f6a7787186f2306c7cd3daa92a4458c6fdf38b40d640c00a9cb357b00db96a18cd4bb7d30bd8e29f7b82745fb
|
||||
EBUILD PyQt5-5.15.5.ebuild 5249 BLAKE2B ae3d2ef1b773c1d3313f2420beec19533787de75959729dc937cc65e23855bbf08e85731141875145713f341834a82741f66a1be6ad59bf2194975b7bc47569a SHA512 8452ca7b55883950b5c3bd76fd442010b6c430983d8fa312dbfe9eee8459add4e662991916f2c902272e10172d2eb744e11581d2451dd03bd7340e166c75bc56
|
||||
EBUILD PyQt5-5.15.5_pre2107091435.ebuild 5401 BLAKE2B 5feec52e824c809419d0591b97359feea3d099c7ca919f1373674165f1168eadc436d7d4d2f6ee9b09a2107a62eb688031ae3f7391d6f26d02c2ddeb712b2232 SHA512 39a09886fc3bcf4adc8cf9c6f90119c52c3ecb3f15e8d676b1ac4e2aca7859acfed19962f7cdbb0d8693d6ba3af156d0d4a30f1aaa78146d55279ec9f1c6db3a
|
||||
MISC metadata.xml 2287 BLAKE2B b4090aa2c55d05554a152bc3adfa76c68dc78175d26bb4ea6d25858ce2db922c168cc4ded6c7fa9114cf651417e0a6e435baebe460c8efbbd94be17adafd6f43 SHA512 12e3559ff04c32ebce2a382bf3b01730b0b69829c77cdf75f0061143cc19000e126daebbf9014beeae8bd1fba2675ef2ecfe7943296a8dc66000439c104c1351
|
||||
|
@ -0,0 +1,183 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit python-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="Python bindings for the Qt framework"
|
||||
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqt/ https://pypi.org/project/PyQt5/"
|
||||
|
||||
MY_P=${PN}-${PV/_pre/.dev}
|
||||
if [[ ${PV} == *_pre* ]]; then
|
||||
SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
fi
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
# TODO: QtNfc, QtQuick3D, QtRemoteObjects
|
||||
IUSE="bluetooth dbus debug declarative designer examples gles2-only gui help location
|
||||
multimedia network opengl positioning printsupport sensors serialport speech
|
||||
sql +ssl svg testlib webchannel websockets widgets x11extras xmlpatterns"
|
||||
|
||||
# The requirements below were extracted from the qmake_QT declarations
|
||||
# in project.py and from the output of 'grep -r "%Import " ${S}/sip'
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
bluetooth? ( gui )
|
||||
declarative? ( gui network )
|
||||
designer? ( widgets )
|
||||
help? ( gui widgets )
|
||||
location? ( positioning )
|
||||
multimedia? ( gui network )
|
||||
opengl? ( gui widgets )
|
||||
positioning? ( gui )
|
||||
printsupport? ( gui widgets )
|
||||
sensors? ( gui )
|
||||
serialport? ( gui )
|
||||
sql? ( widgets )
|
||||
svg? ( gui widgets )
|
||||
testlib? ( widgets )
|
||||
webchannel? ( network )
|
||||
websockets? ( network )
|
||||
widgets? ( gui )
|
||||
xmlpatterns? ( network )
|
||||
"
|
||||
|
||||
# Minimal supported version of Qt.
|
||||
QT_PV="5.15:5"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
>=dev-qt/qtxml-${QT_PV}
|
||||
bluetooth? ( >=dev-qt/qtbluetooth-${QT_PV} )
|
||||
dbus? (
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtdbus-${QT_PV}
|
||||
)
|
||||
declarative? ( >=dev-qt/qtdeclarative-${QT_PV}[widgets?] )
|
||||
designer? ( >=dev-qt/designer-${QT_PV} )
|
||||
gui? ( >=dev-qt/qtgui-${QT_PV}[gles2-only=] )
|
||||
help? ( >=dev-qt/qthelp-${QT_PV} )
|
||||
location? ( >=dev-qt/qtlocation-${QT_PV} )
|
||||
multimedia? ( >=dev-qt/qtmultimedia-${QT_PV}[widgets?] )
|
||||
network? ( >=dev-qt/qtnetwork-${QT_PV}[ssl=] )
|
||||
opengl? ( >=dev-qt/qtopengl-${QT_PV} )
|
||||
positioning? ( >=dev-qt/qtpositioning-${QT_PV} )
|
||||
printsupport? ( >=dev-qt/qtprintsupport-${QT_PV} )
|
||||
sensors? ( >=dev-qt/qtsensors-${QT_PV} )
|
||||
serialport? ( >=dev-qt/qtserialport-${QT_PV} )
|
||||
speech? ( >=dev-qt/qtspeech-${QT_PV} )
|
||||
sql? ( >=dev-qt/qtsql-${QT_PV} )
|
||||
svg? ( >=dev-qt/qtsvg-${QT_PV} )
|
||||
testlib? ( >=dev-qt/qttest-${QT_PV} )
|
||||
webchannel? ( >=dev-qt/qtwebchannel-${QT_PV} )
|
||||
websockets? ( >=dev-qt/qtwebsockets-${QT_PV} )
|
||||
widgets? ( >=dev-qt/qtwidgets-${QT_PV} )
|
||||
x11extras? ( >=dev-qt/qtx11extras-${QT_PV} )
|
||||
xmlpatterns? ( >=dev-qt/qtxmlpatterns-${QT_PV} )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/PyQt5-sip-12.9:=[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/sip-6.2[${PYTHON_USEDEP}]
|
||||
>=dev-qt/qtcore-${QT_PV}
|
||||
dbus? ( virtual/pkgconfig )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
pyqt_use_enable() {
|
||||
use "$1" || return
|
||||
|
||||
if [[ $# -eq 1 ]]; then
|
||||
echo --enable=Qt${1^}
|
||||
else
|
||||
shift
|
||||
echo ${@/#/--enable=}
|
||||
fi
|
||||
}
|
||||
|
||||
configuration() {
|
||||
local myconf=(
|
||||
sip-build
|
||||
--verbose
|
||||
--confirm-license
|
||||
--build-dir="${BUILD_DIR}"
|
||||
--scripts-dir="$(python_get_scriptdir)"
|
||||
--qmake="$(qt5_get_bindir)"/qmake
|
||||
--no-make
|
||||
$(usev debug '--debug --qml-debug --tracing')
|
||||
$(usev !dbus --no-dbus-python)
|
||||
$(usev !declarative --no-qml-plugin)
|
||||
$(usev !designer --no-designer-plugin)
|
||||
$(usev gles2-only --disabled-feature=PyQt_Desktop_OpenGL)
|
||||
$(usev !ssl --disabled-feature=PyQt_SSL)
|
||||
--enable=pylupdate
|
||||
--enable=pyrcc
|
||||
--enable=Qt
|
||||
$(pyqt_use_enable bluetooth)
|
||||
--enable=QtCore
|
||||
$(pyqt_use_enable dbus QtDBus)
|
||||
$(pyqt_use_enable declarative QtQml QtQuick $(usev widgets QtQuickWidgets))
|
||||
$(pyqt_use_enable designer)
|
||||
$(pyqt_use_enable gui)
|
||||
$(pyqt_use_enable gui $(use gles2-only && echo _QOpenGLFunctions_ES2 || echo _QOpenGLFunctions_{2_0,2_1,4_1_Core}))
|
||||
$(pyqt_use_enable help)
|
||||
$(pyqt_use_enable location)
|
||||
$(pyqt_use_enable multimedia QtMultimedia $(usev widgets QtMultimediaWidgets))
|
||||
$(pyqt_use_enable network)
|
||||
$(pyqt_use_enable opengl QtOpenGL)
|
||||
$(pyqt_use_enable positioning)
|
||||
$(pyqt_use_enable printsupport QtPrintSupport)
|
||||
$(pyqt_use_enable sensors)
|
||||
$(pyqt_use_enable serialport QtSerialPort)
|
||||
$(pyqt_use_enable speech QtTextToSpeech)
|
||||
$(pyqt_use_enable sql)
|
||||
$(pyqt_use_enable svg)
|
||||
$(pyqt_use_enable testlib QtTest)
|
||||
$(pyqt_use_enable webchannel QtWebChannel)
|
||||
$(pyqt_use_enable websockets QtWebSockets)
|
||||
$(pyqt_use_enable widgets)
|
||||
$(pyqt_use_enable x11extras QtX11Extras)
|
||||
--enable=QtXml
|
||||
$(pyqt_use_enable xmlpatterns QtXmlPatterns)
|
||||
)
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}" || die
|
||||
|
||||
# Run eqmake to respect toolchain and build flags
|
||||
run_in_build_dir eqmake5 -recursive ${PN}.pro
|
||||
}
|
||||
python_foreach_impl configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
python_optimize
|
||||
|
||||
local exe
|
||||
for exe in "${D}$(python_get_scriptdir)"/*; do
|
||||
python_doexe "${exe}"
|
||||
done
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installation
|
||||
|
||||
einstalldocs
|
||||
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
fi
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST PyQtWebEngine-5.15.4.tar.gz 49022 BLAKE2B 0ac0b3424f22aabbfd733f2a876e502f133c81f639fbd87a4c7509865635b29d4bd3596ccc151b0919a28eff0015913c4fae1a831dbe774fe2d2aeee732e469b SHA512 25cf8578ffae8adbc1dd8d914921b4edf91f19fcf983c9c83c9c8934b4e918ba27bd34a6b9c8252773ec32e6f1f13a06f22cf7d7326a5aceaa91530ea4ee047e
|
||||
DIST PyQtWebEngine-5.15.5.dev2108100905.tar.gz 49043 BLAKE2B 01b75db0d9fa973ccd0a85f9336e16b7c1fb2a303a0d004d247f91744dc642edb836597877fce6c4f038afa6f87ba066eeaca1e3d467bc15689dbe82e8a9809e SHA512 1ea407832f062dc9b9a6c6312feb4c8f3553b55972e5a32c70c9d1c278918d32934791d60c022a56ab507b6215d5f78e1b4244b9fffa3256aad1f5f4afebd47a
|
||||
DIST PyQtWebEngine-5.15.5.tar.gz 48610 BLAKE2B ea266c09965a6ee62e33d3970b145068271c9e1eb87839782e0100b5db2e90a0c002fc4d6f3d22ef9a5cb8c42a067bb45008b0392a0d8557bc6c5c9d77e6b75a SHA512 20eecd479ea757e3bf9855c7dafe0bbbc0cbc61be26509605a5c9a8026e54bb6e362069ecf4be74733dcf6eec154f6ed13933e334e4455b080e687abfd2659fa
|
||||
EBUILD PyQtWebEngine-5.15.4.ebuild 1704 BLAKE2B fb1021ada58ea969b39bd795ad4b901baac3895ef7cb7b5feabad867fd27fd030da0ef7774a18afcd94431fdc1ec40c5a883bd914184d6c37d84f9dccc012c0f SHA512 190d4c1ad8798fb574cdbeacf83e5c5de9e5550fbecd4ad7a9db079f1beea16fb58f1e00adabc59cb0cb37eac9cef37d7f3b0a40777be2b4d751a3a67a07e117
|
||||
EBUILD PyQtWebEngine-5.15.5.ebuild 1700 BLAKE2B 9cc8caa57f486f5caad2e4b4ddd23635114100e6ea6d1b64ccd93f581e70807bb3a3ed6bf47eda1c7f11ad553c0469d3402d6ca5995218c2d7c4c6025c2e79ba SHA512 bd80088981b055f0954abe738fb56ef536f97401f45e574bee40ab1177ddc696b922caa8f3ce0615c7bab8326d496bd0a705deeb6e2bb4053671568b5c85ab8c
|
||||
EBUILD PyQtWebEngine-5.15.5_pre2108100905.ebuild 1723 BLAKE2B 59b5e5ed4da36243f0ca04c2375db236327e59caae7100773edff786f7e9a651f0ee98539e9fdb7a8fdc149889f04798448831b2d87ecfe6d1596a34159a72d1 SHA512 62e51e300cf3a833bf3d7e88b108a42d447f1f582d3894cba2c5c152d80405050c1792988fa498281f03af3ab2ced5f7e0effc55488bf68095288bcaff828e60
|
||||
MISC metadata.xml 959 BLAKE2B 00163e3954184867c30d8e0bf102bf2fc68bcbbefb4169b2aad2521bdfe5f7e505c71f1e5ff82eaa20f0789b12c6d2812557809abf500c05527afc68ab66d38b SHA512 1d58825dbdb183fe56222b25844daa3d1d0fba14aa77674b8f6c3ec683e3c43f7f3173799b97d7aa3d2410e7f874d7386ebf23f9524b27710646ef5d7d1f8148
|
||||
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit python-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="Python bindings for QtWebEngine"
|
||||
HOMEPAGE="https://www.riverbankcomputing.com/software/pyqtwebengine/ https://pypi.org/project/PyQtWebEngine/"
|
||||
|
||||
MY_P=${PN}-${PV/_pre/.dev}
|
||||
if [[ ${PV} == *_pre* ]]; then
|
||||
SRC_URI="https://dev.gentoo.org/~pesa/distfiles/${MY_P}.tar.gz"
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
fi
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="debug"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
>=dev-python/PyQt5-5.15.5[gui,network,printsupport,ssl,webchannel,widgets,${PYTHON_USEDEP}]
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwebengine:5[widgets]
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/PyQt5-sip-12.9:=[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/PyQt-builder-1.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/sip-6.2[${PYTHON_USEDEP}]
|
||||
dev-qt/qtcore:5
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
configuration() {
|
||||
local myconf=(
|
||||
sip-build
|
||||
--verbose
|
||||
--build-dir="${BUILD_DIR}"
|
||||
--scripts-dir="$(python_get_scriptdir)"
|
||||
--qmake="$(qt5_get_bindir)"/qmake
|
||||
--no-make
|
||||
$(usev debug '--debug --qml-debug --tracing')
|
||||
)
|
||||
echo "${myconf[@]}"
|
||||
"${myconf[@]}" || die
|
||||
|
||||
# Run eqmake to respect toolchain and build flags
|
||||
run_in_build_dir eqmake5 -recursive ${PN}.pro
|
||||
}
|
||||
python_foreach_impl configuration
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
installation() {
|
||||
emake INSTALL_ROOT="${D}" install
|
||||
python_optimize
|
||||
}
|
||||
python_foreach_impl run_in_build_dir installation
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="https://github.com/boto/boto3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
BOTOCORE_PV=${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# botocore is x.(y+3).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit}
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="https://github.com/boto/botocore"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit}
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="CloudFormation Linter"
|
||||
HOMEPAGE="https://pypi.org/project/cfn-lint/ https://github.com/aws-cloudformation/cfn-lint/"
|
||||
SRC_URI="
|
||||
https://github.com/aws-cloudformation/cfn-lint/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/aws-sam-translator-1.38.0[${PYTHON_USEDEP}]
|
||||
dev-python/jsonpatch[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||
dev-python/junit-xml[${PYTHON_USEDEP}]
|
||||
dev-python/networkx[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.11[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests --install unittest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/cfn-lint-0.30.1-tests.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# unpin the deps
|
||||
sed -e 's:~=[0-9.]*::' -i setup.py || die
|
||||
# requires git checkout
|
||||
sed -e 's:test_update_docs:_&:' \
|
||||
-i test/unit/module/maintenance/test_update_documentation.py || die
|
||||
# requires Internet
|
||||
sed -e 's:test_update_resource_specs_python:_&:' \
|
||||
-i test/unit/module/maintenance/test_update_resource_specs.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
PYTHON_REQ_USE="threads(+),sqlite"
|
||||
|
||||
inherit distutils-r1 multiprocessing optfeature
|
||||
|
||||
DESCRIPTION="A library for property based testing"
|
||||
HOMEPAGE="https://github.com/HypothesisWorks/hypothesis https://pypi.org/project/hypothesis/"
|
||||
SRC_URI="https://github.com/HypothesisWorks/${PN}/archive/${PN}-python-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${PN}-python-${PV}/${PN}-python"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
IUSE="cli"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
||||
cli? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/black[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
' python3_{7..9})
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
!!<dev-python/typing-3.7.4.1
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
python_prepare() {
|
||||
if ! use cli || ! has "${EPYTHON}" python3.{7..9}; then
|
||||
sed -i -e '/console_scripts/d' setup.py || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
epytest tests/cover tests/pytest tests/quality \
|
||||
-p no:pytest-describe \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "datetime support" dev-python/pytz
|
||||
optfeature "dateutil support" dev-python/python-dateutil
|
||||
optfeature "numpy support" dev-python/numpy
|
||||
optfeature "django support" dev-python/django dev-python/pytz
|
||||
optfeature "pandas support" dev-python/pandas
|
||||
optfeature "pytest support" dev-python/pytest
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An implementation of JSON-Schema validation for Python"
|
||||
HOMEPAGE="https://pypi.org/project/jsonschema/ https://github.com/Julian/jsonschema"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyrsistent-0.18.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/importlib_metadata[${PYTHON_USEDEP}]
|
||||
' pypy3)
|
||||
"
|
||||
|
||||
# formatter deps
|
||||
RDEPEND+="
|
||||
dev-python/fqdn[${PYTHON_USEDEP}]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/isoduration[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonpointer-1.13[${PYTHON_USEDEP}]
|
||||
dev-python/rfc3339-validator[${PYTHON_USEDEP}]
|
||||
dev-python/rfc3986-validator[${PYTHON_USEDEP}]
|
||||
dev-python/rfc3987[${PYTHON_USEDEP}]
|
||||
dev-python/uritemplate[${PYTHON_USEDEP}]
|
||||
>=dev-python/webcolors-1.11[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/twisted[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
@ -1,12 +1,17 @@
|
||||
AUX numpy-1.21.0-no-hardcode-blasv2.patch 2671 BLAKE2B 78d7072241148874d746546ce50f7b451df4608aaf27bb469300893a0585b54f8da130e85995363b768d2dd3c8e6af10b106b3b2540ade2b53ec1a9c7b2c6e68 SHA512 f745f0e68ac6a8229b44b357a2cd45d7b606eef7e7ed43efea8d43cfd1f2670ba60cf145e9a34f858f266539164f97d7094b3b4abbd0a1bb79a5c1b2a979ae9a
|
||||
DIST numpy-1.21.1.zip 10259878 BLAKE2B ba5d8eb2d294e199c86d8e96026d148098f5716398e730e0fdfee3b710fd01cb6e877973471d7751a2e558c2eaeb626fe9ce5ea4b03a7e4f8e5dc42b852d5b7c SHA512 694100915f4e2917d70a83e7fcdad30c85ffad8f5ad8d164c89287846c1b746c2b577233bacf53e8d8ca5147391f46065a2cabf100957bb8841dee4a042bc1f5
|
||||
DIST numpy-1.21.2.zip 10264801 BLAKE2B 2d88506faa5bc767a16c000f201559917d800fd205c75f30c1e61d4b34e214b376da9876e96186914f9fe23bf033a305bf9212f593841407e3bf4e516b5982a6 SHA512 ad08110d9a73a73ef1a546de5fcd6dfe600c17b396f629c3a19ade7b3f226688cf7524fed78c035fd4ddda135e2bcf9facb5e061fb59640b424da2ed070c4184
|
||||
DIST numpy-1.21.3.zip 10269351 BLAKE2B 60fc96d91e2c4e0b1c6ee409e02640686fe257f5addbb17229568f591551ea3c415c4aac97b7cdb161b88ce436e42a766b161bd5a82f8cb66fff6771c0097bd3 SHA512 8fbe4e8543b72ad5203d5b122eb3d875e48965682945898e54f4ce82cf790713dfd9185b8b12439aefa86bf25209ea25d04ec3ca2aa2b8d2f32d69358421b792
|
||||
DIST numpy-html-1.21.1.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
||||
DIST numpy-html-1.21.2.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
||||
DIST numpy-html-1.21.3.zip 24270531 BLAKE2B 8a7a531afa559aebeb7a7b7ef94b2248df60a60fdfc190ca002dda625003df8b432fed393d6dd0c0c00fafbeb5064a61e3d99bba1a6c41e1e6e34ce091a43c89 SHA512 a165b95729a13806a03464cf39c20a0e18cfcf7701f05cd7777cd115bfaf0972f7155d201c7bd8d4177c5761f8800c982b3e3c29729a5e9ed356059842a44dcc
|
||||
DIST numpy-ref-1.21.1.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
||||
DIST numpy-ref-1.21.2.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
||||
DIST numpy-ref-1.21.3.pdf 7326979 BLAKE2B 3c1130a576c46e0705ca1f12e7a3345beb1acdd23de2a81448e4e9755636dec313e277a0d3167dc3b211332b3fc415ac0d96e7c99e859b51a16a589426814182 SHA512 5dd37ca03f1f098fffce80aa6a1a6eb8ec66df4322da1c620bd1f507e89ee2ceb222de32c9b7974f085ddf146f0a789ea8eb27d792a13c1aa8a893c00f94f75f
|
||||
DIST numpy-user-1.21.1.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
||||
DIST numpy-user-1.21.2.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
||||
DIST numpy-user-1.21.3.pdf 5142404 BLAKE2B d670f1eb0f060599a640c52bdeba53b1758007fc2090a5b8fb6e135e71114149a0085811e4bc21396eabb1123ffb9edd39f8192d0165ab42dd066a9747eb3a3f SHA512 dde264abff1787efd50e913b6facf83522b3344ed88fd15d6fe73ecd44c6a3db1e4ce4251c9674bbcb122f72ab86c64142b2f4f992a6449405041f8e1f5f1ace
|
||||
EBUILD numpy-1.21.1.ebuild 3676 BLAKE2B 6ff75d5540a0bbfbdf73307a18cd047ca7fd716370f11c6f22b60fa2ba273ae524a6c0e9183b4c36523f7d439cb242b8b2eeaee3bf91d969e31607806c11a5ba SHA512 cbb3a876feb5b8c83bef22c78a5a45a7415334f53317f496ffaca11840912f44ddbc5983fd8b0db1bf73ede52b349dfb61aff0d26ca9ee2f24e917c6ed3aa599
|
||||
EBUILD numpy-1.21.2.ebuild 3674 BLAKE2B 7a24b18b16e2b689b8a2a3e366d50674751f792047d05576ee62daea80d2307bce2238279b40be9d23e726c1ea9f426a2fe97a6c4ec87ede7f34030a4abe71c8 SHA512 f11faf401727486dd69d1ca82d2ffc83bf5b02cff917f0d54130beb52cf5569346eed1ba9485fe45d1dd28b443525053788773bbfa96305b9fe6bf286dc9abf8
|
||||
EBUILD numpy-1.21.3.ebuild 3674 BLAKE2B 7a24b18b16e2b689b8a2a3e366d50674751f792047d05576ee62daea80d2307bce2238279b40be9d23e726c1ea9f426a2fe97a6c4ec87ede7f34030a4abe71c8 SHA512 f11faf401727486dd69d1ca82d2ffc83bf5b02cff917f0d54130beb52cf5569346eed1ba9485fe45d1dd28b443525053788773bbfa96305b9fe6bf286dc9abf8
|
||||
MISC metadata.xml 930 BLAKE2B 8731116ae6d997dc77539b6ff9a8aff2466986888e3fc2c2a77499522360ba5ba11ec61e4eb6756b7cdbb9d7dafe05a862708dcc0735260e8af038a42dea3419 SHA512 1db89ba1a99457bef29a9501e2d14c11904251163172604fe58001048beb477eba5b1e4784c8636d0eb6767614b80a7341823a9d264a5663cc055a5a2c437390
|
||||
|
@ -0,0 +1,143 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
FORTRAN_NEEDED=lapack
|
||||
|
||||
inherit distutils-r1 flag-o-matic fortran-2 toolchain-funcs
|
||||
|
||||
DOC_PV=${PV}
|
||||
DESCRIPTION="Fast array and numerical python library"
|
||||
HOMEPAGE="https://numpy.org/"
|
||||
SRC_URI="
|
||||
mirror://pypi/${PN:0:1}/${PN}/${P}.zip
|
||||
doc? (
|
||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-html.zip -> numpy-html-${DOC_PV}.zip
|
||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-ref.pdf -> numpy-ref-${DOC_PV}.pdf
|
||||
https://numpy.org/doc/$(ver_cut 1-2 ${DOC_PV})/numpy-user.pdf -> numpy-user-${DOC_PV}.pdf
|
||||
)"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc lapack"
|
||||
|
||||
RDEPEND="
|
||||
lapack? (
|
||||
>=virtual/cblas-3.8
|
||||
>=virtual/lapack-3.8
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
app-arch/unzip
|
||||
>=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
|
||||
lapack? ( virtual/pkgconfig )
|
||||
test? (
|
||||
>=dev-python/hypothesis-5.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/cffi-1.14.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/numpy-1.21.0-no-hardcode-blasv2.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
if use doc; then
|
||||
unzip -qo "${DISTDIR}"/numpy-html-${DOC_PV}.zip -d html || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
if use lapack; then
|
||||
local incdir="${EPREFIX}"/usr/include
|
||||
local libdir="${EPREFIX}"/usr/$(get_libdir)
|
||||
cat >> site.cfg <<-EOF || die
|
||||
[blas]
|
||||
include_dirs = ${incdir}
|
||||
library_dirs = ${libdir}
|
||||
blas_libs = cblas,blas
|
||||
[lapack]
|
||||
library_dirs = ${libdir}
|
||||
lapack_libs = lapack
|
||||
EOF
|
||||
else
|
||||
export {ATLAS,PTATLAS,BLAS,LAPACK,MKL}=None
|
||||
fi
|
||||
|
||||
export CC="$(tc-getCC) ${CFLAGS}"
|
||||
|
||||
append-flags -fno-strict-aliasing
|
||||
|
||||
# See progress in http://projects.scipy.org/scipy/numpy/ticket/573
|
||||
# with the subtle difference that we don't want to break Darwin where
|
||||
# -shared is not a valid linker argument
|
||||
if [[ ${CHOST} != *-darwin* ]]; then
|
||||
append-ldflags -shared
|
||||
fi
|
||||
|
||||
# only one fortran to link with:
|
||||
# linking with cblas and lapack library will force
|
||||
# autodetecting and linking to all available fortran compilers
|
||||
append-fflags -fPIC
|
||||
if use lapack; then
|
||||
NUMPY_FCONFIG="config_fc --noopt --noarch"
|
||||
# workaround bug 335908
|
||||
[[ $(tc-getFC) == *gfortran* ]] && NUMPY_FCONFIG+=" --fcompiler=gnu95"
|
||||
fi
|
||||
|
||||
# don't version f2py, we will handle it.
|
||||
sed -i -e '/f2py_exe/s: + os\.path.*$::' numpy/f2py/setup.py || die
|
||||
|
||||
# disable fuzzed tests
|
||||
find numpy/*/tests -name '*.py' -exec sed -i \
|
||||
-e 's:def \(.*_fuzz\):def _\1:' {} + || die
|
||||
# very memory- and disk-hungry
|
||||
sed -i -e 's:test_large_zip:_&:' numpy/lib/tests/test_io.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
export MAKEOPTS=-j1 #660754
|
||||
|
||||
distutils-r1_python_compile ${NUMPY_FCONFIG}
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local deselect=(
|
||||
numpy/typing/tests/test_typing.py::test_reveal[arrayterator.py]
|
||||
)
|
||||
|
||||
distutils_install_for_testing --single-version-externally-managed \
|
||||
--record "${TMPDIR}/record.txt" ${NUMPY_FCONFIG}
|
||||
|
||||
cd "${TEST_DIR}/lib" || die
|
||||
epytest ${deselect[@]/#/--deselect }
|
||||
}
|
||||
|
||||
python_install() {
|
||||
# https://github.com/numpy/numpy/issues/16005
|
||||
local mydistutilsargs=( build_src )
|
||||
distutils-r1_python_install ${NUMPY_FCONFIG}
|
||||
python_optimize
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( LICENSE.txt README.md THANKS.txt )
|
||||
|
||||
if use doc; then
|
||||
local HTML_DOCS=( "${WORKDIR}"/html/. )
|
||||
DOCS+=( "${DISTDIR}"/${PN}-{user,ref}-${DOC_PV}.pdf )
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST tzlocal-2.1.gh.tar.gz 18463 BLAKE2B 73e886cfb6d13bebc1a15a222da60f368a15dc5a097acac74990b1d76bdaa229be8f12ff735d1828ccd78c4c8d06eb5bc0a07da695d70251af1e67e4fb71037e SHA512 2679cebdc2692d9e0e1c9b714994ad881896f53e75ef407229a67c9fee9d27617638a2919865cb67e21e2bbd6e3bc13f2568343037e06603236f25a96aa6863d
|
||||
DIST tzlocal-3.0.gh.tar.gz 18924 BLAKE2B 340739015ce0fae245ddcb2d3f6250886261a81a49c9db7960515e178090183d3a826ee494763503023c033d3d9c19771aad865d4c1150350a118250aab23362 SHA512 9060eb325783d183bfaf7038476031a2ea22fd4ba50f6b5caf3d8eda15d9c90e557c64a0218c7e3c3df51f385378fe8a17f10871abb038012e1d05a9547918c3
|
||||
DIST tzlocal-4.0.1.gh.tar.gz 22737 BLAKE2B 0b84ab7ac80397d2d72e0627d3766e1f6a6402c3d0505f0ff0fc02fc524b372a92e0fe948f1f8ec59b0ccfae64f8240bddc8800fe988627a87aec5b8937a6df9 SHA512 0e83e9cba7d74690677d32087a82a54bf1f80dde121d6eed80ca0a80851832ef197cfab07728353619904706b989bbb4c9ca1736e7e1e6c710ad4ec93f74ac22
|
||||
DIST tzlocal-4.0.gh.tar.gz 22582 BLAKE2B 35ef0b9f64e0b2758ecda19669957666ffcd807197cfef74583d94a3e2ca01811e55b27228522723dec140dd4ede69e30585d850f03f55db084d975e871d2f63 SHA512 8bb31f3d85256aaab2a803c34ea35677a25ae2bf339d54a1fb4466d035631d9f22ea465448d7905d607a17c6b1180cbc619ce06b39c3ebe724270bc048bd96ed
|
||||
EBUILD tzlocal-2.1.ebuild 553 BLAKE2B 8a04de4cdf378cfcb94e876d8547e7b23e039004692e59901db1ca32cee2c2cd93735d814724d87189bc6ba43c39222d2b4303e3c7c84f561331988125000c17 SHA512 f1bbe5e0b0a4ac64d8261570aa3e587f9c98f3af5d81eb73e2bffe0947c2b2279608eb1f4c66a0b9c856c4007e1c745a46c8fd1d6b650064e2e1cfa25048518a
|
||||
EBUILD tzlocal-3.0.ebuild 632 BLAKE2B 2eba582041d313df61854f303d4a474da1f7e820e327060e5f8a51d39e09c884dd2b7162710919c6d09326e34f5135a4fb3342b571a4242acadef867c0ce0d13 SHA512 ee7407e7b790e4d6cd5046582e68615c6d23a30331d92163cdc8919e3ffd88a9d8a9e65b7e20a236f0867377d3cd14bd7cc3337d6fbee6ecdebf7b45fbb0a4aa
|
||||
EBUILD tzlocal-4.0.1.ebuild 653 BLAKE2B 987406360b9c9b1e9759faa27616c86da6cb7ae5db28211fdca75591bfc5b6c7b0230fea8181c8d02412840c4b3a2c51df7a8763235e206b6e5c302e9a02c1b2 SHA512 db4a738b1f3e9d17d3563785174c73c85982b53314745a34cfe9f9f5e7db4e6f17136f53c2d15782b44877978521a3145c0be61bcd58979b92773fa846b3ec56
|
||||
EBUILD tzlocal-4.0.ebuild 653 BLAKE2B 987406360b9c9b1e9759faa27616c86da6cb7ae5db28211fdca75591bfc5b6c7b0230fea8181c8d02412840c4b3a2c51df7a8763235e206b6e5c302e9a02c1b2 SHA512 db4a738b1f3e9d17d3563785174c73c85982b53314745a34cfe9f9f5e7db4e6f17136f53c2d15782b44877978521a3145c0be61bcd58979b92773fa846b3ec56
|
||||
MISC metadata.xml 403 BLAKE2B c2fbd81151ee69075c53b7c7d353ac2eb207e92b5bee234591f839c751c54e20abfeb10a8ef1c7cf074d5b94c4745dd23ca1e935b41619dfdc551d2fbb955ac5 SHA512 73c29b14ace10a0b23ef59f9a10abf5f9367dfecc89743cd29a01ece71689c08f83a14612fd3a4779fcbe5382e4e33f6ffbae183c498cba8ba7776d2afbea8ab
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="tzinfo object for the local timezone"
|
||||
HOMEPAGE="https://github.com/regebro/tzlocal"
|
||||
SRC_URI="https://github.com/regebro/tzlocal/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pytz_deprecation_shim[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/backports-zoneinfo[${PYTHON_USEDEP}]
|
||||
' python3_8 pypy3)"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1,5 +1,7 @@
|
||||
DIST xmlschema-1.7.1.tar.gz 372165 BLAKE2B a534c42d5405eefdfd0c595f1ea02a703c8f5a225f9a46ea4fe9885d09de4b87bc5ddb470fabaf3e01093012346247d34fd56495641815fe04f4fa1919f9f53f SHA512 4ad8ef9d91aa2e0b06d64aa06cc380898976c8c1b4efe049b67948b4534bb8edc3a3450cf5e242a004a039e8e29b23954138a0192ac6355fdeecb77e6284c3d9
|
||||
DIST xmlschema-1.8.0.tar.gz 379305 BLAKE2B dcc3fc5860dede681912f578b548bfe39feb5fda3dd7c5f0ed7f85fce247489d492b062b789acce6679cab835b31c1f77eb82ae43b83c5af5b749a4e93c991d1 SHA512 b4622030e959383729074554e80606dce6e731b9c4e3393c60a02d592acf66f07e50f12d65867fad31e18494e04a8bb1bdadcf22f110d91708e8a0fa89848e2e
|
||||
DIST xmlschema-1.8.1.tar.gz 390835 BLAKE2B 5ba4e37bc52402a939e3c6508bb3d2cca33b85d73db9be375295de62587bae638d498435198a4b25bc6858bad19a89d14a11870774c631bcc9f1b22bb1c41f4c SHA512 741477d006270deb4a1d1b13bb404c6f4917047b0f68e85727a2dfe239a59f36f4160a6a88f26514a05865219a16ccbaa26bc319b06ac867aeabe008a778ddf8
|
||||
EBUILD xmlschema-1.7.1.ebuild 785 BLAKE2B 7aa3e9128a4b1d03602515a04dffc8d9e8e83c9a32733668bf4c42c921b23ec4bc8dc97e8ffb10e3377b79319e0929945ae8b5d3536ffa92da558413d8c319bf SHA512 2381069dbc8c3ff7c9a7a1c1ca50e1ead544ee8a81eb9bdff9869da3021420da50cb2cca72266142ee4f7a629f7090fd05e2347aa570dedaa08f302cb5cae796
|
||||
EBUILD xmlschema-1.8.0.ebuild 793 BLAKE2B a30244fe7c4063b7573351a7190ab44124f5eeb96cd8dbf3fc56e408f84a0b601db1e0dc7cbcdd6f221f48c0937a84643e8482cc893490f834bb0a01c90c6c90 SHA512 52417d911c4f7a3738422db216e0c0f28901a26595512ac47e300ef7f3396619808535b94db4679c069c8bdb9c3f06ba30157952291b0984b67405161a46ff29
|
||||
EBUILD xmlschema-1.8.1.ebuild 793 BLAKE2B bcf145939d1ba20b7d293523bb068b344fe6d6922b1fde0b92bac0f8603f41323250e0e10bc7b3a9670a959eeb329a69339129d81e268eebe7768d084ebf4546 SHA512 ea1d96a8c33c1be1c36c863cc240cebcbbfe5e5dd6ba2f428e5ff1ee457675b22d7f9e0b1d677eca4832e29e527280f9ffa8dad248b1e028cb11a82fe5308ae2
|
||||
MISC metadata.xml 376 BLAKE2B 6aa6c0ef38b17f49452a3db71c7f449dfda8951e2196b904235592921620b6a2064021aae7a1a30639e637c3b9bdb46bcaebec1903a081a41832bd0c5199dde9 SHA512 b814209cd4b87ad5cb8bc447f1d485043d8386339607f39575faf2d26c19b69befa9fd7b7eb2d3fca4b5e60499091a59c1466cfc2f0d9651430949893e2edaeb
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An XML Schema validator and decoder"
|
||||
HOMEPAGE="https://github.com/sissaschool/xmlschema https://pypi.org/project/xmlschema/"
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/elementpath-2.3.2[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" tests/test_all.py -v ||
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX tornado-1.4-r2-gentoo.patch 13288 BLAKE2B 35b3eb05fd6894ec5733e42b2423f19f3ef4ff2e71b90f6f71380fdaec0ad862caafd15a8fb7f0785927f8fee0fdead741dc4bfb34343b510fd330ac649f893e SHA512 683a5dcac5fc12b065ebb4dfc5c9972a6fe6c87ee645cdbdf038313068ae43cc1e022ad8772c6f509f7bc102862bda6cc34ce5ccf132fc06f7d1cabd2d93817a
|
||||
AUX tornado-1.4-make.patch 686 BLAKE2B ac38bc4ce5350ed5e8f0a2389abb11da5fee6704e26aff3596cc9d99d12a57816c371452fb9806913277cc15bb485a49370908e35947c55e62ec5dd454bb7ac7 SHA512 ab651acadb5fb94d71d0acdc2878428837ccf48f487e14e016c447c46f77b9249c9006f694dcfc29e70b53164a5567af3e9c3c3d2f7a6dd2f2f2f99e650e8e0b
|
||||
DIST tornado-1.4.tar.gz 56341 BLAKE2B 81b99ab6484c5267c90792cfefb9dad638d8057224e4eb755dde85638e17bfb5cc17fe64bf84b0d631905493e8e1e276f0842b4f9bbe2eb40e740931a8f422a8 SHA512 32a9e078c0d0498befff78f5cafaa1e45ee2ad45d661f7d89e9038f8ca44c34b27ca846e3e4d68a15f203da20b5f6aeb41826c00159d66d9640f3b2bdd6b6e12
|
||||
EBUILD tornado-1.4-r2.ebuild 777 BLAKE2B 002f92d9d73b2e4681bcb8df4bb90efa241508c1b7226d3c0221565ba3e11f1e2966f7fad7b1f359120621ced18d9690c49a3a4b8a88c5302ffc7daa2f97f28b SHA512 829a2780c60293bd29022e9752ecdf73f817a0e148ae47305bf8fc08b9be0629513b2d7630113e7a2bd23b9900fbcd6225efc67ffb72aa5e8791b54942e66c6d
|
||||
EBUILD tornado-1.4-r3.ebuild 1296 BLAKE2B 7b2febced2d4df921355b31f0eb7c44c8118a124fe5c3aa72c7a9faaf21792840c1aae34eef53d287d39cbb3d2a94eeeff94d4f2e1421d1790ac2e8f1c437326 SHA512 2908e20354f63aa68b67ada001b4fbaefb0831635a870577dce90f3411f9a15c3680b0b9fa593c92cab4685f3064241784b6157aaafc8096a16e6357505edde3
|
||||
MISC metadata.xml 325 BLAKE2B 82fdbd00f9118c6b2f0e82e6ce8112df4fb21f561a6a02f4e19a4eb43b32b7b0b9d26ce0f1963313245b62da620895c4eae552e56c7271b558b19bcdc4bb1a81 SHA512 e885623394b7657878077160916cb44aad4f32b6eb7add9ff3afef7f75b4ee2dad1e8bc98777f89f4bb3f1120610fb34836b87c285be8e95227e2f86868ba335
|
||||
|
@ -0,0 +1,19 @@
|
||||
Respect flags and use pkg-config.
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,4 +1,2 @@
|
||||
-CC = gcc
|
||||
-MAKE = make
|
||||
-LDFLAGS = -lncurses
|
||||
+LIBS := $(shell $(PKG_CONFIG) --libs ncurses) $(LIBS)
|
||||
OBJFILES = main.o draw.o erwin.o network.o scores.o
|
||||
@@ -6,3 +4,3 @@
|
||||
LOCALEPATH = /usr/local/share/locale
|
||||
-CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\""
|
||||
+CFLAGS := $(CFLAGS) -Wall -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\"" $(shell $(PKG_CONFIG) --cflags ncurses) $(CPPFLAGS)
|
||||
VERSION = `grep " VERSION" version.h | sed s/\"//g | sed s/\#define\ VERSION\ //`
|
||||
@@ -27,3 +25,3 @@
|
||||
tornado: $(OBJFILES)
|
||||
- $(CC) $(LDFLAGS) $(OBJFILES) -o tornado
|
||||
+ $(CC) $(LDFLAGS) $(OBJFILES) -o tornado $(LIBS)
|
||||
|
@ -1,388 +0,0 @@
|
||||
--- a/doc/man/de/Makefile
|
||||
+++ b/doc/man/de/Makefile
|
||||
@@ -9,10 +9,10 @@
|
||||
|
||||
install-man: tornado.6
|
||||
@echo "Installing german manpage ..."
|
||||
- if [ ! -d "$(PREFIX)/man/de/man6" ]; then \
|
||||
- mkdir -p $(PREFIX)/man/de/man6; \
|
||||
+ if [ ! -d "$(DESTDIR)/$(PREFIX)/share/man/de/man6" ]; then \
|
||||
+ mkdir -p $(DESTDIR)/$(PREFIX)/share/man/de/man6; \
|
||||
fi
|
||||
- install -m 0644 tornado.6 $(PREFIX)/man/de/man6
|
||||
+ install -m 0644 tornado.6 $(DESTDIR)/$(PREFIX)/share/man/de/man6
|
||||
|
||||
clean:
|
||||
rm -f tornado.6
|
||||
--- a/doc/man/fr/Makefile
|
||||
+++ b/doc/man/fr/Makefile
|
||||
@@ -9,10 +9,10 @@
|
||||
|
||||
install-man: tornado.6
|
||||
@echo "Installing French manpage ..."
|
||||
- if [ ! -d "$(PREFIX)/man/fr/man6" ]; then \
|
||||
- mkdir -p $(PREFIX)/man/fr/man6; \
|
||||
+ if [ ! -d "$(DESTDIR)/$(PREFIX)/share/man/fr/man6" ]; then \
|
||||
+ mkdir -p $(DESTDIR)/$(PREFIX)/share/man/fr/man6; \
|
||||
fi
|
||||
- install -m 0644 tornado.6 $(PREFIX)/man/fr/man6
|
||||
+ install -m 0644 tornado.6 $(DESTDIR)/$(PREFIX)/share/man/fr/man6
|
||||
|
||||
clean:
|
||||
rm -f tornado.6
|
||||
--- a/doc/man/it/Makefile
|
||||
+++ b/doc/man/it/Makefile
|
||||
@@ -9,10 +9,10 @@
|
||||
|
||||
install-man: tornado.6
|
||||
@echo "Installing Italian manpage ..."
|
||||
- if [ ! -d "$(PREFIX)/man/it/man6" ]; then \
|
||||
- mkdir -p $(PREFIX)/man/it/man6; \
|
||||
+ if [ ! -d "$(DESTDIR)/$(PREFIX)/share/man/it/man6" ]; then \
|
||||
+ mkdir -p $(DESTDIR)/$(PREFIX)/share/man/it/man6; \
|
||||
fi
|
||||
- install -m 0644 tornado.6 $(PREFIX)/man/it/man6
|
||||
+ install -m 0644 tornado.6 $(DESTDIR)/$(PREFIX)/share/man/it/man6
|
||||
|
||||
clean:
|
||||
rm -f tornado.6
|
||||
--- a/doc/man/Makefile
|
||||
+++ b/doc/man/Makefile
|
||||
@@ -15,10 +15,10 @@
|
||||
|
||||
install-man: tornado.6
|
||||
@echo "Installing manpage ..."
|
||||
- if [ ! -d "$(PREFIX)/man/man6" ]; then \
|
||||
- mkdir -p $(PREFIX)/man/man6; \
|
||||
+ if [ ! -d "$(DESTDIR)/$(PREFIX)/share/man/man6" ]; then \
|
||||
+ mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man6; \
|
||||
fi
|
||||
- install -m 0644 tornado.6 $(PREFIX)/man/man6
|
||||
+ install -m 0644 tornado.6 $(DESTDIR)/$(PREFIX)/share/man/man6
|
||||
$(MAKE) -C de install-man
|
||||
$(MAKE) -C fr install-man
|
||||
$(MAKE) -C it install-man
|
||||
--- a/doc/man/nl/Makefile
|
||||
+++ b/doc/man/nl/Makefile
|
||||
@@ -9,10 +9,10 @@
|
||||
|
||||
install-man: tornado.6
|
||||
@echo "Installing Dutch manpage ..."
|
||||
- if [ ! -d "$(PREFIX)/man/nl/man6" ]; then \
|
||||
- mkdir -p $(PREFIX)/man/nl/man6; \
|
||||
+ if [ ! -d "$(DESTDIR)/$(PREFIX)/share/man/nl/man6" ]; then \
|
||||
+ mkdir -p $(DESTDIR)/$(PREFIX)/share/man/nl/man6; \
|
||||
fi
|
||||
- install -m 0644 tornado.6 $(PREFIX)/man/nl/man6
|
||||
+ install -m 0644 tornado.6 $(DESTDIR)/$(PREFIX)/share/man/nl/man6
|
||||
|
||||
clean:
|
||||
rm -f tornado.6
|
||||
--- a/doc/man/no/Makefile
|
||||
+++ b/doc/man/no/Makefile
|
||||
@@ -9,10 +9,10 @@
|
||||
|
||||
install-man: tornado.6
|
||||
@echo "Installing Norwegian manpage ..."
|
||||
- if [ ! -d "$(PREFIX)/man/no/man6" ]; then \
|
||||
- mkdir -p $(PREFIX)/man/no/man6; \
|
||||
+ if [ ! -d "$(DESTDIR)/$(PREFIX)/share/man/no/man6" ]; then \
|
||||
+ mkdir -p $(DESTDIR)/$(PREFIX)/share/man/no/man6; \
|
||||
fi
|
||||
- install -m 0644 tornado.6 $(PREFIX)/man/no/man6
|
||||
+ install -m 0644 tornado.6 $(DESTDIR)/$(PREFIX)/share/man/no/man6
|
||||
|
||||
clean:
|
||||
rm -f tornado.6
|
||||
--- a/doc/man/ru/Makefile
|
||||
+++ b/doc/man/ru/Makefile
|
||||
@@ -9,10 +9,10 @@
|
||||
|
||||
install-man: tornado.6
|
||||
@echo "Installing Russian manpage ..."
|
||||
- if [ ! -d "$(PREFIX)/man/ru/man6" ]; then \
|
||||
- mkdir -p $(PREFIX)/man/ru/man6; \
|
||||
+ if [ ! -d "$(DESTDIR)/$(PREFIX)/share/man/ru/man6" ]; then \
|
||||
+ mkdir -p $(DESTDIR)/$(PREFIX)/share/man/ru/man6; \
|
||||
fi
|
||||
- install -m 0644 tornado.6 $(PREFIX)/man/ru/man6
|
||||
+ install -m 0644 tornado.6 $(DESTDIR)/$(PREFIX)/share/man/ru/man6
|
||||
|
||||
clean:
|
||||
rm -f tornado.6
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,10 +1,9 @@
|
||||
-CC = gcc
|
||||
MAKE = make
|
||||
-LDFLAGS = -lncurses
|
||||
+LDLIBS = $(shell $(PKG_CONFIG) --libs ncurses)
|
||||
OBJFILES = main.o draw.o erwin.o network.o scores.o
|
||||
-PREFIX = /usr/local
|
||||
-LOCALEPATH = /usr/local/share/locale
|
||||
-CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\""
|
||||
+PREFIX = /usr
|
||||
+LOCALEPATH = /usr/share/locale
|
||||
+CFLAGS += -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
|
||||
VERSION = `grep " VERSION" version.h | sed s/\"//g | sed s/\#define\ VERSION\ //`
|
||||
LOCALES = de
|
||||
MAN = doc/man
|
||||
@@ -25,7 +24,7 @@
|
||||
$(MAKE) -C $(MAN) all
|
||||
|
||||
tornado: $(OBJFILES)
|
||||
- $(CC) $(LDFLAGS) $(OBJFILES) -o tornado
|
||||
+ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJFILES) $(LDLIBS) -o tornado
|
||||
|
||||
debug: tornado.6 locales
|
||||
gcc -g -ggdb -Wall -ansi -pedantic -o tornado draw.c main.c erwin.c network.c scores.c -lncurses -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
|
||||
@@ -43,25 +42,24 @@
|
||||
|
||||
install: tornado tornado.6 install-locale-data
|
||||
@echo "Installing tornado binary in $(PREFIX)/bin..."
|
||||
- if [ ! -d "$(PREFIX)/bin" ]; then \
|
||||
- mkdir -p $(PREFIX)/bin; \
|
||||
+ if [ ! -d "$(DESTDIR)/$(PREFIX)/bin" ]; then \
|
||||
+ mkdir -p $(DESTDIR)/$(PREFIX)/bin; \
|
||||
fi
|
||||
- install -s tornado $(PREFIX)/bin
|
||||
+ install tornado $(DESTDIR)/$(PREFIX)/bin
|
||||
|
||||
$(MAKE) -C $(MAN) install-man
|
||||
|
||||
+ if [ ! -d "$(DESTDIR)/var/games" ]; then \
|
||||
+ mkdir -p $(DESTDIR)/var/games; \
|
||||
+ fi; \
|
||||
if [ -f "/var/games/tornado.scores" ]; then \
|
||||
echo "Skipping install of the highscores file. File exists."; \
|
||||
cat /var/games/tornado.scores | ./convert-highscorefile > score.tmp; \
|
||||
- mv -f score.tmp /var/games/tornado.scores; \
|
||||
- chmod a+rw-x "/var/games/tornado.scores"; \
|
||||
- else \
|
||||
- if [ ! -d "/var/games" ]; then \
|
||||
- mkdir /var/games; \
|
||||
- fi; \
|
||||
- install tornado.scores /var/games; \
|
||||
- chmod a+w-x "/var/games/tornado.scores"; \
|
||||
- fi
|
||||
+ mv -f score.tmp $(DESTDIR)/var/games/tornado.scores; \
|
||||
+ else \
|
||||
+ install tornado.scores $(DESTDIR)/var/games; \
|
||||
+ fi; \
|
||||
+ chmod a+w-x "$(DESTDIR)/var/games/tornado.scores";
|
||||
|
||||
install-locale-data:
|
||||
$(MAKE) -C po install-locale-data
|
||||
--- a/Makefile.inc
|
||||
+++ b/Makefile.inc
|
||||
@@ -1,9 +1,3 @@
|
||||
-CC = gcc
|
||||
-MAKE = make
|
||||
-LDFLAGS = -lncurses
|
||||
-OBJFILES = main.o draw.o erwin.o network.o scores.o
|
||||
-PREFIX = /usr/local
|
||||
-LOCALEPATH = /usr/local/share/locale
|
||||
-CFLAGS = -Wall -O2 -DPREFIX="\"$(PREFIX)\"" -DLOCALEPATH="\"$(LOCALEPATH)\""
|
||||
-LOCALES = de
|
||||
+PREFIX = /usr
|
||||
+LOCALEPATH = /usr/share/locale
|
||||
MAN = doc/man
|
||||
--- a/po/Makefile
|
||||
+++ b/po/Makefile
|
||||
@@ -14,38 +14,38 @@
|
||||
msgfmt no.po -o no.mo
|
||||
|
||||
install-locale-data: de.mo fr.mo pt.mo es.mo it.mo ru.mo nl.mo no.po
|
||||
- if [ ! -d "$(LOCALEPATH)/de/LC_MESSAGES/" ]; then \
|
||||
- mkdir -p $(LOCALEPATH)/de/LC_MESSAGES/; \
|
||||
+ if [ ! -d "$(DESTDIR)$(LOCALEPATH)/de/LC_MESSAGES/" ]; then \
|
||||
+ mkdir -p $(DESTDIR)$(LOCALEPATH)/de/LC_MESSAGES/; \
|
||||
fi
|
||||
- install -m 0644 de.mo $(LOCALEPATH)/de/LC_MESSAGES/tornado.mo
|
||||
- if [ ! -d "$(LOCALEPATH)/fr/LC_MESSAGES/" ]; then \
|
||||
- mkdir -p $(LOCALEPATH)/fr/LC_MESSAGES/; \
|
||||
- fi
|
||||
- install -m 0644 fr.mo $(LOCALEPATH)/fr/LC_MESSAGES/tornado.mo
|
||||
- if [ ! -d "$(LOCALEPATH)/pt/LC_MESSAGES/" ]; then \
|
||||
- mkdir -p $(LOCALEPATH)/pt/LC_MESSAGES/; \
|
||||
- fi
|
||||
- install -m 0644 pt.mo $(LOCALEPATH)/pt/LC_MESSAGES/tornado.mo
|
||||
- if [ ! -d "$(LOCALEPATH)/es/LC_MESSAGES/" ]; then \
|
||||
- mkdir -p $(LOCALEPATH)/es/LC_MESSAGES/; \
|
||||
- fi
|
||||
- install -m 0644 es.mo $(LOCALEPATH)/es/LC_MESSAGES/tornado.mo
|
||||
- if [ ! -d "$(LOCALEPATH)/it/LC_MESSAGES/" ]; then \
|
||||
- mkdir -p $(LOCALEPATH)/it/LC_MESSAGES/; \
|
||||
- fi
|
||||
- install -m 0644 it.mo $(LOCALEPATH)/it/LC_MESSAGES/tornado.mo
|
||||
- if [ ! -d "$(LOCALEPATH)/ru/LC_MESSAGES/" ]; then \
|
||||
- mkdir -p $(LOCALEPATH)/ru/LC_MESSAGES/; \
|
||||
- fi
|
||||
- install -m 0644 ru.mo $(LOCALEPATH)/ru/LC_MESSAGES/tornado.mo
|
||||
- if [ ! -d "$(LOCALEPATH)/nl/LC_MESSAGES/" ]; then \
|
||||
- mkdir -p $(LOCALEPATH)/nl/LC_MESSAGES/; \
|
||||
- fi
|
||||
- install -m 0644 nl.mo $(LOCALEPATH)/nl/LC_MESSAGES/tornado.mo
|
||||
- if [ ! -d "$(LOCALEPATH)/no/LC_MESSAGES/" ]; then \
|
||||
- mkdir -p $(LOCALEPATH)/no/LC_MESSAGES/; \
|
||||
+ install -m 0644 de.mo $(DESTDIR)$(LOCALEPATH)/de/LC_MESSAGES/tornado.mo
|
||||
+ if [ ! -d "$(DESTDIR)$(LOCALEPATH)/fr/LC_MESSAGES/" ]; then \
|
||||
+ mkdir -p $(DESTDIR)$(LOCALEPATH)/fr/LC_MESSAGES/; \
|
||||
+ fi
|
||||
+ install -m 0644 fr.mo $(DESTDIR)$(LOCALEPATH)/fr/LC_MESSAGES/tornado.mo
|
||||
+ if [ ! -d "$(DESTDIR)$(LOCALEPATH)/pt/LC_MESSAGES/" ]; then \
|
||||
+ mkdir -p $(DESTDIR)$(LOCALEPATH)/pt/LC_MESSAGES/; \
|
||||
+ fi
|
||||
+ install -m 0644 pt.mo $(DESTDIR)$(LOCALEPATH)/pt/LC_MESSAGES/tornado.mo
|
||||
+ if [ ! -d "$(DESTDIR)$(LOCALEPATH)/es/LC_MESSAGES/" ]; then \
|
||||
+ mkdir -p $(DESTDIR)$(LOCALEPATH)/es/LC_MESSAGES/; \
|
||||
+ fi
|
||||
+ install -m 0644 es.mo $(DESTDIR)$(LOCALEPATH)/es/LC_MESSAGES/tornado.mo
|
||||
+ if [ ! -d "$(DESTDIR)$(LOCALEPATH)/it/LC_MESSAGES/" ]; then \
|
||||
+ mkdir -p $(DESTDIR)$(LOCALEPATH)/it/LC_MESSAGES/; \
|
||||
+ fi
|
||||
+ install -m 0644 it.mo $(DESTDIR)$(LOCALEPATH)/it/LC_MESSAGES/tornado.mo
|
||||
+ if [ ! -d "$(DESTDIR)$(LOCALEPATH)/ru/LC_MESSAGES/" ]; then \
|
||||
+ mkdir -p $(DESTDIR)$(LOCALEPATH)/ru/LC_MESSAGES/; \
|
||||
+ fi
|
||||
+ install -m 0644 ru.mo $(DESTDIR)$(LOCALEPATH)/ru/LC_MESSAGES/tornado.mo
|
||||
+ if [ ! -d "$(DESTDIR)$(LOCALEPATH)/nl/LC_MESSAGES/" ]; then \
|
||||
+ mkdir -p $(DESTDIR)$(LOCALEPATH)/nl/LC_MESSAGES/; \
|
||||
+ fi
|
||||
+ install -m 0644 nl.mo $(DESTDIR)$(LOCALEPATH)/nl/LC_MESSAGES/tornado.mo
|
||||
+ if [ ! -d "$(DESTDIR)$(LOCALEPATH)/no/LC_MESSAGES/" ]; then \
|
||||
+ mkdir -p $(DESTDIR)$(LOCALEPATH)/no/LC_MESSAGES/; \
|
||||
fi
|
||||
- install -m 0644 no.mo $(LOCALEPATH)/no/LC_MESSAGES/tornado.mo
|
||||
+ install -m 0644 no.mo $(DESTDIR)$(LOCALEPATH)/no/LC_MESSAGES/tornado.mo
|
||||
|
||||
clean:
|
||||
rm -f *.mo
|
||||
--- a/doc/man/de/tornado.6.de.in
|
||||
+++ b/doc/man/de/tornado.6.de.in
|
||||
@@ -90,13 +90,13 @@
|
||||
.SH FILES
|
||||
PREFIX/bin/tornado
|
||||
.P
|
||||
-PREFIX/man/man6/tornado.6
|
||||
+/usr/share/man/man6/tornado.6
|
||||
.P
|
||||
/var/games/tornado.scores
|
||||
.P
|
||||
-/usr/local/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
.P
|
||||
-/usr/local/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
.SH NOTES
|
||||
Wenn das Spiel im Netzwerkmodus läuft sollte auf beiden Seiten die selbe
|
||||
Version laufen. Versionen vor 1.0pre4 funktionieren damit überhaupt nicht,
|
||||
--- a/doc/man/fr/tornado.6.fr.in
|
||||
+++ b/doc/man/fr/tornado.6.fr.in
|
||||
@@ -72,13 +72,13 @@
|
||||
.SH FICHIERS
|
||||
PREFIX/bin/tornado
|
||||
.P
|
||||
-PREFIX/man/man6/tornado.6
|
||||
+/usr/share/man/man6/tornado.6
|
||||
.P
|
||||
/var/games/tornado.scores
|
||||
.P
|
||||
-/usr/local/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
.P
|
||||
-/usr/local/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
.SH NOTES
|
||||
Pour jouer en mode réseau, le client et le serveur doivent avoir le même numéro de version. Les versions antérieures à la 1.0pre4 ne sont pas prévues pour jouer en réseau. Le jeu en réseau entre deux versions différentes du programme acceptera de démarrer, mais sera susceptible de crasher à tout moment.
|
||||
.P
|
||||
--- a/doc/man/it/tornado.6.it.in
|
||||
+++ b/doc/man/it/tornado.6.it.in
|
||||
@@ -74,13 +74,13 @@
|
||||
.SH FILE
|
||||
PREFIX/bin/tornado
|
||||
.P
|
||||
-PREFIX/man/man6/tornado.6
|
||||
+/usr/share/man/man6/tornado.6
|
||||
.P
|
||||
/var/games/tornado.scores
|
||||
.P
|
||||
-/usr/local/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
.P
|
||||
-/usr/local/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
.SH NOTE
|
||||
Avviando il gioco in modalità network, dovreste avere la stessa versione del gioco dal lato server e client. Le versioni precedenti alla 1.0pre4 non funzioneranno per nulla, a causa della mancanza delle funzionalità di rete. Con versioni diverse ai due lati, il gioco si avvierà ugualmente, ma potrebbe andare in crash ad ogni momento, se c'é troppa differenza tra le due versioni.
|
||||
.P
|
||||
--- a/doc/man/nl/tornado.6.nl.in
|
||||
+++ b/doc/man/nl/tornado.6.nl.in
|
||||
@@ -71,15 +71,15 @@
|
||||
.B \-\-version,
|
||||
Toont de het versienummer en beeindigt.
|
||||
.SH "FILES"
|
||||
-/usr/local/bin/tornado
|
||||
+/usr/bin/tornado
|
||||
.P
|
||||
-/usr/local/man/man6/tornado.6
|
||||
+/usr/man/man6/tornado.6
|
||||
.P
|
||||
/var/games/tornado.scores
|
||||
.P
|
||||
-/usr/local/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
.P
|
||||
-/usr/local/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
.SH "NOTES"
|
||||
Als u het spel in netwerk modus draait moeten de client en de server dezelfde versie draaien. Versies voor 1.0pre4 werken helemaal niet,
|
||||
omdat die geen netwerk functionaliteit hebben. Het spel zal wel starten met verschillende versies, mar het zal waarschijnlijk later crashen, als er te veel verschillen zijn.
|
||||
--- a/doc/man/no/tornado.6.no.in
|
||||
+++ b/doc/man/no/tornado.6.no.in
|
||||
@@ -86,13 +86,13 @@
|
||||
.SH FILES
|
||||
PREFIX/bin/tornado
|
||||
.P
|
||||
-PREFIX/man/man6/tornado.6
|
||||
+/usr/share/man/man6/tornado.6
|
||||
.P
|
||||
/var/games/tornado.scores
|
||||
.P
|
||||
-/usr/local/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
.P
|
||||
-/usr/local/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
.SH NOTES
|
||||
Når du starter spillet i nettverksmodus bør du ha samme versjon på klient
|
||||
og tjener. Versjoner før 1.0pre4 vil ikke virke i det heletatt på grunn
|
||||
--- a/doc/man/ru/tornado.6.ru.in
|
||||
+++ b/doc/man/ru/tornado.6.ru.in
|
||||
@@ -92,7 +92,7 @@
|
||||
.SH æáêìù
|
||||
.nf
|
||||
PREFIX/bin/tornado
|
||||
-PREFIX/man/man6/tornado.6
|
||||
+/usr/share/man/man6/tornado.6
|
||||
/var/games/tornado.scores
|
||||
.fi
|
||||
.SH ðòéíåþáîéå
|
||||
--- a/doc/man/tornado.6.in
|
||||
+++ b/doc/man/tornado.6.in
|
||||
@@ -88,13 +88,13 @@
|
||||
.SH FILES
|
||||
PREFIX/bin/tornado
|
||||
.P
|
||||
-PREFIX/man/man6/tornado.6
|
||||
+/usr/share/man/man6/tornado.6
|
||||
.P
|
||||
/var/games/tornado.scores
|
||||
.P
|
||||
-/usr/local/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/de/LC_MESSAGES/tornado.mo
|
||||
.P
|
||||
-/usr/local/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
+/usr/share/locale/fr/LC_MESSAGES/tornado.mo
|
||||
.SH NOTES
|
||||
When you run the game in network mode you should have the same game versions
|
||||
on client and server side. Versions prior 1.0pre4 won't work at all due to
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Clone of a C64 game - destroy the opponent's house"
|
||||
HOMEPAGE="https://github.com/kouya/tornado"
|
||||
SRC_URI="https://github.com/kouya/tornado/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PF}-gentoo.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
if ! use nls; then
|
||||
sed -i \
|
||||
-e '/^all:/s|locales||g' \
|
||||
-e '/^install:/s|install-locale-data||g' \
|
||||
Makefile || die
|
||||
fi
|
||||
|
||||
tc-export CC PKG_CONFIG
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
fperms 664 "/var/games/tornado.scores"
|
||||
}
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit plocale toolchain-funcs
|
||||
|
||||
DESCRIPTION="Clone of a C64 game - destroy the opponent's house"
|
||||
HOMEPAGE="https://github.com/kouya/tornado"
|
||||
SRC_URI="https://github.com/kouya/tornado/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/gamestat
|
||||
sys-libs/ncurses:=
|
||||
virtual/libintl"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-make.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i "/SCOREFILE_NAME/s|/|${EPREFIX}/|" scores.h || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC PKG_CONFIG
|
||||
|
||||
emake PREFIX="${EPREFIX}/usr" LOCALEPATH="${EPREFIX}/usr/share/locale"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin tornado
|
||||
doman doc/man/tornado.6
|
||||
|
||||
einstalldocs
|
||||
|
||||
tornado_man() {
|
||||
doman -i18n=${1} doc/man/${1}/${PN}.6
|
||||
}
|
||||
local PLOCALES="de fr it nl no ru"
|
||||
plocale_for_each_locale tornado_man
|
||||
|
||||
tornado_loc() {
|
||||
insinto /usr/share/locale/${1}/LC_MESSAGES
|
||||
newins po/${1}.mo ${PN}.mo
|
||||
}
|
||||
PLOCALES+=" es pt"
|
||||
plocale_for_each_locale tornado_loc
|
||||
|
||||
insinto /var/games
|
||||
doins ${PN}.scores
|
||||
|
||||
fowners :gamestat /usr/bin/${PN} /var/games/${PN}.scores
|
||||
fperms g+s /usr/bin/${PN}
|
||||
fperms 660 /var/games/${PN}.scores
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,262 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit flag-o-matic libtool perl-functions toolchain-funcs
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/ImageMagick/ImageMagick6.git"
|
||||
inherit git-r3
|
||||
MY_P="imagemagick-9999"
|
||||
else
|
||||
MY_PV="$(ver_rs 3 '-')"
|
||||
MY_P="ImageMagick-${MY_PV}"
|
||||
SRC_URI="mirror://imagemagick/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A collection of tools and libraries for many image formats"
|
||||
HOMEPAGE="https://www.imagemagick.org/"
|
||||
|
||||
LICENSE="imagemagick"
|
||||
SLOT="0/6.9.11-60"
|
||||
IUSE="bzip2 corefonts +cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl +png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zlib"
|
||||
|
||||
REQUIRED_USE="corefonts? ( truetype )
|
||||
svg? ( xml )
|
||||
test? ( corefonts )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libltdl:0
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
corefonts? ( media-fonts/corefonts )
|
||||
djvu? ( app-text/djvu )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fpx? ( >=media-libs/libfpx-1.3.0-r1 )
|
||||
graphviz? ( media-gfx/graphviz )
|
||||
heif? ( media-libs/libheif:=[x265] )
|
||||
jbig? ( >=media-libs/jbigkit-2:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
lqr? ( media-libs/liblqr )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr:0= )
|
||||
pango? ( x11-libs/pango )
|
||||
perl? ( >=dev-lang/perl-5.8.8:0= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
raw? ( media-libs/libraw:= )
|
||||
svg? (
|
||||
gnome-base/librsvg
|
||||
media-gfx/potrace
|
||||
)
|
||||
tiff? ( media-libs/tiff:0= )
|
||||
truetype? (
|
||||
media-fonts/urw-fonts
|
||||
>=media-libs/freetype-2
|
||||
)
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
wmf? ( media-libs/libwmf )
|
||||
X? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
)
|
||||
xml? ( dev-libs/libxml2:= )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
zlib? ( sys-libs/zlib:= )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!media-gfx/graphicsmagick[imagemagick]
|
||||
X? ( x11-base/xorg-proto )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Apply hardening #664236
|
||||
cp "${FILESDIR}"/policy-hardening.snippet "${S}" || die
|
||||
sed -i -e '/^<policymap>$/ {
|
||||
r policy-hardening.snippet
|
||||
d
|
||||
}' \
|
||||
config/policy.xml || \
|
||||
die "Failed to apply hardening of policy.xml"
|
||||
einfo "policy.xml hardened"
|
||||
|
||||
elibtoolize # for Darwin modules
|
||||
|
||||
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local depth=16
|
||||
use q8 && depth=8
|
||||
use q32 && depth=32
|
||||
|
||||
local openmp=disable
|
||||
use openmp && { tc-has-openmp && openmp=enable; }
|
||||
|
||||
use perl && perl_check_env
|
||||
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable hdri)
|
||||
$(use_enable opencl)
|
||||
--with-threads
|
||||
--with-modules
|
||||
--with-quantum-depth=${depth}
|
||||
$(use_with cxx magick-plus-plus)
|
||||
$(use_with perl)
|
||||
--with-perl-options='INSTALLDIRS=vendor'
|
||||
--with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
|
||||
$(use_with bzip2 bzlib)
|
||||
$(use_with X x)
|
||||
$(use_with zlib)
|
||||
--without-autotrace
|
||||
$(use_with postscript dps)
|
||||
$(use_with djvu)
|
||||
--with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu
|
||||
$(use_with fftw)
|
||||
$(use_with fpx)
|
||||
$(use_with fontconfig)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with postscript gslib)
|
||||
$(use_with graphviz gvc)
|
||||
$(use_with heif heic)
|
||||
$(use_with jbig)
|
||||
$(use_with jpeg)
|
||||
$(use_with jpeg2k openjp2)
|
||||
$(use_with lcms)
|
||||
$(use_with lqr)
|
||||
$(use_with lzma)
|
||||
$(use_with openexr)
|
||||
$(use_with pango)
|
||||
$(use_with png)
|
||||
$(use_with raw)
|
||||
$(use_with svg rsvg)
|
||||
$(use_with tiff)
|
||||
$(use_with webp)
|
||||
$(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts)
|
||||
$(use_with wmf)
|
||||
$(use_with xml)
|
||||
--${openmp}-openmp
|
||||
--with-gcc-arch=no-automagic
|
||||
)
|
||||
CONFIG_SHELL=$(type -P bash) econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Install default (unrestricted) policy in $HOME for test suite #664238
|
||||
local _im_local_config_home="${HOME}/.config/ImageMagick"
|
||||
mkdir -p "${_im_local_config_home}" || \
|
||||
die "Failed to create IM config dir in '${_im_local_config_home}'"
|
||||
cp "${FILESDIR}"/policy.test.xml "${_im_local_config_home}/policy.xml" || \
|
||||
die "Failed to install default blank policy.xml in '${_im_local_config_home}'"
|
||||
|
||||
local im_command= IM_COMMANDS=()
|
||||
IM_COMMANDS+=( "identify -version | grep -q -- \"${MY_PV}\"" ) # Verify that we are using version we just built
|
||||
IM_COMMANDS+=( "identify -list policy" ) # Verify that policy.xml is used
|
||||
IM_COMMANDS+=( "emake check" ) # Run tests
|
||||
|
||||
for im_command in "${IM_COMMANDS[@]}"; do
|
||||
eval "${S}"/magick.sh \
|
||||
${im_command} || \
|
||||
die "Failed to run \"${im_command}\""
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ensure documentation installation files and paths with each release!
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
install
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
|
||||
dodoc {AUTHORS,README}.txt ChangeLog
|
||||
|
||||
if use perl; then
|
||||
find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
|
||||
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
|
||||
# .la files in parent are not needed, keep plugin .la files
|
||||
find "${ED}"/usr/$(get_libdir)/ -maxdepth 1 -name "*.la" -delete || die
|
||||
|
||||
if use opencl; then
|
||||
cat <<-EOF > "${T}"/99${PN}
|
||||
SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/card0:/dev/dri/renderD128"
|
||||
EOF
|
||||
|
||||
insinto /etc/sandbox.d
|
||||
doins "${T}"/99${PN} #472766
|
||||
fi
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins config/*icm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local _show_policy_xml_notice=
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
_show_policy_xml_notice=yes
|
||||
else
|
||||
local v
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if ! ver_test "${v}" -gt "6.9.10.10-r2"; then
|
||||
# This is an upgrade
|
||||
_show_policy_xml_notice=yes
|
||||
|
||||
# Show this elog only once
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [[ -n "${_show_policy_xml_notice}" ]]; then
|
||||
elog "For security reasons, a policy.xml file was installed in /etc/ImageMagick-6"
|
||||
elog "which will prevent the usage of the following coders by default:"
|
||||
elog ""
|
||||
elog " - PS"
|
||||
elog " - PS2"
|
||||
elog " - PS3"
|
||||
elog " - EPS"
|
||||
elog " - PDF"
|
||||
elog " - XPS"
|
||||
fi
|
||||
}
|
@ -0,0 +1,269 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
|
||||
inherit flag-o-matic libtool perl-functions toolchain-funcs
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/ImageMagick/ImageMagick.git"
|
||||
inherit git-r3
|
||||
MY_P="imagemagick-9999"
|
||||
else
|
||||
MY_PV="$(ver_rs 3 '-')"
|
||||
MY_P="ImageMagick-${MY_PV}"
|
||||
SRC_URI="mirror://imagemagick/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A collection of tools and libraries for many image formats"
|
||||
HOMEPAGE="https://www.imagemagick.org/"
|
||||
|
||||
LICENSE="imagemagick"
|
||||
SLOT="0/7.1.0-0"
|
||||
IUSE="bzip2 corefonts +cxx djvu fftw fontconfig fpx graphviz hdri heif jbig jpeg jpeg2k lcms lqr lzma opencl openexr openmp pango perl +png postscript q32 q8 raw static-libs svg test tiff truetype webp wmf X xml zip zlib"
|
||||
|
||||
REQUIRED_USE="corefonts? ( truetype )
|
||||
svg? ( xml )
|
||||
test? ( corefonts )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libltdl:0
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
corefonts? ( media-fonts/corefonts )
|
||||
djvu? ( app-text/djvu )
|
||||
fftw? ( sci-libs/fftw:3.0 )
|
||||
fontconfig? ( media-libs/fontconfig )
|
||||
fpx? ( >=media-libs/libfpx-1.3.0-r1 )
|
||||
graphviz? ( media-gfx/graphviz )
|
||||
heif? ( media-libs/libheif:=[x265] )
|
||||
jbig? ( >=media-libs/jbigkit-2:= )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.1.0:2 )
|
||||
lcms? ( media-libs/lcms:2= )
|
||||
lqr? ( media-libs/liblqr )
|
||||
opencl? ( virtual/opencl )
|
||||
openexr? ( media-libs/openexr:0= )
|
||||
pango? ( x11-libs/pango )
|
||||
perl? ( >=dev-lang/perl-5.8.8:0= )
|
||||
png? ( media-libs/libpng:0= )
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
raw? ( media-libs/libraw:= )
|
||||
svg? (
|
||||
gnome-base/librsvg
|
||||
media-gfx/potrace
|
||||
)
|
||||
tiff? ( media-libs/tiff:0= )
|
||||
truetype? (
|
||||
media-fonts/urw-fonts
|
||||
>=media-libs/freetype-2
|
||||
)
|
||||
webp? ( media-libs/libwebp:0= )
|
||||
wmf? ( media-libs/libwmf )
|
||||
X? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libXext
|
||||
x11-libs/libXt
|
||||
)
|
||||
xml? ( dev-libs/libxml2:= )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
zip? ( dev-libs/libzip:= )
|
||||
zlib? ( sys-libs/zlib:= )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
!media-gfx/graphicsmagick[imagemagick]
|
||||
X? ( x11-base/xorg-proto )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Apply hardening #664236
|
||||
cp "${FILESDIR}"/policy-hardening.snippet "${S}" || die
|
||||
sed -i -e '/^<policymap>$/ {
|
||||
r policy-hardening.snippet
|
||||
d
|
||||
}' \
|
||||
config/policy.xml || \
|
||||
die "Failed to apply hardening of policy.xml"
|
||||
einfo "policy.xml hardened"
|
||||
|
||||
elibtoolize # for Darwin modules
|
||||
|
||||
# For testsuite, see https://bugs.gentoo.org/show_bug.cgi?id=500580#c3
|
||||
local ati_cards mesa_cards nvidia_cards render_cards
|
||||
shopt -s nullglob
|
||||
ati_cards=$(echo -n /dev/ati/card* | sed 's/ /:/g')
|
||||
if test -n "${ati_cards}"; then
|
||||
addpredict "${ati_cards}"
|
||||
fi
|
||||
mesa_cards=$(echo -n /dev/dri/card* | sed 's/ /:/g')
|
||||
if test -n "${mesa_cards}"; then
|
||||
addpredict "${mesa_cards}"
|
||||
fi
|
||||
nvidia_cards=$(echo -n /dev/nvidia* | sed 's/ /:/g')
|
||||
if test -n "${nvidia_cards}"; then
|
||||
addpredict "${nvidia_cards}"
|
||||
fi
|
||||
render_cards=$(echo -n /dev/dri/renderD128* | sed 's/ /:/g')
|
||||
if test -n "${render_cards}"; then
|
||||
addpredict "${render_cards}"
|
||||
fi
|
||||
shopt -u nullglob
|
||||
addpredict /dev/nvidiactl
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local depth=16
|
||||
use q8 && depth=8
|
||||
use q32 && depth=32
|
||||
|
||||
local openmp=disable
|
||||
use openmp && { tc-has-openmp && openmp=enable; }
|
||||
|
||||
use perl && perl_check_env
|
||||
|
||||
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lnsl -lsocket
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable hdri)
|
||||
$(use_enable opencl)
|
||||
--with-threads
|
||||
--with-modules
|
||||
--with-quantum-depth=${depth}
|
||||
$(use_with cxx magick-plus-plus)
|
||||
$(use_with perl)
|
||||
--with-perl-options='INSTALLDIRS=vendor'
|
||||
--with-gs-font-dir="${EPREFIX}"/usr/share/fonts/urw-fonts
|
||||
$(use_with bzip2 bzlib)
|
||||
$(use_with X x)
|
||||
$(use_with zip)
|
||||
$(use_with zlib)
|
||||
--without-autotrace
|
||||
$(use_with postscript dps)
|
||||
$(use_with djvu)
|
||||
--with-dejavu-font-dir="${EPREFIX}"/usr/share/fonts/dejavu
|
||||
$(use_with fftw)
|
||||
$(use_with fpx)
|
||||
$(use_with fontconfig)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with postscript gslib)
|
||||
$(use_with graphviz gvc)
|
||||
$(use_with heif heic)
|
||||
$(use_with jbig)
|
||||
$(use_with jpeg)
|
||||
$(use_with jpeg2k openjp2)
|
||||
--without-jxl
|
||||
$(use_with lcms)
|
||||
$(use_with lqr)
|
||||
$(use_with lzma)
|
||||
$(use_with openexr)
|
||||
$(use_with pango)
|
||||
$(use_with png)
|
||||
$(use_with raw)
|
||||
$(use_with svg rsvg)
|
||||
$(use_with tiff)
|
||||
$(use_with webp)
|
||||
$(use_with corefonts windows-font-dir "${EPREFIX}"/usr/share/fonts/corefonts)
|
||||
$(use_with wmf)
|
||||
$(use_with xml)
|
||||
--${openmp}-openmp
|
||||
--with-gcc-arch=no-automagic
|
||||
)
|
||||
CONFIG_SHELL=$(type -P bash) econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Install default (unrestricted) policy in $HOME for test suite #664238
|
||||
local _im_local_config_home="${HOME}/.config/ImageMagick"
|
||||
mkdir -p "${_im_local_config_home}" || \
|
||||
die "Failed to create IM config dir in '${_im_local_config_home}'"
|
||||
cp "${FILESDIR}"/policy.test.xml "${_im_local_config_home}/policy.xml" || \
|
||||
die "Failed to install default blank policy.xml in '${_im_local_config_home}'"
|
||||
|
||||
local im_command= IM_COMMANDS=()
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
IM_COMMANDS+=( "magick -version" ) # Show version we are using -- cannot verify because of live ebuild
|
||||
else
|
||||
IM_COMMANDS+=( "magick -version | grep -q -- \"${MY_PV}\"" ) # Verify that we are using version we just built
|
||||
fi
|
||||
IM_COMMANDS+=( "magick -list policy" ) # Verify that policy.xml is used
|
||||
IM_COMMANDS+=( "emake check" ) # Run tests
|
||||
|
||||
for im_command in "${IM_COMMANDS[@]}"; do
|
||||
eval "${S}"/magick.sh \
|
||||
${im_command} || \
|
||||
die "Failed to run \"${im_command}\""
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Ensure documentation installation files and paths with each release!
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
DOCUMENTATION_PATH="${EPREFIX}"/usr/share/doc/${PF}/html \
|
||||
install
|
||||
|
||||
rm -f "${ED}"/usr/share/doc/${PF}/html/{ChangeLog,LICENSE,NEWS.txt}
|
||||
dodoc {AUTHORS,README}.txt ChangeLog
|
||||
|
||||
if use perl; then
|
||||
find "${ED}" -type f -name perllocal.pod -exec rm -f {} +
|
||||
find "${ED}" -depth -mindepth 1 -type d -empty -exec rm -rf {} +
|
||||
fi
|
||||
|
||||
find "${ED}" -name '*.la' -exec sed -i -e "/^dependency_libs/s:=.*:='':" {} +
|
||||
# .la files in parent are not needed, keep plugin .la files
|
||||
find "${ED}"/usr/$(get_libdir)/ -maxdepth 1 -name "*.la" -delete || die
|
||||
|
||||
if use opencl; then
|
||||
cat <<-EOF > "${T}"/99${PN}
|
||||
SANDBOX_PREDICT="/dev/nvidiactl:/dev/nvidia-uvm:/dev/ati/card:/dev/dri/card:/dev/dri/card0:/dev/dri/renderD128"
|
||||
EOF
|
||||
|
||||
insinto /etc/sandbox.d
|
||||
doins "${T}"/99${PN} #472766
|
||||
fi
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins config/*icm
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local _show_policy_xml_notice=
|
||||
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
# This is a new installation
|
||||
_show_policy_xml_notice=yes
|
||||
else
|
||||
local v
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if ! ver_test "${v}" -gt "7.0.8.10-r2"; then
|
||||
# This is an upgrade
|
||||
_show_policy_xml_notice=yes
|
||||
|
||||
# Show this elog only once
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [[ -n "${_show_policy_xml_notice}" ]]; then
|
||||
elog "For security reasons, a policy.xml file was installed in /etc/ImageMagick-7"
|
||||
elog "which will prevent the usage of the following coders by default:"
|
||||
elog ""
|
||||
elog " - PS"
|
||||
elog " - PS2"
|
||||
elog " - PS3"
|
||||
elog " - EPS"
|
||||
elog " - PDF"
|
||||
elog " - XPS"
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
Wed, 20 Oct 2021 20:08:55 +0000
|
||||
Thu, 21 Oct 2021 05:38:53 +0000
|
||||
|
@ -1 +1 @@
|
||||
Wed, 20 Oct 2021 20:08:55 +0000
|
||||
Thu, 21 Oct 2021 05:38:53 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,15 @@
|
||||
BDEPEND=test? ( >=dev-python/botocore-1.22.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/colorama[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/docutils[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/rsa[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/s3transfer-0.4.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pyyaml[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/pytest-4.5.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] ) python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/setuptools-42.0.2[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
DEFINED_PHASES=compile configure install prepare test
|
||||
DESCRIPTION=Universal Command Line Environment for AWS
|
||||
EAPI=8
|
||||
HOMEPAGE=https://pypi.org/project/awscli/
|
||||
IUSE=test python_targets_python3_8 python_targets_python3_9 python_targets_python3_10
|
||||
KEYWORDS=~amd64 ~arm64 ~x86
|
||||
LICENSE=Apache-2.0
|
||||
RDEPEND=>=dev-python/botocore-1.22.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/colorama[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/docutils[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/rsa[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] >=dev-python/s3transfer-0.4.0[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] dev-python/pyyaml[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?] python_targets_python3_8? ( dev-lang/python:3.8 ) python_targets_python3_9? ( dev-lang/python:3.9 ) python_targets_python3_10? ( dev-lang/python:3.10 ) >=dev-lang/python-exec-2:=[python_targets_python3_8(-)?,python_targets_python3_9(-)?,python_targets_python3_10(-)?]
|
||||
REQUIRED_USE=|| ( python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://github.com/aws/aws-cli/archive/1.21.0.tar.gz -> awscli-1.21.0.tar.gz
|
||||
_eclasses_=bash-completion-r1 d3a60385655d9b402be765a6de333245 distutils-r1 252d4f554e611b0af601160a9c7be049 multibuild 05a584848db4901c97fcd94ae7cc3a97 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-r1 e574a3642f886323f18f867ecc4d91c4 python-utils-r1 655fe65f186504e455c2f3116808fda8 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=59aaa69aaac884c7da575bc3fd3a5e6e
|
@ -0,0 +1,16 @@
|
||||
BDEPEND=>=sys-devel/autoconf-archive-2015.02.24 virtual/pkgconfig elibc_musl? ( sys-libs/queue-standalone ) test? ( jemalloc? ( <sys-libs/libfaketime-0.9.7 ) !jemalloc? ( sys-libs/libfaketime ) || ( dev-lang/python:3.10 dev-lang/python:3.9 dev-lang/python:3.8 ) ) sys-devel/gnuconfig >=app-portage/elt-patches-20170815 || ( >=sys-devel/automake-1.16.2-r1:1.16 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||
DEFINED_PHASES=compile config configure install postinst prepare setup test unpack
|
||||
DEPEND=>=dev-libs/libfastjson-0.99.8:= >=dev-libs/libestr-0.1.9 >=sys-libs/zlib-1.2.5 curl? ( >=net-misc/curl-7.35.0 ) dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) imhttp? ( dev-libs/apr-util www-servers/civetweb virtual/libcrypt:= ) impcap? ( net-libs/libpcap ) jemalloc? ( >=dev-libs/jemalloc-3.3.1:= ) kafka? ( >=dev-libs/librdkafka-0.9.0.99:= ) kerberos? ( virtual/krb5 ) kubernetes? ( >=net-misc/curl-7.35.0 ) mdblookup? ( dev-libs/libmaxminddb:= ) mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= ) mysql? ( dev-db/mysql-connector-c:= ) normalize? ( >=dev-libs/liblognorm-2.0.3:= ) clickhouse? ( >=net-misc/curl-7.35.0 ) omhttpfs? ( >=net-misc/curl-7.35.0 ) omudpspoof? ( >=net-libs/libnet-1.1.6 ) postgres? ( >=dev-db/postgresql-8.4.20:= ) rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= ) redis? ( >=dev-libs/hiredis-0.11.0:= ) relp? ( >=dev-libs/librelp-1.2.17:= ) rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] ) rfc5424hmac? ( >=dev-libs/openssl-0.9.8y:0= ) snmp? ( >=net-analyzer/net-snmp-5.7.2 ) ssl? ( gnutls? ( >=net-libs/gnutls-2.12.23:0= ) openssl? ( dev-libs/openssl:0= ) ) systemd? ( >=sys-apps/systemd-234 ) uuid? ( sys-apps/util-linux:0= ) xxhash? ( dev-libs/xxhash:= ) zeromq? ( >=net-libs/czmq-4:=[drafts] ) test? ( >=dev-libs/liblogging-1.0.1[stdlog] )
|
||||
DESCRIPTION=An enhanced multi-threaded syslogd with database support and more
|
||||
EAPI=8
|
||||
HOMEPAGE=https://www.rsyslog.com/
|
||||
IUSE=clickhouse curl dbi debug doc elasticsearch +gcrypt gnutls imhttp impcap jemalloc kafka kerberos kubernetes mdblookup mongodb mysql normalize omhttp omhttpfs omudpspoof +openssl postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp +ssl systemd test usertools +uuid xxhash zeromq kernel_linux
|
||||
KEYWORDS=~amd64 ~arm ~arm64 ~hppa ~x86
|
||||
LICENSE=GPL-3 LGPL-3 Apache-2.0
|
||||
RDEPEND=>=dev-libs/libfastjson-0.99.8:= >=dev-libs/libestr-0.1.9 >=sys-libs/zlib-1.2.5 curl? ( >=net-misc/curl-7.35.0 ) dbi? ( >=dev-db/libdbi-0.8.3 ) elasticsearch? ( >=net-misc/curl-7.35.0 ) gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= ) imhttp? ( dev-libs/apr-util www-servers/civetweb virtual/libcrypt:= ) impcap? ( net-libs/libpcap ) jemalloc? ( >=dev-libs/jemalloc-3.3.1:= ) kafka? ( >=dev-libs/librdkafka-0.9.0.99:= ) kerberos? ( virtual/krb5 ) kubernetes? ( >=net-misc/curl-7.35.0 ) mdblookup? ( dev-libs/libmaxminddb:= ) mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= ) mysql? ( dev-db/mysql-connector-c:= ) normalize? ( >=dev-libs/liblognorm-2.0.3:= ) clickhouse? ( >=net-misc/curl-7.35.0 ) omhttpfs? ( >=net-misc/curl-7.35.0 ) omudpspoof? ( >=net-libs/libnet-1.1.6 ) postgres? ( >=dev-db/postgresql-8.4.20:= ) rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= ) redis? ( >=dev-libs/hiredis-0.11.0:= ) relp? ( >=dev-libs/librelp-1.2.17:= ) rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] ) rfc5424hmac? ( >=dev-libs/openssl-0.9.8y:0= ) snmp? ( >=net-analyzer/net-snmp-5.7.2 ) ssl? ( gnutls? ( >=net-libs/gnutls-2.12.23:0= ) openssl? ( dev-libs/openssl:0= ) ) systemd? ( >=sys-apps/systemd-234 ) uuid? ( sys-apps/util-linux:0= ) xxhash? ( dev-libs/xxhash:= ) zeromq? ( >=net-libs/czmq-4:=[drafts] )
|
||||
REQUIRED_USE=kubernetes? ( normalize ) ssl? ( || ( gnutls openssl ) )
|
||||
RESTRICT=!test? ( test )
|
||||
SLOT=0
|
||||
SRC_URI=https://www.rsyslog.com/files/download/rsyslog/rsyslog-8.2110.0.tar.gz doc? ( https://www.rsyslog.com/files/download/rsyslog/rsyslog-doc-8.2110.0.tar.gz )
|
||||
_eclasses_=autotools c9df06c186913b43eb211100ef5fe2cf gnuconfig 262062cef0ba4f22b397193da514a350 libtool 241a8f577b9781a42a7421e53448a44e linux-info 6b67971d8a0a029d13181f2cfb9f5fa9 multilib 4b66d835ec72e021e359bb81eacfe988 multiprocessing 61c959fc55c15c00bbb1079d6a71370b python-any-r1 13f6d423c5c5bc519a9b552654cc745f python-utils-r1 655fe65f186504e455c2f3116808fda8 systemd 2736b403a83f194b59b767f3b344c2c1 toolchain-funcs 9ea1c67b6f8315fdc2568abb674519aa
|
||||
_md5_=be630fe52d981c0344b6f67e1b3f20fe
|
Binary file not shown.
Binary file not shown.
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