mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
Merge updates from master
This commit is contained in:
1
TODO.md
1
TODO.md
@@ -77,7 +77,6 @@ Name | Buildsystem | Category | User | RFH
|
||||
[llvm-ompss2](https://github.com/bsc-pm/llvm) | cmake | cluster | Alessandro-Barbieri | yes
|
||||
[pagmo](https://esa.github.io/pagmo2/) | cmake | science | Alessandro-Barbieri | no
|
||||
[enarx](https://enarx.dev/) | cargo | util | Alessandro-Barbieri | no
|
||||
[airshipper](https://gitlab.com/veloren/airshipper) | cargo | game | NicolaSmaniotto |
|
||||
[ruplacer](https://github.com/dmerejkowsky/ruplacer) | cargo | sys | Alessandro-Barbieri | no
|
||||
[gping](https://github.com/orf/gping) | cargo | net | Alessandro-Barbieri | no
|
||||
[open-match](https://github.com/googleforgames/open-match) | go | devel | Alessandro-Barbieri | yes
|
||||
|
||||
15
app-admin/glance/files/openstack-glance-registry.service
Normal file
15
app-admin/glance/files/openstack-glance-registry.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=OpenStack Image Service (code-named Glance) Registry server
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
Restart=always
|
||||
User=glance
|
||||
ExecStart=/usr/bin/glance-registry
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
15
app-admin/glance/files/openstack-glance-scrubber.service
Normal file
15
app-admin/glance/files/openstack-glance-scrubber.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=OpenStack Image Service deferred image deletion service
|
||||
After=syslog.target network.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
Restart=always
|
||||
User=glance
|
||||
ExecStart=/usr/bin/glance-scrubber
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
@@ -18,7 +18,6 @@ SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="mysql postgres +sqlite +swift"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pbr-3.1.1[${PYTHON_USEDEP}]
|
||||
@@ -64,17 +63,7 @@ RDEPEND="
|
||||
>=dev-python/os-win-4.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/castellan-0.17.0[${PYTHON_USEDEP}]
|
||||
|
||||
sqlite? (
|
||||
>=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
mysql? (
|
||||
>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
||||
)
|
||||
postgres? (
|
||||
>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
||||
|
||||
acct-user/glance
|
||||
acct-group/glance
|
||||
@@ -100,12 +89,9 @@ BDEPEND="
|
||||
>=dev-python/python-cinderclient-4.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/os-brick-3.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-privsep-1.32.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
|| ( mysql postgres sqlite )
|
||||
test? ( mysql )
|
||||
>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -139,6 +125,8 @@ python_install_all() {
|
||||
keepdir /var/lib/glance/scrubber
|
||||
|
||||
systemd_dounit "${FILESDIR}/openstack-glance-api.service"
|
||||
systemd_dounit "${FILESDIR}/openstack-glance-registry.service"
|
||||
systemd_dounit "${FILESDIR}/openstack-glance-scrubber.service"
|
||||
newtmpfiles "${FILESDIR}/glance.tmpfiles" glance.conf
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
@@ -11,9 +11,6 @@
|
||||
machine images. Glance has a RESTful API that allows querying of VM image
|
||||
metadata as well as retrieval of the actual image.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="swift">Adds swift storage support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="launchpad">glance</remote-id>
|
||||
</upstream>
|
||||
|
||||
1
app-arch/microtar/Manifest
Normal file
1
app-arch/microtar/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST microtar-0.1.0.tar.gz 4843 BLAKE2B f2390759ea575f2acbd4eeeaa6394e7e41c225fd858b58b2d138e5fb39f6f633d0ade117bf2435892caac673582c27af68909e76106687b6e10c72fc9bcdf117 SHA512 87279cb52896eb8bda6e05962489f08c5368b9330fd0e094bf7b740b293497f460a6f8a2a2694d5a265d3217ee2f51d8443291df4854e5bd04e157605e6150ef
|
||||
7
app-arch/microtar/metadata.xml
Normal file
7
app-arch/microtar/metadata.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">rxi/microtar</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
25
app-arch/microtar/microtar-0.1.0.ebuild
Normal file
25
app-arch/microtar/microtar-0.1.0.ebuild
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A lightweight tar library written in ANSI C"
|
||||
HOMEPAGE="https://github.com/rxi/microtar"
|
||||
SRC_URI="https://github.com/rxi/microtar/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -I./src -fPIC -shared -Wl,-soname=libmicrotar.so src/microtar.c -o libmicrotar.so
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dolib.so libmicrotar.so
|
||||
doheader src/microtar.h
|
||||
dodoc README.md
|
||||
}
|
||||
@@ -3,6 +3,8 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature
|
||||
|
||||
DESCRIPTION="Improves Grub by adding btrfs snapshots to the Grub menu."
|
||||
HOMEPAGE="https://github.com/Antynea/grub-btrfs"
|
||||
SRC_URI="https://github.com/Antynea/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
@@ -35,4 +37,5 @@ src_install(){
|
||||
pkg_postinst() {
|
||||
elog "run 'grub-mkconfig -o /boot/grub/grub.cfg' to update your Grub menu."
|
||||
elog "update your /etc/grub.d/41_snapshots-btrfs script (e.g. with dispatch-conf or etc-update)"
|
||||
optfeature "LVM/ LUKS support" sys-boot/grub[device-mapper]
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
inherit meson systemd
|
||||
|
||||
DESCRIPTION="Tang binding daemon"
|
||||
HOMEPAGE="https://github.com/latchset/tang"
|
||||
@@ -15,24 +15,21 @@ KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="acct-user/tang
|
||||
app-text/asciidoc
|
||||
net-misc/socat
|
||||
>=net-libs/http-parser-2.8.0
|
||||
>=dev-libs/jose-8"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
BDEPEND="app-text/asciidoc"
|
||||
|
||||
src_install(){
|
||||
meson_install
|
||||
newinitd "${FILESDIR}"/tangd.initd tangd
|
||||
systemd_dounit ${FILESDIR}/tangd.service
|
||||
|
||||
dodir /var/db/tang
|
||||
keepdir /var/db/tang
|
||||
fowners tang:tang /var/db/tang
|
||||
fperms 770 /var/db/tang
|
||||
|
||||
insinto /usr/lib/systemd/system
|
||||
doins ${FILESDIR}/tangd.service
|
||||
}
|
||||
|
||||
pkg_postinst(){
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST 0.2.30-2.tar.gz 98638 BLAKE2B e83c5ed44cb09da591d653629768526f332620c690f61d526b762f72a58fa37609883fc3db9b1b1c527a37cde929884f9b252d58e7b4ec53cf137451096e4d70 SHA512 be08c88251ddc03dcb641d6283e2bc6a4c59b4baa24a5a9f323f21f1228e04c9a24ec8954c190f89f3323ba7d67411c2b50da6d413fc93da604980d55e432890
|
||||
DIST kloak-0.2.30-2.tar.gz 98638 BLAKE2B e83c5ed44cb09da591d653629768526f332620c690f61d526b762f72a58fa37609883fc3db9b1b1c527a37cde929884f9b252d58e7b4ec53cf137451096e4d70 SHA512 be08c88251ddc03dcb641d6283e2bc6a4c59b4baa24a5a9f323f21f1228e04c9a24ec8954c190f89f3323ba7d67411c2b50da6d413fc93da604980d55e432890
|
||||
|
||||
@@ -5,7 +5,7 @@ EAPI=8
|
||||
|
||||
DESCRIPTION="A privacy tool that makes keystroke biometrics less effective"
|
||||
HOMEPAGE="https://github.com/Whonix/kloak"
|
||||
SRC_URI="https://github.com/Whonix/kloak/archive/refs/tags/0.2.30-2.tar.gz"
|
||||
SRC_URI="https://gitlab.com/whonix/kloak/-/archive/0.2.30-2/${P}-2.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST walld-1.2.tar.gz 23622 BLAKE2B 021028bb5dead41f16e18e9243f50952bf40260e5322508c79e803e42253fea22e1890d69116ba9b5ad7d6c084c57c0d52f216b6c6adf998cee688d8f9b6cbd5 SHA512 8c1c5dc2c8bc657c6f71a82f6db50247b6803ae5845f1515d10e18021913d87c7e4d920e8c1f0e2d455a5a09f44770acf40fadd59f983a6c3a16f8d4178340d6
|
||||
DIST walld-1.3.tar.gz 24911 BLAKE2B 9186cdbe8263fef5e5ec27a29b4e76f437322c08aa9322ea8d2fac666da2ee97990f6bfad8c2af4751ce820d739879ee25b78de9145e7ef32ca24ae5d97b3728 SHA512 5459640d720592267e9d8ab78c9bc526fda4036bc20b84826b65a1b87d05b8b3743363d2ee2fb69819b7b82d2145b303c883f60ca0b9137535e563eb83b17912
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature
|
||||
inherit optfeature meson
|
||||
|
||||
DESCRIPTION="A Wallpaper daemon"
|
||||
HOMEPAGE="https://github.com/Dotz0cat/walld"
|
||||
SRC_URI="https://github.com/Dotz0cat/walld/archive/refs/tags/1.2.tar.gz -> walld-1.2.tar.gz"
|
||||
SRC_URI="https://github.com/Dotz0cat/walld/archive/refs/tags/1.3.tar.gz -> walld-1.3.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
@@ -15,11 +15,7 @@ KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-libs/libevent media-gfx/feh dev-libs/libconfig media-gfx/imagemagick"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr install
|
||||
}
|
||||
BDEPEND=""
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "auto reload Xresources" x11-apps/xrdb
|
||||
@@ -1,2 +1,2 @@
|
||||
DIST fzf-fish-8.1.tar.gz 6486433 BLAKE2B 09f5d5232b99c2e7fad89e952fb9e2d9291c2ea6d7cae79466c9b011b9df82e3ae1f67c9f4fe29675ba43ba3b6174c0efc4f5d2c37dc191367b29fd597a90611 SHA512 19f1426afcf0591136c0a7af73f5472e90f59efe46ebfa48563ef91f61c71c669f4e8685c3c32c7dd34f87efc4f790e373f783acbe0a110ac24e4de1270f729c
|
||||
DIST fzf-fish-8.2.tar.gz 6486432 BLAKE2B ea23434254cc4365acd8a22ff9b157efeae4d34c2911179944108732026c6f7f7cd1e679769d0eea2822bb876a172a263c691a7fc80d14ebf50b4d4c9328914d SHA512 851f111a280a165905e0461ee90825d47d782793a38ba15a9934e0b183ac8d641b3ceeef04c36a9b6b63a675b2355d3a0aa216da2d31b628f262d806867f5abc
|
||||
DIST fzf-fish-8.3.tar.gz 16448 BLAKE2B 913eb6ac2154905ee87356dfe26443ab2151221760e23587433736dc9b7f160a61f52b8e2c052fc2524cb079a87dd46563042c6759c937eaef6a4200d63d0c7d SHA512 eb79f4a458ca4daa4fdf56ff91f1609661a1f7f736709569ae1120addc4fb3f87134b2fbcedf760bab1e275e934bc40b975f9cedad15dac9a422ddd6c29b5b9b
|
||||
|
||||
@@ -14,10 +14,10 @@ KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
app-shells/fish
|
||||
app-shells/fzf
|
||||
sys-apps/bat
|
||||
sys-apps/fd
|
||||
>=app-shells/fish-3.2.0
|
||||
>=app-shells/fzf-0.27.2
|
||||
>=sys-apps/bat-0.16.0
|
||||
>=sys-apps/fd-8.3.0
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
@@ -1,5 +1,4 @@
|
||||
DIST OCRmyPDF-12.0.2.tar.gz 7895055 BLAKE2B 4fab449f9edf8788c74773da0e73adca9dc686afcbc69d9d6263049044b202744244eab4f4d6e5596461c55d399320a5e7604c6a8080c0d6a05ea6df15314eac SHA512 8bc749353d88dd1e0b2fbd313ba45fa5bf79b70c0366bde21dbe457ce269d02bea64e797e73b823fe9c02b2bd18f181f6cea414306ab1470e244e4201f86781a
|
||||
DIST OCRmyPDF-12.6.0.tar.gz 7897200 BLAKE2B e183280e11414a7b2bedd339e971f1c74697d9847771e24592207e5bfe82af184544576c067856cdee9d8409bdca856e8aeb48c8e5b4e32154b69111fba2d775 SHA512 0792fccec7ecdfc93a02c4e29d0c88076c191aed3a2848c4db5d6b18ad4837a24e325dfc961aaa7c68407de7dd471e45e7b6389d6cf8f9465fe3892038696e97
|
||||
DIST OCRmyPDF-13.2.0.tar.gz 7885396 BLAKE2B 0eea864d056d2238f7ea244a7fc9b6a548409caf9264349be2e0d5be5dea7ddc474f5e95ce92ad926992e42b27cdedf77005d124782374be5b6606a01338aa69 SHA512 476924ad440042fb75a9cd56fb90a93b636fc805393087952d704602f92bd0d33ed5701b45ed037b312874800857da784b367eaea3858dc0b38e4b1d49417e52
|
||||
DIST OCRmyPDF-13.4.0.tar.gz 7889193 BLAKE2B 42923508524df38ed62f1a0c4d6b308dac8e00a44b428dee2dd5494915778910e434d5bf8a5957fe48685c0263b3151044794b14cbc209e4a3909da1e2411fe3 SHA512 1b581ba469e0f625481c551d9b53c553745a02c748bd2e16bd7a589f4eacfd3f21ba5d435b52286694220627de0d3d7202513191ee5e1e04b7bdd392d0abc5cd
|
||||
DIST OCRmyPDF-13.4.1.tar.gz 7888750 BLAKE2B 178954136f797f166a37db602b302cf50752010504b934b6633b0b2f52f2fb57e88995b3ffbb534990857698fa63c9966a92babaf9bcb7e3833e4f6f3d325e15 SHA512 c65dd1d6dc957fbfff7926241c4b887146d3efbf1181dd9bc43fca464ebc07e1507425e90af72311e89fe1ed75ee1e293600d6f7f538f7a5ee8dd8998173c972
|
||||
DIST OCRmyPDF-13.4.3.tar.gz 7889740 BLAKE2B d107b83f0d66fe6d19cc22bf76851650cd75c79900eff2c1e68d02a15ffb875dfa97472f8a8e80fe7051a7a8d33b9729855277121ed2e204b50729b6171bde26 SHA512 301efe2492de00527cacb8640eea68bf3f5398ca53a932872f3c62ef85616fc45e2c08c662cb42cfca69c6e2b5debf8860b192421c4370e7191cea5dbc4bf32d
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_8 )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
|
||||
HOMEPAGE="https://github.com/jbarlow83/OCRmyPDF"
|
||||
SRC_URI="https://github.com/jbarlow83/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
# This uses *a lot* of RAM, I have 32gb and these tests tried to use it all
|
||||
RESTRICT="test"
|
||||
IUSE="jbig2enc"
|
||||
|
||||
RDEPEND="
|
||||
app-text/ghostscript-gpl
|
||||
app-text/tesseract
|
||||
app-text/unpaper
|
||||
dev-python/cffi[${PYTHON_USEDEP}]
|
||||
dev-python/coloredlogs[${PYTHON_USEDEP}]
|
||||
>=dev-python/pdfminer-six-20191110[${PYTHON_USEDEP}]
|
||||
<=dev-python/pdfminer-six-20201018[${PYTHON_USEDEP}]
|
||||
dev-python/pikepdf[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pluggy[${PYTHON_USEDEP}]
|
||||
dev-python/reportlab[${PYTHON_USEDEP}]
|
||||
dev-python/tqdm[${PYTHON_USEDEP}]
|
||||
media-gfx/img2pdf[${PYTHON_USEDEP}]
|
||||
media-gfx/pngquant
|
||||
media-libs/leptonica
|
||||
virtual/python-cffi[${PYTHON_USEDEP}]
|
||||
jbig2enc? ( media-libs/jbig2enc )
|
||||
"
|
||||
DEPEND="
|
||||
test? (
|
||||
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
~dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs --no-autodoc
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
newbashcomp misc/completion/ocrmypdf.bash "${PN,,}"
|
||||
insinto /usr/share/fish/vendor_completions.d
|
||||
doins misc/completion/ocrmypdf.fish
|
||||
}
|
||||
@@ -1,16 +1,16 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_8 )
|
||||
PYTHON_COMPAT=( python3_{7,8,9,10} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="OCRmyPDF adds an OCR text layer to scanned PDF files"
|
||||
HOMEPAGE="https://github.com/jbarlow83/OCRmyPDF"
|
||||
SRC_URI="https://github.com/jbarlow83/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
HOMEPAGE="https://github.com/ocrmypdf/OCRmyPDF"
|
||||
SRC_URI="https://github.com/ocrmypdf/OCRmyPDF/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
@@ -26,8 +26,7 @@ RDEPEND="
|
||||
app-text/unpaper
|
||||
dev-python/cffi[${PYTHON_USEDEP}]
|
||||
dev-python/coloredlogs[${PYTHON_USEDEP}]
|
||||
>=dev-python/pdfminer-six-20191110[${PYTHON_USEDEP}]
|
||||
<=dev-python/pdfminer-six-20201018[${PYTHON_USEDEP}]
|
||||
>dev-python/pdfminer-six-20200720[${PYTHON_USEDEP}]
|
||||
dev-python/pikepdf[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pluggy[${PYTHON_USEDEP}]
|
||||
41
app-text/code-minimap/Manifest
Normal file
41
app-text/code-minimap/Manifest
Normal file
@@ -0,0 +1,41 @@
|
||||
DIST anyhow-1.0.52.crate 44224 BLAKE2B 79d68d3390d27e0e27f9db784ad10b5d7845dec7949fbc722f944ef3988419acd72c509b44a4544e99bea5e57407da5b1ce40a96277d307fc408c958ea915c31 SHA512 b87e0b304daff85894c34060b97379d8e3d9be03078275313035c7142c76b3e59922b25924ac98a0b1b70fc98746eb174ca4b7ef33a26e115f294c1f1200aa6a
|
||||
DIST atty-0.2.14.crate 5470 BLAKE2B 2db856a9e898a430258f059aeaf7c844a153293e8856d90ac81f7d91a888c89198768ad5cb09303c23241fe85c560a55148fa56a303651a82b0edb895616bfab SHA512 d7b6c4b9a0f898d91ddbc41a5ee45bbf45d1d269508c8cc87ee3e3990500e41e0ec387afb1f3bc7db55bedac396dd86c6509f4bf9e5148d809c3802edcc5e1d9
|
||||
DIST autocfg-1.0.1.crate 12908 BLAKE2B 40c53cab298e4f26634c3acff3ece6a3371188d91dbf377ed664eabedcde20536edaa93daf406618f37edde019f049a6e7b9a47f627344587dbd126bee2b5e3a SHA512 630b348acb98b012e97804e6325d03c89abc22f2157762c59144c04e6c733daf550bdc7f0fe0b9f3b50e15dae8c1c3c4bdfce3d805b02f0fc987311f5332419b
|
||||
DIST bitflags-1.2.1.crate 16745 BLAKE2B 0fa6d3ce44aad7616d5cd02aad8c1d0b0fed4022650eb43067c4a72e6fc88da05442674fa51826e4858a47c9de233e1ba2229820af094197cd11bb416ceffb2b SHA512 ad89b3798845e23737a620bba581c2ff1ff3e15bac12555c765e201d2c0b90ecea0cdbc5b5b1a3fa9858c385e8e041f8226f5acfae5bbbe9925643fff2bf3f0b
|
||||
DIST cfg-if-1.0.0.crate 7934 BLAKE2B e99a5589c11d79d77a4537b34ce0a45d37b981c123b79b807cea836c89fc3926d693458893baca2882448d3d44e3f64e06141f6d916b748daa10b8cc1ae16d1b SHA512 0fb16a8882fd30e86b62c5143b1cb18ab564e84e75bd1f28fd12f24ffdc4a42e0d2e012a99abb606c12efe3c11061ff5bf8e24ab053e550ae083f7d90f6576ff
|
||||
DIST clap-3.0.0.crate 189026 BLAKE2B 99d9739e9cf460122a6ba3054fdd71ca10fa887cbc8dc2c3228896963e09752e1301a54d29547b5d7e10eb7d9c6f0b30fcc883f529f6e694493ff275c4c80246 SHA512 8ed59be110ebda369482dc4bcdd874a947adbfee6a92e47c863b6aab969235b3167f1efeb633c38b7b3cc9361b5cd1bc564a69709a452fbb85e590c42d3cf378
|
||||
DIST clap_complete-3.0.0.crate 22154 BLAKE2B 02e4c54e3a5983624e573f66f28a7b8472a4ef4c7755cb9855551ce5a2db44ecd09f9191d3611f4e24efe3e1af46d420e864e82e82be1c3b86cbb4f558c5aade SHA512 a1e7c57dab1ee13885672da1c81b5300fce55db06f8eed1a8a60bdf4fa72c9603a58be85623352461903d5a3fb948914207ccac0d7465ba28014e79c7025b5c5
|
||||
DIST clap_derive-3.0.0.crate 24684 BLAKE2B dc56ba1b2d5dff063d19a1ed5d9188cd3cbb3fd65e11060b471cd842752d53a022b94f9acca0ad9c104d1b149667997433b7374991d3173c2ed87c372adb0bfd SHA512 4974f5df83fc27ffb132ad5247a3a368b8a3919f313d7e0477e3422640d1c6f19a30b11027ebedbab1a168e56a35e61474641741ec1dc75ca0ab3555a78d25fe
|
||||
DIST code-minimap-0.6.4.tar.gz 20042 BLAKE2B f06faef94fdbf88769d286aac02cdc56086fe6f471d50ed537056fcf4be40fe9e12dc7f6660676ed014b092ba6565b1420bbd211187b7ef07108b3080f3c1a37 SHA512 9e992abb0aa7e6b1c1e17e82d1d1583560df06324f2af7f07d0afe2e70ff196c24d2a176042fb353a9ef6dd189a4bbc8e1f1c524d2821fbc3786fc225363c5f5
|
||||
DIST either-1.6.1.crate 13641 BLAKE2B e5f40c40a5edb6dcb07a10bf79183cbe42438f1f70f3932dce72f6f6e91f75f24d17d82bc447507def4dad4345ffc9dd9162dde778afb253bdb1218e91887949 SHA512 4bfe56920e30cbc8eb4f90162db618f7dca653b42db35ab6a7045d3fd9a24ceb1778b1f79613850bdb1a87ad3794fa0d73015e46c48d513f368d8c3776fc9ddf
|
||||
DIST hashbrown-0.11.2.crate 85713 BLAKE2B 402f9f1bdcb92631206f9b72923ee35e28db8623e87469c0f1496664bc7185077013ab3c8aea68268241e5b2504f10cddc613a350abd4291050deda6c112e559 SHA512 c21ca68fd49bbb741901f59fed04cc124b8da99e2a4dfc26e2e5e1140637872b344612a01691bd30cc771575c571be15f756c84dde225441699cd2322af2ad6c
|
||||
DIST heck-0.3.2.crate 54718 BLAKE2B 6514f604361932e0a8e1a86786d3ec7218d95f8b3b3bcfc9e21c5fddc58ebe28bc0781e2ad24de4dd4296da85e97c742d8473370c99a593e7e5fc7df00fc9b4c SHA512 cbc72c3473ab14fe445491b1d9586d50de9a462af344638b871f7309fa805069a1405bcb1e0859b561f48583fc71045f38d03b92332d35131c67e140ccd241ad
|
||||
DIST hermit-abi-0.1.18.crate 9936 BLAKE2B a5a1d1c9bdf83fdca8edc392f8fa7d9b9b248ac8d716e009300220befa5d8d80601643e768037be89bbbe6e21adbe6349c94c595cee3837c4b92b5f98ba838ad SHA512 54f060c6c1c80d41f40cec7102345147efb535aff9fa5cc0ed4ccd7f010bfdb6daaf40626fd5069af60ceb42058452803b59d4bbcfbed4c5546c79b57ae0f914
|
||||
DIST indexmap-1.7.0.crate 50363 BLAKE2B b45318ae2a6e1f008494db77a3159eea3fed4f77eb04ae65599be9392d6ef78d4677b65d04fefab8f917f6808fee821a33bcf53a50b88785fae5ef6848e3a08a SHA512 9b882b4a7068a686acaee0a08bd4f3b35b58d36e786358cf14a3436eb61339649e64f1757331cc7833a2fa364c76eb6b75cf0c732afaeb202113de1e66b72ab9
|
||||
DIST itertools-0.10.3.crate 118661 BLAKE2B 0095d6e7f14ddda69605d09f74e8cc881eec1a1d234f705e667d7f9e738ef157b7ddee066855cbcad7f134bf79b99a4a4c77bff3371397a567cd34d98b68bf97 SHA512 9d17357eb68159edf4f4ccd2eb9895672c7fb633803166d5e24ee12350639eaf66f1c822910518185cd1f1ca5d9c3e228dd37525e6c337ba3fc7ce967f9bfc85
|
||||
DIST lazy_static-1.4.0.crate 10443 BLAKE2B 25b2e61bbac48f0dcbc79c81d7bf01f2403d8269ecb6be3ea6147bd00f7a588df15a91f44dfc18ada19b21faa71de4637c7d493a8628cbecd0e547d74e616a23 SHA512 e124c0521ec7c950f3c4a066821918da7a9c6e711115d98009ae7c351928fdddead852e7596fea5937a9c30e4e4ce8eee7099b20248b5d6e3b2494b6a6d88cb8
|
||||
DIST libc-0.2.88.crate 514138 BLAKE2B c9c6cd0b5456ee2706e7b572ba8df644abeb2d1297abe4f5d2b480e7b7b6b1024cfde98adea2822045b605949505c133538c74b0676c3ab5a2db8aed04605b4b SHA512 c1ad5dd0efd8117da798fcff84082e3b831cb1ae04c26ca8d87936057155e2ca08f0a693cf2c79c5db2c2dbe6b64e254328439b303ba952559f4c524466ad243
|
||||
DIST memchr-2.4.1.crate 64977 BLAKE2B 31479718c118093b684bed946eae0706d77d9d275bd49f5aeff4de490f479abd60c7dc462150eafffc6d6fc1da0853123b78be038826b775d2a41a4c39d93ab5 SHA512 d8912e3902a2126f86159bdc998532a2890b882cbb7d59b5a470fffcad4c32281e045f2fff48a235aa4189f1928866bf3d33b699d50866ad6b6c272bba7adb11
|
||||
DIST os_str_bytes-6.0.0.crate 21046 BLAKE2B 9d2a9f47aac852ca2e27e63a22c7267e1a4affde2277d50e128b54f377758322f07ca7263478c39c91e11a2b32b0e7a5fc5ba1b31e0ee014b412a4151642e605 SHA512 d2d3741a1190092cf251e035d2c55a7d022d99512160ed4ddccccb44ca85f664f94f8a937a76eff88581b593e2ebaddab6e753009f3046a8a2ebf451418e41d8
|
||||
DIST proc-macro-error-1.0.4.crate 25293 BLAKE2B ef918c5efaf2545ab38787c8d0c07315af00431139e4dff66346bf798e3a429f91d12a79776c150412fdda0b158a72badd5e1044ac4d6917f8482d4b5a7110b7 SHA512 8a47bc9d3e24e9561d1e384d8f5a633284c2cf9b5e6733c5f9d1dbfe1870ccc8e2152482852e50b551cecb68e009148585b910ffb0508a7b4875598eaf8657db
|
||||
DIST proc-macro-error-attr-1.0.4.crate 7971 BLAKE2B 98e2925881c2be186e22c2c439697e91d43f807eb61a5d13e3b0b4321ed50a74f3d699942c04b89b6fea0f156bb5d19ebcf22f9cd4b98a7e6917c437600ed823 SHA512 2606afa9ec78d7dad4500c98d3a5ecbd02c6b53ab829c742bed7f57b322a95238ab4e01cf268746815f1424fd9b02eddfa30e72f98c66106f57765f3d3116495
|
||||
DIST proc-macro2-1.0.28.crate 38732 BLAKE2B f2d4765789d03d5d26c9de7e1283ce6e4086ca640d95a36649f8fdfe96533ad768b2a8ba56726e0462ba4fcd8f332fc455307987e0b7c79a5e96f2e75a641162 SHA512 2a4e34ab2bb692c3661db40ebc6d22f3dbcbc30c2f4d88e1a7f022f8522e943ffe2a1c9b92411c7e04941dc0156cb365e0de953fa45d8710e39b660ee9028741
|
||||
DIST quote-1.0.9.crate 25042 BLAKE2B 26ef31e89fd2f0cc21ff65f8072f30c7977ac634d2536cf9845a0894d6659f62a96cd0a6ee48f7706036c2c1b898ef8c9167bd62714ad0c9cba4fb02f30922af SHA512 dd6cdaea183b85400531ef01e56657edbec0d8f7c27898c1e591b72dff755fa5875b33ca320bd65be0e9aecfc6a61ec119a4bd1291e9f2057fca642ab5b198c8
|
||||
DIST rstest-0.12.0.crate 919939 BLAKE2B 4af2a7b379448393134bd759e46be9effb32d8c8a4b8d0360d85146df6ac60de84a84686d4131ac78de5be85a30ded224c0c15fbb55e7f54c546de4898bf7595 SHA512 de633d8dfcae3f20b6ade6b503331f15fdda40d01c470ad9baedcd6837b034d620ef668d1893ad8413a1402570f203769f3bfdd931e2bfd53fc1e8133cd55750
|
||||
DIST rustc_version-0.4.0.crate 12175 BLAKE2B 6fda2ce03eab45d7193fa0d70175cc7ffb56b7be85fb1314092bdcfd3948ea145420569ace3a47218a4a2a6e44a818862cea6dd8cfb945475496f63b591c29da SHA512 f66da7c6efe431db06cd01180d84ba67fcd38f8cd6ef693762957c00ccc2211f23c08079d7f184776e08f28d2d6ca3bdb5f5016f7de245c6193d4722891ba1db
|
||||
DIST rustversion-1.0.6.crate 18380 BLAKE2B 2969bb40849dbd2f0d3f4a190629e53204cc5ef9065be6aec7a4504470e1dba6cde7172a3075a1bade421b30b88947cef6b29c0ab5aea8601695f72a7acc45d1 SHA512 fa9efca7e49eff6c510d062d02fc73d15341b1fe16d24dada86108202a4295d2e0519aecf3f1701540cd4d49a513c05e74d3d27e21e5eb3cb1aba46c70a992cc
|
||||
DIST semver-1.0.4.crate 29375 BLAKE2B 534a89125c4483fc99c44f7b104870be1471d478ba4f709819ae700767f4d6d0bdc98955897e33566651cbecadb4d4dc223204e4504ba4820c2d3919ef4fa775 SHA512 82ef2b4a3533360de1c645dba02b57a2670fdc51709a07be4a63b94055335225764d42d70f9617ed3aeb4c4de121da24e73b0e2c5c781501e9ee32dff756ebd9
|
||||
DIST strsim-0.10.0.crate 11355 BLAKE2B bcb25ad0a7284e24e4f17ebe0ccb621bdc4118e499b50b094d98aa7e8fcc0b96716c9953c3516ce7ea78309d41d424892ded595259696a5bbffdcb07802b5c2f SHA512 78b318532addfcf5c1ccc1e14539e258aab9d3cd893cc45d82342549bde838c177d90f13c560671f8f32929af47d0b467db35e6876bd7697d8b3f9e055aeeac1
|
||||
DIST strum-0.23.0.crate 5429 BLAKE2B 5689d01370d36dce02abcd588ea97521f5c586cbcb6832865105167c77f737df048047c7939331ace2cd3472919b0255bf21933eb40bb2f6461cc3f24e3b3b8b SHA512 1cb554f3b15e4caf8c863859000cf47de86d1e6e41531166012ed7cb91bc18d71a4420a1e7c5a097c36a24c39e7e3afbf7a4055fd1b9e4854b6a80559755911d
|
||||
DIST strum_macros-0.23.1.crate 18203 BLAKE2B ecc220d436d4ae73adf1868a698cd1f98f40669c5a3e0b5667b521d3104830d7252a69525a6102ad41c0652414c5724aa4b9250a8cbebaa6daa14b75f21b1c3f SHA512 df06d2e6cc4999d643eab7bbcf8ffdf91b7c3c507b075928c07516d7f3abaf419d833513619ea083d6d05b80656b0828a6ac13fe48d9bb99f809058f5888d606
|
||||
DIST syn-1.0.80.crate 234102 BLAKE2B 97e13bdf99f9d50b352eaf87ceb1cf27f74e59df7e40ef28508cc387f78c8472111aaeb5902e1e577e157cd16c7f431c2faf461cdf2554876a3d0ad7662d34f9 SHA512 3eb437757f25c1a10db8f9b10f21cc4de77be1aabd910f1618edd43ad309ef9142ef08def4cf6b2d7470165a7dd0783b28da54847678e22f2b2dcb2b4dad3c2d
|
||||
DIST termcolor-1.1.2.crate 17287 BLAKE2B 5ff748064c9fb6663befce2fd299edf6a6deb06ea72d21a62d6e77642934cca0933e10340fa84f636631cc08c76ba83ef2284b2212759129d54248e5fccb4c49 SHA512 f37b034345382cd621b1344a3fb301ca3d4d9db8b5858ac1ea82372c983229fce3c0ea8213d6b7e91291b6034affe11e2c3e593dbd95256294ce5c584b33e14c
|
||||
DIST terminal_size-0.1.17.crate 9141 BLAKE2B 048d8e8e9dad08aecde12323681d428b9182afb737136cd6699e13d231f7882091c9167cb10a08e5151df912421a6f89132645627e42ccc73d07553cadb1c8cd SHA512 96ec1bc8abd597f01ae59da567036d5d40b422764a4da662e2030c3ef4ce80a983c8b6a4ef1f34d88e649e0b1ea27b206d56a31924bcd2d31ff7e5a2e96d4201
|
||||
DIST textwrap-0.14.2.crate 52016 BLAKE2B db80b15ba23db718064ef0214578ea6aa4f0ee3b76723adaca131be26b770324205f2ead13c8f5c1e438ae1b5c9476cf1ede8f4ed82426c9d99d9406f2b83191 SHA512 521ab37e03aae8fcce5b909541399fc90a23020e353f95102c658fa94ffc56b9bdff43f47fb3da6e30f5c9cc9447fab72fe21d7276dfa21fe5a1a5a1c874e371
|
||||
DIST unicode-segmentation-1.7.1.crate 93066 BLAKE2B 80058a79c64972dfff897b08a24e9f18ae0fa312a50f86fc321961eeab83c5546bdbc30534315870d891e648bde1d7d77f459ec9744455bdebb94bf6e326f2ef SHA512 183ca68d456a8d53e6f255129e8fd07b87d8da23b8f18187231d6fa70dac80e4069eb6c501d45155d9f0050b6bd713964e55f0e4b25a40546c4d245a17fc8dc6
|
||||
DIST unicode-xid-0.2.1.crate 14392 BLAKE2B 7f8f91b9c4df55f2137b754208d4f2997a290acfc9393ee2dcda8195eda25cb342e56ad123f56bb298d93db5248a749c18a982423c9a0e85ce93f7a1eb55d289 SHA512 91e862137e837baea82829431cfed36634fdb05339f00c756eb5a4b429ef0bb871f5133d11adf9a023fa22168c8a0cf194ff3669779f04f219d48fc4fac339d2
|
||||
DIST version_check-0.9.2.crate 11979 BLAKE2B 6568f8d4652fb470162bb2251be2260a6bf83e107a4f957ed91117938d5da48c42bedfb5e6622bcd6c37950805666b78984577bd8dae687dbb39e452078bd97c SHA512 b88a9d545ef103fe6d0eebe7ddcf328fc21fcb02c60828b347cfc35afd957669e652a94d880ef992450c167df3505838bc649e0d83896542fa13a149875acf26
|
||||
DIST winapi-0.3.9.crate 1200382 BLAKE2B cb5799749ccd935ea2d7068d953cecf19f543d9db7dc16ad4584bb7005373ada34937a3ced7225544d8bc765da599911c7a3190efefb3a25b7c1bb7123b4f673 SHA512 ff8b7b78065f3d8999ec03c725a0460ebc059771bf071c7a3df3f0ecd733edf3b0a2450024d4e24e1aedddaecd9038ce1376c0d8bbf45132068cf45cf4a53a97
|
||||
DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
|
||||
DIST winapi-util-0.1.5.crate 10164 BLAKE2B fc800aceae5249a858c806c3e969ef2545766099872d856ebee51c883d9acf1122278db9607d50ca53eac351502b700fd2463900932d342240f97f683d517963 SHA512 7baeb661f397c4693dfa001fdc774b323c51a7c55caad40f2de5112a1cefd1d6151e3df41fa4ee193460a5905917c83d2b1de5fa10b4bd014ad96690af95c0fd
|
||||
DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
|
||||
63
app-text/code-minimap/code-minimap-0.6.4.ebuild
Normal file
63
app-text/code-minimap/code-minimap-0.6.4.ebuild
Normal file
@@ -0,0 +1,63 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Auto-Generated by cargo-ebuild 0.5.1
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES="
|
||||
anyhow-1.0.52
|
||||
atty-0.2.14
|
||||
autocfg-1.0.1
|
||||
bitflags-1.2.1
|
||||
cfg-if-1.0.0
|
||||
clap-3.0.0
|
||||
clap_complete-3.0.0
|
||||
clap_derive-3.0.0
|
||||
either-1.6.1
|
||||
hashbrown-0.11.2
|
||||
heck-0.3.2
|
||||
hermit-abi-0.1.18
|
||||
indexmap-1.7.0
|
||||
itertools-0.10.3
|
||||
lazy_static-1.4.0
|
||||
libc-0.2.88
|
||||
memchr-2.4.1
|
||||
os_str_bytes-6.0.0
|
||||
proc-macro-error-1.0.4
|
||||
proc-macro-error-attr-1.0.4
|
||||
proc-macro2-1.0.28
|
||||
quote-1.0.9
|
||||
rstest-0.12.0
|
||||
rustc_version-0.4.0
|
||||
rustversion-1.0.6
|
||||
semver-1.0.4
|
||||
strsim-0.10.0
|
||||
strum-0.23.0
|
||||
strum_macros-0.23.1
|
||||
syn-1.0.80
|
||||
termcolor-1.1.2
|
||||
terminal_size-0.1.17
|
||||
textwrap-0.14.2
|
||||
unicode-segmentation-1.7.1
|
||||
unicode-xid-0.2.1
|
||||
version_check-0.9.2
|
||||
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
|
||||
"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="A high performance code minimap generator"
|
||||
HOMEPAGE="https://github.com/wfxr/code-minimap"
|
||||
SRC_URI="
|
||||
https://github.com/wfxr/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
$(cargo_crate_uris)
|
||||
"
|
||||
LICENSE="Apache-2.0 MIT Unlicense"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/bin/code-minimap"
|
||||
@@ -2,7 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>nex+b-g-o@nexadn.de</email>
|
||||
<name>Adrian Schollmeyer</name>
|
||||
<email>freijon@pm.me</email>
|
||||
<name>Jonas Frei</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
@@ -16,11 +16,12 @@ SRC_URI="mirror://cran/src/contrib/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE='Boost-1.0'
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=dev-libs/boost-$(ver_cut 1-3)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Do not bundle boost
|
||||
rm -rf inst/include/boost || die
|
||||
default
|
||||
R-packages_src_prepare
|
||||
}
|
||||
|
||||
@@ -16,11 +16,12 @@ SRC_URI="mirror://cran/src/contrib/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE='Boost-1.0'
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=dev-libs/boost-$(ver_cut 1-3)"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
# Do not bundle boost
|
||||
rm -rf inst/include/boost || die
|
||||
default
|
||||
R-packages_src_prepare
|
||||
}
|
||||
|
||||
@@ -20,8 +20,8 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/lattice
|
||||
dev-R/nlme
|
||||
dev-R/nnet
|
||||
dev-R/survival
|
||||
virtual/lattice
|
||||
virtual/nlme
|
||||
virtual/nnet
|
||||
virtual/survival
|
||||
"
|
||||
|
||||
@@ -22,5 +22,5 @@ RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/expm
|
||||
dev-R/MASS
|
||||
virtual/MASS
|
||||
"
|
||||
|
||||
@@ -21,7 +21,7 @@ RDEPEND="${DEPEND}"
|
||||
#TODO: correctly link to lapack
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
R-packages_src_prepare
|
||||
|
||||
#remove bundled
|
||||
rm -r inst/include/armadillo_bits || die
|
||||
|
||||
@@ -21,7 +21,7 @@ RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/tinytest
|
||||
>=dev-R/Matrix-1.3.0
|
||||
virtual/Matrix
|
||||
dev-R/pkgKitten
|
||||
dev-R/reticulate
|
||||
dev-R/slam
|
||||
@@ -30,7 +30,7 @@ SUGGESTED_PACKAGES="
|
||||
#TODO: correctly link to lapack
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
R-packages_src_prepare
|
||||
|
||||
#remove bundled
|
||||
rm -r inst/include/armadillo_bits || die
|
||||
|
||||
1
dev-R/RcppTOML/Manifest
Normal file
1
dev-R/RcppTOML/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST RcppTOML_0.1.7.tar.gz 42551 BLAKE2B 5622ed62137291615a527ff97ee964162e086960d22f62f570ed06bc0483d47dddcafc46a8382922fd88071fd023445d712d66facbcf7df46866fb15509ba64a SHA512 c1a9e2a0f0c0229620125b6b18e5fb73fcb059d916c716f2cb7cc0bfbdb6253e71462a3fe7482e5d2f0672d429a81307effc89c26f79f5a99fe393c6a9d35ce9
|
||||
37
dev-R/RcppTOML/RcppTOML-0.1.7.ebuild
Normal file
37
dev-R/RcppTOML/RcppTOML-0.1.7.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages
|
||||
|
||||
DESCRIPTION='Rcpp Bindings to C++ parser for TOML files'
|
||||
HOMEPAGE="
|
||||
https://cran.r-project.org/package=RcppTOML
|
||||
https://github.com/eddelbuettel/rcpptoml
|
||||
"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='GPL-2+'
|
||||
|
||||
DEPEND="
|
||||
dev-cpp/cpptoml
|
||||
>=dev-lang/R-3.3.0
|
||||
>=dev-R/Rcpp-0.11.5
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
rm -r inst/tinytest || die
|
||||
# replace bundled cpptoml
|
||||
rm inst/include/cpptoml.h || die
|
||||
ln -s /usr/include/cpptoml.h inst/include/cpptoml.h || die
|
||||
R-packages_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
R-packages_src_install
|
||||
rm "${ED}/usr/lib64/R/site-library/RcppTOML/include/cpptoml.h" || die
|
||||
dosym ../../../../../../usr/include/cpptoml.h "${EPREFIX}/usr/lib64/R/site-library/RcppTOML/include/cpptoml.h"
|
||||
}
|
||||
|
||||
SUGGESTED_PACKAGES="dev-R/tinytest"
|
||||
18
dev-R/RcppTOML/metadata.xml
Normal file
18
dev-R/RcppTOML/metadata.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
'Rcpp' Bindings to Parser for Tom's Obvious Markup Language //
|
||||
The configuration format defined by 'TOML' (which expands to
|
||||
"Tom's Obvious Markup Language") specifies an excellent format
|
||||
(described at https://toml.io/en/) suitable for both human
|
||||
editing as well as the common uses of a machine-readable
|
||||
format. This package uses 'Rcpp' to connect the 'cpptoml'
|
||||
parser written by Chase Geigle (in C++11) to R.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -17,8 +17,8 @@ DEPEND=">=dev-lang/R-3.0.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/KernSmooth
|
||||
dev-R/MASS
|
||||
virtual/KernSmooth
|
||||
virtual/MASS
|
||||
dev-R/kernlab
|
||||
dev-R/mvtnorm
|
||||
dev-R/vcd
|
||||
|
||||
@@ -15,6 +15,6 @@ RDEPEND="${DEPEND}"
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/covr
|
||||
dev-R/ggplot2
|
||||
dev-R/lattice
|
||||
virtual/lattice
|
||||
dev-R/testthat
|
||||
"
|
||||
|
||||
@@ -33,19 +33,19 @@ SUGGESTED_PACKAGES="
|
||||
dev-R/Hmisc
|
||||
dev-R/interp
|
||||
dev-R/knitr
|
||||
dev-R/lattice
|
||||
virtual/lattice
|
||||
dev-R/mapproj
|
||||
dev-R/maps
|
||||
dev-R/maptools
|
||||
dev-R/multcomp
|
||||
dev-R/munsell
|
||||
dev-R/nlme
|
||||
virtual/nlme
|
||||
dev-R/profvis
|
||||
dev-R/quantreg
|
||||
dev-R/RColorBrewer
|
||||
dev-R/rgeos
|
||||
dev-R/rmarkdown
|
||||
dev-R/rpart
|
||||
virtual/rpart
|
||||
>=dev-R/sf-0.7.3
|
||||
>=dev-R/svglite-1.2.0.9001
|
||||
>=dev-R/testthat-2.1.0
|
||||
|
||||
1
dev-R/here/Manifest
Normal file
1
dev-R/here/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST here_1.0.1.tar.gz 32954 BLAKE2B 840269e8beaf58ef987bdb54fe51110e39d3e071da0623cb9b687d752b80714837a415fdf7618b1c6fa02fe8f5facd0aa700e82d34f6d2ca4579294af410ac71 SHA512 7710f4c85e6c24cb4f7b24c5f904535432475a4d28e29ebe957e511bc13e8806d52f2c04583335a2a0419dcf524b4e9631d62b2e8d6bcfb2d0f018ae55cd3ba2
|
||||
33
dev-R/here/here-1.0.1.ebuild
Normal file
33
dev-R/here/here-1.0.1.ebuild
Normal file
@@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages
|
||||
|
||||
DESCRIPTION='A Simpler Way to Find Your Files'
|
||||
HOMEPAGE="
|
||||
https://cran.r-project.org/package=here
|
||||
https://here.r-lib.org/
|
||||
https://github.com/r-lib/here
|
||||
"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='MIT'
|
||||
|
||||
DEPEND=">=dev-R/rprojroot-2.0.2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/conflicted
|
||||
dev-R/covr
|
||||
dev-R/fs
|
||||
dev-R/knitr
|
||||
dev-R/palmerpenguins
|
||||
dev-R/plyr
|
||||
dev-R/readr
|
||||
dev-R/rlang
|
||||
dev-R/rmarkdown
|
||||
dev-R/testthat
|
||||
dev-R/uuid
|
||||
dev-R/withr
|
||||
"
|
||||
16
dev-R/here/metadata.xml
Normal file
16
dev-R/here/metadata.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
A Simpler Way to Find Your Files // Constructs paths to your
|
||||
project's files. Declare the relative path of a file within
|
||||
your project with 'i_am()'. Use the 'here()' function as a
|
||||
drop-in replacement for 'file.path()', it will always locate
|
||||
the files relative to your project root.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
@@ -28,7 +28,7 @@ SUGGESTED_PACKAGES="
|
||||
dev-R/testit
|
||||
dev-R/digest
|
||||
>=dev-R/rgl-0.95.1201
|
||||
dev-R/codetools
|
||||
virtual/codetools
|
||||
dev-R/rmarkdown
|
||||
>=dev-R/htmlwidgets-0.7
|
||||
dev-R/webshot
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
DIST lattice-0.20.44.tar.gz 399257 BLAKE2B 98ce0b74478dc5bf2e9e1f8282a1793d38a3cabdce3e48e8bc7f9a18b438bc91e32a61195e845308892a8c290ac7326b1d842a8760903f413d8407d6901c264a SHA512 425cbe4e0efa3a53b1b5609cecd6065d4b1c6cb0eb00f4595d1446a642efb8b95da769f66081b7f106b43170dcded146151d7597a74daef4c9ec79302792f5f2
|
||||
DIST lattice_0.20-45.tar.gz 399470 BLAKE2B b228bfb8e5d8e01a0e6977bcc1f63f61d097d01bd429bf4050de00ac4e1b3230153bb418bd778c4e352201246041bd141c4d5860b7a66bd3703e7ab97feb8a05 SHA512 b27975007c86e05653ddf1b9f0188e1fdbf4497965279928b71bc7b39df5a42c05e3fcee2dbd4284dbc6f3af4e32730c259b1abb29c6632ac90571ba15e65391
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages optfeature
|
||||
|
||||
DESCRIPTION='Trellis Graphics for R'
|
||||
HOMEPAGE="http://lattice.r-forge.r-project.org/index.php"
|
||||
KEYWORDS="~amd64"
|
||||
SRC_URI="mirror://cran/src/contrib/Archive/"{$PN}"/"${PN}"_"$(ver_rs 2 '-')".tar.gz -> "${P}".tar.gz"
|
||||
LICENSE='GPL-2+'
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/R-3.0.0
|
||||
dev-lang/R[minimal]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "immer in the MASS package for data from the same experiment (expressed as total yield for 3 blocks) for a subset of varieties" dev-R/MASS
|
||||
}
|
||||
@@ -24,7 +24,7 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/KernSmooth
|
||||
dev-R/MASS
|
||||
virtual/KernSmooth
|
||||
virtual/MASS
|
||||
dev-R/latticeExtra
|
||||
"
|
||||
|
||||
@@ -22,6 +22,6 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/survival
|
||||
dev-R/MASS
|
||||
virtual/survival
|
||||
virtual/MASS
|
||||
"
|
||||
|
||||
@@ -22,6 +22,6 @@ RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/Hmisc
|
||||
dev-R/MASS
|
||||
virtual/MASS
|
||||
dev-R/SASmixed
|
||||
"
|
||||
|
||||
@@ -20,5 +20,5 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev_R/MASS
|
||||
virtual/MASS
|
||||
"
|
||||
|
||||
@@ -42,7 +42,7 @@ SUGGESTED_PACKAGES="
|
||||
dev-R/rmarkdown
|
||||
dev-R/scales
|
||||
dev-R/stringi
|
||||
dev-R/survival
|
||||
virtual/survival
|
||||
>=dev-R/testthat-3.1.1
|
||||
dev-R/tibble
|
||||
>=dev-R/units-0.7.2
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages
|
||||
|
||||
@@ -20,5 +20,5 @@ DEPEND="${RDEPEND}"
|
||||
src_prepare() {
|
||||
#do not bundle plog
|
||||
rm -rf inst/include || die
|
||||
default
|
||||
R-packages_src_prepare
|
||||
}
|
||||
|
||||
1
dev-R/png/Manifest
Normal file
1
dev-R/png/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST png_0.1-7.tar.gz 24990 BLAKE2B 97fdc6de3dc6646d09ce57cf4b294e73566ee4d2d29bd89870a84bdd2b76b1eea8925e01a272383f5cd8440eb50990fb202c96cd433992d51408661b80b02b32 SHA512 033a2a45e0fc55a9975257397162ceac0416afb47bbf266025e1ed00790ea1261d1254255aa09cd8828e034b0cd8006cc5e26c9f732ec996dcbec3c937e00f5f
|
||||
@@ -6,4 +6,10 @@
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Read and write PNG images // This package provides an easy and
|
||||
simple way to read, write and display bitmap images stored in
|
||||
the PNG format. It can read and write both files and in-memory
|
||||
raw vectors.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
23
dev-R/png/png-0.1.7.ebuild
Normal file
23
dev-R/png/png-0.1.7.ebuild
Normal file
@@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages
|
||||
|
||||
MYPV="$(ver_rs 2 -)"
|
||||
|
||||
DESCRIPTION='Read and write PNG images'
|
||||
HOMEPAGE="
|
||||
https://cran.r-project.org/package=png
|
||||
http://www.rforge.net/png/
|
||||
"
|
||||
SRC_URI="mirror://cran/src/contrib/${PN}_${MYPV}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='|| ( GPL-2 GPL-3 )'
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
media-libs/libpng
|
||||
"
|
||||
1
dev-R/rappdirs/Manifest
Normal file
1
dev-R/rappdirs/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST rappdirs_0.3.3.tar.gz 12288 BLAKE2B 2dd360804783d56269f4f9c96cfe057ba431ee9d71e69227f2338feec06cbff555d1707e01a2830647a7d7421d7dbc56452b88b985971cf1feb5d21bc1452cea SHA512 e44bbcf2d113d92751660c73fc2023270097dc7da7ef15ab7ae70ed8f9709f14646b5b6ea90af465f728db55936736015959bab19692b3e4ca45a5c5ca62fb7b
|
||||
@@ -6,4 +6,11 @@
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Application Directories: Determine Where to Save Data, Caches,
|
||||
and Logs // An easy way to determine which directories on the
|
||||
users computer you should use to save data, caches and logs. A
|
||||
port of Python's 'Appdirs'
|
||||
(https://github.com/ActiveState/appdirs) to R.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
25
dev-R/rappdirs/rappdirs-0.3.3.ebuild
Normal file
25
dev-R/rappdirs/rappdirs-0.3.3.ebuild
Normal file
@@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages
|
||||
|
||||
DESCRIPTION='Application Directories: Determine Where to Save Data, Caches, and Logs'
|
||||
HOMEPAGE="
|
||||
https://cran.r-project.org/package=rappdirs
|
||||
https://rappdirs.r-lib.org
|
||||
https://github.com/r-lib/rappdirs
|
||||
"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='MIT'
|
||||
|
||||
DEPEND=">=dev-lang/R-3.2"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/covr
|
||||
dev-R/roxygen2
|
||||
>=dev-R/testthat-3.0.0
|
||||
dev-R/withr
|
||||
"
|
||||
1
dev-R/reticulate/Manifest
Normal file
1
dev-R/reticulate/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST reticulate_1.24.tar.gz 1537517 BLAKE2B 8e2da502c5f9bd87a5c42261e2d456bc08a826c5afe690332a15d8d4c5d76a1488040ce3a436a1ce8e9eb6b5df0138ce11f32d4f46995f4fe806e5cf0f618125 SHA512 f6bcbb97162874b776adf0baa1cbd5723f232d6e15fe678b256af38b6287aa40d7266903ac3201d4e6f72b2eb0df85ef9854c4aa3dd07f02d7de2bf8b619397c
|
||||
17
dev-R/reticulate/metadata.xml
Normal file
17
dev-R/reticulate/metadata.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Interface to 'Python' // Interface to 'Python' modules, classes,
|
||||
and functions. When calling into 'Python', R data types are
|
||||
automatically converted to their equivalent 'Python' types.
|
||||
When values are returned from 'Python' to R they are converted
|
||||
back to R types. Compatible with all versions of 'Python' =
|
||||
2.7.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
54
dev-R/reticulate/reticulate-1.24.ebuild
Normal file
54
dev-R/reticulate/reticulate-1.24.ebuild
Normal file
@@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
|
||||
inherit python-single-r1 R-packages
|
||||
|
||||
DESCRIPTION='Interface to Python'
|
||||
HOMEPAGE="
|
||||
https://rstudio.github.io/reticulate/
|
||||
https://github.com/rstudio/reticulate
|
||||
https://cran.r-project.org/package=reticulate
|
||||
"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='Apache-2.0'
|
||||
|
||||
DEPEND="
|
||||
dev-R/jsonlite
|
||||
dev-R/rappdirs
|
||||
>=dev-R/Rcpp-0.12.7
|
||||
>=dev-lang/R-3.0
|
||||
dev-R/RcppTOML
|
||||
virtual/Matrix
|
||||
dev-R/here
|
||||
dev-R/png
|
||||
dev-R/withr
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
src_install() {
|
||||
R-packages_src_install
|
||||
|
||||
python_optimize "${ED}/usr/$(get_libdir)/R/site-library/reticulate/python/rpytools"
|
||||
|
||||
# enforce python implementation
|
||||
echo "RETICULATE_PYTHON=\"${PYTHON}\"" > "${T}/99reticulate" || die
|
||||
doenvd "${T}/99reticulate"
|
||||
}
|
||||
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/callr
|
||||
dev-R/knitr
|
||||
dev-R/rlang
|
||||
dev-R/rmarkdown
|
||||
dev-R/testthat
|
||||
"
|
||||
1
dev-R/txtplot/Manifest
Normal file
1
dev-R/txtplot/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST txtplot_1.0-4.tar.gz 11632 BLAKE2B 9d9332d0349461cd120b007b290a646a17014f347d4a15831edd2112a1c7749def7ee882d3a616f1bdbf4ff300a1e11ed8652e046f55431995b1344ca7798a17 SHA512 ebaaf7d685ce1ca6dd2fe09459834b452e5a82ddea0637eaceca057c34d4594e29a754e8c5ccebe7557e3a743abdd7a22f4be217d1be3fd0e56bfa05e6814b44
|
||||
@@ -6,4 +6,10 @@
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
Text Based Plots // Provides functions to produce rudimentary
|
||||
ascii graphics directly in the terminal window. Provides a
|
||||
basic plotting function (and equivalents of curve, density, acf
|
||||
and barplot) as well as boxplot and image functions.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
14
dev-R/txtplot/txtplot-1.0.4.ebuild
Normal file
14
dev-R/txtplot/txtplot-1.0.4.ebuild
Normal file
@@ -0,0 +1,14 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit R-packages
|
||||
|
||||
MYPV=$(ver_rs 2 -)
|
||||
|
||||
DESCRIPTION='Text Based Plots'
|
||||
SRC_URI="mirror://cran/src/contrib/${PN}_${MYPV}.tar.gz"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='LGPL-3+'
|
||||
@@ -17,7 +17,7 @@ SUGGESTED_PACKAGES="
|
||||
dev-R/covr
|
||||
dev-R/DBI
|
||||
dev-R/knitr
|
||||
dev-R/lattice
|
||||
virtual/lattice
|
||||
dev-R/rlang
|
||||
>=dev-R/rmarkdown-2,12
|
||||
dev-R/RSQLite
|
||||
|
||||
@@ -12,7 +12,7 @@ LICENSE='MIT'
|
||||
SUGGESTED_PACKAGES="
|
||||
dev-R/testit
|
||||
dev-R/parallel
|
||||
dev-R/codetools
|
||||
virtual/codetools
|
||||
dev-R/rstudioapi
|
||||
>=dev-R/tinytex-0.30
|
||||
dev-R/mime
|
||||
|
||||
1
dev-cpp/cpptoml/Manifest
Normal file
1
dev-cpp/cpptoml/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST cpptoml-0.1.1.tar.gz 47398 BLAKE2B c0ce036bec4731c4dfe96d01076b9ca18a1c4108180d5dbc839dfc44b37eb0c7af85f685a6356ef92fa684219e2883dd341e64a2012505dacc3df73dfb9e28ca SHA512 14edce576514d53a7e13562d7f8d2b66ea2b95f44038396c0e26232ec81783042ebecec31ee272a99afef96d5c8582a8e81ea5167a787844b98de6ee6f545cc5
|
||||
28
dev-cpp/cpptoml/cpptoml-0.1.1.ebuild
Normal file
28
dev-cpp/cpptoml/cpptoml-0.1.1.ebuild
Normal file
@@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Header-only library for parsing TOML"
|
||||
HOMEPAGE="https://github.com/skystrife/cpptoml"
|
||||
SRC_URI="https://github.com/skystrife/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="libcxx examples"
|
||||
|
||||
RDEPEND="libcxx? ( sys-libs/libcxx )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES="${FILESDIR}/${P}-limits.patch"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DCPPTOML_BUILD_EXAMPLES=$(usex examples)
|
||||
-DENABLE_LIBCXX=$(usex libcxx)
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
15
dev-cpp/cpptoml/files/cpptoml-0.1.1-limits.patch
Normal file
15
dev-cpp/cpptoml/files/cpptoml-0.1.1-limits.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
From c55a516e90133d89d67285429c6474241346d27a Mon Sep 17 00:00:00 2001
|
||||
From: Dirk Eddelbuettel <edd@debian.org>
|
||||
Date: Mon, 30 Nov 2020 09:41:49 -0600
|
||||
Subject: [PATCH] g++-11 requires limits header
|
||||
|
||||
--- a/include/cpptoml.h
|
||||
+++ b/include/cpptoml.h
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <iomanip>
|
||||
+#include <limits>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <sstream>
|
||||
22
dev-cpp/cpptoml/metadata.xml
Normal file
22
dev-cpp/cpptoml/metadata.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<longdescription lang="en">
|
||||
A header-only library for parsing TOML configuration files.
|
||||
|
||||
Targets: TOML v0.5.0 as of August 2018.
|
||||
|
||||
This includes support for the new DateTime format, inline tables, multi-line basic and raw strings, digit separators, hexadecimal integers, octal integers, binary integers, and float special values.
|
||||
</longdescription>
|
||||
<maintainer type="person">
|
||||
<description>co-maintainers welcome</description>
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ddemidov/vexcl</remote-id>
|
||||
</upstream>
|
||||
<use>
|
||||
<flag name="libcxx">Use libc++ for the C++ standard library</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -26,7 +26,7 @@ RDEPEND="
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( <dev-cpp/gtest-1.11.0 )
|
||||
test? ( >=dev-cpp/gtest-1.8.0 )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
DIST simpleini-4.17_p20210901.tar.gz 60224 BLAKE2B f9d33d7f170d939faf6188a9158b392276f2edc0d4d5a79a3dcd156e429c70cf3a7a9824c54357701ea09d093992b06f2fe66c9be0d29c72b8ceb5fa653bc6a8 SHA512 73270deeb13d7eb480ff3fa0a48501fc33e8459de2d2b1a082e42f5ec1e77c489ef896dde6395d197ee995dbac3cbe3234af7c28fad8e0ed6ab7f7e06575cc7e
|
||||
@@ -1,35 +0,0 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
SIMPLEINI_COMMIT="67156f64b3447ce1eb81d6be44d29132fb49b70a"
|
||||
|
||||
DESCRIPTION="C++ library for reading/writing INI files"
|
||||
HOMEPAGE="https://github.com/brofield/simpleini"
|
||||
SRC_URI="https://github.com/brofield/simpleini/archive/${SIMPLEINI_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}/simpleini-${SIMPLEINI_COMMIT}"
|
||||
|
||||
src_compile() {
|
||||
$(tc-getCC) ${CFLAGS} -c ConvertUTF.c -o ConvertUTF.o || die
|
||||
$(tc-getCC) -shared -fPIC ${LDFLAGS} ConvertUTF.o -o libsimpleini.so || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dolib.so libsimpleini.so
|
||||
|
||||
insinto /usr/include/simpleini
|
||||
doins SimpleIni.h ConvertUTF.h
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
DIST xdgpp-01.patch 18645 BLAKE2B f91bbfb9117fa22a38003cf78d1e249ffcbb908433b7648c0444120495ed98929c99294805c79eab737c879d5a0e2d48ff09ea7ffee607ade36c23e810a07c6d SHA512 ee25622cd55c9f06b6e41b83d9853f96b88f82508c70fa57c35c010d8ff4f070a62b958c296bef68e5cdef0b887a3ef998556e2c1b0281fd9dc2b20999e4099e
|
||||
DIST xdgpp-02.patch 1686 BLAKE2B 0dd3f836056009f51ca4fde5f17d74ebb9f90d4d564e9af6d7cd8e561251f31021c0414f01f253e2355dc0079929b4626daa8189294b4a48144d4127e3549a02 SHA512 9341eb4994a4705eebcce1793d5a5a2ed4e5031a7ee535b30f9ccfab153f04c13bf50f7f318f2bcda027a9aebab799888310e5192e1925de83bc8606003495d0
|
||||
DIST xdgpp-03.patch 2242 BLAKE2B af4ccd6c023fe17b8cf69514915e5f29581528dee3a971b9c49796fc16a67da8c0bb1a042a65970a4e0e98341bf7bada6236325df78f324d520bc3c3c9ee2731 SHA512 6dc7dd203957f6c9bf33dc387af293edb01c29639d21eee2757da9c0f3da1f60113cd4eb088f2c96bf7f2d528b6ad1056abe495b2bfd27f516c9050b0034f648
|
||||
DIST xdgpp-04.patch 941 BLAKE2B 276192f42ae1dc85a09a6b894b93fc2add1c6438b8696f8adb5fd2a55e2ce60daf97310e577d60fb779ab60863bcc41b0f18ce8e4ac13e61dd65db684287fc50 SHA512 1f55e78237945226743b862899fbce20ff88261e3d51eabd049c093f6780b5b14a159d2193caade7a8c5f048f3c9f082566146c1812b499280717c5c6afd9f46
|
||||
DIST xdgpp-05.patch 1468 BLAKE2B f2f350c0c602f00d1703fb7910f1d9c8d460aecdbfbdc50119ab66ba001888388b41a0f8097c09dd4fa6f8b903cbd52534d0c9f1ef0813f6679533bb734c4649 SHA512 79a0b7fb8c9ad289ef5a7d6b358c84f3f99cfb42f75a3fd8582a17dc6230a14238e52378fa5861963d5a1a5d6b1fbf740b3011c560d96d6b141ea57f38ee016b
|
||||
DIST xdgpp-06.patch 1554 BLAKE2B 317ba86d06c3bd6c423f6a3d15e0ee9e0c58a50f9bdf00c38282db381e299a4ee6f3fb32fa7f393cf6480c6bb3427c230997c31f1ae07cad22cea27d5e1ceb54 SHA512 e5c85c67bd82cd5f2243869bbdc5315e98e93c1797823733f279136e1ee78acd326ea4046199d7cc3916d074a042c74135f0cf7d9a7031a99dd40cc2a6159b6e
|
||||
DIST xdgpp-07.patch 783 BLAKE2B 1754e87fa6abb54f4a501ab5961e8a4fcfdadcedaf943a08adee85860ffdbd35f3c96f484bad3d5a99d7c9fbc32f5225e4506072d86663ae04710ecc6c6bb89b SHA512 1eafdd63fd4dce0e86819c6a794530699fd357aeef2084b258bda673457b17d42356d183a73fce45474a5363664c1b9d360e86735754f8a43f85adaaa8d07673
|
||||
DIST xdgpp-08.patch 776 BLAKE2B ca3ad59674c3b37d803881701114bb1960ab39b5e28faba50d5dfaced0c9669c30f16039d4389a059ca8985e4af88ab860da0ace758959fb74b463562b43dfdf SHA512 686a1b7da86356270fdb8f3d6f3455cea7410174124768a037770a050d4d2750fea9ca20317102a905ef1db2f09fb4fccb1c1d00e0dd8edab02b43899183b620
|
||||
DIST xdgpp-09.patch 1283 BLAKE2B 0a55ee1e9de425ffc09b7612f83df7c5242cc1997e9a0a8dd7607b423a6a22ace94e89bcdb3f9a6734d9737d7b8f004525f581e496a4451f2514d5a758f385c1 SHA512 ddf667ce44d29c683c22e6c808e90398dbd9b83ed0544d9032536eb2f4d1054d61c1b3af2234280292505dba526bfe6c069601564927c223184770e55aa1951d
|
||||
DIST xdgpp-01.patch 18645 BLAKE2B 49c1a9824509d874f6c5c8ddbff5299f5e5dfc224434700547d20841097d648157b144f31290a91cc9197c617405c481d60a21d25ed0802ac7c8c2bccb1e5b8a SHA512 d1a7b6fa687930e85c42fc3048238f34fead204f5d1948d9284e889b9492376c1576f508f6918fcf1936b96f11f8ab76c9484b73325226c54e355c0659fd0b86
|
||||
DIST xdgpp-02.patch 1686 BLAKE2B 30a02fe89511e58151e0c0132e3cae2b1c4d3b462c1e6358b35813359877f86590dcb1b8b61b7687560b2f26184e4000a11498f9316e85b7063d023bab094e3f SHA512 48dca1946df5bd09947a12c18dd53f4be2e5893a94c5bd1640bc55cf88bf69c322fcb6f08e5ca8ccd8bb5ad859b7d988270bf051465dad95541f48b7b3a12992
|
||||
DIST xdgpp-03.patch 2242 BLAKE2B fe33f6bdd9a5c402e05e23fb5f229101a3fbf3409b3efe4a4ac3e494b49068d5f1646c04ec68160469bc8328b595fc11e805a256af54bf7a1e4d9ed9bbfade3e SHA512 aed9f0d441def42b65fdc986971d00b8bb0c262a805aa577fa538078c6dac2be2be12d93e8d516cbd23d0580410b4dfef4f9b9218ff3e02a3f90975a70e31222
|
||||
DIST xdgpp-04.patch 941 BLAKE2B e3002b1c5c131c241cfbc1e76f5b0786d3d40f049b3ed6505deb96902afae90a0549eb954fea137031065f410939817be2f61d4bde3b8cc8404c4bf2fe8e24f4 SHA512 3a8b08d06d1c962b9851c81e2e0fe1976a24e8c18753aff3879e7e86ba82f7245ec10445942a192682771a024b2ccb28e46e6f19fc0787ba58d391540e85c8e4
|
||||
DIST xdgpp-05.patch 1468 BLAKE2B 534697ff42f953e1d5deb528942dae915b750635d551f6c568700d41568244d04002fd9ad54394133b6556bc7335654ce0eff01e3a3f3a13fcb432b5351c0337 SHA512 03877de429262700fe64988dde2ce08c25b1ca8e783d564da46a4777d6e87b09c36bfad4459f5e22ca4d03b56636994168cd9f781b69fef71619ce1b2b9c667a
|
||||
DIST xdgpp-06.patch 1554 BLAKE2B b06c73001dc566bac84a1612cae746a3116cdb744bc95ccefd6df78c7f31dd041a6e5b43e94fd4a039625d7d8a782a33551a852f840b3737b4c531b7eeb5a720 SHA512 9220f137ffe4755557738cc6c4b5585d3d3799067d2656b09bdd014cb5fe3908bfdfd56690c2e1d04356fdeb1988715d98a52790376fc1353437e2a1ea7c8686
|
||||
DIST xdgpp-07.patch 783 BLAKE2B 42603b39566fc7c3aa53f8080377f513d4016a264805249c976b6dbfca3386004bfb45b3b0e4a6f71305abec68b2390f02e90bcdcb0bdfd3d2e3c4861017a232 SHA512 490cc872c3ebaf9c19d489fb9de26da49f06791ad17c37f8dd97acee61ab3e0a21591d2f7d670937a12a398f7d814fd4822105f41736e84d6371c48bba068a08
|
||||
DIST xdgpp-08.patch 776 BLAKE2B ce9ef459d271d0f02ee42529f9bbc5b93ea1b6f5bc4be2247a3603152b829d093fee54e86fed066a5fd5f90d8991b3db07a4a203e3a13b8c13932d1e82bcdc27 SHA512 e8e475ec404204b1c3c4e8d7ad4108f1302c61803a3a5214d0e6781ff4975a92874e80a0cd2f6aa26d8e05252e98ce954a9a658096a3ff548774912c0859b6a7
|
||||
DIST xdgpp-09.patch 1283 BLAKE2B 930f0adc40775a7eb805d7d667d58ac5fd588a17c37ac331d326b5af513030a749641af3ff8c85134a876f9dd3fb915be805a4a6f09a5350f9ea6e27a7ae6ef3 SHA512 b3ff2dad29550e729038f6dd2c79138b712f460638a2add2515dc56cc3eff612be56281cd7e57336ea1113683093e7a185cea602a1396899db20c04b44b66807
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -1,9 +1,9 @@
|
||||
-CFLAGS+=-Wuninitialized
|
||||
+CFLAGS+=-Wuninitialized -I. -fPIE
|
||||
|
||||
all: example-codelock example-buffer example-small
|
||||
|
||||
-example-codelock: example-codelock.c pt.h lc.h
|
||||
+example-codelock: example-codelock.c
|
||||
|
||||
-example-buffer: example-buffer.c pt.h lc.h
|
||||
+example-buffer: example-buffer.c
|
||||
|
||||
-example-small: example-small.c pt.h lc.h
|
||||
+example-small: example-small.c
|
||||
@@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
@@ -11,6 +11,7 @@ SRC_URI="
|
||||
https://web.archive.org/web/20190518175329/http://dunkels.com/adam/download/pt-${PV}.tar.gz -> ${P}.tar
|
||||
https://web.archive.org/web/20190518175329/http://dunkels.com/adam/download/graham-pt.h
|
||||
"
|
||||
S="${WORKDIR}/pt-${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
@@ -18,18 +19,23 @@ KEYWORDS="~amd64"
|
||||
IUSE="doc examples"
|
||||
|
||||
BDEPEND="doc? ( app-doc/doxygen )"
|
||||
PATCHES=( "${FILESDIR}/respect-cflags.patch" )
|
||||
S="${WORKDIR}/pt-${PV}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-respect-cflags.patch"
|
||||
"${FILESDIR}/${P}-fix-clang-build.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
cp "${DISTDIR}/graham-pt.h" "${S}"
|
||||
cp "${DISTDIR}/graham-pt.h" "${S}" || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export CC=$(tc-getCC)
|
||||
default
|
||||
use doc && cd doc && emake
|
||||
tc-export CC
|
||||
use examples && emake
|
||||
if use doc ; then
|
||||
pushd doc || die
|
||||
emake
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
@@ -46,7 +52,7 @@ src_install() {
|
||||
if use examples ; then
|
||||
insinto "/usr/share/${P}/examples"
|
||||
doins *.c
|
||||
exeinto "/usr/libexec/${P}"
|
||||
exeinto "/usr/libexec/${PN}"
|
||||
doexe example-buffer
|
||||
doexe example-codelock
|
||||
doexe example-small
|
||||
@@ -6,7 +6,10 @@ EAPI=7
|
||||
inherit opam
|
||||
|
||||
DESCRIPTION="Persistent-mode afl-fuzz for ocaml"
|
||||
HOMEPAGE="https://github.com/stedolan/ocaml-afl-persistent"
|
||||
HOMEPAGE="
|
||||
https://github.com/stedolan/ocaml-afl-persistent
|
||||
https://opam.ocaml.org/packages/afl-persistent/
|
||||
"
|
||||
SRC_URI="https://github.com/stedolan/ocaml-afl-persistent/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/ocaml-${P}"
|
||||
|
||||
@@ -14,7 +17,7 @@ LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="dev-ml/base-unix"
|
||||
RDEPEND="dev-lang/ocaml:="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DIST async_find-0.14.0.tar.gz 5824 BLAKE2B 0cb00561205fc2a6339bb9e6eacefeff784aef8811469f9ddb2c0916eaf4fe4b25e8433efe4519a84db592d010ca8ec312e6c499cd38b3341b25ff31c3ad4c10 SHA512 46a4127bc47dc5f2e547aa26440f5c6b0f04c625a93485b91748e95aeb1eb2a0046eaea79366f556f6135abb6e16c6373d54ff8453526fa9aa6886363468de8c
|
||||
DIST async_find-0.15.0.tar.gz 5785 BLAKE2B 4186658bb411fe16e27da64aeefa7cfe00c73572241663de82142484da2b88d673097b1248a3eeaf783d5d0550f6bb50a3cf9ee62f4746ea63484e55fb0e028b SHA512 37d46686fd7e4809b859474a10600fb9926d9d573fcdcac1a1f62b3a5eda6503d2d0af400e5fafa3b1698710e2be6b7a0cbba4e988307f36c104eb2aff1e091e
|
||||
|
||||
26
dev-ml/async_find/async_find-0.14.0.ebuild
Normal file
26
dev-ml/async_find/async_find-0.14.0.ebuild
Normal file
@@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="Directory traversal with Async"
|
||||
HOMEPAGE="
|
||||
https://github.com/janestreet/async_find
|
||||
https://opam.ocaml.org/packages/async_find/
|
||||
"
|
||||
SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/ocaml-4.08.0:=[ocamlopt?]
|
||||
=dev-ml/async-0.14*
|
||||
=dev-ml/core-0.14*
|
||||
=dev-ml/ppx_jane-0.14*
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
@@ -1 +1 @@
|
||||
DIST async_inotify-0.15.0.tar.gz 8182 BLAKE2B f1c42be4b2206f7cb330af3fb333ff54a9923350711137d3eeca97231b3babdf73ea296084c213028cbd108071be00f8aaadcfa9b174cedc4ad8f940ea9103c8 SHA512 d3f0d5886ee113ae9e5f9d2440a9fb497eb19c41afb64f8427bcb9c0a5c6b45e176b4570cd3f196ad0f752de1188ed632f89270f57498ab89963df93efa79c02
|
||||
DIST async_inotify-0.14.0.tar.gz 6659 BLAKE2B 8df69b030978593b6df4010a68d8a874fd4281338937b76a943d90b588698d177b9e8df29767e605fab27ce4772b1aee5401737864b918b6d20389ac0f7b2c42 SHA512 219b66e668b332b6891a32cafb7ab03d8123c580badaf0f34df870c08a1259e0f32ba708cc4432a0d71eaa01774a5de1701b1964437a1784d02e6b396aa6cf82
|
||||
|
||||
@@ -15,11 +15,12 @@ KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt"
|
||||
|
||||
DEPEND="
|
||||
dev-ml/core_unix
|
||||
dev-ml/async
|
||||
dev-ml/async_find
|
||||
dev-ml/core
|
||||
dev-ml/ppx_jane
|
||||
dev-ml/inotify
|
||||
>=dev-lang/ocaml-4.08.0:=[ocamlopt?]
|
||||
=dev-ml/core_unix-0.14*:=
|
||||
=dev-ml/async-0.14*:=
|
||||
=dev-ml/async_find-0.14*:=
|
||||
=dev-ml/core-0.14*:=
|
||||
=dev-ml/ppx_jane-0.14*:=
|
||||
>=dev-ml/inotify-0.2.0:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
@@ -1,13 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Bytes library distributed with the OCaml compiler"
|
||||
HOMEPAGE="https://opam.ocaml.org/packages/base-bytes/"
|
||||
|
||||
LICENSE="QPL-1.0 LGPL-2"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-lang/ocaml"
|
||||
@@ -1,13 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Threads library distributed with the OCaml compiler"
|
||||
HOMEPAGE="https://opam.ocaml.org/packages/base-threads/"
|
||||
|
||||
LICENSE="QPL-1.0 LGPL-2"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-lang/ocaml"
|
||||
@@ -1,13 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Unix library distributed with the OCaml compiler"
|
||||
HOMEPAGE="https://opam.ocaml.org/packages/base-unix/"
|
||||
|
||||
LICENSE="QPL-1.0 LGPL-2"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="dev-lang/ocaml"
|
||||
@@ -58,7 +58,6 @@ RDEPEND="
|
||||
>=dev-ml/lwt-3.0.0:=
|
||||
)
|
||||
lwt-unix? (
|
||||
dev-ml/base-unix:=
|
||||
dev-ml/cmdliner:=
|
||||
>=dev-ml/conduit-5.0.0:=[lwt,lwt-unix]
|
||||
>=dev-ml/fmt-0.8.2:=
|
||||
|
||||
@@ -8,7 +8,10 @@ inherit dune multiprocessing
|
||||
MYPN="ocaml-${PN}"
|
||||
|
||||
DESCRIPTION="Dereference URIs into communication channels for Async or Lwt"
|
||||
HOMEPAGE="https://github.com/mirage/ocaml-conduit"
|
||||
HOMEPAGE="
|
||||
https://github.com/mirage/ocaml-conduit
|
||||
https://opam.ocaml.org/packages/conduit/
|
||||
"
|
||||
SRC_URI="https://github.com/mirage/${MYPN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MYPN}-${PV}"
|
||||
|
||||
@@ -19,42 +22,39 @@ IUSE="async lwt lwt-unix mirage ocamlopt"
|
||||
|
||||
# lwt-unix? tls lwt_ssl launchd
|
||||
RDEPEND="
|
||||
dev-ml/astring
|
||||
dev-ml/ipaddr[sexp]
|
||||
dev-ml/logs
|
||||
dev-ml/ppx_sexp_conv
|
||||
dev-ml/sexplib
|
||||
dev-ml/uri
|
||||
dev-ml/astring:=
|
||||
dev-ml/ipaddr:=[sexp]
|
||||
dev-ml/logs:=
|
||||
dev-ml/ppx_sexp_conv:=
|
||||
dev-ml/sexplib:=
|
||||
dev-ml/uri:=
|
||||
dev-lang/ocaml:=[ocamlopt?]
|
||||
|
||||
async? (
|
||||
dev-ml/async
|
||||
dev-ml/async_ssl
|
||||
dev-ml/core
|
||||
dev-ml/ppx_here
|
||||
)
|
||||
lwt? (
|
||||
dev-ml/base-unix
|
||||
dev-ml/lwt
|
||||
dev-ml/async:=
|
||||
dev-ml/async_ssl:=
|
||||
dev-ml/core:=
|
||||
dev-ml/ppx_here:=
|
||||
)
|
||||
lwt? ( dev-ml/lwt:= )
|
||||
lwt-unix? (
|
||||
dev-ml/base-unix
|
||||
dev-ml/ca-certs
|
||||
dev-ml/lwt
|
||||
dev-ml/ca-certs:=
|
||||
dev-ml/lwt:=
|
||||
)
|
||||
mirage? (
|
||||
dev-ml/base
|
||||
dev-ml/ca-certs-nss
|
||||
dev-ml/cstruct
|
||||
dev-ml/dns[client]
|
||||
dev-ml/fmt
|
||||
dev-ml/mirage-clock
|
||||
dev-ml/mirage-flow[combinators]
|
||||
dev-ml/mirage-random
|
||||
dev-ml/mirage-time
|
||||
dev-ml/tcpip
|
||||
dev-ml/tls[mirage]
|
||||
dev-ml/vchan
|
||||
dev-ml/xenstore
|
||||
dev-ml/base:=
|
||||
dev-ml/ca-certs-nss:=
|
||||
dev-ml/cstruct:=
|
||||
dev-ml/dns:=[client]
|
||||
dev-ml/fmt:=
|
||||
dev-ml/mirage-clock:=
|
||||
dev-ml/mirage-flow:=[combinators]
|
||||
dev-ml/mirage-random:=
|
||||
dev-ml/mirage-time:=
|
||||
dev-ml/tcpip:=
|
||||
dev-ml/tls:=[mirage]
|
||||
dev-ml/vchan:=
|
||||
dev-ml/xenstore:=
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
@@ -6,7 +6,10 @@ EAPI=8
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="Unix-specific extensions to some of the modules defined in [core] and [core_kernel]"
|
||||
HOMEPAGE="https://github.com/janestreet/core_unix"
|
||||
HOMEPAGE="
|
||||
https://github.com/janestreet/core_unix
|
||||
https://opam.ocaml.org/packages/core_unix/
|
||||
"
|
||||
SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
@@ -15,17 +18,8 @@ KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt"
|
||||
|
||||
RDEPEND="
|
||||
dev-ml/core_kernel
|
||||
dev-ml/expect_test_helpers_core
|
||||
dev-ml/core
|
||||
dev-ml/ppx_jane
|
||||
dev-ml/jane-street-headers
|
||||
dev-ml/jst-config
|
||||
dev-ml/ocaml_intrinsics
|
||||
dev-ml/sexplib
|
||||
dev-ml/timezone
|
||||
dev-ml/base-threads
|
||||
dev-ml/spawn
|
||||
=dev-ml/core-0.14*:=
|
||||
>=dev-lang/ocaml-4.08.0:=[ocamlopt?]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
|
||||
@@ -27,16 +27,12 @@ RDEPEND="
|
||||
dev-ml/async_unix:=
|
||||
dev-ml/core:=
|
||||
)
|
||||
lwt? (
|
||||
dev-ml/base-unix:=
|
||||
dev-ml/lwt:=
|
||||
)
|
||||
lwt? ( dev-ml/lwt:= )
|
||||
ppx? (
|
||||
dev-ml/ppxlib:=
|
||||
dev-ml/stdlib-shims:=
|
||||
)
|
||||
sexp? ( dev-ml/sexplib:= )
|
||||
unix? ( dev-ml/base-unix:= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
DIST ezxenstore-0.3.1.tar.gz 6574 BLAKE2B 380e08223510eab7d8e0883fb723329970e94f5bf1bdee873f1d8974c13a2338a83d6815026ecee73290842bffe87fa279574fa8fcf9b3582b0c63f8e97424cd SHA512 5fd695811323b3882be2da5088ee0e28d7a9e6321b0cd17d4a4af21fa35caddd38130b6dfa2a259ec75fe2db91e5eaf6a637226f4338392462bc507f094506ab
|
||||
@@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="An easy-to-use Xenstore library"
|
||||
HOMEPAGE="https://github.com/xapi-project/ezxenstore"
|
||||
SRC_URI="https://github.com/xapi-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt"
|
||||
|
||||
DEPEND="
|
||||
dev-ml/cmdliner
|
||||
dev-ml/logs
|
||||
dev-ml/uuidm
|
||||
dev-ml/xenctrl
|
||||
dev-ml/xenstore
|
||||
dev-ml/xenstore-clients
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>lssndrbarbieri@gmail.com</email>
|
||||
<name>Alessandro Barbieri</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">xapi-project/ezxenstore</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -8,7 +8,10 @@ MYPN="ocaml-${PN}"
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="Send and receive Unix.file_descrs over Unix domain sockets"
|
||||
HOMEPAGE="https://github.com/xapi-project/ocaml-fd-send-recv"
|
||||
HOMEPAGE="
|
||||
https://github.com/xapi-project/ocaml-fd-send-recv
|
||||
https://opam.ocaml.org/packages/fd-send-recv/
|
||||
"
|
||||
SRC_URI="https://github.com/xapi-project/${MYPN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${MYPN}-${PV}"
|
||||
|
||||
@@ -17,5 +20,7 @@ SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt"
|
||||
|
||||
DEPEND="dev-ml/tuntap"
|
||||
DEPEND="dev-ml/tuntap:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="test" # tests require sudo
|
||||
|
||||
@@ -9,7 +9,10 @@ COMMIT="b340204c72ae3ff27def6e116c1998485fc3227e"
|
||||
MYPN="ocaml-${PN}"
|
||||
|
||||
DESCRIPTION="OCaml bindings for inotify"
|
||||
HOMEPAGE="https://github.com/whitequark/ocaml-inotify"
|
||||
HOMEPAGE="
|
||||
https://github.com/whitequark/ocaml-inotify
|
||||
https://opam.ocaml.org/packages/inotify/
|
||||
"
|
||||
SRC_URI="https://github.com/whitequark/${MYPN}/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz"
|
||||
S="${WORKDIR}/${MYPN}-${COMMIT}"
|
||||
|
||||
@@ -18,12 +21,9 @@ SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt test"
|
||||
|
||||
RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
|
||||
DEPEND="
|
||||
dev-ml/base-unix:=
|
||||
dev-ml/base-bytes:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-ml/ounit2
|
||||
dev-ml/ocaml-fileutils
|
||||
|
||||
@@ -1,2 +1,4 @@
|
||||
DIST io-page-3.0.0.tbz 7967 BLAKE2B 51f233dd6a1f16ace6b3f461ca41f191ee0d54877970955f652728ee865a76c375ed2cc06310dab91dedcf391e00227311a79f5acb226c640693b032330ae4da SHA512 777e5cf4cb82bfc21d026ea2a44a2c30f388a2daa570ad30a396d498b7e4845c0b887402fc002560e2bf17dd49ee7c9839675a3c587e6104f395997eef3c9667
|
||||
DIST io-page-v2.2.0.tbz 7961 BLAKE2B 6c8621fb1300d92b9e7fe1c371d4f3035927753727527f1587a6c0b6b8c5d979053b25b52309a1f97e844ec776e0b832725954ebe55501bb98dfd851f1ff9c0d SHA512 4240bbc0c7b6c8c1bc0b628fcde51c73bc7f6e49b2cd7157e32d3277d1fe31f0604829a1ae49c84524922d3954ead870e02d215768310b21a0b1f57ee7344294
|
||||
DIST io-page-v2.3.0.tbz 8035 BLAKE2B 1272a50433e53c4371a496cffdea43ffecada2bd37a69140cf24549d4f4b29430452ca35143ffa21546155db904f0d945f0adf8adc00b6692fadf30a039b6f42 SHA512 ce1775bff151d62bb85405a13fe75f912c11b09cbc0a6dd81dd27b3f4c767f0b9c4d3e7383d494eb5c130311482ea69877c45b71b91153177562ffc47de4da2f
|
||||
DIST io-page-v2.4.0.tbz 7750 BLAKE2B d97a19b52d74283c0577f76962f6f685ee716cf51f8e79c480a110a2bf7e1197d7e463b5bbbdec9997a81b5c606191de2a0918d146cbe7374cf84250d354fbc8 SHA512 4dcaff2132a74c7e69ab743534d913b15690f6deef02a94997dc61c08c62f735faf6fb1466f2f3af719fede8237da6a6b808cec45e1147c688ff240a02dc133e
|
||||
|
||||
25
dev-ml/io-page/files/io-page-2.3.0-ounit2.patch
Normal file
25
dev-ml/io-page/files/io-page-2.3.0-ounit2.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
diff --git a/io-page-unix.opam b/io-page-unix.opam
|
||||
index e7fa02a..42ba985 100644
|
||||
--- a/io-page-unix.opam
|
||||
+++ b/io-page-unix.opam
|
||||
@@ -10,7 +10,7 @@ depends: [
|
||||
"dune"
|
||||
"io-page" {=version}
|
||||
"cstruct" {>= "2.0.0"}
|
||||
- "ounit" {with-test}
|
||||
+ "ounit2" {with-test}
|
||||
]
|
||||
build: [
|
||||
["dune" "subst"] {pinned}
|
||||
diff --git a/lib_test/dune b/lib_test/dune
|
||||
index 254e49e..5531760 100644
|
||||
--- a/lib_test/dune
|
||||
+++ b/lib_test/dune
|
||||
@@ -1,6 +1,6 @@
|
||||
(executables
|
||||
(names portable)
|
||||
- (libraries io-page-unix io-page oUnit))
|
||||
+ (libraries io-page-unix io-page ounit2))
|
||||
|
||||
(alias
|
||||
(name runtest)
|
||||
46
dev-ml/io-page/io-page-2.3.0.ebuild
Normal file
46
dev-ml/io-page/io-page-2.3.0.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune multiprocessing
|
||||
|
||||
MY_P="${PN}-v${PV}"
|
||||
|
||||
DESCRIPTION="IO memory page library for Mirage backends"
|
||||
HOMEPAGE="
|
||||
https://github.com/mirage/io-page
|
||||
https://opam.ocaml.org/packages/io-page/
|
||||
"
|
||||
SRC_URI="https://github.com/mirage/io-page/releases/download/v${PV}/${MY_P}.tbz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt test unix"
|
||||
|
||||
RDEPEND="
|
||||
dev-ml/bigarray-compat:=
|
||||
>=dev-ml/cstruct-2.0.0:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-ml/ounit2 )
|
||||
unix? ( dev-ml/configurator )
|
||||
"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
REQUIRED_USE="test? ( unix )"
|
||||
PATCHES="${FILESDIR}/${PN}-2.3.0-ounit2.patch"
|
||||
|
||||
src_compile() {
|
||||
local pkgs="io-page"
|
||||
use unix && pkgs="${pkgs},io-page-unix"
|
||||
dune build -p "${pkgs}" -j $(makeopts_jobs) || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dune_src_install io-page
|
||||
use unix && dune_src_install io-page-unix
|
||||
}
|
||||
31
dev-ml/io-page/io-page-3.0.0.ebuild
Normal file
31
dev-ml/io-page/io-page-3.0.0.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="IO memory page library for Mirage backends"
|
||||
HOMEPAGE="
|
||||
https://github.com/mirage/io-page
|
||||
https://opam.ocaml.org/packages/io-page/
|
||||
"
|
||||
SRC_URI="https://github.com/mirage/io-page/releases/download/v${PV}/${P}.tbz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/ocaml-4.08.0:=[ocamlopt?]
|
||||
>=dev-ml/cstruct-2.0.0:=
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? ( dev-ml/ounit2 )
|
||||
"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
PATCHES="${FILESDIR}/${PN}-2.4.0-ounit2.patch"
|
||||
@@ -14,5 +14,6 @@ SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt"
|
||||
|
||||
RDEPEND="dev-ml/dune-configurator"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-ml/dune-configurator"
|
||||
|
||||
RESTRICT="test" # even upstream doesn't know how to test
|
||||
|
||||
@@ -6,7 +6,10 @@ EAPI=8
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="OCaml bindings for Linux epoll(2)"
|
||||
HOMEPAGE="https://github.com/lindig/polly"
|
||||
HOMEPAGE="
|
||||
https://github.com/lindig/polly
|
||||
https://opam.ocaml.org/packages/polly/
|
||||
"
|
||||
SRC_URI="https://github.com/lindig/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
@@ -14,8 +17,8 @@ SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt"
|
||||
|
||||
DEPEND="
|
||||
dev-ml/base-unix
|
||||
dev-ml/cmdliner
|
||||
RDEPEND="
|
||||
dev-lang/ocaml:=[ocamlopt?]
|
||||
dev-ml/cmdliner:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST qmp-0.17.0.tar.gz 24131 BLAKE2B bcf594c77cdcc4d6810008a841db25240bca350a2e6bd2e71919207aa6c96d7649836a916c3e38b262607dc17312ac79dce1ff97e6b5d45efb155808ff756bd1 SHA512 b8e295cb0664b6e74a5c3c536132e71185c484d008d319b0eb802959d1e11322c958739e73cf24809a323fdf8b55a9b01431d8f4d1b1e95d5d42f38645ad8892
|
||||
DIST qmp-0.18.0.tar.gz 24630 BLAKE2B 3953fda549d913e032e1b2f70dfd50215f56b4faf253ea65f961ad62d93be954fd902ca3bfb1b1ead487999267d2cec37df1ebb66108a58071858e7290576d84 SHA512 2fab5ba1b2ee81fb738a827dcd037be400704613c68cd37fccb18693b8332fa9904a30e425aadbd72407958f2dacbb89b244ec64572c2510554f524034d459b2
|
||||
|
||||
37
dev-ml/qmp/files/qmp-0.18.0-ounit2.patch
Normal file
37
dev-ml/qmp/files/qmp-0.18.0-ounit2.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
diff --git a/README.md b/README.md
|
||||
index cc6df4b..0595368 100644
|
||||
--- a/README.md
|
||||
+++ b/README.md
|
||||
@@ -8,7 +8,7 @@ OCaml implementation of the Qemu Monitor Protocol (QMP)
|
||||
Install the dependencies using OPAM:
|
||||
|
||||
```sh
|
||||
-opam install yojson cmdliner dune ounit
|
||||
+opam install yojson cmdliner dune ounit2
|
||||
```
|
||||
|
||||
Build the library, tests, and CLI:
|
||||
diff --git a/lib_test/dune b/lib_test/dune
|
||||
index acc68b9..a587594 100644
|
||||
--- a/lib_test/dune
|
||||
+++ b/lib_test/dune
|
||||
@@ -6,5 +6,5 @@
|
||||
|
||||
(executable
|
||||
(name messages)
|
||||
- (libraries libqmp oUnit)
|
||||
+ (libraries libqmp ounit2)
|
||||
)
|
||||
diff --git a/qmp.opam b/qmp.opam
|
||||
index 2e21b12..571b58f 100644
|
||||
--- a/qmp.opam
|
||||
+++ b/qmp.opam
|
||||
@@ -17,7 +17,7 @@ depends: [
|
||||
"dune" {build}
|
||||
"yojson"
|
||||
"cmdliner"
|
||||
- "ounit" {with-test}
|
||||
+ "ounit2" {with-test}
|
||||
]
|
||||
dev-repo: "git://github.com/xapi-project/ocaml-qmp"
|
||||
synopsis: "OCaml implementation of a Qemu Message Protocol (QMP) client"
|
||||
@@ -21,7 +21,7 @@ KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt test"
|
||||
|
||||
DEPEND="
|
||||
dev-ml/base-unix:=
|
||||
dev-lang/ocaml:=[ocamlopt?]
|
||||
dev-ml/yojson:=
|
||||
dev-ml/cmdliner:=
|
||||
"
|
||||
@@ -1 +1,2 @@
|
||||
DIST shared-block-ring-3.0.0.tar.gz 18503 BLAKE2B 786997d650a9094068822ba0b214e8e26658c8caaa26a0bc28f504bdf18f5f07a69896aae46ead9d337db1c7272d8198ed37b8e573e66c7e13ebd56bf94a96d8 SHA512 1f16926aaf641bcfb285d6047cb45b271c4bbb70b345aa803b51f8f966f7815a2890f6993f449aadb11c254f05064f6469cedb9020074c5a566eb6a4ca9d2a6e
|
||||
DIST shared-block-ring-3.0.1.tar.gz 18580 BLAKE2B 7c173687b9ea520160bc66b4cc05d59a38b012ef441b4b4134f7ff3f0d8cc0ad4dfdce7473bbd6c8b3603ce09f6205b0557b51921f4aabe2de9f7ec6d6bccd18 SHA512 45af10f6336ab21cf4c26e503b05c844906c45a7092b880f402d7560a572f5d674856ca459857854b1d7b8986266ec5b2693617c7bc27e2a54973376d5abc141
|
||||
|
||||
@@ -0,0 +1,141 @@
|
||||
From 4c8fb45a201cd15aa038d84bd792679a31bec5a8 Mon Sep 17 00:00:00 2001
|
||||
From: Hannes Mehnert <hannes@mehnert.org>
|
||||
Date: Thu, 27 Jan 2022 16:24:42 +0100
|
||||
Subject: [PATCH] avoid deprecated Cstruct.len, use Cstruct.length instead
|
||||
|
||||
---
|
||||
lib/eraseBlock.ml | 4 ++--
|
||||
lib/ring.ml | 22 +++++++++++-----------
|
||||
lib_test/test.ml | 2 +-
|
||||
shared-block-ring.opam | 2 +-
|
||||
4 files changed, 15 insertions(+), 15 deletions(-)
|
||||
|
||||
diff --git a/lib/eraseBlock.ml b/lib/eraseBlock.ml
|
||||
index 5264b20..d073c36 100644
|
||||
--- a/lib/eraseBlock.ml
|
||||
+++ b/lib/eraseBlock.ml
|
||||
@@ -23,14 +23,14 @@ module Make(B: S.BLOCK) = struct
|
||||
>>= fun info ->
|
||||
let pages = Io_page.get block_size_pages in
|
||||
let buffer = Io_page.to_cstruct pages in
|
||||
- for i = 0 to Cstruct.len buffer - 1 do
|
||||
+ for i = 0 to Cstruct.length buffer - 1 do
|
||||
Cstruct.set_char buffer i (pattern.[i mod (String.length pattern)])
|
||||
done;
|
||||
let rec loop n =
|
||||
if n = info.Mirage_block.size_sectors
|
||||
then return (Ok ())
|
||||
else
|
||||
- let buffer_in_sectors = Cstruct.len buffer / info.Mirage_block.sector_size in
|
||||
+ let buffer_in_sectors = Cstruct.length buffer / info.Mirage_block.sector_size in
|
||||
let needed = Int64.to_int (min (Int64.sub info.Mirage_block.size_sectors n) (Int64.of_int buffer_in_sectors)) in
|
||||
let towrite = Cstruct.sub buffer 0 (needed * info.Mirage_block.sector_size) in
|
||||
B.write t n [ towrite ]
|
||||
diff --git a/lib/ring.ml b/lib/ring.ml
|
||||
index 58e98c4..23db9f1 100644
|
||||
--- a/lib/ring.ml
|
||||
+++ b/lib/ring.ml
|
||||
@@ -34,7 +34,7 @@ let minimum_size_sectors = Int64.add sector_data 1L
|
||||
let magic = Printf.sprintf "mirage shared-block-device 1.0"
|
||||
|
||||
let zero buf =
|
||||
- for i = 0 to Cstruct.len buf - 1 do
|
||||
+ for i = 0 to Cstruct.length buf - 1 do
|
||||
Cstruct.set_uint8 buf i 0
|
||||
done
|
||||
|
||||
@@ -357,7 +357,7 @@ module Producer = struct
|
||||
let open ResultM in
|
||||
let _sector = alloc t.info.Mirage_block.sector_size in
|
||||
(* add a 4 byte header of size, and round up to the next 4-byte offset *)
|
||||
- let needed_bytes = Int64.(logand (lognot 3L) (add 7L (of_int (Cstruct.len item)))) in
|
||||
+ let needed_bytes = Int64.(logand (lognot 3L) (add 7L (of_int (Cstruct.length item)))) in
|
||||
let first_sector = Int64.(div t.producer.producer (of_int t.info.Mirage_block.sector_size)) in
|
||||
let first_offset = Int64.(to_int (rem t.producer.producer (of_int t.info.Mirage_block.sector_size))) in
|
||||
|
||||
@@ -365,23 +365,23 @@ module Producer = struct
|
||||
the first page as it's only a 4-byte integer and we're padding to 4-byte offsets. *)
|
||||
read_modify_write t first_sector (fun sector ->
|
||||
(* Write the header and anything else we can *)
|
||||
- Cstruct.LE.set_uint32 sector first_offset (Int32.of_int (Cstruct.len item));
|
||||
+ Cstruct.LE.set_uint32 sector first_offset (Int32.of_int (Cstruct.length item));
|
||||
if first_offset + 4 = t.info.Mirage_block.sector_size
|
||||
then item (* We can't write anything else, so just return the item *)
|
||||
else begin
|
||||
- let this = min (t.info.Mirage_block.sector_size - first_offset - 4) (Cstruct.len item) in
|
||||
+ let this = min (t.info.Mirage_block.sector_size - first_offset - 4) (Cstruct.length item) in
|
||||
Cstruct.blit item 0 sector (first_offset + 4) this;
|
||||
Cstruct.shift item this
|
||||
end) >>= fun remaining ->
|
||||
|
||||
let rec loop offset remaining =
|
||||
- if Cstruct.len remaining = 0
|
||||
+ if Cstruct.length remaining = 0
|
||||
then return ()
|
||||
else begin
|
||||
read_modify_write t offset (fun sector ->
|
||||
- let this = min t.info.Mirage_block.sector_size (Cstruct.len remaining) in
|
||||
+ let this = min t.info.Mirage_block.sector_size (Cstruct.length remaining) in
|
||||
let frag = Cstruct.sub sector 0 this in
|
||||
- Cstruct.blit remaining 0 frag 0 (Cstruct.len frag);
|
||||
+ Cstruct.blit remaining 0 frag 0 (Cstruct.length frag);
|
||||
Cstruct.shift remaining this) >>= fun remaining ->
|
||||
loop (Int64.succ offset) remaining
|
||||
end in
|
||||
@@ -408,7 +408,7 @@ module Producer = struct
|
||||
(fun () ->
|
||||
let item = Item.to_cstruct item in
|
||||
(* every item has a 4 byte header *)
|
||||
- let needed_bytes = Int64.(add 4L (of_int (Cstruct.len item))) in
|
||||
+ let needed_bytes = Int64.(add 4L (of_int (Cstruct.length item))) in
|
||||
let open C in
|
||||
let open ResultM in
|
||||
ok_to_write t needed_bytes
|
||||
@@ -535,10 +535,10 @@ module Consumer = struct
|
||||
let frag = Cstruct.sub sector (4 + first_offset) this in
|
||||
Cstruct.blit frag 0 result 0 this;
|
||||
let rec loop consumer remaining =
|
||||
- if Cstruct.len remaining = 0
|
||||
+ if Cstruct.length remaining = 0
|
||||
then return ()
|
||||
else
|
||||
- let this = min t.info.Mirage_block.sector_size (Cstruct.len remaining) in
|
||||
+ let this = min t.info.Mirage_block.sector_size (Cstruct.length remaining) in
|
||||
let frag = Cstruct.sub remaining 0 this in
|
||||
read Int64.(add sector_data (rem consumer total_sectors)) t.disk sector >>= fun () ->
|
||||
Cstruct.blit sector 0 frag 0 this;
|
||||
@@ -547,7 +547,7 @@ module Consumer = struct
|
||||
(* Read the payload before updating the consumer pointer *)
|
||||
let needed_bytes = Int64.(logand (lognot 3L) (add 7L (of_int (len)))) in
|
||||
match Item.of_cstruct result with
|
||||
- | None -> Lwt.return (Error (`Msg (Printf.sprintf "Failed to parse queue item: (%d)[%s]" (Cstruct.len result) (String.escaped (Cstruct.to_string result)))))
|
||||
+ | None -> Lwt.return (Error (`Msg (Printf.sprintf "Failed to parse queue item: (%d)[%s]" (Cstruct.length result) (String.escaped (Cstruct.to_string result)))))
|
||||
| Some result ->
|
||||
return (Int64.(add t.consumer.consumer needed_bytes),result)
|
||||
end
|
||||
diff --git a/lib_test/test.ml b/lib_test/test.ml
|
||||
index 3769137..d9ff865 100644
|
||||
--- a/lib_test/test.ml
|
||||
+++ b/lib_test/test.ml
|
||||
@@ -47,7 +47,7 @@ let alloc sector_size =
|
||||
sector
|
||||
|
||||
let fill_with_message buffer message =
|
||||
- for i = 0 to Cstruct.len buffer - 1 do
|
||||
+ for i = 0 to Cstruct.length buffer - 1 do
|
||||
Cstruct.set_char buffer i (message.[i mod (String.length message)])
|
||||
done
|
||||
|
||||
diff --git a/shared-block-ring.opam b/shared-block-ring.opam
|
||||
index d9a95d1..1c703fa 100644
|
||||
--- a/shared-block-ring.opam
|
||||
+++ b/shared-block-ring.opam
|
||||
@@ -13,7 +13,7 @@ depends: [
|
||||
"ocaml" {>= "4.06.0"}
|
||||
"bisect_ppx" {dev & >= "2.5.0"}
|
||||
"cmdliner"
|
||||
- "cstruct" {>= "3.0.0"}
|
||||
+ "cstruct" {>= "6.0.0"}
|
||||
"dune" {>= "2.7.0"}
|
||||
"duration"
|
||||
"io-page"
|
||||
@@ -0,0 +1,59 @@
|
||||
From f0b61e87f809dce36fb93e31349d02d9a679253a Mon Sep 17 00:00:00 2001
|
||||
From: Hannes Mehnert <hannes@mehnert.org>
|
||||
Date: Thu, 27 Jan 2022 16:26:39 +0100
|
||||
Subject: [PATCH] adapt to mirage-block 3.0.0 changes
|
||||
|
||||
---
|
||||
lib/ring.ml | 4 ----
|
||||
shared-block-ring.opam | 4 ++--
|
||||
2 files changed, 2 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/lib/ring.ml b/lib/ring.ml
|
||||
index 23db9f1..f1e96ce 100644
|
||||
--- a/lib/ring.ml
|
||||
+++ b/lib/ring.ml
|
||||
@@ -92,14 +92,12 @@ module Common(Log: S.LOG)(B: S.BLOCK) = struct
|
||||
m >>= function
|
||||
| Error `Is_read_only -> Lwt.return (Error `Is_read_only)
|
||||
| Error `Disconnected -> Lwt.return (Error `Disconnected)
|
||||
- | Error `Unimplemented -> Lwt.return (Error `Unimplemented)
|
||||
| Error x -> Lwt.return (Error x)
|
||||
| Ok x -> f x
|
||||
let to_msg m =
|
||||
let open Lwt.Infix in
|
||||
m >>= function
|
||||
| Error `Disconnected -> Lwt.return (Error (`Msg "BLOCK device has already disconnected"))
|
||||
- | Error `Unimplemented -> Lwt.return (Error (`Msg "BLOCK function is unimplemented"))
|
||||
| Error `Is_read_only -> Lwt.return (Error (`Msg "BLOCK device is read-only"))
|
||||
| Error _ -> Lwt.return (Error (`Msg "Unknown error from BLOCK device"))
|
||||
| Ok x -> Lwt.return (Ok x)
|
||||
@@ -110,14 +108,12 @@ module Common(Log: S.LOG)(B: S.BLOCK) = struct
|
||||
let open Lwt.Infix in
|
||||
m >>= function
|
||||
| Error `Disconnected -> Lwt.return (Error `Disconnected)
|
||||
- | Error `Unimplemented -> Lwt.return (Error `Unimplemented)
|
||||
| Error x -> Lwt.return (Error x)
|
||||
| Ok x -> f x
|
||||
let to_msg m =
|
||||
let open Lwt.Infix in
|
||||
m >>= function
|
||||
| Error `Disconnected -> Lwt.return (Error (`Msg "BLOCK device has already disconnected"))
|
||||
- | Error `Unimplemented -> Lwt.return (Error (`Msg "BLOCK function is unimplemented"))
|
||||
| Error _ -> Lwt.return (Error (`Msg "Unknown error from BLOCK device"))
|
||||
| Ok x -> Lwt.return (Ok x)
|
||||
let return x = Lwt.return (Ok x)
|
||||
diff --git a/shared-block-ring.opam b/shared-block-ring.opam
|
||||
index 1c703fa..beb5c5b 100644
|
||||
--- a/shared-block-ring.opam
|
||||
+++ b/shared-block-ring.opam
|
||||
@@ -21,8 +21,8 @@ depends: [
|
||||
"logs"
|
||||
"lwt"
|
||||
"lwt_log"
|
||||
- "mirage-block" {>= "2.0.1"}
|
||||
- "mirage-block-unix"
|
||||
+ "mirage-block" {>= "3.0.0"}
|
||||
+ "mirage-block-unix" {>= "2.13.0"}
|
||||
"mirage-clock" {>= "3.0.0"}
|
||||
"mirage-clock-unix" {with-test}
|
||||
"mirage-time" {>= "2.0.1"}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user