mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-18 19:43:24 -04:00
Merge updates from master
This commit is contained in:
5
TODO.md
5
TODO.md
@@ -27,6 +27,7 @@ Name | Buildsystem | Category | User | RFH | Dependency
|
||||
[imb](https://software.intel.com/content/www/us/en/develop/articles/intel-mpi-benchmarks.html) | make | cluster | Alessandro-Barbieri | ✖ | ✔
|
||||
[gnat-llvm](https://github.com/AdaCore/gnat-llvm) | make | compiler | Alessandro-Barbieri | ✔ | ✖
|
||||
[csparse](https://people.sc.fsu.edu/~jburkardt/c_src/csparse/csparse.html) | make | science | Alessandro-Barbieri | ✖ | ✔
|
||||
[gslib](https://github.com/Nek5000/gslib) | make | cluster | Alessandro-Barbieri | ✖ | ✔
|
||||
[dimemas](https://github.com/bsc-performance-tools/dimemas) | autotools | cluster | Alessandro-Barbieri | ✖ | ✔
|
||||
[argobots](https://www.argobots.org/) | autotools | devel | Alessandro-Barbieri | ✖ | ✔
|
||||
[mochi-ssg](https://github.com/mochi-hpc/mochi-ssg) | autotools | cluster | Alessandro-Barbieri | ✖ | ✔
|
||||
@@ -82,6 +83,8 @@ Name | Buildsystem | Category | User | RFH | Dependency
|
||||
[scorec](https://github.com/SCOREC/core) | cmake | science | Alessandro-Barbieri | ✖ | ✔
|
||||
[slate](https://bitbucket.org/icl/slate/) | cmake | science | Alessandro-Barbieri | ✖ | ✔
|
||||
[tasmanian](https://github.com/ORNL/TASMANIAN) | cmake | science | Alessandro-Barbieri | ✖ | ✔
|
||||
[vite](https://solverstack.gitlabpages.inria.fr/vite/) | cmake | visualization | Alessandro-Barbieri | ✖ | ✔
|
||||
[zpp](https://github.com/jbigot/zpp) | cmake | devel | Alessandro-Barbieri | ✖ | ✔
|
||||
[enarx](https://enarx.dev/) | cargo | util | Alessandro-Barbieri | ✖ | ✖
|
||||
[ruplacer](https://github.com/dmerejkowsky/ruplacer) | cargo | sys | Alessandro-Barbieri | ✖ | ✖
|
||||
[gping](https://github.com/orf/gping) | cargo | net | Alessandro-Barbieri | ✖ | ✖
|
||||
@@ -104,10 +107,10 @@ Name | Buildsystem | Category | User | RFH | Dependency
|
||||
[mmtracking](https://github.com/open-mmlab/mmtracking) | setuptools | science | Alessandro-Barbieri | ✖
|
||||
[ueberzug](https://github.com/seebye/ueberzug) | setuptools | cli | N-R-K | | ✖
|
||||
[libensemble](https://github.com/Libensemble/libensemble) | setuptools | cluster | Alessandro-Barbieri | ✖ | ✔
|
||||
[ActivityWatch](https://github.com/ActivityWatch/activitywatch) | setuptools | utils | David Roman | ✔ | ✖
|
||||
[greenclip](https://github.com/erebe/greenclip) | cabal | desktop | N-R-K | | ✖
|
||||
[kaitai](https://github.com/kaitai-io/kaitai_struct) | sbt | util | Alessandro-Barbieri | ✔ | ✖
|
||||
[casadi](https://web.casadi.org/) | cmake swig | science | Alessandro-Barbieri | ✖ | ✔
|
||||
[ipyleaflet](https://github.com/jupyter-widgets/ipyleaflet) | setuptools yarn | jupyter | Alessandro-Barbieri | ✔ | ✖
|
||||
[gitlab](https://gitlab.com/gitlab-org/gitlab-foss) | yarn gem | vcs | Alessandro-Barbieri | ✔ | ✖
|
||||
[HOL4](http://hol-theorem-prover.org/) | ? | math | Alessandro-Barbieri | ✔ | ✖
|
||||
[ActivityWatch](https://github.com/ActivityWatch/activitywatch) | ? | utils | David Roman | ✔ | ✖
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
DIST timeshift-21.09.1.tar.gz 1401994 BLAKE2B 5b1b3650fadb02745150d8996b46b53be473c66c73d4f5209c4f8634f58c4019905524516089b9f2a77b3bf1dcc49ee4db5ac9cbd2c1419683ead01e2e36b4e7 SHA512 0e79b41861c1eb041e0592508636f87f77ca240001b238e9e70239898d9a66bcf367380e830682fb8671ade7c1cbdb10ca8c89585f2cb30de35c7480a0fa792b
|
||||
DIST timeshift-22.06.1.tar.gz 1425559 BLAKE2B 78cf47f65b0bda6bb9bbdb8e3abe250b3b8b4d1c5e651a7b40d8c1d5eab4802930a97520721616eda44f2dbe8a7f06bde097d0ffe24c3a251ddef78b04b8c0d5 SHA512 ee35d7270e7625ae51398392c24aa80b85494c524bb12de4b6c0d5e5ee47d496031feb058fbd6905360b40d63d1088d48faebccabac04020f226b5d05608a9a7
|
||||
|
||||
42
app-backup/timeshift/timeshift-22.06.1.ebuild
Normal file
42
app-backup/timeshift/timeshift-22.06.1.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
VALA_MIN_API_VERSION="0.44"
|
||||
inherit vala xdg
|
||||
|
||||
DESCRIPTION="A system restore utility for Linux"
|
||||
HOMEPAGE="https://github.com/teejee2008/timeshift"
|
||||
SRC_URI="https://github.com/teejee2008/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
dev-libs/json-glib
|
||||
dev-libs/libgee
|
||||
dev-util/desktop-file-utils
|
||||
net-libs/libsoup
|
||||
net-misc/rsync
|
||||
sys-process/cronie
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/xapp
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
$(vala_depend)
|
||||
net-misc/rsync
|
||||
sys-apps/diffutils
|
||||
sys-apps/coreutils
|
||||
sys-fs/btrfs-progs
|
||||
>=x11-libs/vte-0.60.3[vala]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
# sed -i -e "s:--thread:& Core/AppExcludeEntry.vala:" "src/makefile"
|
||||
sed -i -e "s:valac:valac-$(vala_best_api_version):" "src/makefile"
|
||||
vala_src_prepare
|
||||
default
|
||||
}
|
||||
@@ -36,8 +36,7 @@ RDEPEND="${DEPEND}"
|
||||
src_unpack() {
|
||||
default
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
git-r3_src_unpack
|
||||
pushd ${P}/plugins/meta/dnsname || die "location change for module building failed"
|
||||
ego get
|
||||
popd || die "location reset from module building failed"
|
||||
|
||||
@@ -35,8 +35,7 @@ RDEPEND="${DEPEND}"
|
||||
src_unpack() {
|
||||
default
|
||||
if [[ ${PV} == *9999 ]]; then
|
||||
git-r3_fetch
|
||||
git-r3_checkout
|
||||
git-r3_src_unpack
|
||||
pushd ${P}/plugins/meta/dnsname || die "location change for module building failed"
|
||||
ego get
|
||||
popd || die "location reset from module building failed"
|
||||
|
||||
@@ -2,3 +2,4 @@ DIST OCRmyPDF-13.2.0.tar.gz 7885396 BLAKE2B 0eea864d056d2238f7ea244a7fc9b6a54840
|
||||
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
|
||||
DIST OCRmyPDF-13.4.6.tar.gz 7890082 BLAKE2B 5d1fe4a0147dc7ca5bf5d1468e6cb23b57d436b80ec60b3cec9af4b1768af10fb387b724975e0c5e83aaa79806d4ba7a984fcf1d78f8bfaf97f42edfefa20f81 SHA512 fedf17630af21e94e45373aec45966cca2baa8abaca604a2a6820a74e62cf115bad376234b69dffad1ab26e50d5b891b1255026262512b518547f133f12c33d5
|
||||
|
||||
57
app-text/OCRmyPDF/OCRmyPDF-13.4.6.ebuild
Normal file
57
app-text/OCRmyPDF/OCRmyPDF-13.4.6.ebuild
Normal file
@@ -0,0 +1,57 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..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/ocrmypdf/OCRmyPDF"
|
||||
SRC_URI="https://github.com/ocrmypdf/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-20200720[${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
|
||||
}
|
||||
@@ -14,6 +14,7 @@ HOMEPAGE="
|
||||
"
|
||||
SRC_URI="mirror://cran/src/contrib/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
LICENSE='Boost-1.0'
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
@@ -9,6 +9,8 @@ MY_PV="$(ver_cut 2-3 ${PV})"
|
||||
|
||||
DESCRIPTION='Rcpp Integration for the Armadillo templated linear algebra library'
|
||||
SRC_URI="mirror://cran/src/contrib/${PN}_${PV}.tar.gz"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='GPL-2+'
|
||||
|
||||
@@ -14,6 +14,7 @@ HOMEPAGE="
|
||||
"
|
||||
#SRC_URI="mirror://cran/src/contrib/RcppEnsmallen/RcppEnsmallen_${PV}.tar.gz"
|
||||
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE='GPL-2+'
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit python-single-r1 R-packages
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/pcarruscag/MEL"
|
||||
SRC_URI="https://github.com/pcarruscag/MEL/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/cubicdaiya/dtl"
|
||||
SRC_URI="https://github.com/cubicdaiya/dtl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples test"
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit cmake python-single-r1
|
||||
|
||||
@@ -12,7 +12,7 @@ HOMEPAGE="https://github.com/facebook/fbthrift"
|
||||
SRC_URI="https://github.com/facebook/fbthrift/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/facebookincubator/fizz"
|
||||
SRC_URI="https://github.com/facebookincubator/fizz/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples test"
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST gemmlowp-0_pre20211220.tar.gz 842220 BLAKE2B 74139935c01683f894a2ee8bb6f5373a64b8346e5860addd9dcccd47ceffe8942509def3ed242fcd92021c7f82f2e8858313df12369257e2172143a14cec82ed SHA512 934bc79cc951dd18bff413148f3526332685bf0980ddcc0f990ba347bafcd73725e5ffd4bd255dcaa21f0fd71698d26726e2f9f36aa8df87380048041e536e20
|
||||
DIST gemmlowp-0_pre20211220-r1.tar.gz 842220 BLAKE2B 74139935c01683f894a2ee8bb6f5373a64b8346e5860addd9dcccd47ceffe8942509def3ed242fcd92021c7f82f2e8858313df12369257e2172143a14cec82ed SHA512 934bc79cc951dd18bff413148f3526332685bf0980ddcc0f990ba347bafcd73725e5ffd4bd255dcaa21f0fd71698d26726e2f9f36aa8df87380048041e536e20
|
||||
|
||||
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/google/${PN}/archive/${COMMIT}.tar.gz -> ${PF}.tar.g
|
||||
S="${WORKDIR}/${PN}-${COMMIT}/contrib"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
@@ -13,7 +13,7 @@ HOMEPAGE="
|
||||
SRC_URI="https://github.com/greg7mdp/parallel-hashmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples test"
|
||||
|
||||
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/SergiusTheBest/${PN}/archive/${PV}.tar.gz -> ${P}.ta
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
IUSE="examples"
|
||||
|
||||
src_install() {
|
||||
@@ -13,7 +13,7 @@ SRC_URI="https://gitlab.com/ananicy-cpp/stl-polyfills/${PN}/-/archive/${COMMIT}/
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="CC0-1.0"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
@@ -7,7 +7,7 @@ DOCS_BUILDER="sphinx"
|
||||
DOCS_DEPEND="dev-python/recommonmark"
|
||||
DOCS_DIR="docs"
|
||||
MYPV="${PV/_alpha/a}"
|
||||
PYTHON_COMPAT=( python3_{8,9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit cmake python-any-r1 docs
|
||||
|
||||
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${MYPV}.tar.gz -> ${P
|
||||
S="${WORKDIR}/${PN}-${MYPV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_sse double-precision opencl openmp +serialization tbb test" # TODO: cuda
|
||||
|
||||
@@ -18,7 +18,7 @@ HOMEPAGE="https://github.com/ddemidov/vexcl"
|
||||
SRC_URI="https://github.com/ddemidov/vexcl/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE_BACKEND="
|
||||
backend_compute
|
||||
@@ -10,7 +10,7 @@ HOMEPAGE="https://github.com/facebook/wangle"
|
||||
SRC_URI="https://github.com/facebook/wangle/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="examples test"
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -19,7 +19,7 @@ SRC_URI="
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST fsst-0_pre20200830.tar.gz 32289281 BLAKE2B 21184f7d80193ebcc279f38b8fdc2be563a65a7296ce226c8ae4da19cbd946b1bb412c5f4c661e3ad0405b03b57f83b4257ecf78f9642fb09a9eccd56616a8b1 SHA512 9dd416d0a711a6c38e8e0d8b445f328e5826096293dc1f1152ae3e67470d2f8f1d9df2bb88815f1178b67c8cd0ad130f9fa9b59a9547bcc272d37782c239d7b7
|
||||
DIST fsst-0_pre20200830.gh.tar.gz 32289281 BLAKE2B 21184f7d80193ebcc279f38b8fdc2be563a65a7296ce226c8ae4da19cbd946b1bb412c5f4c661e3ad0405b03b57f83b4257ecf78f9642fb09a9eccd56616a8b1 SHA512 9dd416d0a711a6c38e8e0d8b445f328e5826096293dc1f1152ae3e67470d2f8f1d9df2bb88815f1178b67c8cd0ad130f9fa9b59a9547bcc272d37782c239d7b7
|
||||
|
||||
@@ -1,17 +1,18 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
COMMIT="fffb613071cb44319c0d6b743a8d6eafc2ed2ad7"
|
||||
|
||||
DESCRIPTION="Fast Static Symbol Table: fast text compression that allows random access"
|
||||
HOMEPAGE="https://github.com/cwida/fsst"
|
||||
SRC_URI="https://github.com/cwida/fsst/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/cwida/fsst/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="app-admin/chrpath"
|
||||
@@ -1,2 +1 @@
|
||||
DIST memkind-1.11.0.tar.gz 1072455 BLAKE2B 2de2cf053687ba2150f694e8c4143eeca74fc377feee2b6892067b661d8c58d7d5fcacb021fc92a47dad27f52aa4cbc6408cfede3141ab1f8ae81147b49aa6a7 SHA512 0b5bde35b3565c730fa954aebfe2ccbecd1e120c920d05acdbc0a74914731a90aeef8d57101f1f47bd35fd310bc143fa517bc871b32e592b8412384ff652fc05
|
||||
DIST memkind-1.13.0.tar.gz 1111767 BLAKE2B fb2b0ca70b6da32b2bf42cba68f549c279f301f2c9b2eb2f7dfcb2909105bb1eb84bd6abdf15dfcb5f45a5e0bab7fbd0aef95ce090b06b02bc8ae099bdf1b0ca SHA512 509d49e3c67321496b322469d4bb13aa8b9038e94dc9bdfb379c38e86a5705ba13bc015443da8291be49711e14bce9845b697f62cfcc981168f255f9fb515b0e
|
||||
|
||||
@@ -1,82 +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} pypy3 )
|
||||
|
||||
inherit autotools linux-info python-any-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="user extensible heap manager built on top of jemalloc"
|
||||
HOMEPAGE="https://memkind.github.io/memkind/"
|
||||
SRC_URI="https://github.com/memkind/memkind/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE="+daxctl debug decorators +heap-manager hwloc initial-exec-tls openmp secure test +tls"
|
||||
|
||||
RDEPEND="
|
||||
daxctl? ( sys-block/ndctl )
|
||||
hwloc? ( sys-apps/hwloc )
|
||||
sys-process/numactl
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-respect-ar.patch" )
|
||||
RESTRICT="test" # ERROR: ./test/test.sh requires a NUMA enabled system with more than one node.
|
||||
#RESTRICT="!test? ( test )"
|
||||
|
||||
pkg_pretend() {
|
||||
linux-info_pkg_setup
|
||||
CONFIG_CHECK_MODULES=""
|
||||
if use daxctl; then
|
||||
CONFIG_CHECK_MODULES+="DEV_DAX_KMEM "
|
||||
fi
|
||||
if linux_config_exists; then
|
||||
for module in ${CONFIG_CHECK_MODULES}; do
|
||||
linux_chkconfig_present ${module} || ewarn "${module} needs to be enabled"
|
||||
done
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
cd jemalloc && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
local myconf=(
|
||||
--disable-debug
|
||||
--disable-gcov
|
||||
--enable-shared
|
||||
--enable-static
|
||||
$(use_enable daxctl)
|
||||
$(use_enable decorators)
|
||||
$(use_enable debug debug-jemalloc)
|
||||
$(use_enable heap-manager)
|
||||
$(use_enable hwloc)
|
||||
$(use_enable initial-exec-tls memkind-initial-exec-tls)
|
||||
$(use_enable openmp)
|
||||
$(use_enable secure)
|
||||
$(use_enable tls)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
find "${ED}" -name '*.a' -delete || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
addwrite /proc/sys/vm/nr_hugepages
|
||||
echo 3000 > /proc/sys/vm/nr_hugepages
|
||||
emake check
|
||||
}
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit autotools linux-info python-any-r1 toolchain-funcs
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST nativefiledialog-extended-0_pre20210430.tar.gz 400551 BLAKE2B 3242bac8a8ec054853f9eac3cbbd09fd2389c1afa1c8bd314452b2d7b66b899c8fadd60f835e97bd7769457bed43bd3b684fdcb5b7480a3ca5ef6e5071fc9fd0 SHA512 049a19d39707476a609a6e22f70146df9e1533c5e93b349437d762673d6a1410777181fedff14ca6cf64e2c1e707c85f13d9101370aadbc79afd3795fac792a8
|
||||
DIST nativefiledialog-extended-0_pre20210430.gh.tar.gz 400551 BLAKE2B 3242bac8a8ec054853f9eac3cbbd09fd2389c1afa1c8bd314452b2d7b66b899c8fadd60f835e97bd7769457bed43bd3b684fdcb5b7480a3ca5ef6e5071fc9fd0 SHA512 049a19d39707476a609a6e22f70146df9e1533c5e93b349437d762673d6a1410777181fedff14ca6cf64e2c1e707c85f13d9101370aadbc79afd3795fac792a8
|
||||
|
||||
@@ -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
|
||||
|
||||
COMMIT="322d1bc2a98c7b8236195d458643ac8e76391011"
|
||||
|
||||
@@ -9,11 +9,11 @@ inherit cmake
|
||||
|
||||
DESCRIPTION="File dialog library with C and C++ bindings, based on nativefiledialog"
|
||||
HOMEPAGE="https://github.com/btzy/nativefiledialog-extended"
|
||||
SRC_URI="https://github.com/btzy/nativefiledialog-extended/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/btzy/nativefiledialog-extended/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="x11-libs/gtk+:3"
|
||||
@@ -14,7 +14,7 @@ SRC_URI="
|
||||
S="${WORKDIR}/pt-${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc examples"
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST zfp-0.5.5.tar.gz 127482 BLAKE2B 2a3bfca4280c15c8679d1af23ff1b5e09de07060ecb120ce399a56bf598c7a934dbf8053ffd9b6bd26c81641d2f46557d5ad71c3abffefa475eaaaaaf28c8286 SHA512 c043cee73f6e972e047452552ab2ceb9247a6747fdb7e5f863aeab3a05208737c0bcabbe29f3c10e5c1aba961ec47aa6a0abdb395486fa0d5fb16a4ad45733c4
|
||||
DIST zfp-0.5.5.gh.tar.gz 127482 BLAKE2B 2a3bfca4280c15c8679d1af23ff1b5e09de07060ecb120ce399a56bf598c7a934dbf8053ffd9b6bd26c81641d2f46557d5ad71c3abffefa475eaaaaaf28c8286 SHA512 c043cee73f6e972e047452552ab2ceb9247a6747fdb7e5f863aeab3a05208737c0bcabbe29f3c10e5c1aba961ec47aa6a0abdb395486fa0d5fb16a4ad45733c4
|
||||
|
||||
@@ -1,16 +1,16 @@
|
||||
# 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
|
||||
|
||||
#DOCS_BUILDER="sphinx"
|
||||
#DOCS_DIR="docs/source"
|
||||
PYTHON_COMPAT=( python3_{8,9,10} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit cmake fortran-2 python-single-r1 #docs
|
||||
|
||||
DESCRIPTION="Compressed numerical arrays that support high-speed random access"
|
||||
SRC_URI="https://github.com/LLNL/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/LLNL/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
HOMEPAGE="
|
||||
https://computing.llnl.gov/projects/zfp
|
||||
https://zfp.io
|
||||
@@ -14,7 +14,7 @@ HOMEPAGE="
|
||||
SRC_URI="https://github.com/astrada/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt test"
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST ocamlfuse-2.7.1_p7.tar.gz 21469 BLAKE2B fa587d19124c2e2d320091bb42b098644d3112e39652dbf621c88f701effdab0ce15372b6f2461709eb3afe628e2888db3a7a0c9abeab8b8a136d09c69c84ac4 SHA512 342a6ce8a81ac05d47d4458ef6e9aa750e4e7643a89d28705664852f0549e1932643e8db5d93225ba496611654b3f11fef6aca1e6e40e8d4b30064fc9c65f7fd
|
||||
DIST ocamlfuse-2.7.1_p7-r1.tar.gz 21469 BLAKE2B fa587d19124c2e2d320091bb42b098644d3112e39652dbf621c88f701effdab0ce15372b6f2461709eb3afe628e2888db3a7a0c9abeab8b8a136d09c69c84ac4 SHA512 342a6ce8a81ac05d47d4458ef6e9aa750e4e7643a89d28705664852f0549e1932643e8db5d93225ba496611654b3f11fef6aca1e6e40e8d4b30064fc9c65f7fd
|
||||
|
||||
@@ -17,7 +17,7 @@ SRC_URI="https://github.com/astrada/${PN}/archive/v${MYPV}.tar.gz -> ${PF}.tar.g
|
||||
S="${WORKDIR}/${PN}-${MYPV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="ocamlopt"
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<email>lukas.reichlin@gmail.com</email>
|
||||
<name>Lukas Reichlin</name>
|
||||
</maintainer>
|
||||
<remote-id type="sourceforge">octave/control</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
Computer-Aided Control System Design (CACSD) Tools for GNU Octave, based on the proven SLICOT Library
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/dataframe/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/dataframe/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/dataframe</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/fuzzy-logic-toolkit/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/fuzzy-logic-toolkit/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/fuzzy-logic-toolkit</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/ga/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/ga/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/ga</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/instrument-control/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/instrument-control/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/instrument-control</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/io/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/io/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/io</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/linear-algebra/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/linear-algebra/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/linear-algebra</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/miscellaneous/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/miscellaneous/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/miscellaneous</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/ocl/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/ocl/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/ocl</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/optim/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/optim/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/optim</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/optiminterp/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/optiminterp/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/optiminterp</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/quaternion/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/quaternion/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/quaternion</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/splines/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/splines/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/splines</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/statistics/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/statistics/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/statistics</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
224
dev-octave/strings/files/strings-1.2.0-156.patch
Normal file
224
dev-octave/strings/files/strings-1.2.0-156.patch
Normal file
@@ -0,0 +1,224 @@
|
||||
changeset: 156:db1ee7036df0
|
||||
user: Oliver Heimlich <oheim@posteo.de>
|
||||
date: Tue Jul 07 22:46:46 2015 +0200
|
||||
summary: base64decode.m: Cleanup of function code and fix of bug #38974
|
||||
|
||||
--- a/NEWS
|
||||
+++ b/NEWS
|
||||
@@ -1,3 +1,11 @@
|
||||
+Summary of important user-visible changes for strings 1.2.1:
|
||||
+-------------------------------------------------------------------
|
||||
+
|
||||
+ ** The function base64decode has been almost rewritten and no longer returns
|
||||
+ trailing zeros which have been introduced by padding (bug #38974), returns
|
||||
+ uint8 vectors instead of binary64 vectors, and should perform faster.
|
||||
+
|
||||
+
|
||||
Summary of important user-visible changes for strings 1.2.0:
|
||||
-------------------------------------------------------------------
|
||||
|
||||
--- a/inst/base64decode.m
|
||||
+++ b/inst/base64decode.m
|
||||
@@ -1,4 +1,5 @@
|
||||
## Copyright (C) 2007 Muthiah Annamalai <muthiah.annamalai@uta.edu>
|
||||
+## Copyright (C) 2015 Oliver Heimlich <oheim@posteo.de>
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify it under
|
||||
## the terms of the GNU General Public License as published by the Free Software
|
||||
@@ -18,7 +19,8 @@
|
||||
## @deftypefnx {Function File} {@var{rval} =} base64decode (@var{code}, @var{as_string})
|
||||
## Convert a base64 @var{code} (a string of printable characters according to RFC 2045)
|
||||
## into the original ASCII data set of range 0-255. If option @var{as_string} is
|
||||
-## passed, the return value is converted into a string.
|
||||
+## passed, the return value is converted into a string. Otherwise, the return
|
||||
+## value is a uint8 row vector.
|
||||
##
|
||||
## @example
|
||||
## @group
|
||||
@@ -32,125 +34,84 @@
|
||||
## @seealso {base64encode}
|
||||
## @end deftypefn
|
||||
|
||||
-function z = base64decode (X, as_string)
|
||||
- if (nargin < 1 )
|
||||
+function Z = base64decode (X, as_string)
|
||||
+ if (nargin < 1 || nargin > 2)
|
||||
print_usage;
|
||||
- elseif nargin == 1
|
||||
- as_string=false;
|
||||
+ elseif (nargin == 1)
|
||||
+ as_string = false;
|
||||
endif
|
||||
|
||||
- if ( any(X(:) < 0) || any(X(:) > 255))
|
||||
- error("base64decode is expecting integers in the range 0 .. 255");
|
||||
+ ## strip white space
|
||||
+ X((X == ' ') | (X == "\n") | (X == "\r")) = [];
|
||||
+
|
||||
+ if (any (X(:) < 0) || any(X(:) > 255))
|
||||
+ error ("base64decode is expecting integers in the range 0 .. 255");
|
||||
endif
|
||||
|
||||
- ## decompose strings into the 4xN matrices
|
||||
- ## formatting issues.
|
||||
- if( rows(X) == 1 )
|
||||
- Y=[];
|
||||
- L=length(X);
|
||||
- for z=4:4:L
|
||||
- Y=[Y X(z-3:z)']; #keep adding columns
|
||||
- end
|
||||
- if min(size(Y))==1
|
||||
- Y=reshape(Y,[L, 1]);
|
||||
- else
|
||||
- Y=reshape(Y,[4,L/4]);
|
||||
- end
|
||||
- X=Y;
|
||||
- Y=[];
|
||||
- end
|
||||
-
|
||||
- X = toascii(X);
|
||||
- Xa= X;
|
||||
-
|
||||
- ## Work backwards. Starting at step in table,
|
||||
- ## lookup the index of the element in the table.
|
||||
+ ## convert into ascii code and 8 bit integers to save memory
|
||||
+ X = uint8 (X);
|
||||
|
||||
- ## 6-bit encoding table, plus 1 for padding
|
||||
- ## 26*2 + 10 + 2 + 1 = 64 + 1, '=' is EOF stop mark.
|
||||
- table = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
||||
-
|
||||
- S=size(X);
|
||||
- SRows=S(1);
|
||||
- SCols=S(2);
|
||||
- Y=zeros(S);
|
||||
-
|
||||
- ## decode the incoming matrix &
|
||||
+ ## decompose into the 4xN matrices - separation of encoded 3 byte blocks
|
||||
+ if (rows (X) ~= 4)
|
||||
+ if (rem (numel (X), 4) ~= 0)
|
||||
+ error ("base64decode is expecting blocks of 4 characters to decode");
|
||||
+ endif
|
||||
+ X = reshape (X, [4, numel(X)./4]);
|
||||
+ endif
|
||||
+
|
||||
+ ## decode 6-bit values from the incoming matrix &
|
||||
## write the values into Va matrix.
|
||||
- Va = -1*ones(size(Xa));
|
||||
+ Va = ones (size(X), 'uint8') .* 65;
|
||||
|
||||
- iAZ = (Xa >= 'A').*(Xa <= 'Z') > 0;
|
||||
- Va(iAZ)=Xa(iAZ)-'A';
|
||||
-
|
||||
- iaz = (Xa >= 'a').*(Xa <= 'z') > 0;
|
||||
- Va(iaz)=Xa(iaz)-'a'+26;
|
||||
+ iAZ = ((X >= 'A') & (X <= 'Z'));
|
||||
+ Va(iAZ) = X(iAZ) - 'A';
|
||||
|
||||
- i09 = (Xa >= '0').*(Xa <= '9') > 0;
|
||||
- Va(i09)=Xa(i09)-'0'+52;
|
||||
+ iaz = ((X >= 'a') & (X <= 'z'));
|
||||
+ Va(iaz) = X(iaz) - 'a' + 26;
|
||||
|
||||
- is = (Xa == '/') ; Va(is) = 63;
|
||||
- ip = (Xa == '+') ; Va(ip) = 62;
|
||||
- ieq = (Xa == '=') ; Va(ieq) = 0;
|
||||
- clear is; clear ieq; clear ip; clear i09;
|
||||
- clear iaz; clear iAZ; clear Xa; clear X;
|
||||
+ i09 = ((X >= '0') & (X <= '9'));
|
||||
+ Va(i09) = X(i09) - '0' + 52;
|
||||
|
||||
- Y=Va; clear Va;
|
||||
- Y1=Y(1,:);
|
||||
- if (SRows > 1)
|
||||
- Y2=Y(2,:);
|
||||
- else
|
||||
- Y2=zeros(1,SCols);
|
||||
- end;
|
||||
-
|
||||
- if (SRows > 2)
|
||||
- Y3=Y(3,:);
|
||||
- else
|
||||
- Y3=zeros(1,SCols);
|
||||
- end;
|
||||
-
|
||||
- if (SRows > 3)
|
||||
- Y4=Y(4,:);
|
||||
- else
|
||||
- Y4=zeros(1,SCols);
|
||||
- end;
|
||||
+ Va(X == '+') = 62;
|
||||
+ Va(X == '/') = 63;
|
||||
+
|
||||
+ padding = (X == '=');
|
||||
+ Va(padding) = 0;
|
||||
+
|
||||
+ if (any (any (Va == 65)))
|
||||
+ error ('base64decode is expecting valid characters A..Za..z0..9+/=');
|
||||
+ endif
|
||||
+
|
||||
+ if (not (isempty (X)) && ...
|
||||
+ (find (padding, 1) < numel (X) - 1 || ...
|
||||
+ (X(end - 1) == '=' && X(end) ~= '=')))
|
||||
+ error ('base64decode is expecting max two padding characters at the end');
|
||||
+ endif
|
||||
+
|
||||
+ ## decode 4x6 bit into 3x8 bit
|
||||
+ B = vertcat (...
|
||||
+ Va(1, :) .* 4 + (Va(2, :) - rem (Va(2, :), 16)) ./ 16, ...
|
||||
+ rem (Va(2, :), 16) .* 16 + (Va(3, :) - rem (Va(3, :), 4)) ./ 4, ...
|
||||
+ rem (Va(3, :), 4) .* 64 + Va(4, :));
|
||||
|
||||
- ## +1 not required due to ASCII subtraction
|
||||
- ## actual decoding work
|
||||
- b1 = Y1*4 + fix(Y2/16);
|
||||
- b2 = mod(Y2,16)*16+fix(Y3/4);
|
||||
- b3 = mod(Y3,4)*64 + Y4;
|
||||
-
|
||||
- ZEROS=sum(sum(Y==0));
|
||||
- L=length(b1)*3;
|
||||
- z=zeros(1,L);
|
||||
- z(1:3:end)=b1;
|
||||
- if (SRows > 1)
|
||||
- z(2:3:end)=b2;
|
||||
- else
|
||||
- z(2:3:end)=[];
|
||||
- end;
|
||||
-
|
||||
- if (SRows > 2)
|
||||
- z(3:3:end)=b3;
|
||||
- else
|
||||
- z(3:3:end)=[];
|
||||
- end
|
||||
-
|
||||
- ## FIXME
|
||||
- ## is this expected behaviour?
|
||||
- if ( as_string )
|
||||
- L=length(z);
|
||||
- while ( ( L > 0) && ( z(L)==0 ) )
|
||||
- L=L-1;
|
||||
- end
|
||||
- z=char(z(1:L));
|
||||
+ ## Convert blocks into row vector
|
||||
+ Z = B(:).';
|
||||
+
|
||||
+ ## Remove byte blocks which have been introduced by padding
|
||||
+ if (not (isempty (X)))
|
||||
+ Z(end - sum (padding(end - 1 : end)) + 1 : end) = [];
|
||||
+ endif
|
||||
+
|
||||
+ if (as_string)
|
||||
+ Z = char (Z);
|
||||
end
|
||||
|
||||
endfunction
|
||||
|
||||
%!assert(base64decode(base64encode('Hakuna Matata'),true),'Hakuna Matata')
|
||||
-%!assert(base64decode(base64encode([1:255])),[1:255])
|
||||
+%!assert(base64decode(base64encode([1:255])),uint8([1:255]))
|
||||
%!assert(base64decode(base64encode('taken'),true),'taken')
|
||||
%!assert(base64decode(base64encode('sax'),true),'sax')
|
||||
%!assert(base64decode(base64encode('H'),true),'H')
|
||||
+%!assert(base64decode(base64encode('H'),false),uint8('H'))
|
||||
%!assert(base64decode(base64encode('Ta'),true),'Ta')
|
||||
|
||||
351
dev-octave/strings/files/strings-1.2.0-157.patch
Normal file
351
dev-octave/strings/files/strings-1.2.0-157.patch
Normal file
@@ -0,0 +1,351 @@
|
||||
changeset: 157:e1a7916b66a9
|
||||
user: John Donoghue
|
||||
date: Thu Jan 09 16:37:00 2020 -0500
|
||||
summary: Add configure scripts to detect new octave functionality (Bug #55385)
|
||||
|
||||
--- a/NEWS
|
||||
+++ b/NEWS
|
||||
@@ -1,3 +1,8 @@
|
||||
+Summary of important user-visible changes for strings 1.2.1+:
|
||||
+-------------------------------------------------------------------
|
||||
+
|
||||
+ ** Update package to compile in GNU Octave 5+
|
||||
+
|
||||
Summary of important user-visible changes for strings 1.2.1:
|
||||
-------------------------------------------------------------------
|
||||
|
||||
@@ -5,7 +10,6 @@
|
||||
trailing zeros which have been introduced by padding (bug #38974), returns
|
||||
uint8 vectors instead of binary64 vectors, and should perform faster.
|
||||
|
||||
-
|
||||
Summary of important user-visible changes for strings 1.2.0:
|
||||
-------------------------------------------------------------------
|
||||
|
||||
--- a/src/Makefile
|
||||
+++ /dev/null
|
||||
@@ -1,11 +0,0 @@
|
||||
-OCTAVE ?= octave
|
||||
-MKOCTFILE ?= mkoctfile -Wall
|
||||
-
|
||||
-PCRE_SWITCHES := $(shell $(OCTAVE) \
|
||||
- --no-gui --no-init-file --no-site-file --silent --no-history \
|
||||
- --eval 'disp (octave_config_info ("PCRE_LIBS"));' \
|
||||
- --eval 'disp (octave_config_info ("PCRE_CPPFLAGS"));' \
|
||||
- )
|
||||
-
|
||||
-pcregexp.oct: %.oct: %.cc
|
||||
- $(MKOCTFILE) $(PCRE_SWITCHES) -o $@ $<
|
||||
--- /dev/null
|
||||
+++ b/src/Makefile.in
|
||||
@@ -0,0 +1,42 @@
|
||||
+# Makefile for strings package for Octave
|
||||
+#
|
||||
+# Copyright (C) 2019 John Donoghue
|
||||
+#
|
||||
+# This program is free software; you can redistribute it and/or modify
|
||||
+# it under the terms of the GNU General Public License as published by
|
||||
+# the Free Software Foundation; either version 3 of the License, or
|
||||
+# (at your option) any later version.
|
||||
+#
|
||||
+# This program is distributed in the hope that it will be useful, but
|
||||
+# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+# General Public License for more details.
|
||||
+#
|
||||
+# You should have received a copy of the GNU General Public License
|
||||
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
+
|
||||
+
|
||||
+# before cross building, pre-build at least $(TEXIFILE) natively,
|
||||
+# e.g. with targets 'doc', 'html', or 'prebuild'
|
||||
+
|
||||
+PCRE_CXXFLAGS ?= @PCRE_CFLAGS@
|
||||
+PCRE_LIBS ?= @PCRE_LIBS@
|
||||
+
|
||||
+MKOCTFILE ?= @MKOCTFILE@
|
||||
+
|
||||
+.PHONY: all clean distclean maintainer-clean
|
||||
+
|
||||
+all: pcregexp.oct
|
||||
+
|
||||
+%.oct: %.cc
|
||||
+ $(MKOCTFILE) -o $@ $< $(PCRE_CXXFLAGS) $(PCRE_LIBS)
|
||||
+
|
||||
+clean:
|
||||
+ $(RM) *.o octave-core *.oct *~
|
||||
+
|
||||
+distclean: clean
|
||||
+ $(RM) config.h config.log config.status Makefile oct-alt-includes.h
|
||||
+ $(RM) -r autom4te.cache
|
||||
+
|
||||
+maintainer-clean: distclean
|
||||
+ $(RM) configure config.h.in aclocal.m4
|
||||
--- /dev/null
|
||||
+++ b/src/bootstrap
|
||||
@@ -0,0 +1,7 @@
|
||||
+#! /bin/sh
|
||||
+
|
||||
+aclocal
|
||||
+
|
||||
+autoconf
|
||||
+
|
||||
+autoheader -f
|
||||
--- /dev/null
|
||||
+++ b/src/configure.ac
|
||||
@@ -0,0 +1,102 @@
|
||||
+# -*- Autoconf -*-
|
||||
+# Process this file with autoconf to produce a configure script.
|
||||
+#
|
||||
+### Copyright (C) 2015-2018 Olaf Till <i7tiol@t-online.de>
|
||||
+### Copyright (C) 2019 John Donoghue <john.donoghue@ieee.org>
|
||||
+###
|
||||
+### This program is free software; you can redistribute it and/or
|
||||
+### modify it under the terms of the GNU General Public License as
|
||||
+### published by the Free Software Foundation; either version 3 of the
|
||||
+### License, or (at your option) any later version.
|
||||
+###
|
||||
+### This program is distributed in the hope that it will be useful,
|
||||
+### but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+### General Public License for more details.
|
||||
+###
|
||||
+### You should have received a copy of the GNU General Public License
|
||||
+### along with this program; if not, see
|
||||
+### <http://www.gnu.org/licenses/>.
|
||||
+
|
||||
+AC_PREREQ([2.67])
|
||||
+AC_INIT([strings], [1.2.0])
|
||||
+AC_CONFIG_SRCDIR([pcregexp.cc])
|
||||
+AC_CONFIG_HEADERS([config.h])
|
||||
+
|
||||
+# Avoid warnings for redefining AH-generated preprocessor symbols of
|
||||
+# Octave.
|
||||
+AH_TOP([#include "undef-ah-octave.h"])
|
||||
+
|
||||
+AC_CONFIG_MACRO_DIRS([m4])
|
||||
+
|
||||
+# Checks for programs.
|
||||
+AC_CHECK_PROG(MKOCTFILE, mkoctfile, mkoctfile)
|
||||
+if test -z "$MKOCTFILE"; then
|
||||
+AC_MSG_ERROR([mkoctfile not found], 1);
|
||||
+fi
|
||||
+AC_CHECK_PROG(OCTAVE_CONFIG, octave-config, octave-config)
|
||||
+if test -z "$OCTAVE_CONFIG"; then
|
||||
+AC_MSG_ERROR([octave-config not found], 1);
|
||||
+fi
|
||||
+
|
||||
+#AC_CHECK_TOOL(PKG_CONFIG, pkg-config, [])
|
||||
+#if test -z "$PKG_CONFIG"; then
|
||||
+# AC_MSG_ERROR([pkg-config not found], 1);
|
||||
+#fi
|
||||
+
|
||||
+
|
||||
+# The same value of CXX as Octave was compiled with is supposed to be used.
|
||||
+CXX=${CXX:-`${MKOCTFILE} -p CXX`}
|
||||
+AC_PROG_CXX
|
||||
+
|
||||
+AC_PROG_CXXCPP
|
||||
+
|
||||
+# Checks for typedefs, structures, and compiler characteristics.
|
||||
+
|
||||
+# Checks for library functions.
|
||||
+PKG_CHECK_MODULES([PCRE],[libpcre],
|
||||
+ [],
|
||||
+ [AC_MSG_ERROR([libpcre not found])]
|
||||
+)
|
||||
+
|
||||
+
|
||||
+# Start of checks for Octave features, preparations for checks.
|
||||
+OCTLIBDIR=${OCTLIBDIR:-`$OCTAVE_CONFIG -p OCTLIBDIR`}
|
||||
+## We need Octaves include path both with and without '/octave'
|
||||
+## appended. The path without '/octave' is needed to selectively test
|
||||
+## for Octave headers, like octave/....h. The path with '/octave' is
|
||||
+## needed since some Octave headers contain include directives for
|
||||
+## other Octave headers with <> instead of "".
|
||||
+OCTINCLUDEDIR=${OCTINCLUDEDIR:-`$MKOCTFILE -p INCFLAGS`}
|
||||
+AC_LANG_PUSH([C++])
|
||||
+TCXXFLAGS=$CXXFLAGS
|
||||
+TLDFLAGS=$LDFLAGS
|
||||
+TLIBS=$LIBS
|
||||
+TCPPFLAGS=$CPPFLAGS
|
||||
+LDFLAGS="-L$OCTLIBDIR $LDFLAGS"
|
||||
+LIBS="-loctinterp $LIBS"
|
||||
+# CXXFLAGS=
|
||||
+CPPFLAGS="$OCTINCLUDEDIR $CPPFLAGS"
|
||||
+
|
||||
+## Simple symbol alternatives of different Octave versions.
|
||||
+OF_OCTAVE_LIST_ALT_SYMS([
|
||||
+[dnl
|
||||
+ [gripe_wrong_type_arg],
|
||||
+ [err_wrong_type_arg],
|
||||
+ [[err_wrong_type_arg("test");]],
|
||||
+ [OCTAVE__WRONG_TYPE_ARG],
|
||||
+ [],
|
||||
+ []
|
||||
+]
|
||||
+],
|
||||
+ [oct-alt-includes.h])
|
||||
+
|
||||
+LIBS=$TLIBS
|
||||
+LDFLAGS=$TLDFLAGS
|
||||
+CXXFLAGS=$TCXXFLAGS
|
||||
+CPPFLAGS=$TCPPFLAGS
|
||||
+AC_LANG_POP([C++])
|
||||
+# End of checks for Octave features.
|
||||
+
|
||||
+AC_CONFIG_FILES([Makefile])
|
||||
+AC_OUTPUT
|
||||
--- /dev/null
|
||||
+++ b/src/m4/octave-forge.m4
|
||||
@@ -0,0 +1,93 @@
|
||||
+# Copyright (C) 2017-2018 Olaf Till <i7tiol@t-online.de>
|
||||
+# Modifications to print what is searching for by JohnD
|
||||
+#
|
||||
+# This program is free software; you can redistribute it and/or modify
|
||||
+# it under the terms of the GNU General Public License as published by
|
||||
+# the Free Software Foundation; either version 3 of the License, or
|
||||
+# (at your option) any later version.
|
||||
+#
|
||||
+# This program is distributed in the hope that it will be useful, but
|
||||
+# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
+# General Public License for more details.
|
||||
+#
|
||||
+# You should have received a copy of the GNU General Public License
|
||||
+# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
||||
+
|
||||
+# arguments of OF_OCTAVE_ALT_SYMS (see also description of
|
||||
+# OF_OCTAVE_LIST_ALT_SYMS below):
|
||||
+#
|
||||
+# $1: symbol version 1
|
||||
+# $2: symbol version 2
|
||||
+# $3: test for symbol version 2
|
||||
+# $4: macro name to access alternative symbols
|
||||
+# $5: include directives for symbol version 1
|
||||
+# $6: include directives for symbol version 2
|
||||
+# (a list of lists of args 1--6 is $1 of OF_OCTAVE_LIST_ALT_SYMS)
|
||||
+# $7: name of generated include file with alternatives of Octave headers
|
||||
+# (arg7 is $2 of OF_OCTAVE_LIST_ALT_SYMS)
|
||||
+AC_DEFUN([OF_OCTAVE_ALT_SYMS], [
|
||||
+AC_MSG_CHECKING([$1 or $2])
|
||||
+ AC_COMPILE_IFELSE(
|
||||
+ [AC_LANG_PROGRAM([[#include <octave/oct.h>]
|
||||
+ $6],
|
||||
+ [$3])],
|
||||
+ [AC_DEFINE($4,
|
||||
+ [[$2]],
|
||||
+ [macro for alternative Octave symbols])
|
||||
+ AC_MSG_RESULT([$2])
|
||||
+ echo '$6' >> $7],
|
||||
+ [AC_DEFINE($4,
|
||||
+ [[$1]],
|
||||
+ [macro for alternative Octave symbols])
|
||||
+ AC_MSG_RESULT([$1])
|
||||
+ echo '$5' >> $7]
|
||||
+)
|
||||
+])
|
||||
+
|
||||
+
|
||||
+# OF_OCTAVE_LIST_ALT_SYMS is called in the following way:
|
||||
+#
|
||||
+# OF_OCTAVE_LIST_ALT_SYMS([
|
||||
+# [dnl
|
||||
+# [old_octave_symbol],
|
||||
+# [new_octave_symbol],
|
||||
+# [[compilation test]
|
||||
+# [for new_octave_symbol]],
|
||||
+# [NAME_OF_GENERATED_MACRO____WILL_EXPAND_TO_OLD_OR_NEW_SYMBOL],
|
||||
+# [[include directives]
|
||||
+# [except #include <octave/oct.h>]
|
||||
+# [necessary to compile with old_octave_symbol]],
|
||||
+# [[include directives]
|
||||
+# [except #include <octave/oct.h>]
|
||||
+# [nessary to compile with new_octave_symbol]
|
||||
+# [and to compile the test]]
|
||||
+# ],
|
||||
+#
|
||||
+# ... further such lists as the above
|
||||
+#
|
||||
+# ],
|
||||
+#
|
||||
+# [name-of-header-file-for-alternative-octave-iclude-directives.h])
|
||||
+#
|
||||
+#
|
||||
+# This file should be put into src/m4/, and the line
|
||||
+#
|
||||
+# AC_CONFIG_MACRO_DIRS([m4])
|
||||
+#
|
||||
+# should be put into src/configure.ac. The package should use
|
||||
+# autoheader to generate config.h.in (src/bootstrap should contain the
|
||||
+# lines 'aclocal', 'autoconf', and 'autoheader -f'). Package code
|
||||
+# should include config.h and use the generated macros to access the
|
||||
+# alternative symbols of Octave. An example of a call to
|
||||
+# OF_OCTAVE_LIST_ALT_SYMS in src/configure.ac is available together
|
||||
+# with this file.
|
||||
+AC_DEFUN([OF_OCTAVE_LIST_ALT_SYMS], [
|
||||
+
|
||||
+echo '/* generated by configure */' > $2
|
||||
+
|
||||
+m4_foreach([it], [$1], [m4_apply([OF_OCTAVE_ALT_SYMS], [it, $2])])
|
||||
+
|
||||
+AH_BOTTOM([#include "$2"])
|
||||
+
|
||||
+])
|
||||
--- a/src/pcregexp.cc
|
||||
+++ b/src/pcregexp.cc
|
||||
@@ -1,4 +1,4 @@
|
||||
-// Copyright (C) 2004 Stefan van der Walt <stefan@sun.ac.za>
|
||||
+// Copyright (C) 2004-2019 Stefan van der Walt <stefan@sun.ac.za>
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
@@ -26,6 +26,8 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
+#include "config.h"
|
||||
+
|
||||
//FIXME This function needs some documentation
|
||||
DEFUN_DLD(pcregexp, args, nargout, "\
|
||||
-*- texinfo -*-\n\
|
||||
@@ -49,7 +51,7 @@
|
||||
std::string pattern = args(0).string_value();
|
||||
std::string input = args(1).string_value();
|
||||
if (error_state) {
|
||||
- gripe_wrong_type_arg("pcregexp", args(0));
|
||||
+ OCTAVE__WRONG_TYPE_ARG("pcregexp", args(0));
|
||||
return retval;
|
||||
}
|
||||
|
||||
--- /dev/null
|
||||
+++ b/src/undef-ah-octave.h
|
||||
@@ -0,0 +1,27 @@
|
||||
+/* To be included at the top of config.h (by autoheader). Avoid
|
||||
+ warnings for redefining AH-generated preprocessor symbols of
|
||||
+ Octave. */
|
||||
+
|
||||
+#ifdef PACKAGE_BUGREPORT
|
||||
+#undef PACKAGE_BUGREPORT
|
||||
+#endif
|
||||
+
|
||||
+#ifdef PACKAGE_NAME
|
||||
+#undef PACKAGE_NAME
|
||||
+#endif
|
||||
+
|
||||
+#ifdef PACKAGE_STRING
|
||||
+#undef PACKAGE_STRING
|
||||
+#endif
|
||||
+
|
||||
+#ifdef PACKAGE_TARNAME
|
||||
+#undef PACKAGE_TARNAME
|
||||
+#endif
|
||||
+
|
||||
+#ifdef PACKAGE_URL
|
||||
+#undef PACKAGE_URL
|
||||
+#endif
|
||||
+
|
||||
+#ifdef PACKAGE_VERSION
|
||||
+#undef PACKAGE_VERSION
|
||||
+#endif
|
||||
|
||||
17
dev-octave/strings/files/strings-1.2.0-158.patch
Normal file
17
dev-octave/strings/files/strings-1.2.0-158.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
changeset: 158:2db1dbb75557
|
||||
user: John Donoghue
|
||||
date: Thu Jan 09 16:38:52 2020 -0500
|
||||
summary: * inst/base64encode.m: dont use depreciated toascii
|
||||
|
||||
--- a/inst/base64encode.m
|
||||
+++ b/inst/base64encode.m
|
||||
@@ -46,7 +46,7 @@
|
||||
endif
|
||||
|
||||
if (ischar (X))
|
||||
- X = toascii (X);
|
||||
+ X = double (X);
|
||||
endif
|
||||
|
||||
if (any (X != fix (X)) || any (X < 0 | X > 255))
|
||||
|
||||
20
dev-octave/strings/files/strings-1.2.0-160.patch
Normal file
20
dev-octave/strings/files/strings-1.2.0-160.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
changeset: 160:98fa88db1ba8
|
||||
tag: tip
|
||||
user: Markus Mützel <markus.muetzel@gmx.de>
|
||||
date: Sun Nov 28 22:02:20 2021 +0100
|
||||
summary: Fix compilation with Octave 8 (bug #61578).
|
||||
|
||||
--- a/src/pcregexp.cc
|
||||
+++ b/src/pcregexp.cc
|
||||
@@ -50,10 +50,6 @@
|
||||
|
||||
std::string pattern = args(0).string_value();
|
||||
std::string input = args(1).string_value();
|
||||
- if (error_state) {
|
||||
- OCTAVE__WRONG_TYPE_ARG("pcregexp", args(0));
|
||||
- return retval;
|
||||
- }
|
||||
|
||||
// Compile expression
|
||||
pcre *re;
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
Description: Build against Octave 6.1
|
||||
Replace the calls to the deprecated function toascii by double.
|
||||
Author: Rafael Laboissière <rafael@debian.org>
|
||||
Origin: upstream, https://sourceforge.net/p/octave/strings/ci/2db1dbb75557eef94605cb4ac682783ab78ac8d8/
|
||||
Bug-Debian: https://bugs.debian.org/976200
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2020-12-01
|
||||
|
||||
--- octave-strings-1.2.0.orig/inst/base64encode.m
|
||||
+++ octave-strings-1.2.0/inst/base64encode.m
|
||||
@@ -46,7 +46,7 @@ function Y = base64encode (X, row_vector
|
||||
endif
|
||||
|
||||
if (ischar (X))
|
||||
- X = toascii (X);
|
||||
+ X = double (X);
|
||||
endif
|
||||
|
||||
if (any (X != fix (X)) || any (X < 0 | X > 255))
|
||||
--- octave-strings-1.2.0.orig/inst/base64decode.m
|
||||
+++ octave-strings-1.2.0/inst/base64decode.m
|
||||
@@ -60,7 +60,7 @@ function z = base64decode (X, as_string)
|
||||
Y=[];
|
||||
end
|
||||
|
||||
- X = toascii(X);
|
||||
+ X = double(X);
|
||||
Xa= X;
|
||||
|
||||
## Work backwards. Starting at step in table,
|
||||
@@ -1,16 +0,0 @@
|
||||
Description: Use err_* functions instead of the deprecated gripes_*
|
||||
Author: Rafael Laboissiere <rafael@debian.org>
|
||||
Forwarded: https://savannah.gnu.org/bugs/index.php?57000
|
||||
Last-Update: 2019-10-05
|
||||
|
||||
--- octave-strings-1.2.0.orig/src/pcregexp.cc
|
||||
+++ octave-strings-1.2.0/src/pcregexp.cc
|
||||
@@ -49,7 +49,7 @@ Check your system's @code{pcre} man page
|
||||
std::string pattern = args(0).string_value();
|
||||
std::string input = args(1).string_value();
|
||||
if (error_state) {
|
||||
- gripe_wrong_type_arg("pcregexp", args(0));
|
||||
+ err_wrong_type_arg("pcregexp", args(0));
|
||||
return retval;
|
||||
}
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/strings/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/strings/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/strings</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -3,10 +3,15 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
MYPV="$(ver_cut 1-3)"
|
||||
MYP="${PN}-${MYPV}"
|
||||
|
||||
inherit octaveforge
|
||||
|
||||
DESCRIPTION="Additional functions for manipulation and analysis of strings"
|
||||
HOMEPAGE="https://octave.sourceforge.io/strings/index.html"
|
||||
SRC_URI="mirror://sourceforge/octave/${MYP}.tar.gz"
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
LICENSE="GPL-3+ BSD-2"
|
||||
SLOT="0"
|
||||
@@ -19,6 +24,12 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-build-against-octave-6.patch"
|
||||
"${FILESDIR}/${P}-err-instead-of-gripes.patch"
|
||||
"${FILESDIR}/${MYP}-156.patch"
|
||||
"${FILESDIR}/${MYP}-157.patch"
|
||||
"${FILESDIR}/${MYP}-158.patch"
|
||||
"${FILESDIR}/${MYP}-160.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
}
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/struct/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/struct/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/struct</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<upstream>
|
||||
<changelog>https://octave.sourceforge.io/symbolic/NEWS.html</changelog>
|
||||
<doc lang="en">https://octave.sourceforge.io/symbolic/overview.html</doc>
|
||||
<remote-id type="sourceforge">octave/symbolic</remote-id>
|
||||
<remote-id type="sourceforge">octave</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
SRC_URI="https://github.com/LettError/MutatorMath/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="~amd64"
|
||||
DESCRIPTION="A library for piecewise linear interpolation in multiple dimensions"
|
||||
HOMEPAGE="https://github.com/LettError/MutatorMath"
|
||||
LICENSE="BSD"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
EPYTEST_DESELECT=( castellan/tests/unit/test_utils.py::TestUtils::test_oslo_context_to_keystone_token )
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,8 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
#don't bump to python 3.10 until https://github.com/drgrib/dotmap/issues/76 is resolved
|
||||
PYTHON_COMPAT=( python3_{8..9} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ EPYTEST_DESELECT=(
|
||||
tests/test_etcd3.py::TestEtcd3
|
||||
tests/test_etcd3.py::TestAlarms
|
||||
)
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_{8,9} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ EPYTEST_DESELECT=(
|
||||
jsonpath_rw_ext/tests/test_jsonpath_rw_ext.py::TestJsonpath_rw_ext::test_fields_value
|
||||
jsonpath_rw_ext/tests/test_jsonpath_rw_ext.py::TestJsonpath_rw_ext::test_shortcut_functions
|
||||
)
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ EPYTEST_DESELECT=(
|
||||
osprofiler/tests/unit/test_profiler.py::test_fn_exc
|
||||
)
|
||||
EPYTEST_IGNORE=( osprofiler/tests/unit/drivers/test_jaeger.py )
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
EPYTEST_IGNORE=( ovsdbapp/tests/functional )
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
DIST python-manilaclient-3.3.0.tar.gz 320475 BLAKE2B e83e30593d26e9ba26f9f487507f6c9a9b38be69b59af69dcdb85242abb81879e689efb70c937bb8afef74841adf54e5e7724f2173a6bc9c7d76c90535bf1b4c SHA512 084293115370a174678dd8bde3f144213f10ce4a3addf7058365b0bbde31b2a56643b0417ec97ced297bf99e141a1fd96503aea96795c36862548268d6f7ae31
|
||||
DIST python-manilaclient-3.4.0.tar.gz 320304 BLAKE2B 4bb9fc47816c1cf8dcc163bd3119932b14f6af6796486053175e91efd94434d485281e6ec74f79c9d054309a486c4590d379817015f78e0c29f5036f7583b8d9 SHA512 0b4852a2df90b1a1f0deaacc235aec47e9f4e95f0d3b75a0fbad7ef90569f438723e4b9df02e6a9dc9752ff77a0b2425f09add8f95d41c1db12c50fbfa3022b0
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
EPYTEST_IGNORE=( manilaclient/tests/functional )
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A client for the OpenStack Manila API"
|
||||
HOMEPAGE="
|
||||
https://opendev.org/openstack/python-manilaclient
|
||||
https://github.com/openstack/python-manilaclient
|
||||
https://pypi.org/project/python-manilaclient/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/prettytable-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/osc-lib-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/ddt-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/tempest-17.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
EPYTEST_IGNORE=( manilaclient/tests/functional )
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
MYP="${P/_p/.post}"
|
||||
PYTHON_COMPAT=( python3_{8..9} )
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
DIST strictyaml-1.5.0.tar.gz 201594 BLAKE2B 39217a6189cfedde8c4ddf54097db3af558d098d016ef3bef64915e4f652f9780bf7544db7513dfea56acc0b34c41c396533ec6af22e9c204c70706554dd20d5 SHA512 708f82356a081bd0b53b9e1f59d669897be8262d57d3d8bb6d75af2225f68eb9c16791cdf2bc7148dfd5b94f54a2d214bbe166f5dd513dbb7987cc472e6e7b4d
|
||||
DIST strictyaml-1.6.1.tar.gz 287908 BLAKE2B ab59addc5a86624c242339ec371403dd0ebb509c0bcf6d9484e71c26ee2670df897458bc7613367eaabe1493068ecaff37cd0b5e2cf08dc97e10107b9f3061f2 SHA512 8492432b599a6af283bd4d9adeac7fba0fc5dd3e081fb5055526799475e62987de30527ca94eecfebf568673d9bd18ffa9a70bb298c88a49e81683e4eea11349
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user