parent
20998dcb9c
commit
6610928491
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST rmagic-2.21.tar.gz 451179 BLAKE2B b52d8dc7473d8679c0698a4d053a9740e72242b5e4de75b9ac44b9f38709c81f61da3b2dda814f5ed1e503192891fe33f070fc037e88fe7cc26c542fc67da02a SHA512 ed9f4e6f8d6160afbe138125c4cb65010a08b95390117ebf07ccde289ff42b78664b1fe677e23f46a221d153889f807c545329936829fceeae4690b00732a637
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Makes usable statistics from your web site log file analysis"
|
||||
HOMEPAGE="http://www.reportmagic.org/"
|
||||
SRC_URI="http://www.reportmagic.org/rmagic-${PV}.tar.gz"
|
||||
|
||||
LICENSE="Artistic"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="truetype"
|
||||
|
||||
DEPEND="sys-libs/zlib
|
||||
media-libs/libpng
|
||||
media-libs/gd
|
||||
truetype? ( media-libs/freetype )
|
||||
virtual/jpeg
|
||||
dev-perl/GD
|
||||
dev-perl/Config-IniFiles
|
||||
virtual/perl-File-Spec
|
||||
dev-perl/HTML-Tagset
|
||||
dev-perl/HTML-Parser
|
||||
dev-perl/GDGraph
|
||||
virtual/perl-File-Temp
|
||||
dev-perl/GD-Graph3d"
|
||||
|
||||
S="${WORKDIR}/rmagic-${PV}"
|
||||
|
||||
src_install() {
|
||||
sed -i \
|
||||
-e "s:^\$DEST.*:\$DEST='${ED}/usr/share/reportmagic';:g" \
|
||||
-e "s:^\$DOC.*:\$DOC='${ED}/usr/share/doc/${PF}';:g" \
|
||||
Install.PL \
|
||||
|| die "sed failed"
|
||||
perl Install.PL -no_modules
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST swatchdog-3.2.4.tar.gz 30122 BLAKE2B 103491a231306cedad030fca8cc309ce89e8cbc8a3fcee63cd482efb733b91db8b29193bb1e9b9c5213261b150e3dc6be2b506dee83b2297d5af2f1451f596c8 SHA512 4e0a4e3feed00df0f0d04f94cc090e53e71fa9b20d46236ec41d63b98b5733d80a5941b491cffcbb0b655a9c7d2b5c9423ca7ae043346dbe1b05ee6ab24b9489
|
@ -1,25 +0,0 @@
|
||||
# /etc/conf.d/swatchdog: config file for /etc/init.d/swatchdog
|
||||
|
||||
# Path to the swatchdog program.
|
||||
#SWATCHDOG_BINARY="/usr/bin/swatchdog"
|
||||
|
||||
# Swatchrc to read patterns and actions from.
|
||||
#SWATCHDOGRC="/etc/swatchdogrc"
|
||||
|
||||
# File to monitor
|
||||
#SWATCHDOG_TAILFILE="/var/log/syslog"
|
||||
|
||||
# Arguments to tail program
|
||||
#SWATCHDOG_TAILARGS=""
|
||||
|
||||
# Swatch log file
|
||||
#SWATCHDOG_LOGFILE="/var/log/swatchdog.log"
|
||||
|
||||
# Swatch error file
|
||||
#SWATCHDOG_ERRFILE="/var/log/swatchdog-err.log"
|
||||
|
||||
# Where to output the generated script to. Should not be writable by others.
|
||||
#SWATCHDOG_SCRIPT="/run/swatchdog/swatchdog_script.pl"
|
||||
|
||||
# Whether to parse the complete file once at startup. Defaults to "NO".
|
||||
PARSE_FULL="NO"
|
@ -1,53 +0,0 @@
|
||||
#!/sbin/openrc-run
|
||||
# This script is based on the one created by Phil (bug #255329).
|
||||
|
||||
depend() {
|
||||
need logger
|
||||
}
|
||||
|
||||
SWATCHDOG_BINARY=${SWATCHDOG_BINARY:-/usr/bin/swatchdog}
|
||||
SWATCHDOGRC=${SWATCHDOGRC:-/etc/swatchdogrc}
|
||||
SWATCHDOG_TAILFILE=${SWATCHDOG_TAILFILE:-/var/log/syslog}
|
||||
SWATCHDOG_LOGFILE=${SWATCHDOG_LOGFILE:-/var/log/swatchdog.log}
|
||||
SWATCHDOG_ERRFILE=${SWATCHDOG_ERRFILE:-/var/log/swatchdog-err.log}
|
||||
SWATCHDOG_SCRIPT=${SWATCHDOG_SCRIPT:-/run/swatchdog/swatchdog_script.pl}
|
||||
|
||||
gen_script() {
|
||||
local tailargs=""
|
||||
if [ "${SWATCHDOG_TAILARGS}" ]; then
|
||||
tailargs="--tail-args=\"${SWATCHDOG_TAILARGS}\""
|
||||
fi
|
||||
ebegin "Generating swatchdog script from config"
|
||||
${SWATCHDOG_BINARY} --dump-script="${SWATCHDOG_SCRIPT}" \
|
||||
--use-cpan-file-tail ${tailargs} \
|
||||
--config-file "${SWATCHDOGRC}" $1 "${SWATCHDOG_TAILFILE}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
parse_full() {
|
||||
gen_script --examine
|
||||
ebegin "Parsing complete file once"
|
||||
/usr/bin/perl ${SWATCHDOG_SCRIPT} 1>/dev/null
|
||||
eend $?
|
||||
}
|
||||
|
||||
start() {
|
||||
checkpath -d -q -m 0750 -o root:root /run/swatchdog
|
||||
if [ "${PARSE_FULL}" = "YES" ]; then
|
||||
parse_full
|
||||
fi
|
||||
gen_script --tail-file
|
||||
ebegin "Starting swatchdog"
|
||||
start-stop-daemon --start --quiet --background \
|
||||
--make-pidfile --pidfile /run/swatchdog/swatchdog.pid \
|
||||
--stdout ${SWATCHDOG_LOGFILE} --stderr ${SWATCHDOG_ERRFILE} \
|
||||
--exec /usr/bin/perl -- ${SWATCHDOG_SCRIPT}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Stopping swatchdog"
|
||||
start-stop-daemon --stop --exec /usr/bin/perl \
|
||||
--pidfile /run/swatchdog/swatchdog.pid --quiet
|
||||
eend $?
|
||||
}
|
@ -1,10 +0,0 @@
|
||||
#
|
||||
# A sample configuration file for swatchdog.
|
||||
#
|
||||
# See "man swatchdog" for details.
|
||||
|
||||
# Mails root when invalid remote login attempted.
|
||||
watchfor /(.*) (.*) (.*) (.*) (.*):( [iI]nvalid [uU]ser )(.*)( from )(.*)$/
|
||||
threshold track_by=$9,type=limit,count=3,seconds=30
|
||||
mail root,subject="Invalid user"
|
||||
|
@ -1,24 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
swatchdog.pl started out as swatch, the "simple watchdog"
|
||||
for activity monitoring log files produced by UNIX's syslog
|
||||
facility. It has since been evolving into a utility that can
|
||||
monitor just about any type of log. The name has been changed
|
||||
to satisfy a request made by the old Swiss watch company.
|
||||
</longdescription>
|
||||
<longdescription lang="es">
|
||||
swatchdog.pl comenzó como swatch, el "simple perro guardián"
|
||||
para monitorizar la actividad en los ficheros de registro
|
||||
producidos por la característica syslog de los sistemas UNIX.
|
||||
Desde entonces ha evolucionado hacia una utilidad que puede
|
||||
monitorizar cualquier tipo de registro. Se ha cambiado el
|
||||
nombre del proyecto para satisfacer una petición realizada
|
||||
por la empresa de relojes suiza.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">swatch</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Simple log watcher"
|
||||
HOMEPAGE="https://sourceforge.net/projects/swatch/"
|
||||
SRC_URI="mirror://sourceforge/swatch/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-perl/Date-Manip
|
||||
dev-perl/Date-Calc
|
||||
dev-perl/File-Tail
|
||||
dev-perl/TimeDate
|
||||
>=virtual/perl-Time-HiRes-1.12
|
||||
!app-admin/swatch"
|
||||
|
||||
src_install() {
|
||||
emake install
|
||||
newinitd "${FILESDIR}/${PN}-init" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}-confd" "${PN}"
|
||||
insinto /etc
|
||||
doins "${FILESDIR}/${PN}rc"
|
||||
|
||||
# Clean up perl localpod and packlist (bug #620886)
|
||||
perl_delete_localpod
|
||||
perl_fix_packlist
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST yasat-848.tar.gz 148261 BLAKE2B 917846d82f052d8300045eb02e6aa8cea18bb6ea170ef52c83646069ed14096f205cba8f50d079f7f63fcd00e84c78643aacfc202795d3922c0708cd525ef1f8 SHA512 0bc0e8e1068bee05242b5c7a7cdc8ca976503f696aef2889870ef872546021d0956489cf8d5b304a36be412cf8e5c8cbf4be5aa1cce5df008c5185188e5a99dc
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">yasat</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Security and system auditing tool"
|
||||
HOMEPAGE="http://yasat.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~sparc ~x86"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" PREFIX="/usr" SYSCONFDIR="/etc"
|
||||
|
||||
dodoc README CHANGELOG
|
||||
doman man/yasat.8
|
||||
}
|
Binary file not shown.
@ -0,0 +1,263 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
adler-1.0.2
|
||||
adler32-1.2.0
|
||||
ahash-0.4.7
|
||||
ahash-0.7.6
|
||||
aho-corasick-0.7.18
|
||||
ansi_colours-1.0.4
|
||||
ansi_term-0.11.0
|
||||
anyhow-1.0.45
|
||||
argh-0.1.6
|
||||
argh_derive-0.1.6
|
||||
argh_shared-0.1.6
|
||||
atty-0.2.14
|
||||
autocfg-1.0.1
|
||||
base64-0.13.0
|
||||
bet-1.0.0
|
||||
bincode-1.3.3
|
||||
bitflags-1.3.2
|
||||
bstr-0.2.17
|
||||
bytemuck-1.7.2
|
||||
byteorder-1.4.3
|
||||
cc-1.0.72
|
||||
cfg-if-1.0.0
|
||||
char_reader-0.1.1
|
||||
chrono-0.4.19
|
||||
clap-2.33.3
|
||||
cli-log-0.1.0
|
||||
cli-log-2.0.0
|
||||
clipboard-win-4.2.2
|
||||
color_quant-1.1.0
|
||||
coolor-0.3.0
|
||||
crc32fast-1.2.1
|
||||
crossbeam-0.8.1
|
||||
crossbeam-channel-0.5.1
|
||||
crossbeam-deque-0.8.1
|
||||
crossbeam-epoch-0.9.5
|
||||
crossbeam-queue-0.3.2
|
||||
crossbeam-utils-0.8.5
|
||||
crossterm-0.19.0
|
||||
crossterm-0.21.0
|
||||
crossterm_winapi-0.7.0
|
||||
crossterm_winapi-0.8.0
|
||||
csv-1.1.6
|
||||
csv-core-0.1.10
|
||||
csv2svg-0.1.5
|
||||
custom_error-1.9.2
|
||||
deflate-0.8.6
|
||||
deser-hjson-1.0.2
|
||||
directories-3.0.2
|
||||
directories-next-2.0.0
|
||||
dirs-sys-0.3.6
|
||||
dirs-sys-next-0.1.2
|
||||
either-1.6.1
|
||||
error-code-2.3.0
|
||||
fallible-iterator-0.2.0
|
||||
fallible-streaming-iterator-0.1.9
|
||||
file-size-1.0.3
|
||||
flate2-1.0.22
|
||||
fnv-1.0.7
|
||||
form_urlencoded-1.0.1
|
||||
getrandom-0.2.3
|
||||
gif-0.11.3
|
||||
git2-0.13.24
|
||||
glassbench-0.3.0
|
||||
glob-0.3.0
|
||||
hashbrown-0.9.1
|
||||
hashbrown-0.11.2
|
||||
hashlink-0.6.0
|
||||
heck-0.3.3
|
||||
hermit-abi-0.1.19
|
||||
id-arena-2.2.1
|
||||
idna-0.2.3
|
||||
image-0.23.14
|
||||
indexmap-1.7.0
|
||||
instant-0.1.12
|
||||
is_executable-1.0.1
|
||||
itoa-0.4.8
|
||||
jobserver-0.1.24
|
||||
jpeg-decoder-0.1.22
|
||||
lazy-regex-2.2.2
|
||||
lazy-regex-proc_macros-2.2.2
|
||||
lazy_static-1.4.0
|
||||
lazycell-1.3.0
|
||||
lfs-core-0.4.2
|
||||
libc-0.2.107
|
||||
libgit2-sys-0.12.25+1.3.0
|
||||
libsqlite3-sys-0.20.1
|
||||
libz-sys-1.1.3
|
||||
line-wrap-0.1.1
|
||||
linked-hash-map-0.5.4
|
||||
lock_api-0.4.5
|
||||
log-0.4.14
|
||||
matches-0.1.9
|
||||
memchr-2.4.1
|
||||
memmap-0.7.0
|
||||
memoffset-0.6.4
|
||||
minimad-0.7.1
|
||||
minimad-0.9.0
|
||||
miniz_oxide-0.3.7
|
||||
miniz_oxide-0.4.4
|
||||
mio-0.7.14
|
||||
miow-0.3.7
|
||||
ntapi-0.3.6
|
||||
num-integer-0.1.44
|
||||
num-iter-0.1.42
|
||||
num-rational-0.3.2
|
||||
num-traits-0.2.14
|
||||
num_cpus-1.13.0
|
||||
once_cell-1.8.0
|
||||
onig-6.3.1
|
||||
onig_sys-69.7.1
|
||||
open-1.7.1
|
||||
open-2.0.1
|
||||
parking_lot-0.11.2
|
||||
parking_lot_core-0.8.5
|
||||
pathdiff-0.2.1
|
||||
percent-encoding-2.1.0
|
||||
phf-0.9.0
|
||||
phf_generator-0.9.1
|
||||
phf_macros-0.9.0
|
||||
phf_shared-0.9.0
|
||||
pkg-config-0.3.22
|
||||
plist-1.3.1
|
||||
png-0.16.8
|
||||
ppv-lite86-0.2.15
|
||||
proc-macro-hack-0.5.19
|
||||
proc-macro2-1.0.32
|
||||
proc-status-0.1.1
|
||||
quick-xml-0.22.0
|
||||
quote-1.0.10
|
||||
rand-0.8.4
|
||||
rand_chacha-0.3.1
|
||||
rand_core-0.6.3
|
||||
rand_hc-0.3.1
|
||||
rayon-1.5.1
|
||||
rayon-core-1.9.1
|
||||
redox_syscall-0.2.10
|
||||
redox_users-0.4.0
|
||||
regex-1.5.4
|
||||
regex-automata-0.1.10
|
||||
regex-syntax-0.6.25
|
||||
remove_dir_all-0.5.3
|
||||
rusqlite-0.24.2
|
||||
ryu-1.0.5
|
||||
safemem-0.3.3
|
||||
same-file-1.0.6
|
||||
scoped_threadpool-0.1.9
|
||||
scopeguard-1.1.0
|
||||
secular-1.0.1
|
||||
serde-1.0.130
|
||||
serde_derive-1.0.130
|
||||
serde_json-1.0.71
|
||||
signal-hook-0.1.17
|
||||
signal-hook-0.3.10
|
||||
signal-hook-mio-0.2.1
|
||||
signal-hook-registry-1.4.0
|
||||
siphasher-0.3.7
|
||||
smallvec-1.7.0
|
||||
splitty-0.1.0
|
||||
str-buf-1.0.5
|
||||
strict-0.1.4
|
||||
strsim-0.8.0
|
||||
svg-0.8.2
|
||||
syn-1.0.81
|
||||
syntect-4.6.0
|
||||
tempfile-3.2.0
|
||||
termimad-0.10.3
|
||||
termimad-0.19.0
|
||||
terminal-clipboard-0.3.1
|
||||
termux-clipboard-0.1.0
|
||||
textwrap-0.11.0
|
||||
thiserror-1.0.30
|
||||
thiserror-impl-1.0.30
|
||||
tiff-0.6.1
|
||||
time-0.1.43
|
||||
time-0.3.5
|
||||
tinyvec-1.5.1
|
||||
tinyvec_macros-0.1.0
|
||||
toml-0.5.8
|
||||
umask-1.0.0
|
||||
unicode-bidi-0.3.7
|
||||
unicode-normalization-0.1.19
|
||||
unicode-segmentation-1.8.0
|
||||
unicode-width-0.1.9
|
||||
unicode-xid-0.2.2
|
||||
url-2.2.2
|
||||
users-0.11.0
|
||||
vcpkg-0.2.15
|
||||
vec_map-0.8.2
|
||||
version_check-0.9.3
|
||||
walkdir-2.3.2
|
||||
wasi-0.10.2+wasi-snapshot-preview1
|
||||
weezl-0.1.5
|
||||
winapi-0.3.9
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-util-0.1.5
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
x11-clipboard-0.5.3
|
||||
xcb-0.10.1
|
||||
xml-rs-0.8.4
|
||||
yaml-rust-0.4.5
|
||||
"
|
||||
|
||||
inherit bash-completion-r1 cargo
|
||||
|
||||
DESCRIPTION="A new way to see and navigate directory trees"
|
||||
HOMEPAGE="https://dystroy.org/broot/ https://github.com/Canop/broot"
|
||||
SRC_URI="https://github.com/Canop/broot/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
$(cargo_crate_uris)"
|
||||
|
||||
LICENSE="Apache-2.0 BSD-2 BSD LGPL-3+ MIT ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="X"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgit2:=
|
||||
X? ( x11-libs/libxcb:= )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND=">=virtual/rust-1.56"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/broot"
|
||||
|
||||
src_configure() {
|
||||
local myfeatures=( $(usev X clipboard) )
|
||||
|
||||
cargo_src_configure --no-default-features
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
local mandate=$(date -r man/page +'%Y/%m/%d' || die)
|
||||
sed -e "s|#version|${PV}|" \
|
||||
-e "s|#date|${mandate}|" \
|
||||
man/page > "${T}"/${PN}.1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
|
||||
doman "${T}"/${PN}.1
|
||||
|
||||
local build_dir=( target/$(usex debug{,} release)/build/${PN}-*/out )
|
||||
cd ${build_dir[0]} || die
|
||||
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
newbashcomp br.bash br
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins _${PN}
|
||||
doins _br
|
||||
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins ${PN}.fish
|
||||
doins br.fish
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
From e6c69762f5f555fa17659e3440d8392b6a47bbc6 Mon Sep 17 00:00:00 2001
|
||||
From: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
|
||||
Date: Mon, 8 Nov 2021 18:44:25 -0600
|
||||
Subject: [PATCH] Improved commandline help
|
||||
|
||||
Output the descriptions of the commandline options in -h.
|
||||
|
||||
Signed-off-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
|
||||
---
|
||||
options.c | 25 +++++++++++++++++--------
|
||||
physlock.1 | 2 +-
|
||||
2 files changed, 18 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/options.c b/options.c
|
||||
index 6ec3634..ed21262 100644
|
||||
--- a/options.c
|
||||
+++ b/options.c
|
||||
@@ -28,7 +28,16 @@ static options_t _options;
|
||||
const options_t *options = (const options_t*) &_options;
|
||||
|
||||
void print_usage() {
|
||||
- printf("usage: physlock [-dhLlmsv] [-p MSG]\n");
|
||||
+ printf("Usage: physlock [-dhlLmsv] [-p MSG]\n");
|
||||
+ printf("Lock all consoles / virtual terminals.\n\n");
|
||||
+ printf(" -d Fork and detach physlock before prompting for authentication.\n");
|
||||
+ printf(" -h Print brief usage information to standard output and exit.\n");
|
||||
+ printf(" -l Only lock console switching and exit.\n");
|
||||
+ printf(" -L Only enable (unlock) console switching and exit.\n");
|
||||
+ printf(" -m Mute kernel messages on console while physlock is running.\n");
|
||||
+ printf(" -p MSG Display MSG before the password prompt.\n");
|
||||
+ printf(" -s Disable SysRq mechanism while physlock is running.\n");
|
||||
+ printf(" -v Print version information to standard output and exit.\n");
|
||||
}
|
||||
|
||||
void print_version() {
|
||||
@@ -46,23 +55,20 @@ void parse_options(int argc, char **argv) {
|
||||
_options.lock_switch = -1;
|
||||
_options.mute_kernel_messages = 0;
|
||||
|
||||
- while ((opt = getopt(argc, argv, "dhLlmp:sv")) != -1) {
|
||||
+ while ((opt = getopt(argc, argv, "dhlLmp:sv")) != -1) {
|
||||
switch (opt) {
|
||||
- case '?':
|
||||
- print_usage();
|
||||
- exit(1);
|
||||
case 'd':
|
||||
_options.detach = 1;
|
||||
break;
|
||||
case 'h':
|
||||
print_usage();
|
||||
exit(0);
|
||||
- case 'L':
|
||||
- _options.lock_switch = 0;
|
||||
- break;
|
||||
case 'l':
|
||||
_options.lock_switch = 1;
|
||||
break;
|
||||
+ case 'L':
|
||||
+ _options.lock_switch = 0;
|
||||
+ break;
|
||||
case 'm':
|
||||
_options.mute_kernel_messages = 1;
|
||||
break;
|
||||
@@ -75,6 +81,9 @@ void parse_options(int argc, char **argv) {
|
||||
case 'v':
|
||||
print_version();
|
||||
exit(0);
|
||||
+ case '?':
|
||||
+ print_usage();
|
||||
+ exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
diff --git a/physlock.1 b/physlock.1
|
||||
index 32e8547..6243214 100644
|
||||
--- a/physlock.1
|
||||
+++ b/physlock.1
|
||||
@@ -3,7 +3,7 @@
|
||||
physlock \- lock all consoles / virtual terminals
|
||||
.SH SYNOPSIS
|
||||
.B physlock
|
||||
-.RB [ \-dhLlmsv ]
|
||||
+.RB [ \-dhlLmsv ]
|
||||
.RB [ \-p
|
||||
.IR MSG ]
|
||||
.SH DESCRIPTION
|
||||
--
|
||||
2.32.0
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_MAKEFILE_GENERATOR="emake"
|
||||
inherit bash-completion-r1 cmake
|
||||
|
||||
DESCRIPTION="Taskwarrior is a command-line todo list manager"
|
||||
HOMEPAGE="https://taskwarrior.org/"
|
||||
SRC_URI="https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${PV}/${P}.tar.gz
|
||||
https://github.com/GothenburgBitFactory/taskwarrior/releases/download/v${PV}/tests-${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~x64-macos"
|
||||
IUSE="+sync"
|
||||
|
||||
DEPEND="
|
||||
sync? ( net-libs/gnutls )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# move test directory into source directory
|
||||
mv "${WORKDIR}"/test "${WORKDIR}"/${P} || die
|
||||
|
||||
cmake_src_prepare
|
||||
|
||||
# don't automatically install scripts
|
||||
sed -i '/scripts/d' CMakeLists.txt || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DENABLE_SYNC=$(usex sync)
|
||||
-DTASK_DOCDIR=share/doc/${PF}
|
||||
-DTASK_RCDIR=share/${PN}/rc
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${WORKDIR}"/"${P}"_build || die
|
||||
|
||||
emake test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
newbashcomp scripts/bash/task.sh task
|
||||
|
||||
# vim syntax
|
||||
rm scripts/vim/README || die
|
||||
insinto /usr/share/vim/vimfiles
|
||||
doins -r scripts/vim/*
|
||||
|
||||
# zsh-completions
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins scripts/zsh/*
|
||||
|
||||
# fish-completions
|
||||
insinto /usr/share/fish/completions
|
||||
doins scripts/fish/*
|
||||
|
||||
exeinto "/usr/share/${PN}/scripts"
|
||||
doexe scripts/add-ons/*
|
||||
}
|
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST borg_src_1_7_4.zip 4012440 BLAKE2B 36f0eecd7f689e2a9990b938e571f012c8e0b60733e38699da9ffaaa8d6d2e35a80a3132a3eb8b6a76a0190eb883f9119c062568046d73cc0eef755754ecb788 SHA512 6b68826dbdf958089be2ecee3d05e10750ae3512a40409642ab37913351298f8c180632932a570c5b5ceb6a3f574ceb86fca889e213bf0deaaa787b35307923e
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit versionator java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="${PN}_src"
|
||||
MY_PV="$(replace_all_version_separators _ )"
|
||||
|
||||
DESCRIPTION="Calendar and task tracker, written in Java"
|
||||
HOMEPAGE="http://borg-calendar.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/borg-calendar/borg%201.7/BORG%20${PV}/${MY_PN}_${MY_PV}.zip"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
CDEPEND="
|
||||
dev-java/javahelp:0
|
||||
dev-java/oracle-javamail:0"
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.6
|
||||
dev-db/hsqldb:0
|
||||
dev-java/jgoodies-looks:2.0"
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.6
|
||||
app-arch/unzip"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}/BORGCalendar"
|
||||
|
||||
java_prepare() {
|
||||
# Upstream is dead and we already have dev-java/jcalendar
|
||||
# but it's not the same thing.
|
||||
find -name '*.jar' -! -name 'jcalendar.jar' \
|
||||
-exec rm -v {} + || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
JAVA_ANT_CLASSPATH_TAGS+=" javadoc"
|
||||
|
||||
EANT_BUILD_XML="ant/build.xml"
|
||||
EANT_BUILD_TARGET="borg-jar help-jar"
|
||||
EANT_GENTOO_CLASSPATH="javahelp oracle-javamail"
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar dist/${PN}.jar
|
||||
java-pkg_dojar build/lib/${PN}help.jar
|
||||
java-pkg_dojar lib/jcalendar.jar
|
||||
java-pkg_register-dependency hsqldb,jgoodies-looks-2.0
|
||||
|
||||
java-pkg_dolauncher ${PN} --main net.sf.borg.control.Borg
|
||||
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
use doc && java-pkg_dosrc src/*
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">borg-calendar</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,78 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop qmake-utils xdg
|
||||
|
||||
MY_PV="${PV/_/}"
|
||||
DESCRIPTION="Free cross-platform LaTeX editor (fork from texmakerX)"
|
||||
HOMEPAGE="https://www.texstudio.org https://github.com/texstudio-org/texstudio"
|
||||
SRC_URI="https://github.com/texstudio-org/texstudio/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="video"
|
||||
|
||||
DEPEND="
|
||||
app-text/hunspell:=
|
||||
app-text/poppler:=[qt5]
|
||||
>=dev-libs/quazip-0.7.3-r1:0=
|
||||
dev-qt/designer:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtdeclarative:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtsingleapplication[qt5(+),X]
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qttest:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
video? ( >=media-libs/phonon-4.11.0 )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-text/ghostscript-gpl
|
||||
app-text/psutils
|
||||
media-libs/netpbm
|
||||
virtual/latex-base
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.0.5-quazip1.patch" # TODO: upstream
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
xdg_src_prepare
|
||||
|
||||
# TODO: find hunspell quazip utilities/poppler-data qtsingleapplication -delete || die
|
||||
rm -r src/quazip || die
|
||||
|
||||
if use video; then
|
||||
sed "/^PHONON/s:$:true:g" -i ${PN}.pro || die
|
||||
fi
|
||||
|
||||
sed -e "/qtsingleapplication.pri/s/.*/CONFIG += qtsingleapplication/" \
|
||||
-i ${PN}.pro || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 USE_SYSTEM_HUNSPELL=1 USE_SYSTEM_QUAZIP=1 NO_TESTS=false
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local i
|
||||
for i in 16x16 22x22 32x32 48x48 64x64 128x128; do
|
||||
newicon -s ${i} utilities/${PN}${i}.png ${PN}.png
|
||||
done
|
||||
|
||||
emake DESTDIR="${D}" INSTALL_ROOT="${ED}" install
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST go-etcd-2.0.0.tar.gz 18214 BLAKE2B ceb14c88dc65c81d0b8f620986ad30d9b0b21f92169979c69d0f7fd97abd81ef0c210dd3cb4bc23f361fc13aa97ba2cf5fcf59524608a14637780a381f3bf21d SHA512 af07b2434bbad219962e989ca1d6ccb86bb40f698aa3f2b681ac04094dc7e878593af6a54e9c1e976d1aeb451661d8100295b0637291b46bafa45452537f1575
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
GO_PN=github.com/coreos/${PN}
|
||||
EGIT_COMMIT="25e2c63be8e8ab405014a78879e0992ae5ff55e8"
|
||||
|
||||
inherit vcs-clean
|
||||
|
||||
DESCRIPTION="Go client library for etcd"
|
||||
HOMEPAGE="https://github.com/coreos/go-etcd"
|
||||
SRC_URI="https://${GO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.4:="
|
||||
RDEPEND=""
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
default_src_unpack
|
||||
mkdir -p src/${GO_PN%/*} || die
|
||||
mv ${PN}-${EGIT_COMMIT} src/${GO_PN} || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Create a filtered GOROOT tree out of symlinks,
|
||||
# excluding go-etcd, for bug #503324.
|
||||
cp -sR /usr/lib/go goroot || die
|
||||
rm -rf goroot/src/${GO_PN} || die
|
||||
rm -rf goroot/pkg/linux_${ARCH}/${GO_PN} || die
|
||||
GOROOT=${WORKDIR}/goroot GOPATH=${WORKDIR} \
|
||||
go install -x ${GO_PN}/etcd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insopts -m0644 -p # preserve timestamps for bug 551486
|
||||
insinto /usr/lib/go
|
||||
doins -r pkg
|
||||
insinto /usr/lib/go/src
|
||||
egit_clean
|
||||
doins -r src/*
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/coreos/go-etcd/issues</bugs-to>
|
||||
<changelog>https://github.com/coreos/go-etcd/commits/master</changelog>
|
||||
<doc>https://godoc.org/github.com/coreos/go-etcd/etcd</doc>
|
||||
<remote-id type="github">coreos/go-etcd</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST henplus-0.9.8.tar.gz 233035 BLAKE2B 0cfba9cde654103f539ce28508d77169ce3a34ccc9a8805253e9bcd3a731118408c8a241f82eb6da8be2b96d1a4932c95024a158eae48396b045d5b94b0acaa9 SHA512 a22fc847f4441f627c1fa12f4f365c38d0c8ddfc205758d044e797e83f8d37032995666c2ee3dbb68d0a5f563fa5d574886e85757b1faa0acfc055e92b2fad0b
|
@ -1,23 +0,0 @@
|
||||
diff -ur henplus-0.9.8.old/build.xml henplus-0.9.8/build.xml
|
||||
--- henplus-0.9.8.old/build.xml 2009-05-01 23:51:41.000000000 +0300
|
||||
+++ henplus-0.9.8/build.xml 2009-05-01 23:52:31.000000000 +0300
|
||||
@@ -33,13 +33,13 @@
|
||||
<pathelement path="${classes}" />
|
||||
</path>
|
||||
|
||||
- <taskdef name="ant-server" classname="net.sweetohm.ant.server.ServerTask">
|
||||
- <classpath>
|
||||
- <pathelement location="${lib}/build/sat-0.7.jar" />
|
||||
- </classpath>
|
||||
- </taskdef>
|
||||
-
|
||||
<target name="server">
|
||||
+ <taskdef name="ant-server" classname="net.sweetohm.ant.server.ServerTask">
|
||||
+ <classpath>
|
||||
+ <pathelement location="${lib}/build/sat-0.7.jar" />
|
||||
+ </classpath>
|
||||
+ </taskdef>
|
||||
+
|
||||
<ant-server/>
|
||||
</target>
|
||||
|
@ -1,51 +0,0 @@
|
||||
#
|
||||
# Based on the upstream script but parts not relevant to Gentoo
|
||||
# stripped away. We would not need this at all but better to make
|
||||
# this behave as the upstream docs say and then also have all the
|
||||
# Gentoo goodies.
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=176185
|
||||
|
||||
##------------------
|
||||
THISDIR=`dirname $0`
|
||||
# install layout is: script in /usr/bin/henplus and libs in /usr/share/henplus
|
||||
HENPLUSDIR=$THISDIR/../share/henplus
|
||||
|
||||
# you may just throw your own jar files in this dir.
|
||||
# (like additional JDBC-drivers, that are not in default
|
||||
# classpath)
|
||||
for f in $HENPLUSDIR/*.jar $HENPLUSDIR/*.zip ; do
|
||||
if [ -r "$f" ] ; then
|
||||
CLASSPATH=$CLASSPATH:$f
|
||||
fi
|
||||
done
|
||||
|
||||
# starting at the current directory we look for additional
|
||||
# JDBC-drivers in .henplus/lib-directories up the path.
|
||||
# if no directory like that has been found the one in the
|
||||
# home directory will be used
|
||||
DIR=`pwd`
|
||||
CUSTOM_HENPLUSDIR=""
|
||||
|
||||
while [ $DIR != "/" ] ; do
|
||||
if [ -d $DIR"/.henplus/lib" ]; then
|
||||
CUSTOM_HENPLUSDIR=$DIR"/.henplus/lib"
|
||||
break
|
||||
fi
|
||||
DIR=`dirname $DIR`
|
||||
done
|
||||
|
||||
if [ -z $CUSTOM_HENPLUSDIR ]; then
|
||||
if [ -d "/.henplus/lib" ]; then
|
||||
CUSTOM_HENPLUSDIR="/.henplus/lib"
|
||||
else
|
||||
CUSTOM_HENPLUSDIR=$HOME/.henplus/lib
|
||||
fi
|
||||
fi
|
||||
|
||||
for f in $CUSTOM_HENPLUSDIR/*.jar $CUSTOM_HENPLUSDIR/*.zip ; do
|
||||
if [ -r "$f" ] ; then
|
||||
CLASSPATH=$CLASSPATH:$f
|
||||
fi
|
||||
done
|
||||
|
||||
export CLASSPATH
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 epatch java-ant-2
|
||||
|
||||
DESCRIPTION="Java-based multisession SQL shell for databases with JDBC support"
|
||||
HOMEPAGE="http://henplus.sf.net"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="dev-java/commons-cli:1
|
||||
dev-java/libreadline-java:0"
|
||||
RDEPEND=">=virtual/jre-1.6
|
||||
${COMMON_DEPEND}"
|
||||
DEPEND=">=virtual/jdk-1.6
|
||||
${COMMON_DEPEND}"
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}/0.9.8-build.xml.patch"
|
||||
rm -v lib/*.jar lib/*/*.jar || die
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH="commons-cli-1,libreadline-java"
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "build/${PN}.jar"
|
||||
|
||||
java-pkg_dolauncher ${PN} -pre "${FILESDIR}/${PN}.pre" \
|
||||
--main henplus.HenPlus
|
||||
|
||||
dodoc README
|
||||
dohtml doc/HenPlus.html
|
||||
|
||||
use doc && java-pkg_dojavadoc javadoc/api
|
||||
use source && java-pkg_dosrc "src/${PN}"
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">henplus</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,4 +1,3 @@
|
||||
DIST mariadb-connector-odbc-3.1.11-ga-src.tar.gz 542434 BLAKE2B 318e5a269c6f4584df4ffd2272f5db4a354f3616d52b60d2c5f785faabc1eaabe47a75f07e3cd97847d4413670391acdb71092955b8facd9f81b8706ab78c966 SHA512 185f58b05f196bfe8b23d5470877dcfc0550be45d2f4538ddbd0b96aadde5cdbc0346ecaf65554728875e33b88761211349bf0d1def17f3b7cd43abae9d706b3
|
||||
DIST mariadb-connector-odbc-3.1.12-src.tar.gz 542918 BLAKE2B b770d79d1724480589b941ded1552bcfedb85eb1f59256269c8cd219e395dc5c151ab6762ea49c062900187ec4ae6a161a33a15ea3ffd4addc542f1c9f846121 SHA512 9723555c598c3ec77c41a617d9960c8d0fb9ee9d0b70e44b44f55f8842a5966b50ed6c04e8a80d252330b2cd96bdac4e0403100141e827c23af72ed58f747ffb
|
||||
DIST mariadb-connector-odbc-3.1.13-src.tar.gz 546893 BLAKE2B 7d3f02667ab3c5eb81063a2a2470bd49914cabea79d8756fd4d493b3117a692c9bd3594c00d5c7d8a866ad4677dec2848a08a80b0e97952e6e80edb5d677e93f SHA512 b50949b99207aeef18fc7f8e15ecb8e8c869fcdc85a04ce1922f2ff856d3f07eb6701df8515545e762abbcb97f74605c6b5ac66efa1927e761a80dcd1c29c2d3
|
||||
DIST mariadb-connector-odbc-3.1.6-ga-src.tar.gz 536871 BLAKE2B c41f1fb00b5a93b3618d79ee457dc84c8b98e216083ec315870dc2ab46f1f56db345c1a2fae51e78e8b6c42b81183ce9c161ac5a051e52481cd687138f3dadd3 SHA512 ec0e244fc1b62c27f619f0ed3025906b02fc897c75dd74799df396beb5009bfdd27d609b5629ea0e6f5172ca8521b60bf7f3efc6dac44e84e835e4a05273ba3d
|
||||
DIST mariadb-connector-odbc-3.1.14-src.tar.gz 549698 BLAKE2B 612879086805c57b42036bb224b14ef1ab287d2ff288a5ec5ec6db7334fc8b82acd648476eca1dee282393486d117cadf1bbdcb0e78eae52bab26a0c05cb1fbe SHA512 bb3cb74ccd17a8df39456ccf3091579bbdfc56431954a978f488928df54e3f9ad1c5b67cb411be4b661ba0e0bdd69ccd4d00ea4bfd72c3f448b560031830512d
|
||||
|
@ -1,65 +0,0 @@
|
||||
# Copyright 2018-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS=cmake
|
||||
|
||||
inherit cmake-multilib flag-o-matic
|
||||
|
||||
DESCRIPTION="MariaDB Connector/ODBC"
|
||||
HOMEPAGE="https://downloads.mariadb.org/connector-odbc/"
|
||||
SRC_URI="https://downloads.mariadb.org/interstitial/connector-odbc-${PV}/${P}-ga-src.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/3.1"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gnutls ssl"
|
||||
|
||||
S="${S}-ga-src"
|
||||
|
||||
DEPEND="=dev-db/mariadb-connector-c-$(ver_cut 1-2)*
|
||||
dev-db/unixODBC"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
cp "${FILESDIR}/odbcinst.ini" . || die
|
||||
sed -e "s,lib/lib,$(get_libdir)/lib,g" -i "odbcinst.ini" || die
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
append-cppflags $(mariadb_config --cflags || die)
|
||||
local mycmakeargs=(
|
||||
-DWITH_SSL:STRING=$(usex ssl $(usex gnutls GNUTLS OPENSSL) OFF)
|
||||
-DMARIADB_LINK_DYNAMIC=YES
|
||||
-DUSE_SYSTEM_INSTALLED_LIB=YES
|
||||
-DINSTALL_DOC_DIR="/usr/share/doc/${P}"
|
||||
-DINSTALL_LICENSE_DIR="/usr/share/doc/${P}"
|
||||
#-DCMAKE_C_FLAGS="$(mariadb_config --cflags)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
insinto /usr/share/${PN}
|
||||
doins odbcinst.ini
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Please remember to use emerge --config =${P} to install the ODBC ini files."
|
||||
elog "Alterantively run: /usr/bin/odbcinst -i -d -f /usr/share/${PN}/odbcinst.ini"
|
||||
}
|
||||
|
||||
pkg_config() {
|
||||
[[ -n "${ROOT}" ]] && die "Sorry, non-standard ROOT setting is not supported."
|
||||
|
||||
if /usr/bin/odbcinst -q -d -n maodbc &>/dev/null; then
|
||||
einfo "maodbc (MariaDB ODBC driver) has already been installed."
|
||||
else
|
||||
ebegin "Installing maodbc (MariaDB ODBC driver)"
|
||||
/usr/bin/odbcinst -i -d -f /usr/share/${PN}/odbcinst.ini
|
||||
eend ${?} || die
|
||||
fi
|
||||
}
|
@ -1 +1 @@
|
||||
DIST sqlcl-21.2.2.223.0914.zip 37581478 BLAKE2B 098988e17b9f347e4ce6142626174565543e701ad22f8dccb2260b4b1b8f74cd12a0c3824790e403a7dc359e329026eb83a656fde8b49e5317b70813b3fc4b07 SHA512 c5fc99095b731f2f4dc52e01a2a6974fb01d655a4d862a0b89594921183c4019bf9c07562d9f7307af5686770b19c1277e47562c6ae6786530561e13b9fd27b3
|
||||
DIST sqlcl-21.3.1.281.1748.zip 37930215 BLAKE2B a28b3d0a7b67c371bc25148b7640c8deeed735d81762247ce16590865a00bcf85c712dd8706a03370e20082af0a88687cf127b20d8adfd57cea6454736e0cfe8 SHA512 198f745e72b0030f997f948fea45392783ac4aa76ec612a45df59daed28161946bc8dcf94a17ca955124edecd92e1d91719ad6863609a44fc15aa8ef7f4e904f
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST elixir-1.11.4.tar.gz 2396885 BLAKE2B f63e835991420bce8cacd38a920637aa5656c0372bd09e8c0a357a24bcca9a06350973f1453f482d3854a48712471c55389c3bd530df46a19c20a359376b779d SHA512 5dc940a31a31ae1c1537f874c15e58311cc0b0452f61e923bdfde0a5cfef3d8003eb3e85be320eb0acfb7bc0c0c0dc8ac965dec6727257c244048268fbf38ceb
|
||||
DIST elixir-1.12.1.tar.gz 2458060 BLAKE2B 512f016cb7f064f2b90a4d2dae4ffaf957422f049322b5fbed1eef155687b1111de89df838c254cf123b904e64f746fc19175372166526c739d8a1d66f9abb0c SHA512 ecea8a95d05e85431c324c7e15fdd08639a52fa6031fb8ec671825debecd892d2258b3914fdd8417728be1a18202d211eeb19869797ad0fd022c6ec91cd05880
|
||||
DIST elixir-1.12.2.tar.gz 2460047 BLAKE2B eebcb4b828bf445ece6bfceb40b228406a15b0d33fb6efcc2b34fa4a264d83c5d71aa9787c5b641e903fb97ba02da07f3edf76424136e3dab0248a65823f225f SHA512 4c19a6a0310606b3016b3699079dc5f667e348c86c92e7e998cbecbacd283f5f4ccdd3d83b757725ba637a39729e9d82673b596feee72e831d575630e2f3111a
|
||||
DIST elixir-1.12.3.tar.gz 2461828 BLAKE2B cdae9bd7f3463b89dd737ce943d57b7f9801bf382500a274332e1cb87902ecc37bd6e7a53af4dd5c1cd6e6d9d64171e226e676cd8023252c86fdf028d80dd383 SHA512 945e33ca9c3e50015531f87630c1bc1b9966acc64bbf7d01c8c4f8cfc104ee1e08113f572f0ad6a9f5e8ee37e33144e58b2ac33dc0a2b01e1355fc5f8b1b9329
|
||||
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="https://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/erlang-21:0=[ssl]
|
||||
"
|
||||
# 'mix' tool collides with sci-biology/phylip, bug #537514
|
||||
RDEPEND="${DEPEND}
|
||||
!!sci-biology/phylip
|
||||
"
|
||||
DEPEND+="
|
||||
test? ( dev-vcs/git )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.9.1-disable-network-tests.patch
|
||||
"${FILESDIR}"/${PN}-1.10.3-no-Q.patch
|
||||
"${FILESDIR}"/${PN}-1.10.3-epmd-daemon.patch
|
||||
"${FILESDIR}"/${PN}-1.11.2-mksh.patch
|
||||
"${FILESDIR}"/${P}-fix-elixir-test.patch
|
||||
"${FILESDIR}"/${P}-update-warnings-for-OTP-master-10807.patch
|
||||
"${FILESDIR}"/${P}-fix-logger-translator-with-otp-24-11222.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="${EPREFIX}/usr" install
|
||||
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="https://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/erlang-22:0=[ssl]
|
||||
"
|
||||
# 'mix' tool collides with sci-biology/phylip, bug #537514
|
||||
RDEPEND="${DEPEND}
|
||||
!!sci-biology/phylip
|
||||
"
|
||||
DEPEND+="
|
||||
test? ( dev-vcs/git )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.9.1-disable-network-tests.patch
|
||||
"${FILESDIR}"/${PN}-1.10.3-no-Q.patch
|
||||
"${FILESDIR}"/${PN}-1.10.3-epmd-daemon.patch
|
||||
"${FILESDIR}"/${PN}-1.11.4-fix-elixir-test.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="${EPREFIX}/usr" install
|
||||
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
}
|
@ -0,0 +1,33 @@
|
||||
From 3e88b1f336f843378790802bd486f6793b7ef872 Mon Sep 17 00:00:00 2001
|
||||
From: Jan Smutny <js@excello.cz>
|
||||
Date: Thu, 14 Oct 2021 16:14:55 +0200
|
||||
Subject: [PATCH] Fix elixir test assertion for erlang >=OTP-24.1
|
||||
|
||||
---
|
||||
lib/elixir/test/elixir/exception_test.exs | 9 +++++----
|
||||
1 file changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/lib/elixir/test/elixir/exception_test.exs b/lib/elixir/test/elixir/exception_test.exs
|
||||
index df9d46bbc..ae08d5185 100644
|
||||
--- a/lib/elixir/test/elixir/exception_test.exs
|
||||
+++ b/lib/elixir/test/elixir/exception_test.exs
|
||||
@@ -446,11 +446,12 @@ test "annotates undefined function error with suggestions" do
|
||||
* min/1
|
||||
"""
|
||||
|
||||
- assert blame_message(:erlang, & &1.gt_cookie()) == """
|
||||
- function :erlang.gt_cookie/0 is undefined or private. Did you mean one of:
|
||||
+ assert blame_message(:erlang, & &1.hal()) == """
|
||||
+ function :erlang.hal/0 is undefined or private. Did you mean one of:
|
||||
|
||||
- * get_cookie/0
|
||||
- * set_cookie/2
|
||||
+ * halt/0
|
||||
+ * halt/1
|
||||
+ * halt/2
|
||||
"""
|
||||
end
|
||||
|
||||
--
|
||||
2.31.1
|
||||
|
@ -0,0 +1,64 @@
|
||||
From b1492cb0cfa689c4c098761a375d5cb728d3c175 Mon Sep 17 00:00:00 2001
|
||||
From: Matteo <mbrancaleoni@gmail.com>
|
||||
Date: Tue, 31 Aug 2021 23:46:27 +0200
|
||||
Subject: [PATCH 3/3] Fix logger translator with otp-24 (#11222)
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
* Handle new significant key in sasl reports
|
||||
|
||||
* Add OTP-24.0 to CI matrix
|
||||
|
||||
Co-authored-by: José Valim <jose.valim@dashbit.co>
|
||||
---
|
||||
.github/workflows/ci.yml | 2 +-
|
||||
lib/logger/lib/logger/translator.ex | 13 ++++++++++---
|
||||
2 files changed, 11 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
|
||||
index f43a9ff62..a4bc8dbeb 100644
|
||||
--- a/.github/workflows/ci.yml
|
||||
+++ b/.github/workflows/ci.yml
|
||||
@@ -15,7 +15,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
- otp_release: ['OTP-23.0', 'OTP-22.3', 'OTP-22.0', 'OTP-21.3.8', 'OTP-21.0']
|
||||
+ otp_release: ['OTP-24.0', 'OTP-23.0', 'OTP-22.3', 'OTP-22.0', 'OTP-21.3.8', 'OTP-21.0']
|
||||
development: [false]
|
||||
include:
|
||||
- otp_release: master
|
||||
diff --git a/lib/logger/lib/logger/translator.ex b/lib/logger/lib/logger/translator.ex
|
||||
index d1d7e62f1..8afd79436 100644
|
||||
--- a/lib/logger/lib/logger/translator.ex
|
||||
+++ b/lib/logger/lib/logger/translator.ex
|
||||
@@ -357,15 +357,22 @@ defp child_info(_min_level, _child) do
|
||||
[]
|
||||
end
|
||||
|
||||
- defp child_debug(:debug, restart_type: restart, shutdown: shutdown, child_type: type) do
|
||||
- ["\nRestart: ", inspect(restart), "\nShutdown: ", inspect(shutdown)] ++
|
||||
- ["\nType: ", inspect(type)]
|
||||
+ defp child_debug(:debug, opts) do
|
||||
+ for {key, value} <- opts do
|
||||
+ child_debug_key(key, value)
|
||||
+ end
|
||||
end
|
||||
|
||||
defp child_debug(_min_level, _child) do
|
||||
[]
|
||||
end
|
||||
|
||||
+ defp child_debug_key(:restart_type, value), do: ["\nRestart: " | inspect(value)]
|
||||
+ defp child_debug_key(:shutdown, value), do: ["\nShutdown: " | inspect(value)]
|
||||
+ defp child_debug_key(:child_type, value), do: ["\nType: " | inspect(value)]
|
||||
+ defp child_debug_key(:significant, value), do: if(value, do: "\nSignificant: true", else: [])
|
||||
+ defp child_debug_key(_, _), do: []
|
||||
+
|
||||
defp report_crash(min_level, [[{:initial_call, initial_call} | crashed], linked]) do
|
||||
mfa = initial_call_to_mfa(initial_call)
|
||||
report_crash(min_level, crashed, [{:initial_call, mfa}], linked)
|
||||
--
|
||||
2.31.1
|
||||
|
@ -0,0 +1,125 @@
|
||||
From 237a71311c5ae4fc5dd3c7a590a7b6dab97a664a Mon Sep 17 00:00:00 2001
|
||||
From: Wojtek Mach <wojtekmach@users.noreply.github.com>
|
||||
Date: Tue, 23 Mar 2021 17:40:04 +0100
|
||||
Subject: [PATCH 2/3] Update warnings for OTP master (#10807)
|
||||
|
||||
---
|
||||
lib/elixir/src/elixir_erl_compiler.erl | 34 ++++++++++++-------
|
||||
.../test/elixir/kernel/warning_test.exs | 25 --------------
|
||||
2 files changed, 21 insertions(+), 38 deletions(-)
|
||||
|
||||
diff --git a/lib/elixir/src/elixir_erl_compiler.erl b/lib/elixir/src/elixir_erl_compiler.erl
|
||||
index 7010b59fd..e0aa05114 100644
|
||||
--- a/lib/elixir/src/elixir_erl_compiler.erl
|
||||
+++ b/lib/elixir/src/elixir_erl_compiler.erl
|
||||
@@ -94,6 +94,8 @@ handle_file_warning(true, _File, {_Line, sys_core_fold, {nomatch_shadow, _}}) ->
|
||||
|
||||
%% Those we implement ourselves
|
||||
handle_file_warning(_, _File, {_Line, v3_core, {map_key_repeated, _}}) -> ok;
|
||||
+handle_file_warning(_, _File, {_Line, sys_core_fold, {ignored, useless_building}}) -> ok;
|
||||
+%% TODO: remove when we require Erlang/OTP 24
|
||||
handle_file_warning(_, _File, {_Line, sys_core_fold, useless_building}) -> ok;
|
||||
|
||||
%% Ignore all linting errors (only come up on parse transforms)
|
||||
@@ -112,11 +114,11 @@ handle_file_error(File, {Line, Module, Desc}) ->
|
||||
elixir_errors:compile_error([{line, Line}], File, Message).
|
||||
|
||||
%% Mention the capture operator in make_fun
|
||||
-custom_format(sys_core_fold, {no_effect, {erlang, make_fun, 3}}) ->
|
||||
+custom_format(sys_core_fold, {ignored, {no_effect, {erlang, make_fun, 3}}}) ->
|
||||
"the result of the capture operator & (:erlang.make_fun/3) is never used";
|
||||
|
||||
%% Make no_effect clauses pretty
|
||||
-custom_format(sys_core_fold, {no_effect, {erlang, F, A}}) ->
|
||||
+custom_format(sys_core_fold, {ignored, {no_effect, {erlang, F, A}}}) ->
|
||||
{Fmt, Args} = case erl_internal:comp_op(F, A) of
|
||||
true -> {"use of operator ~ts has no effect", [elixir_utils:erlang_comparison_op_to_elixir(F)]};
|
||||
false ->
|
||||
@@ -127,12 +129,20 @@ custom_format(sys_core_fold, {no_effect, {erlang, F, A}}) ->
|
||||
end,
|
||||
io_lib:format(Fmt, Args);
|
||||
|
||||
-%% Rewrite nomatch_guard to be more generic it can happen inside if, unless, and the like
|
||||
-custom_format(sys_core_fold, nomatch_guard) ->
|
||||
+%% Rewrite nomatch to be more generic, it can happen inside if, unless, and the like
|
||||
+custom_format(sys_core_fold, {nomatch, X}) when X == guard; X == no_clause ->
|
||||
"this check/guard will always yield the same result";
|
||||
|
||||
+custom_format(sys_core_fold, {nomatch, {shadow, Line, {ErlName, ErlArity}}}) ->
|
||||
+ {Name, Arity} = elixir_utils:erl_fa_to_elixir_fa(ErlName, ErlArity),
|
||||
+
|
||||
+ io_lib:format(
|
||||
+ "this clause for ~ts/~B cannot match because a previous clause at line ~B always matches",
|
||||
+ [Name, Arity, Line]
|
||||
+ );
|
||||
+
|
||||
%% Handle literal eval failures
|
||||
-custom_format(sys_core_fold, {eval_failure, {Mod, Name, Arity}, Error}) ->
|
||||
+custom_format(sys_core_fold, {failed, {eval_failure, {Mod, Name, Arity}, Error}}) ->
|
||||
#{'__struct__' := Struct} = 'Elixir.Exception':normalize(error, Error),
|
||||
{ExMod, ExName, ExArgs} = elixir_rewrite:erl_to_ex(Mod, Name, lists:duplicate(Arity, nil)),
|
||||
Call = 'Elixir.Exception':format_mfa(ExMod, ExName, length(ExArgs)),
|
||||
@@ -143,18 +153,16 @@ custom_format(sys_core_fold, {eval_failure, {Mod, Name, Arity}, Error}) ->
|
||||
["the call to ", Trimmed, " will fail with ", elixir_aliases:inspect(Struct)];
|
||||
|
||||
%% TODO: remove when we require OTP 24
|
||||
+custom_format(sys_core_fold, {nomatch_shadow, Line, FA}) ->
|
||||
+ custom_format(sys_core_fold, {nomatch, {shadow, Line, FA}});
|
||||
+custom_format(sys_core_fold, nomatch_guard) ->
|
||||
+ custom_format(sys_core_fold, {nomatch, guard});
|
||||
+custom_format(sys_core_fold, {no_effect, X}) ->
|
||||
+ custom_format(sys_core_fold, {ignored, {no_effect, X}});
|
||||
custom_format(sys_core_fold, {eval_failure, Error}) ->
|
||||
#{'__struct__' := Struct} = 'Elixir.Exception':normalize(error, Error),
|
||||
["this expression will fail with ", elixir_aliases:inspect(Struct)];
|
||||
|
||||
-custom_format(sys_core_fold, {nomatch_shadow,Line,{ErlName,ErlArity}}) ->
|
||||
- {Name, Arity} = elixir_utils:erl_fa_to_elixir_fa(ErlName, ErlArity),
|
||||
-
|
||||
- io_lib:format(
|
||||
- "this clause for ~ts/~B cannot match because a previous clause at line ~B always matches",
|
||||
- [Name, Arity, Line]
|
||||
- );
|
||||
-
|
||||
custom_format([], Desc) ->
|
||||
io_lib:format("~p", [Desc]);
|
||||
|
||||
diff --git a/lib/elixir/test/elixir/kernel/warning_test.exs b/lib/elixir/test/elixir/kernel/warning_test.exs
|
||||
index 15a984a54..37334ff65 100644
|
||||
--- a/lib/elixir/test/elixir/kernel/warning_test.exs
|
||||
+++ b/lib/elixir/test/elixir/kernel/warning_test.exs
|
||||
@@ -1154,31 +1154,6 @@ def foo(x), do: :ok
|
||||
purge(Sample)
|
||||
end
|
||||
|
||||
- test "with and do clauses emit errors, else clauses do not" do
|
||||
- assert capture_err(fn ->
|
||||
- Code.compile_string("""
|
||||
- with {:first, int} when is_integer(int) <- {:second, Integer.gcd(2, 4)} do
|
||||
- int
|
||||
- end
|
||||
- """)
|
||||
- end) =~ "this clause cannot match"
|
||||
-
|
||||
- assert capture_err(fn ->
|
||||
- Code.compile_string("""
|
||||
- with {:first, int1} when is_integer(int1) <- {:first, Integer.gcd(2, 4)},
|
||||
- {:second, int2} when is_integer(int2) <- {:second, Integer.gcd(2, 4)} do
|
||||
- {:ok, int1 + int2}
|
||||
- else
|
||||
- {:first, nil} -> {:error, "first number is not integer"}
|
||||
- {:second, nil} -> {:error, "second number is not integer"}
|
||||
- end
|
||||
- """)
|
||||
- end) == ""
|
||||
- after
|
||||
- purge(Sample1)
|
||||
- purge(Sample2)
|
||||
- end
|
||||
-
|
||||
test "warning on code point escape" do
|
||||
assert capture_err(fn ->
|
||||
Code.eval_string("? ")
|
||||
--
|
||||
2.31.1
|
||||
|
@ -1 +0,0 @@
|
||||
DIST nwcc_0.8.3.tar.gz 954946 BLAKE2B 260ed49d247b7b84e392525db2b61e84a439eab2d0aad2efb93ddef1adf620084a8ec44713bd75216c2f9db30c04715b74d208d45465b700556bda2df6c6fd29 SHA512 f6af50bd18e13070b512bfac6659f49d10d3ad65ea2c4c5ca3f199c8b87540ec145c7dbbe97272f48903ca1c8afaf58c146ec763c851da0b352d5980746f94f6
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">nwcc</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="${PN}_${PV}"
|
||||
|
||||
DESCRIPTION="Nils Weller's C Compiler"
|
||||
HOMEPAGE="http://nwcc.sourceforge.net/index.html"
|
||||
SRC_URI="http://downloads.sourceforge.net/project/${PN}/${PN}/nwcc%200.8.3/${MY_P}.tar.gz"
|
||||
SLOT="0"
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_configure() {
|
||||
# custom hackery hack
|
||||
ABI="" ./configure --installprefix=/usr || die
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST cyrus-sasl-2.1.27-r6-patches.tar.bz2 5169 BLAKE2B 43a2f0db4a8589ec1cde7807b31a93459eacb04d27ba36751a69dd5f4e669d1b28342194b0e1a5382e281a52a35e88168877b54065cfba01b9bd33e87fbd23f1 SHA512 41c4ca7c8f7b79e03faf5d826a6ff0ed398137239b93fb0046ccbf385f6ddeab2b9fb2f51d7a263dc74626e5fdbefb28615a1ee22aabe57ed57f10a52d382797
|
||||
DIST cyrus-sasl-2.1.27.tar.gz 4111249 BLAKE2B 82c9acce8534521ce5c5806f093e927f1854b4bc4b83ea7db1b32ceaa811adc1a5b6fc16d03233d729194cd603836f6e58de67f915abab2cb74561a80d03f5a8 SHA512 d11549a99b3b06af79fc62d5478dba3305d7e7cc0824f4b91f0d2638daafbe940623eab235f85af9be38dcf5d42fc131db531c177040a85187aee5096b8df63b
|
||||
|
@ -1,2 +1,4 @@
|
||||
DIST snowball-data-0703f1d6a21802c3ff00c2c8b31bd255b74b2aec.tar.gz 33063873 BLAKE2B d4222f2dbf681c670017596c2510ca389a33c736e2b4deeda3f33559e9fdda7c86bd528f4b56fc124ef5c08818739576ef28b93b326505b6ad77259c4b638a4c SHA512 a5b3eb0d73dbefd243e6f5964071c83823e4b367b5a24a660aadffe6bcd3c2e855d5cc5edcd382a88e0edd270a7576388a04fb9141ae888776824c5a74b2beef
|
||||
DIST snowball-data-887fb7a3e006f32b4979e0d55f2543abe78a42f1.tar.gz 33063750 BLAKE2B bffc7e9f8fadbaecf9a7d1a2b8ee7a9db0b1dc1d5a6304a9c8d60b6c24a0947307b8780a99d2349b19e5fbcdfe819cc400ffb0b8b1df9748bb401ae1dec7b9aa SHA512 b68567d3e59aaa870251f682988b52a89d82767e954adea6b7f6247a6d432c29c8373c95a5e49df07110d4cb396aafa64ee6c71af2c0680d383ffe22491e50dd
|
||||
DIST snowball-stemmer-2.1.0.tar.gz 220324 BLAKE2B 3d92a2f5b4bd633932d681f2555cf1cc1a2c1a1c71fd0272f09bee17628d034a20649450dd90242c155ab7b262e685913d5ad4034bce6e7a41d76f0dfc724137 SHA512 1efd7d8ab58852987e83247048244882c517e32237c8cb3c0558b66ecfb075733ce8805ebb76041e6e7d6664c236054effe66838e7c524ee529ce869aa8134f0
|
||||
DIST snowball-stemmer-2.2.0.tar.gz 223846 BLAKE2B ac06a603ab21dfe5508c1a51419568c15d61ad079a3cded98ca6a47716f4119e480b109756a107da1e6c9994062073cbfb29ac4feb3e5e4ffab6feb4db2b9930 SHA512 02c43313de9de2518ea51cfb11f1c29145fc046c7838329bfdefd70b604009ad44b6db8175c25b0db31f03db30a6aec5857aa35775a9c204ec976df9cae62957
|
||||
|
@ -0,0 +1,59 @@
|
||||
This is based on a patch taken from alpinelinux, however, duplicated
|
||||
libstemmer.o and stemwords targets were removed and the patch was
|
||||
rebased on top of v2.2.0 tag.
|
||||
|
||||
Created shared library contains a lot of relocations, which slow down loading.
|
||||
It is known issue and probably the main reason why upstream does not support
|
||||
shared library yet [1].
|
||||
|
||||
[1] https://github.com/snowballstem/snowball/issues/34#issuecomment-203200078
|
||||
|
||||
Alpinelinux-patch: https://git.alpinelinux.org/aports/tree/community/snowball/libstemmer-library.patch?id=28f9d9e192876c43fd96bc5856cd9d8a50dd49c0
|
||||
Upstream-issue: https://github.com/snowballstem/snowball/issues/34
|
||||
|
||||
diff --git a/GNUmakefile b/GNUmakefile
|
||||
index 98eb1fa..9b539ec 100644
|
||||
--- a/GNUmakefile
|
||||
+++ b/GNUmakefile
|
||||
@@ -4,6 +4,8 @@
|
||||
# which hard-code it.
|
||||
SNOWBALL_VERSION = 2.2.0
|
||||
|
||||
+MAJOR_VERSION := $(shell echo $(SNOWBALL_VERSION) | cut -d. -f1)
|
||||
+
|
||||
ifeq ($(OS),Windows_NT)
|
||||
EXEEXT = .exe
|
||||
endif
|
||||
@@ -170,12 +172,17 @@ C_OTHER_OBJECTS = $(C_OTHER_SOURCES:.c=.o)
|
||||
JAVA_CLASSES = $(JAVA_SOURCES:.java=.class)
|
||||
JAVA_RUNTIME_CLASSES=$(JAVARUNTIME_SOURCES:.java=.class)
|
||||
|
||||
-CFLAGS=-O2 -W -Wall -Wmissing-prototypes -Wmissing-declarations
|
||||
-CPPFLAGS=
|
||||
+CFLAGS+=-fPIC -W -Wall -Wmissing-prototypes -Wmissing-declarations
|
||||
+CPPFLAGS+=
|
||||
|
||||
INCLUDES=-Iinclude
|
||||
|
||||
-all: snowball$(EXEEXT) libstemmer.a stemwords$(EXEEXT) $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS)
|
||||
+all: snowball$(EXEEXT) libstemmer.a libstemmer.so stemwords$(EXEEXT) $(C_OTHER_SOURCES) $(C_OTHER_HEADERS) $(C_OTHER_OBJECTS)
|
||||
+
|
||||
+libstemmer.so: libstemmer/libstemmer.o $(RUNTIME_OBJECTS) $(C_LIB_OBJECTS)
|
||||
+ $(CC) $(CFLAGS) -shared $(LDFLAGS) -Wl,-soname,$@.$(MAJOR_VERSION),-version-script,libstemmer/symbol.map -o $@.$(SNOWBALL_VERSION) $^
|
||||
+ ln -s $@.$(SNOWBALL_VERSION) $@.$(MAJOR_VERSION)
|
||||
+ ln -s $@.$(SNOWBALL_VERSION) $@
|
||||
|
||||
algorithms.mk: libstemmer/mkalgorithms.pl libstemmer/modules.txt
|
||||
libstemmer/mkalgorithms.pl algorithms.mk libstemmer/modules.txt
|
||||
diff --git a/libstemmer/symbol.map b/libstemmer/symbol.map
|
||||
new file mode 100644
|
||||
index 0000000..7a3d423
|
||||
--- /dev/null
|
||||
+++ b/libstemmer/symbol.map
|
||||
@@ -0,0 +1,6 @@
|
||||
+SB_STEMMER_0 {
|
||||
+ global:
|
||||
+ sb_stemmer_*;
|
||||
+ local:
|
||||
+ *;
|
||||
+};
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
MY_TESTDATA_COMMIT="0703f1d6a21802c3ff00c2c8b31bd255b74b2aec"
|
||||
|
||||
DESCRIPTION="Snowball compiler and stemming algorithms"
|
||||
HOMEPAGE="https://snowballstem.org/ https://github.com/snowballstem/snowball/"
|
||||
SRC_URI="https://github.com/snowballstem/snowball/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
test? ( https://github.com/snowballstem/snowball-data/archive/${MY_TESTDATA_COMMIT}.tar.gz -> snowball-data-${MY_TESTDATA_COMMIT}.tar.gz )"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/$(ver_cut 1)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~sparc-solaris ~sparc64-solaris"
|
||||
IUSE="static-libs test"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="dev-lang/perl
|
||||
test? ( virtual/libiconv )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
S="${WORKDIR}/snowball-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-shared-library.patch"
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
tc-export CC AR
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 STEMMING_DATA="${WORKDIR}/snowball-data-${MY_TESTDATA_COMMIT}" check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.rst NEWS
|
||||
|
||||
dobin stemwords
|
||||
|
||||
doheader include/libstemmer.h
|
||||
|
||||
dolib.so libstemmer.so.${PV}
|
||||
dolib.so libstemmer.so.$(ver_cut 1)
|
||||
dolib.so libstemmer.so
|
||||
|
||||
use static-libs && dolib.a libstemmer.a
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST Proc-ProcessTable-0.53.tar.gz 71060 BLAKE2B 86726879160d12fded9cce8f1fb7aabc87817dd5338ed0ab2babd1c5679714a4ae833630cb5b0d35da538307095cc0b085448d8f9291a76f26a284d407959223 SHA512 9eb11963ac2e86fff63b515537c41297af2f3610862fe18525296e18a9abc68e4a61e95ea824e8a91d9e0a4ff0e5d909fa1252a30657e9bc22df129090edb4e6
|
||||
DIST Proc-ProcessTable-0.59.tar.gz 75949 BLAKE2B fedcb0d407164492df551d88c1bd57997c3c55d86cac975ce6dd9f21a61479ef86e1bd5c9731a7519fdac4a4be1a06e1a86f8567f961f691b1a6d0bf6cffd7d4 SHA512 25162732cdbfdc151db69d6b225137c60dcd1dc31671119007814b2bb82dd7d7c50f4ec4ef49e0cdf2eb04d6d7b60f4d6d39804ab9acada5f1b0230b387e352c
|
||||
DIST Proc-ProcessTable-0.634.tar.gz 97429 BLAKE2B 67ac1046cdcd49dc3b1821fbe8ac4b9018c7c9f2da04e2ba0bde5c6d98aa93a183f45d693cbd77311d9da1707e281737014dbb3f79e040909857d2c740c102ee SHA512 0622b205b80fdced53163beb07b2bbcf7b5839349c785e9f15fb7bedae69fe2e25287e6c58db94f88cabb905c1bdfe9c5ff1eaee01f0bb2a3d695365cca25264
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DIST_AUTHOR=JWB
|
||||
DIST_VERSION=0.634
|
||||
DIST_EXAMPLES=( "contrib/*" )
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Unix process table information"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Storable
|
||||
"
|
||||
DEPEND="elibc_musl? ( sys-libs/obstack-standalone )"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/amd64_canonicalize_file_name_definition.patch"
|
||||
)
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST cbor2-5.4.1.tar.gz 85777 BLAKE2B 7e81436c066dc245038fea6c5c8fb25ad87aae4c8b0a4d3e8ffa1a262dd4b08c6b0d8a79214dc13c87dc4ab6902b7762847b75f217a83769ef97783e2a25a6f4 SHA512 40aa8ad631eb6ba9a59a70fea4c6871057401550d7b4b59846e06b8a068458957beac9de1b811c8a9ca377ac06120efefb527e9a280defb55eb5767110ccb62c
|
||||
DIST cbor2-5.4.2.tar.gz 85847 BLAKE2B 1ad8b7bf54343ad7e969c797a444653e9cf501139facb98f92727be4d31148acedff29885e99c1535a44bcc9add4e4a1890c8f4605c2b82c9975821ee029d7bb SHA512 86e79ae19120dc39e79aa410b1e75df1d82b40c0523865989310f2d7214bfd824bf86ba158b2f695542ef2f34c76c8c4d5b28dbbb9815ee923444b00e86940d4
|
||||
|
@ -1,29 +0,0 @@
|
||||
# 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="Pure Python CBOR (de)serializer with extensive tag support"
|
||||
HOMEPAGE="https://github.com/agronholm/cbor2 https://pypi.org/project/cbor2/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 x86"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# remove pytest-cov dep
|
||||
sed -e "s/pytest-cov//" \
|
||||
-e "s/--cov //" \
|
||||
-i setup.cfg || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="plugin core for use by pytest-cov, nose-cov and nose2-cov"
|
||||
HOMEPAGE="https://github.com/schlamar/cov-core"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND=">=dev-python/coverage-3.6[${PYTHON_USEDEP}]"
|
@ -1,2 +1 @@
|
||||
DIST Flask-HTMLmin-2.1.0.gh.tar.gz 16395 BLAKE2B 259d3af497343d35fabb60e4aa1a832782de47fa78f2e8c6bdaa47a7e78efa8dfa756e87d0d03b5972f3e051a29dfff53b370cb1f3ee1f8a9e401d06c40894fd SHA512 3d3ea40bc5d802f41b0d3a99fcca59407b3948d9b4fe2300bc597bbfbaa851435276a7dcee4b6cc08cc52b0674a53fd655b7bb1c6504bd53ea9963600626a59a
|
||||
DIST Flask-HTMLmin-2.2.0.gh.tar.gz 17637 BLAKE2B 541ae212ba5bfd5e5881adb108d62c994248a7f851512d0fddedb001737620433cb46e267cdd66de73a353c6b357802eb89ea33c771153bc0acf3937c06f83c3 SHA512 24287ef93e99a16e7dde35ba6b7b8fefa06f11ce30fb47969313c3e0e1135ac8a2685aac06bc430d3253162f4f2bc7e8eed90ddda2092bbad092d4e0d09cb4fc
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="Flask-HTMLmin"
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Minimize your flask rendered html"
|
||||
HOMEPAGE="https://github.com/hamidfzm/Flask-HTMLmin"
|
||||
SRC_URI="
|
||||
https://github.com/hamidfzm/Flask-HTMLmin/archive/v${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="
|
||||
app-text/htmlmin[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/pytest-runner/d' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST fonttools-4.26.2.tar.gz 2579391 BLAKE2B 35a2533a336498aa1d5b9c2a61c1de6af03e6a7a1932a1ad71522f7f73e52590c347fe3e7d60b93b013389023792e6e6b91d6b4bfb92e007062dc2ac494adbb6 SHA512 2caa52a48574e6bdf418fe57fb4ca69686eeae65cb1f44c0cb16c64400ea666530dfcca9e8a619859cf553435f93b38f63e422c315206ecec467eed6339a5987
|
||||
DIST fonttools-4.28.0.tar.gz 2654535 BLAKE2B 2bdde1a5c9184574e220bf3fa5dea04ae0e4ab8bb85bb8893e38e96cd028dc6cdcb88b21a9d12429292fe9cb282a90ce7b3abf4f17dea95df52165f5f4d0da0c SHA512 6fddef1d065001afd63147fc474c49f7799895aafddb37b3c94e981fa86e829b39865a40c61e3bf1e64f64a40cf4d5ae02fa98fcf7c89d3f893a2588d213427d
|
||||
DIST fonttools-4.28.1.tar.gz 2654329 BLAKE2B 4d1f2f5caea6ee3ae73a7791ad34da0c49353ef8b8f834c29e990c3c937b05bfdbf32474a4279c9f32f9fce78b4935ba9ba8434576b318b70736c1e14763eb70 SHA512 abcc8b182436feae8e1cfe263488c87f2351079d25a2211529ccf3401a9533f5322a7028d20ba0e31405ec3acad369b46d3b07bf8b4dfe16e43f48859fc5a29f
|
||||
DIST fonttools-4.28.2.tar.gz 2940111 BLAKE2B 32f67f2c270520d9e2091052242e504b9a8e459a87f233e22f50bfe3d17309a09a3c7ad5da20a3411df1c7c58b790dd395535407fdeddb02e7391c28d8d08fa3 SHA512 0295c571e92e71f6467b06bd89afacae76861e374147a2051fe3f5323176c3f3458b977ba2ed25cadcdba9e55b325b6febc50bc9c539d8806471730a15faed47
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="xml(+)"
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Library for manipulating TrueType, OpenType, AFM and Type1 fonts"
|
||||
HOMEPAGE="https://github.com/fonttools/fonttools/"
|
||||
SRC_URI="https://github.com/fonttools/fonttools/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND=">=dev-python/fs-2.4.9[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
app-arch/brotli[python,${PYTHON_USEDEP}]
|
||||
app-arch/zopfli
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# When dev-python/pytest-shutil is installed, we get weird import errors.
|
||||
# This is due to incomplete nesting in the Tests/ tree:
|
||||
#
|
||||
# Tests/feaLib/__init__.py
|
||||
# Tests/ufoLib/__init__.py
|
||||
# Tests/svgLib/path/__init__.py
|
||||
# Tests/otlLib/__init__.py
|
||||
# Tests/varLib/__init__.py
|
||||
#
|
||||
# This tree requires an __init__.py in Tests/svgLib/ too, bug #701148.
|
||||
touch Tests/svgLib/__init__.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
DISTUTILS_ARGS=( --with-cython )
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# virtualx used when matplotlib is installed causing plot module tests to run
|
||||
virtx epytest Tests fontTools
|
||||
}
|
@ -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
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST pikepdf-3.2.0.tar.gz 2335339 BLAKE2B 3d294c2c8241bfcfa2b84f4c6af10e4da2e624374af0aed9c4fa597f9d0a789b9d85cb074d945ba521dbdd10f126326bb6d698a97102a93e6de589d89d7fee57 SHA512 307e2289811697b65c021e90496a4d1606e171e557bf5f19e5327be782e59e8683847524eb177ced54612d1e586b070860119a51e74fe25003787b359bf74531
|
||||
DIST pikepdf-4.0.0.tar.gz 2335830 BLAKE2B 80e36162709cd9eb23ce70994286d51cd4e83d242dafe65c724fa64a46b67bee048d76efa3934717334ba196d98d7ec70dd7f20b5d42a2a2d56326603f0adc88 SHA512 5727f60c05a72d1b7a249803020358cbb579e180ad1e5685d6120443b75a2b8483bd16c5c705f1fccd5159a0ab23a8b844ab57d39499ce4bf883e5caf2710051
|
||||
DIST pikepdf-4.0.1.tar.gz 2335951 BLAKE2B 760e80991d902b37d2d1a832e5d0c2685603e409772cc3cbf5a2ec24230ff0b10989adc7ca78c7f335fc8214df537479b303bab35bd7754c8397ccb72ed56cf7 SHA512 b552f711324eb81fa6f848500ecc2ea215cb938464a4cc6d02348ef3feeda8fc1fbab9b96601b4f5ad1f950322b8d68ddb3ae5bf0b3a703fc07bdc973aa36afd
|
||||
DIST pikepdf-4.0.2.tar.gz 2336204 BLAKE2B d7c8e0c16195b2738302ebc4d29f898a590716ddcf382776a8ea55c75bb39a491473f552bf51b1daad76e74999e2c006282f4b861ce0c8bc967bc4a94740af46 SHA512 a2f1df8d6ae427e59a03232bead0034ef27ff68123efdb522da6ceaeb0d213182b8f6cce11bf89f0c39b464a8569e40164e2b028e2fd6b8b166ab45bf89aff11
|
||||
|
@ -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
|
||||
|
||||
MY_P=${P/_p/.post}
|
||||
DESCRIPTION="Python library to work with pdf files based on qpdf"
|
||||
HOMEPAGE="https://pypi.org/project/pikepdf/ https://github.com/pikepdf/pikepdf"
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/archive/v${PV/_p/.post}.tar.gz
|
||||
-> ${MY_P}.tar.gz"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=">=app-text/qpdf-10.3.1:0="
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-python/pillow-7[${PYTHON_USEDEP}]
|
||||
>=dev-python/lxml-4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pybind11-2.7.1[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
>=dev-python/pybind11-2.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm-4.1[${PYTHON_USEDEP}]
|
||||
dev-python/toml[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/attrs-20.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/hypothesis-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff]
|
||||
>=dev-python/psutil-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-6[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-timeout-1.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
#distutils_enable_sphinx docs \
|
||||
# dev-python/ipython \
|
||||
# dev-python/matplotlib \
|
||||
# dev-python/sphinx_rtd_theme
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/-n auto/d' pyproject.toml || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pipenv-2021.11.9.tar.gz 11652360 BLAKE2B ab7d733e0c44a8551d2b786680646f5efa9effdc6b6a74fc0b8286336c84b9795229036cc8b7179a4ee3d6c91701d82fdd2e8303c7c9a9da1e06eb78fb2a0214 SHA512 6ad44fe70d3e3f5bbdedb891c76ad1c37863e6f4215c34f2ef6aa1a35b89fb6262f8c55f7f2e71544e550d66d20567f12ce4698f9e3a899853aa49a0849c3189
|
||||
DIST pipenv-2021.5.29.tar.gz 11607230 BLAKE2B 8eef8e79fbdfaf85a949437d06d9f8b48f7eaa6e4769f6d4ed90b01c0ebf70c282fc90581cce5ffcab0aeb6bc9ad770a8b4425f355a06e0fc4cd56fb221386e2 SHA512 4fa018c13d4babe856bf5671cf5d18a95f4af4b6d4fc64c4919825fe04004ed3d8979ca335b851c6e24dad081475f6fb5b925eeff58c6fb5cffc450b967ed1cd
|
||||
|
@ -0,0 +1,25 @@
|
||||
From 0c31638a41a95ada109a3fd13e1e8380d2b8a731 Mon Sep 17 00:00:00 2001
|
||||
From: Oz N Tiram <oz.tiram@gmail.com>
|
||||
Date: Thu, 11 Nov 2021 13:05:13 +0100
|
||||
Subject: [PATCH 1/2] Remove vendored attr.
|
||||
|
||||
---
|
||||
pipenv/installers.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/pipenv/installers.py b/pipenv/installers.py
|
||||
index 5baa1933..f7982ab6 100644
|
||||
--- a/pipenv/installers.py
|
||||
+++ b/pipenv/installers.py
|
||||
@@ -3,7 +3,7 @@ import operator
|
||||
import re
|
||||
from abc import ABCMeta, abstractmethod
|
||||
|
||||
-from pipenv.vendor import attr
|
||||
+import attr
|
||||
from pipenv.utils import find_windows_executable, subprocess_run
|
||||
|
||||
|
||||
--
|
||||
2.32.0
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue