Merge updates from master

This commit is contained in:
Repository mirror & CI
2022-03-26 12:04:27 +00:00
70 changed files with 633 additions and 769 deletions

View File

@@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{7,8,9} )
PYTHON_COMPAT=( python3_{8..9} )
CRATES="
aho-corasick-0.5.3
@@ -183,15 +183,13 @@ KEYWORDS="~amd64"
IUSE="doc"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
DEPEND="
DEPEND="${PYTHON_DEPS}
x11-libs/libxcb
dev-lang/python-exec[native-symlinks]
"
RDEPEND="
${DEPEND}
!app-editors/${PN}-bin
"
RDEPEND="${DEPEND}"
BDEPEND="
${DEPEND}
${PYTHON_DEPS}

View File

@@ -1 +1 @@
DIST ssmtool-0.6.2.tar.gz 152686 BLAKE2B fe274017f8ac25bc90f66aa4046f52ebc6057c1bcf3ab218f429ecc20df6f192bba9156095250f10ac88963297393d21fd812f4d45fb24952253a20920f2064d SHA512 0e0f0e6f5720ea8afdc3172d30ff2adc822c02bcc23e9b5149b023db46116b60732cb05f092ec77eca33deebc4c291e71b8a3bd3b11f4f59ac729ea5cb17709d
DIST ssmtool-0.6.4.tar.gz 153138 BLAKE2B 06d66776988d2da7a722f3e210f348868d0219e97457beea5090948df919fa5ec710a6578f57bd01556b1c505662611c406dcfdaee6de43e479443e955a8e514 SHA512 d1cb2c886916cc227a2a8f4feba8987423da97c6147be2eb7c70ef043390c89b1c442a8f315730dfa7a233f3005b49b1228ee58cb4830a08efa9209cc7f8af8c

View File

@@ -18,7 +18,6 @@ KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/PyQt5[${PYTHON_USEDEP}]
dev-python/simplemma[${PYTHON_USEDEP}]
~dev-python/googletrans-4.0.0_rc1[${PYTHON_USEDEP}]
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/flask[${PYTHON_USEDEP}]

View File

@@ -1 +1 @@
DIST 0.0.3.tar.gz 76604 BLAKE2B f8c18fd59b922ee3a9b023eb240e7bb2b420383ef499124b1fa57887bc891dd4b51e9951af1d739b49ec471ef632592f3cc73c8d99b35d256bbcd885229895a7 SHA512 ece522c106baff8423d74a596f6f175206860661379afabee4f4c54d1c94b2ea0b3bc4845338a7c37080cd1a9d240e9fb77ae4eae02964a34516d096cc60f536
DIST yaf-0.0.3.tar.gz 76604 BLAKE2B f8c18fd59b922ee3a9b023eb240e7bb2b420383ef499124b1fa57887bc891dd4b51e9951af1d739b49ec471ef632592f3cc73c8d99b35d256bbcd885229895a7 SHA512 ece522c106baff8423d74a596f6f175206860661379afabee4f4c54d1c94b2ea0b3bc4845338a7c37080cd1a9d240e9fb77ae4eae02964a34516d096cc60f536

View File

@@ -8,7 +8,7 @@
</maintainer>
<longdescription lang="en">
Yet Another Fetch is a tool that fetches system information and shows it in a beautiful way for some extra upvotes on r/unixporn.
Yet another system fetch that is minimal and customizable.
Yet another system fetch that is minimal and customizable.
</longdescription>
<upstream>
<remote-id type="github">deepjyoti30/yaf</remote-id>

View File

@@ -5,7 +5,7 @@ EAPI=8
DESCRIPTION="Yet another system fetch that is minimal and customizable."
HOMEPAGE="https://github.com/deepjyoti30/yaf"
SRC_URI="https://github.com/deepjyoti30/${PN}/archive/refs/tags/${PV}.tar.gz"
SRC_URI="https://github.com/deepjyoti30/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"

View File

@@ -1 +1,2 @@
DIST parallel-hashmap-1.33.tar.gz 2038996 BLAKE2B b704a0230bd6d15e8a3a1aa11bec456183119d5104e1ac191e556edae1c0b0d2a27c5b52c84cae167cd09a90f4fc43f817c21d64d6b288a70596b6495ee872e6 SHA512 287f098229153d925632e68e3cdbabfae0ea0ab8864089e4c0553a166c6079ca82ed5246ba53afd2a2917abcf06f37bc18f098e721f5f3b8def4d2d8c1c8c745
DIST parallel-hashmap-1.34.tar.gz 2043028 BLAKE2B 30629288656a22cfd56da9485458f604487383cc5951e230a833b182cbbcc706b78d0b8a45fb76c4fca6da930f49cdb79b2ca63926ca8cd60cc7445b58c8edbd SHA512 3747422e80406aa77b009adee3c16325640dd1044560882fb881dac5ef4109f7d165d26ed7e64002c9285275f95962725ce20c918da12c0c113999c8ca3c7429

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Family of header-only, fast and memory-friendly hashmap and btree containers"
HOMEPAGE="
https://greg7mdp.github.io/parallel-hashmap/
https://github.com/greg7mdp/parallel-hashmap
"
SRC_URI="https://github.com/greg7mdp/parallel-hashmap/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="examples test"
CDEPEND="dev-libs/cereal"
DEPEND="test? ( ${CDEPEND} )"
RDEPEND="${CDEPEND}"
RESTRICT="!test? ( test )"
src_compile() {
mycmakeargs=(
PHMAP_BUILD_EXAMPLES=$(usex examples)
PHMAP_BUILD_TESTS=$(usex test)
)
cmake_src_compile
}
src_install() {
cmake_src_install
if use examples ; then
dodoc -r examples
docompress -x "/usr/share/doc/${PF}/examples"
fi
}

View File

@@ -1 +1,2 @@
DIST plog-1.1.5_p20200501.tar.gz 42321 BLAKE2B 18f4722fbd985abc3c0b14f9eeea6d5c6b0ee8d01b3433ee167a5510f4d661b70e067a11f4a60a0573b4eec3c264d9260dd6bba6f87103769684e4e3e06235ac SHA512 6b0322c61682295150ec5a856faf597ac78897d30314b265908cd9d6da2956b1b2d8562c90818332e42a41f129a3b35ec3d56f1163e7ac979aea617cc01e9c3f
DIST plog-1.1.6.tar.gz 44556 BLAKE2B 411991bd5c0ec0d5d38633897256ba71a0bcecb3383e90483fa376b0b60801f5fdde1350fd6b1431818eec4bdc89fb250c66482720dffba71d5511f5ae5e436e SHA512 5240532df96144d5026d6f879b69f7d6f393ebc9122c6458c41076fd3db998565e45ed2ab4948f8c3cb59e08c0aad7695ee416f95b49fd70209cd937220cdf8b

View File

@@ -0,0 +1,20 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Portable, simple and extensible C++ logging library"
HOMEPAGE="https://github.com/SergiusTheBest/plog"
SRC_URI="https://github.com/SergiusTheBest/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="MPL-2.0"
SLOT="0"
IUSE="examples"
src_install() {
doheader -r "include/${PN}"
dodoc README.md
insinto "/usr/share/${P}/samples"
use examples && doins -r samples/.
}

View File

@@ -1 +1,2 @@
DIST memkind-1.11.0.tar.gz 1072455 BLAKE2B 2de2cf053687ba2150f694e8c4143eeca74fc377feee2b6892067b661d8c58d7d5fcacb021fc92a47dad27f52aa4cbc6408cfede3141ab1f8ae81147b49aa6a7 SHA512 0b5bde35b3565c730fa954aebfe2ccbecd1e120c920d05acdbc0a74914731a90aeef8d57101f1f47bd35fd310bc143fa517bc871b32e592b8412384ff652fc05
DIST memkind-1.13.0.tar.gz 1111767 BLAKE2B fb2b0ca70b6da32b2bf42cba68f549c279f301f2c9b2eb2f7dfcb2909105bb1eb84bd6abdf15dfcb5f45a5e0bab7fbd0aef95ce090b06b02bc8ae099bdf1b0ca SHA512 509d49e3c67321496b322469d4bb13aa8b9038e94dc9bdfb379c38e86a5705ba13bc015443da8291be49711e14bce9845b697f62cfcc981168f255f9fb515b0e

View File

@@ -0,0 +1,83 @@
# Copyright 1999-2022 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 filelog +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 logging-to-file filelog)
$(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
}

View File

@@ -19,6 +19,7 @@ The memkind library is a user extensible heap manager built on top of jemalloc w
<flag name="decorators">Enable decorators</flag>
<flag name="heap-manager">Allow switching allocator at runtime</flag>
<flag name="hwloc">Build library with hwloc support</flag>
<flag name="filelog">Log to file for each process</flag>
<flag name="initial-exec-tls">Build library with initial-exec-tls support</flag>
<flag name="secure">Build libraries with security enhancements</flag>
<flag name="tls">Enable thread local storage</flag>

View File

@@ -3,6 +3,8 @@
EAPI=8
inherit toolchain-funcs
COMMIT="f489ea67801d04d44cc65d63365d187cdd58dbe9"
DESCRIPTION="Portable Standard Lisp"
@@ -28,6 +30,7 @@ DOCS=( README.md README.2 manual/sl.pdf manual/lispman.pdf )
PATCHES="${FILESDIR}/${P}-respect-flags.patch"
src_compile() {
tc-export CC
default
emake sizes
if use doc; then

View File

@@ -1,2 +1,2 @@
DIST babelfont-2.0.1.tar.gz 731550 BLAKE2B df941bc1e0dfe92e5cb1ccc4610b8ad2674405a947605d01b87fa365417b061591b5e9e6265af009516c24890fc5ecfa6314e6e49ac3b6cf255dcbdf446a338e SHA512 40cd60fe81d28218601be6903cced481b82bc7f205aa6715f729c4936f4608c232c809a566e7b3ca65f56cf15238d3056fef1e5de000b86264365168c4c7f3e3
DIST babelfont-2.0.2.tar.gz 636572 BLAKE2B 4b30f4e4ce3840ab3e0be895d1d87d5067488405d1ba9bbb30ec9f62b02561067f2f536e910a59eeebbfeadbfc70fdd3b22370bdfd42841fa9d75490e5351109 SHA512 478dfb9aacd42b6e1bdf361912644d43a81dd4f0bba8a3414529f9aebd0132f98db24749073c35e82caceb4c371a1bba01e4d2bcaf530b8a97286bc8f26cfd8b
DIST babelfont-3.0.0a8.tar.gz 27232 BLAKE2B d6e4e78d09014169f10960bcf4f90670d307013486b6634d4b5ec80befe6e78f49f11eb1ed42ee1ab01a972187d9b5d2cbebb972c192f396f50093d55d8a9ac3 SHA512 e2d429bbad4cea7927da75e0ac09a59ecfa94b9c38aaabe9c155e29f3cdda224e021cbc3c0c3d5863e68f306e1f57f42f0eff318b6092cf0704419811853422c

View File

@@ -1,16 +1,18 @@
# 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
MYP="${P/_alpha/a}"
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
SRC_URI="https://github.com/simoncozens/babelfont/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
DESCRIPTION="Interrogate and manipulate UFO, TTF and OTF fonts with a common interface"
HOMEPAGE="https://github.com/simoncozens/babelfont"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MYP}.tar.gz"
KEYWORDS="~amd64 ~x86"
LICENSE="MIT"
SLOT="0"

View File

@@ -22,5 +22,11 @@ RDEPEND="
>=dev-python/beziers-0.1.0[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
test? (
>=dev-python/youseedee-0.3.0[${PYTHON_USEDEP}]
>=dev-python/babelfont-3.0.0_alpha1[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -30,6 +30,7 @@ BDEPEND="
test? (
dev-python/defcon[${PYTHON_USEDEP}]
dev-python/ufoNormalizer[${PYTHON_USEDEP}]
dev-python/ufo2ft[${PYTHON_USEDEP}]
>=app-text/xmldiff-2.2[${PYTHON_USEDEP}]
)
"

View File

@@ -1 +1 @@
DIST mobi-0.3.2-r1.tar.gz 649831 BLAKE2B d738b53b5be68cb03acfbedf1a5c1b9f207c743e6ee4fd83a88b2dad01e9a1f0d332d1d1a27c29b7e98edc0d3c10ae632f3de6c27249aa297a0923ce62c87966 SHA512 eca946811091927011fbf2ba3f3ad92f9c914861a4549e70571e74fc8974de75924c41482945540bb38381129a02965d3f2c04b11e728923129b89dea6c957c4
DIST mobi-0.3.3-r1.tar.gz 647726 BLAKE2B 3ae6e1347fa4feece8a35a579ac6006da33a8ef74e3db292babc857f8f8d51f974ec507b4f534fe4985048fd1c62376679309d776fcbfb4a6d65d325e1b590d1 SHA512 1e207ac17b9ef3584eab5843ae9b231c0a6a4946ec20dcdfed504d53b11ea724b3dfe9b509c68d94270ec32c57a979f85c00f4b583bcc2b888f4f33ab3c4e202

View File

@@ -0,0 +1 @@
DIST oslo-limit-1.5.0.tar.gz 29378 BLAKE2B 36a89f9a37b7c9e3a46f1e2bdee0b22ac320f8a164b6be03e7ef3c4152854999b3b339046780f249008bebcc48ba554b2ab18a6a31107f580db05fbf839d03f6 SHA512 f77c1bd3dd38310184a84bce1aa224268d92671b45c7d234f774122a43ff8966d8118270daf1aba8dd7b8ab367ef0d715374f81537b2f0fd5850858e280afaad

View 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>
<stabilize-allarches/>
<upstream>
<bugs-to>https://bugs.launchpad.net/oslo.limit</bugs-to>
<remote-id type="launchpad">oslo.limit</remote-id>
<remote-id type="github">openstack/oslo.limit</remote-id>
<remote-id type="pypi">oslo.limit</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,45 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
MY_PN=${PN/-/.}
DESCRIPTION="Limit enforcement library to assist with quota calculation"
HOMEPAGE="
https://opendev.org/openstack/oslo.limit
https://pypi.org/project/oslo.limit/
https://github.com/openstack/oslo.limit
"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=dev-python/keystoneauth-3.9.0[${PYTHON_USEDEP}]
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
>=dev-python/oslo-log-3.44.0[${PYTHON_USEDEP}]
>=dev-python/openstacksdk-0.31.1[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
>=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
)
"
RESTRICT="test"
distutils_enable_tests pytest

View File

@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="(fast) parallel running of tests, code coverage reports, test profiling, and more"
DESCRIPTION="Parallel running of tests, code coverage reports, test profiling, and more"
HOMEPAGE="
https://github.com/heynemann/pyvows
https://pypi.org/project/pyVows/

View File

@@ -0,0 +1 @@
DIST pymorphy2-dicts-2.4.393442.3710985.tar.gz 7074530 BLAKE2B f9ffe1b1e22607c3e7ad3fc7f90acbc2bf481e3fc8401c23b2587bde49470dfa492b3e66616dfb5d9fc20f40b75c3f25bd7a98c6ed02caeb3d13b5bc6315f70b SHA512 28797bd1799b1751ccd1b25164cc847af1c44b59c1e2236e3c0aed0c3e42fff350bc8c04d831484d39e1243f08b53f968fce880efb0e5dfea177cd8f7413f29c

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM 'http://www.gentoo.org/dtd/metadata.dtd'>
<pkgmetadata>
<maintainer type="person">
<email>shaoyu0209@tuta.io</email>
<name>Shaoyu Tseng</name>
</maintainer>
<upstream>
<remote-id type="pypi">pymorphy2-dicts</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,16 @@
# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} pypy3 )
DISTUTILS_USE_SETUPTOOLS=bdepend
inherit distutils-r1
DESCRIPTION="Russian dictionary for PyMorphy2"
HOMEPAGE="https://pypi.org/project/pymorphy2-dicts-ru/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"

View File

@@ -20,6 +20,7 @@ S="${WORKDIR}/${MYPN}-${COMMIT}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND=">=dev-python/jwcrypto-1.0.0[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
@@ -31,4 +32,8 @@ BDEPEND="
)
"
distutils_enable_tests pytest
RESTRICT="!test? ( test )"
python_test() {
"${EPYTHON}" test/run/run_pyvows.py -v test || die
}

View File

@@ -1,2 +1,2 @@
DIST uharfbuzz-0.21.0.tar.gz 34064 BLAKE2B ad8ba13e53cba90794af6d9e99a555d0a266c584894ddc9cc90a9b86002cdeec438c68fa395a90d4e9119574bffd140a824c8acec8b4d5661c0013f8693a2a95 SHA512 090e408163e59d796ff9a9a7b2dca9e7ca00277ffc80139066a287f489d7358681b9eadf4a7bf5e5a7e7457c18fb30ed27d7ae2b71bfcf9cc48362a6c0793085
DIST uharfbuzz-0.22.0.tar.gz 34454 BLAKE2B 32bbb07f94ed532cfd153bac8164c0444cae9ff0b0d5af870a7e656cf7493926b8c78f868e70e111df9f4286a4779872be5430e020e59527e92843365cb42eb9 SHA512 c30b7d6f4981defd88cda4c178adbab31262bcedd9ccc0969ae1b7bee02b4846e69cecd33ab240af84581d1a34d54167fd8603ade7403f898cf03b4936287792
DIST uharfbuzz-0.23.0.tar.gz 36287 BLAKE2B 6f03aa991d53b6fe093879a0cb5d09b5065ad4fb31453f74323f540aadcdace2430ccdc0a466cddc43a356bb1dd62f066537074a208c1b56d51d43c4eb2062ee SHA512 8cacb54a3d48db29f025bd9eb72133e9a11cf61f6b8064cb91c5399e875e7b46f592bb3c4b284741a161f534bea5771f9c471489c8082ee768953b5948ee2c09

View File

@@ -0,0 +1 @@
DIST youseedee-0.3.0.tar.gz 9832 BLAKE2B 3c9f65e8d6f361ddd4f2299853ee1b50ad91637c376690c85a2cbc00b23e5bbf907c8d07f634b96ef4e866403655f94a1007402bb54ac3bc0efab39ce632be0d SHA512 563eda343a853de06acc705570559c4e19b585dd02e4ef0d279b43157ec3989f96993bb5e39331bdd8460250965b80a5b72fe22aed6deaf1f7660288608b820d

View File

@@ -0,0 +1,13 @@
<?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>
<bugs-to>https://github.com/simoncozens/youseedee/issues</bugs-to>
<remote-id type="github">simoncozens/youseedee</remote-id>
<remote-id type="pypi">youseedee</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,19 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
inherit distutils-r1
DESCRIPTION="Interface to the Unicode Character Database"
HOMEPAGE="https://github.com/simoncozens/youseedee"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64"
LICENSE="MIT"
SLOT="0"
RDEPEND="dev-python/requests[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"

View File

@@ -51,7 +51,10 @@ BDEPEND="
DOCS=( {README,NEWS}.md docs )
PATCHES=( "${FILESDIR}/${PN}-3.6.2-_get_scripts-to-data_files.patch" )
PATCHES=(
"${FILESDIR}/${PN}-3.6.2-_get_scripts-to-data_files.patch"
"${FILESDIR}/${P}-no-cmake-ninja-deps.patch"
)
distutils_enable_tests pytest

View File

@@ -0,0 +1,13 @@
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -3,9 +3,7 @@
"setuptools",
"wheel",
"setuptools_scm",
- "scikit-build",
- "cmake",
- "ninja"
+ "scikit-build"
]
build-backend = "setuptools.build_meta"

View File

@@ -0,0 +1,9 @@
--- fs2_open-21.4.1/lib/CMakeLists.txt 2021-11-01 18:00:53.000000000 +0100
+++ fs2_open-21.4.1/lib/CMakeLists.txt 2022-03-26 11:34:48.746075280 +0100
@@ -50,5 +50,3 @@
add_subdirectory(mdns)
add_subdirectory(variant)
-
-ADD_SUBDIRECTORY(lz4)
\ No newline at end of file

View File

@@ -5,6 +5,9 @@ EAPI=8
inherit cmake
DESCRIPTION="FreeSpace2 Source Code Project game engine"
HOMEPAGE="https://github.com/scp-fs2open/fs2open.github.com/"
# Replace "." with "_" in version
_PV=${PV//./_}
@@ -12,8 +15,6 @@ _PV=${PV//./_}
HASH_LIBROCKET="ecd648a43aff8a9f3daf064d75ca5725237d5b38"
HASH_CMAKE_MODULES="7cef9577d6fc35057ea57f46b4986a8a28aeff50"
DESCRIPTION="FreeSpace2 Source Code Project game engine"
HOMEPAGE="https://github.com/scp-fs2open/fs2open.github.com/"
SRC_URI="
https://github.com/scp-fs2open/fs2open.github.com/archive/refs/tags/release_${_PV}.tar.gz -> ${P}.tar.gz
https://github.com/asarium/libRocket/archive/${HASH_LIBROCKET}.tar.gz -> ${P}-ext_libRocket.tar.gz
@@ -25,24 +26,27 @@ SLOT="0"
KEYWORDS="~amd64"
DEPEND="
app-arch/lz4
<dev-lang/lua-5.1.6:5.1
dev-libs/jansson
media-libs/freetype:2
media-libs/glu
media-libs/libjpeg-turbo
media-libs/libpng
media-libs/libsdl2
media-libs/libtheora
media-libs/libvorbis
>=dev-lang/lua-5.1.0:*
media-libs/mesa
media-libs/openal
media-libs/libsdl2
media-libs/glu
dev-libs/jansson
app-arch/lz4
media-video/ffmpeg
"
RDEPEND="${DEPEND}"
BDEPEND=""
PATCHES="
${FILESDIR}/${P}-make-arch-independent.patch
${FILESDIR}/${P}-version-fix.patch
"
PATCHES=(
"${FILESDIR}/${P}-dont-build-lz4.patch"
"${FILESDIR}/${P}-make-arch-independent.patch"
"${FILESDIR}/${P}-version-fix.patch"
)
CMAKE_BUILD_TYPE=Release

View File

@@ -1 +1 @@
DIST tio-1.35.tar.xz 1413192 BLAKE2B 04d1d237187c854d767963d3dc80b572fbdf58f3668861a7b704a45664645782e77245cd2c3f9b64e0b829a8b08fb5d1b5c29a2b62e8fc134949752d97f64336 SHA512 e2ca85e189d218be4f61b0e1602e8bca5deaf93affcd2c25e1155bd25e1b31ee2d3b1ff7327225a74f3ad04d56bc5ccc18758c92947c9fb2059ebe8224659961
DIST tio-1.36.tar.xz 1803668 BLAKE2B b973c3cc344486d78b5634a6929e9b4c9550f5af029c77be70c0f10a1bc4519c4d4b31c3125cfe2a88dbf01d400b3cb74841c06c8831ba677077e8aa57751e00 SHA512 fda643b5ed8f24acfc2b9135cf508acbca1157806de884c152882526688a05e823c7de29196cb94e6bedb025bfda8750d736e07e5b829df784cb7f9042ec214a

View File

@@ -13,6 +13,13 @@ SLOT="0"
LICENSE="GPL-2+"
KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
dev-libs/inih
"
DEPEND="
${RDEPEND}
"
src_configure() {
local emesonargs=(
-Dbashcompletiondir="$(get_bashcompdir)"

View File

@@ -1,2 +0,0 @@
DIST monero-0.17.2.0.tar.gz 10622184 BLAKE2B c439e447f524a08a7ee79420873b7cf393f5cd3269460944aac30a315ac7c273c12fd809d86d41445bfc7e8c2feb0538d4e9fc1dadeb55f7e09f2920778f07a7 SHA512 85b764f1fc25127e7ca4ada67b1d832a9604c4cf65b160d689650e7ca7bbc36b73d8b26c5409fabdaad7369684997447cd812d1c521fad19d24f5b35f4789a1e
DIST monero-0.17.2.3.tar.gz 10640501 BLAKE2B 15c7b92e7d00788214953c09af96d578e79c65ba9263d2a9ea19cfb9cc65e77d15770b873a10b77aae9e908dce74162d3577ed241600ebd57098b860bfd8f114 SHA512 7f3363c2cb66fa90a47a4cbb03b367182afa63af21d40bf07ea57cd91e4805684ec4795c0390bc966626a3b7b3c0a47167036873f5d1ea4b487a3d02bf01aaa4

View File

@@ -1,44 +0,0 @@
From 12a78e5e745556c29e45b7716a8b038ecfbff800 Mon Sep 17 00:00:00 2001
From: Matt Smith <matt@offtopica.uk>
Date: Wed, 5 Aug 2020 18:39:44 +0100
Subject: [PATCH] cmake: Use job pool feature to limit concurrent jobs
Add two new options, MONERO_PARALLEL_COMPILE_JOBS and
MONERO_PARALLEL_LINK_JOBS to try and prevent running out of memory when
building everything.
Requires >= cmake 3.0.0, and the use of the Ninja generator.
Useful links:
* https://cmake.org/cmake/help/latest/prop_gbl/JOB_POOLS.html
* https://reviews.llvm.org/D6304
---
CMakeLists.txt | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f63c07a35d..3729a6b659 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,6 +55,20 @@ else()
message(STATUS "ccache deselected")
endif()
+if (${CMAKE_VERSION} VERSION_GREATER "3.0.0" AND CMAKE_MAKE_PROGRAM MATCHES "ninja")
+ set(MONERO_PARALLEL_COMPILE_JOBS "" CACHE STRING "The maximum number of concurrent compilation jobs.")
+ if (MONERO_PARALLEL_COMPILE_JOBS)
+ set_property(GLOBAL APPEND PROPERTY JOB_POOLS compile_job_pool=${MONERO_PARALLEL_COMPILE_JOBS})
+ set(CMAKE_JOB_POOL_COMPILE compile_job_pool)
+ endif ()
+
+ set(MONERO_PARALLEL_LINK_JOBS "" CACHE STRING "The maximum number of concurrent link jobs.")
+ if (MONERO_PARALLEL_LINK_JOBS)
+ set_property(GLOBAL APPEND PROPERTY JOB_POOLS link_job_pool=${MONERO_PARALLEL_LINK_JOBS})
+ set(CMAKE_JOB_POOL_LINK link_job_pool)
+ endif ()
+endif()
+
enable_language(C ASM)
function (die msg)

View File

@@ -1,112 +0,0 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 41f82e26c..3eb2b2e78 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -312,7 +312,7 @@ endif()
# elseif(CMAKE_SYSTEM_NAME MATCHES ".*BSDI.*")
# set(BSDI TRUE)
-include_directories(external/rapidjson/include external/easylogging++ src contrib/epee/include external external/supercop/include)
+include_directories(external/rapidjson/include external/easylogging++ src contrib/epee/include external )
if(APPLE)
include_directories(SYSTEM /usr/include/malloc)
@@ -995,7 +995,6 @@ if(SODIUM_LIBRARY)
set(ZMQ_LIB "${ZMQ_LIB};${SODIUM_LIBRARY}")
endif()
-include(external/supercop/functions.cmake) # place after setting flags and before src directory inclusion
add_subdirectory(contrib)
add_subdirectory(src)
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
index a8916a7d0..05ab35c82 100644
--- a/external/CMakeLists.txt
+++ b/external/CMakeLists.txt
@@ -37,19 +37,7 @@
find_package(Miniupnpc REQUIRED)
-message(STATUS "Using in-tree miniupnpc")
-add_subdirectory(miniupnp/miniupnpc)
-set_property(TARGET libminiupnpc-static PROPERTY FOLDER "external")
-if(MSVC)
- set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -wd4244 -wd4267")
-elseif(NOT MSVC)
- set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -Wno-undef -Wno-unused-result -Wno-unused-value")
-endif()
-if(CMAKE_SYSTEM_NAME MATCHES "NetBSD")
- set_property(TARGET libminiupnpc-static APPEND_STRING PROPERTY COMPILE_FLAGS " -D_NETBSD_SOURCE")
-endif()
-
-set(UPNP_LIBRARIES "libminiupnpc-static" PARENT_SCOPE)
+set(UPNP_LIBRARIES "miniupnpc" PARENT_SCOPE)
find_package(Unbound)
@@ -81,4 +69,3 @@ endif()
add_subdirectory(db_drivers)
add_subdirectory(easylogging++)
add_subdirectory(qrcodegen)
-add_subdirectory(randomx EXCLUDE_FROM_ALL)
diff --git a/src/crypto/CMakeLists.txt b/src/crypto/CMakeLists.txt
index 3b33fe90a..ba354a0e8 100644
--- a/src/crypto/CMakeLists.txt
+++ b/src/crypto/CMakeLists.txt
@@ -55,6 +55,7 @@ list(APPEND crypto_sources CryptonightR_template.S)
endif()
include_directories(${RANDOMX_INCLUDE})
+include_directories(SYSTEM /usr/include/monero)
set(crypto_headers)
@@ -116,6 +117,3 @@ endif()
# cheat because cmake and ccache hate each other
set_property(SOURCE CryptonightR_template.S PROPERTY LANGUAGE C)
-
-# Must be done last, because it references libraries in this directory
-add_subdirectory(wallet)
diff --git a/src/crypto/wallet/crypto.h b/src/crypto/wallet/crypto.h
index a4c5d5a07..5c6b96cd8 100644
--- a/src/crypto/wallet/crypto.h
+++ b/src/crypto/wallet/crypto.h
@@ -29,7 +29,6 @@
#pragma once
#include <cstddef>
-#include "crypto/wallet/ops.h"
namespace crypto {
namespace wallet {
diff --git a/src/device/CMakeLists.txt b/src/device/CMakeLists.txt
index ff2afba4b..26b0f4523 100644
--- a/src/device/CMakeLists.txt
+++ b/src/device/CMakeLists.txt
@@ -72,7 +72,7 @@ target_link_libraries(device
${HIDAPI_LIBRARIES}
cncrypto
ringct_basic
- wallet-crypto
+ monero-crypto
${OPENSSL_CRYPTO_LIBRARIES}
${Boost_SERIALIZATION_LIBRARY}
PRIVATE
diff --git a/src/p2p/net_node.inl b/src/p2p/net_node.inl
index 65db2615c..3ace310f6 100644
--- a/src/p2p/net_node.inl
+++ b/src/p2p/net_node.inl
@@ -60,9 +60,9 @@
#include "cryptonote_core/cryptonote_core.h"
#include "net/parse.h"
-#include <miniupnp/miniupnpc/miniupnpc.h>
-#include <miniupnp/miniupnpc/upnpcommands.h>
-#include <miniupnp/miniupnpc/upnperrors.h>
+#include <miniupnpc/miniupnpc.h>
+#include <miniupnpc/upnpcommands.h>
+#include <miniupnpc/upnperrors.h>
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "net.p2p"

View File

@@ -1,24 +0,0 @@
From c28d2f7c110c0a2161fa02d6c20df94a60a41965 Mon Sep 17 00:00:00 2001
From: loqs <loqs@users.noreply.github.com>
Date: Sun, 23 May 2021 20:29:17 +0100
Subject: [PATCH] Fix boost 1.76.0 compatibility
Add missing header boost/mpl/contains.hpp
monero-project/monero/issues/7728
---
contrib/epee/include/storages/portable_storage.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/contrib/epee/include/storages/portable_storage.h b/contrib/epee/include/storages/portable_storage.h
index 1e68605abf5..801bb2c3465 100644
--- a/contrib/epee/include/storages/portable_storage.h
+++ b/contrib/epee/include/storages/portable_storage.h
@@ -40,6 +40,8 @@
#include "span.h"
#include "int-util.h"
+#include <boost/mpl/contains.hpp>
+
namespace epee
{
namespace serialization

View File

@@ -1,8 +0,0 @@
# Configuration for monerod
# Syntax: any command line option may be specified as 'clioptionname=value'.
# Boolean options such as 'no-igd' are specified as 'no-igd=1'.
# See 'monerod --help' for all available options.
data-dir=/var/lib/monero
log-file=/var/log/monero/monero.log
log-level=0

View File

@@ -1,6 +0,0 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
monerod_args="--config-file /etc/monero/monerod.conf --non-interactive"
monerod_user=monero
monerod_group=monero

View File

@@ -1,21 +0,0 @@
#!/sbin/openrc-run
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
pidfile=/var/run/monerod.pid
command=/usr/bin/monerod
command_args="${monerod_args}"
start_stop_daemon_args="-u ${monerod_user} -b -m -p ${pidfile}"
name="Monero P2P Daemon"
description="Connects to the Monero P2P network"
depend() {
need localmount
need net
}
start_pre() {
checkpath --directory --owner ${monerod_user}:${monerod_group} --mode 0755 \
/var/lib/monero /var/log/monero
}

View File

@@ -1,17 +0,0 @@
[Unit]
Description=Monero P2P Daemon
After=network.target
[Service]
User=monero
Group=monero
StateDirectory=monero
LogsDirectory=monero
Type=simple
ExecStart=/usr/bin/monerod --config-file /etc/monero/monerod.conf --non-interactive
Restart=on-failure
StandardOutput=null
StandardError=null
[Install]
WantedBy=multi-user.target

View File

@@ -1,31 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>telans@posteo.de</email>
<name>James Beddek</name>
</maintainer>
<longdescription lang="en">
Monero is a private, secure, untraceable, decentralised digital
currency. You are your bank, you control your funds, and nobody
can trace your transfers unless you allow them to do so.
</longdescription>
<use>
<flag name="daemon">
Build the Monero daemon used to connect to the P2P network.
</flag>
<flag name="tools">
Build tools used to manipulate the blockchain as it is stored on
disk.
</flag>
<flag name="wallet-cli">
Build the command line wallet, monero-wallet-cli.
</flag>
<flag name="wallet-rpc">
Build the RPC wallet, monero-wallet-rpc.
</flag>
</use>
<upstream>
<remote-id type="github">monero-project/monero</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,117 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake systemd
DESCRIPTION="The secure, private, untraceable cryptocurrency"
HOMEPAGE="https://github.com/monero-project/monero"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/monero-project/monero.git"
EGIT_SUBMODULES=()
else
SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="BSD MIT"
SLOT="0"
IUSE="+daemon readline +tools +wallet-cli +wallet-rpc"
REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )"
RESTRICT="test"
DEPEND="
acct-group/monero
acct-user/monero
dev-libs/boost:=[nls,threads]
dev-libs/libsodium:=
dev-libs/openssl:=
dev-libs/randomx
dev-libs/rapidjson
dev-libs/supercop
net-dns/unbound:=[threads]
net-libs/czmq:=
net-libs/miniupnpc
readline? ( sys-libs/readline:0= )
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${PN}-0.17.1.7-unbundle-dependencies.patch"
"${FILESDIR}/${PN}-0.17.2.0-boost-176.patch"
)
src_configure() {
local mycmakeargs=(
# TODO: Update CMake to install built libraries (help wanted)
-DBUILD_SHARED_LIBS=OFF
-DMANUAL_SUBMODULES=ON
-DMONERO_PARALLEL_LINK_JOBS=1
-DUSE_DEVICE_TREZOR=OFF
)
cmake_src_configure
}
src_compile() {
local targets=()
use daemon && targets+=(daemon)
use tools && targets+=(blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage})
use wallet-cli && targets+=(simplewallet)
use wallet-rpc && targets+=(wallet_rpc_server)
cmake_build ${targets[@]}
}
src_install() {
einstalldocs
# Install all binaries.
find "${BUILD_DIR}/bin/" -type f -executable -print0 |
while IFS= read -r -d '' line; do
dobin "$line"
done
if use daemon; then
dodoc utils/conf/monerod.conf
# data-dir
keepdir /var/lib/monero
fowners monero:monero /var/lib/monero
fperms 0755 /var/lib/monero
# log-file dir
keepdir /var/log/monero
fowners monero:monero /var/log/monero
fperms 0755 /var/log/monero
# /etc/monero/monerod.conf
insinto /etc/monero
doins "${FILESDIR}/monerod.conf"
# OpenRC
newconfd "${FILESDIR}/monerod.confd" monerod
newinitd "${FILESDIR}/monerod.initd" monerod
# systemd
systemd_dounit "${FILESDIR}/monerod.service"
fi
}
pkg_postinst() {
if use daemon; then
elog "Start the Monero P2P daemon as a system service with"
elog "'rc-service monerod start'. Enable it at startup with"
elog "'rc-update add monerod default'."
elog
elog "Run monerod status as any user to get sync status and other stats."
elog
elog "The Monero blockchain can take up a lot of space (80 GiB) and is stored"
elog "in /var/lib/monero by default. You may want to enable pruning by adding"
elog "'prune-blockchain=1' to /etc/monero/monerod.conf to prune the blockchain"
elog "or move the data directory to another disk."
fi
}

View File

@@ -1,117 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake systemd
DESCRIPTION="The secure, private, untraceable cryptocurrency"
HOMEPAGE="https://github.com/monero-project/monero"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/monero-project/monero.git"
EGIT_SUBMODULES=()
else
SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="BSD MIT"
SLOT="0"
IUSE="+daemon readline +tools +wallet-cli +wallet-rpc"
REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )"
RESTRICT="test"
DEPEND="
acct-group/monero
acct-user/monero
dev-libs/boost:=[nls,threads(+)]
dev-libs/libsodium:=
dev-libs/openssl:=
dev-libs/randomx
dev-libs/rapidjson
dev-libs/supercop
net-dns/unbound:=[threads]
net-libs/czmq:=
net-libs/miniupnpc
readline? ( sys-libs/readline:0= )
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${PN}-0.17.1.7-unbundle-dependencies.patch"
"${FILESDIR}/${PN}-0.17.2.0-boost-176.patch"
)
src_configure() {
local mycmakeargs=(
# TODO: Update CMake to install built libraries (help wanted)
-DBUILD_SHARED_LIBS=OFF
-DMANUAL_SUBMODULES=ON
-DMONERO_PARALLEL_LINK_JOBS=1
-DUSE_DEVICE_TREZOR=OFF
)
cmake_src_configure
}
src_compile() {
local targets=()
use daemon && targets+=(daemon)
use tools && targets+=(blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage})
use wallet-cli && targets+=(simplewallet)
use wallet-rpc && targets+=(wallet_rpc_server)
cmake_build ${targets[@]}
}
src_install() {
einstalldocs
# Install all binaries.
find "${BUILD_DIR}/bin/" -type f -executable -print0 |
while IFS= read -r -d '' line; do
dobin "$line"
done
if use daemon; then
dodoc utils/conf/monerod.conf
# data-dir
keepdir /var/lib/monero
fowners monero:monero /var/lib/monero
fperms 0755 /var/lib/monero
# log-file dir
keepdir /var/log/monero
fowners monero:monero /var/log/monero
fperms 0755 /var/log/monero
# /etc/monero/monerod.conf
insinto /etc/monero
doins "${FILESDIR}/monerod.conf"
# OpenRC
newconfd "${FILESDIR}/monerod.confd" monerod
newinitd "${FILESDIR}/monerod.initd" monerod
# systemd
systemd_dounit "${FILESDIR}/monerod.service"
fi
}
pkg_postinst() {
if use daemon; then
elog "Start the Monero P2P daemon as a system service with"
elog "'rc-service monerod start'. Enable it at startup with"
elog "'rc-update add monerod default'."
elog
elog "Run monerod status as any user to get sync status and other stats."
elog
elog "The Monero blockchain can take up a lot of space (80 GiB) and is stored"
elog "in /var/lib/monero by default. You may want to enable pruning by adding"
elog "'prune-blockchain=1' to /etc/monero/monerod.conf to prune the blockchain"
elog "or move the data directory to another disk."
fi
}

View File

@@ -1,114 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake systemd
DESCRIPTION="The secure, private, untraceable cryptocurrency"
HOMEPAGE="https://github.com/monero-project/monero"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/monero-project/monero.git"
EGIT_SUBMODULES=()
else
SRC_URI="https://github.com/monero-project/monero/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
LICENSE="BSD MIT"
SLOT="0"
IUSE="+daemon readline +tools +wallet-cli +wallet-rpc"
REQUIRED_USE="|| ( daemon tools wallet-cli wallet-rpc )"
RESTRICT="test"
DEPEND="
acct-group/monero
acct-user/monero
dev-libs/boost:=[nls,threads]
dev-libs/libsodium:=
dev-libs/openssl:=
dev-libs/randomx
dev-libs/rapidjson
dev-libs/supercop
net-dns/unbound:=[threads]
net-libs/czmq:=
net-libs/miniupnpc
readline? ( sys-libs/readline:0= )
"
RDEPEND="${DEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=( "${FILESDIR}/${PN}-0.17.1.7-unbundle-dependencies.patch" )
src_configure() {
local mycmakeargs=(
# TODO: Update CMake to install built libraries (help wanted)
-DBUILD_SHARED_LIBS=OFF
-DMANUAL_SUBMODULES=ON
-DMONERO_PARALLEL_LINK_JOBS=1
-DUSE_DEVICE_TREZOR=OFF
)
cmake_src_configure
}
src_compile() {
local targets=()
use daemon && targets+=(daemon)
use tools && targets+=(blockchain_{ancestry,blackball,db,depth,export,import,prune,prune_known_spent_data,stats,usage})
use wallet-cli && targets+=(simplewallet)
use wallet-rpc && targets+=(wallet_rpc_server)
cmake_build ${targets[@]}
}
src_install() {
einstalldocs
# Install all binaries.
find "${BUILD_DIR}/bin/" -type f -executable -print0 |
while IFS= read -r -d '' line; do
dobin "$line"
done
if use daemon; then
dodoc utils/conf/monerod.conf
# data-dir
keepdir /var/lib/monero
fowners monero:monero /var/lib/monero
fperms 0755 /var/lib/monero
# log-file dir
keepdir /var/log/monero
fowners monero:monero /var/log/monero
fperms 0755 /var/log/monero
# /etc/monero/monerod.conf
insinto /etc/monero
doins "${FILESDIR}/monerod.conf"
# OpenRC
newconfd "${FILESDIR}/monerod.confd" monerod
newinitd "${FILESDIR}/monerod.initd" monerod
# systemd
systemd_dounit "${FILESDIR}/monerod.service"
fi
}
pkg_postinst() {
if use daemon; then
elog "Start the Monero P2P daemon as a system service with"
elog "'rc-service monerod start'. Enable it at startup with"
elog "'rc-update add monerod default'."
elog
elog "Run monerod status as any user to get sync status and other stats."
elog
elog "The Monero blockchain can take up a lot of space (80 GiB) and is stored"
elog "in /var/lib/monero by default. You may want to enable pruning by adding"
elog "'prune-blockchain=1' to /etc/monero/monerod.conf to prune the blockchain"
elog "or move the data directory to another disk."
fi
}

View File

@@ -22,6 +22,3 @@ gnome-extra/extension-manager
# Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in> (2022-01-09)
# Depends on masked libhandy 1.5.0
>=app-text/komikku-0.36.0
# Unavailable dep dev-libs/boost[threads]
net-p2p/monero

View File

@@ -1 +1,2 @@
DIST dtcmp-1.1.2.tar.gz 76820 BLAKE2B bd67112567515fefff171e1b9e0da5d93e2b5bec88246de33e3b382bcc6029f1fc18a658ce185634615c37f1a10b5759eb04f2039f334ea5deaa680a005c6d5f SHA512 c8094ca5009ba10d40be3da55498b97837865d87b3deaa813b31de2083c38aa30b55c91ead053e2ef0454c53948aafa233f9251295ca29a0233f28a169cbd5c2
DIST dtcmp-1.1.4.tar.gz 77123 BLAKE2B 45e6ae9b7726ea3185350fb3850c81a7e212625d2a9f0b60e3e21e1d72038af0094a68303064fbd261209b968c2df3d72f6ccda4a0c78b1557b54d5bdfcca391 SHA512 2686e44aeaab37ff065ecb7f898dfa57a4e7d1c99c8785544c10c8d14a736ae9da4623d938f7380b487cadc61ced6c050118a16e5c238e57b47a926e0cfca44b

View File

@@ -0,0 +1,39 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Datatype Compare Library for sorting and ranking distributed data using MPI"
HOMEPAGE="https://github.com/LLNL/dtcmp"
SRC_URI="https://github.com/LLNL/dtcmp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
sys-cluster/lwgrp
virtual/mpi
"
DEPEND="${RDEPEND}"
src_prepare() {
default
eautoreconf
}
src_configure() {
local myconf=(
--with-lwgrp="${EPREFIX}/usr"
)
econf "${myconf[@]}"
}
src_install() {
default
rm -r "${ED}/usr/share/${PN}" || die
find "${ED}" -name '*.la' -delete || die
find "${ED}" -name '*.a' -delete || die
}

View File

@@ -1 +1,2 @@
DIST dyninst-11.0.1.tar.gz 9059074 BLAKE2B 5ef230d8c5c3253aa54c01387fbb8c6f1d57ea43cb7779e3761306c916cbcd00999ee48cb6d76daba3af45dca6388dcc4c71b527f176039a32130c1ef8f6d074 SHA512 9c439be0252edae0ed3fcfa05b38595b614a91b6627afa85db126df32d5c5de5dc9413a70caf52bee7ac2349d24947626f6370f0dbf19413916c39e01679444f
DIST dyninst-12.1.0.tar.gz 8572639 BLAKE2B 74c835a3c6c6cc9a90d416fff0ea3b4039a55941cb3a7fd63cebd19420a690d6b4fd3d574b728cc9cac53034a6075ffe2a6e9885a7aa87e2d9d0fd798f5e9a29 SHA512 ec09b83f288afefd6a30a3253c91554d421305a43c2f2384435207dcabf523d5498d64873f876817c3108c3fc0a43fd4c48ce2c1ca873c73fb98a2d823446549

View File

@@ -0,0 +1,60 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CMAKE_MAKEFILE_GENERATOR="emake"
inherit cmake
DESCRIPTION="Tools for binary instrumentation, analysis, and modification"
HOMEPAGE="
https://dyninst.org/dyninst
https://github.com/dyninst/dyninst
"
SRC_URI="https://github.com/dyninst/dyninst/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc openmp valgrind"
RDEPEND="
dev-cpp/tbb
dev-libs/boost:=
virtual/libelf
virtual/mpi
valgrind? ( dev-util/valgrind )
"
DEPEND="${RDEPEND}"
BDEPEND="doc? ( dev-texlive/texlive-latex )"
src_configure() {
local mycmakeargs=(
-DENABLE_STATIC_LIBS=NO
-DSTERILE_BUILD=ON
-DADD_VALGRIND_ANNOTATIONS=$(usex valgrind)
-DBUILD_DOCS=$(usex doc)
-DUSE_OpenMP=$(usex openmp)
)
cmake_src_configure
}
src_install() {
cmake_src_install
einstalldocs
if use doc; then
mv "${ED}"/usr/share/doc/*.pdf "${ED}/usr/share/doc/${PF}" || die
fi
if [[ ! -e "${ED}/usr/$(get_libdir)" ]]; then
mv "${ED}/usr/lib" "${ED}/usr/$(get_libdir)" || die
fi
mkdir -p "${ED}/usr/include/dyninst" || die
mv "${ED}"/usr/include/*.h* "${ED}/usr/include/dyninst" || die
find "${ED}" -name '*.a' -delete || die
}

View File

@@ -1 +1,2 @@
DIST lwgrp-1.0.3.tar.gz 39217 BLAKE2B 2e17fce02989832670a7bcd73f80e3aabe185b5d1120777f3d3d2e0bd630e62b6ae64638b724ca3edd9d9c7d7177e505433c16382b5e1fdbc79e8a1b1de1a622 SHA512 b8acdd5fcec8de01f80acfe0f6df33fe3281bd6465a33ad739af06189782f116ac32caacbd458d2e04ba2eaedfbebf67f42cc343f7bee43f8d708e2b8b3c1565
DIST lwgrp-1.0.5.tar.gz 41509 BLAKE2B a07a2d16b9f578fc1ee5843e85a295fec85bc86b4e291cfb1b559e12063173026d98bd556deef7d05f36d12c1d6c9ae1f168c690fd7f68f3583dc68ca9391e03 SHA512 8f960bc45f9c028d79b4a6d149ba2fada9451b8ad480fa6e0d0da81762ca459e9bd991df25643603eb9c69c2f83a97caeb0b8a39bd89c55584265c38862087de

View File

@@ -0,0 +1,37 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Light-weight Group Library"
HOMEPAGE="https://github.com/LLNL/lwgrp"
SRC_URI="https://github.com/LLNL/lwgrp/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="mpianysource"
RDEPEND="virtual/mpi"
DEPEND="${RDEPEND}"
src_prepare() {
default
eautoreconf
}
src_configure() {
local myconf=(
$(use_enable mpianysource)
)
econf "${myconf[@]}"
}
src_install() {
default
rm -r "${ED}/usr/share/${PN}" || die
find "${ED}" -name '*.la' -delete || die
find "${ED}" -name '*.a' -delete || die
}

View File

@@ -100,6 +100,7 @@ RDEPEND="
app-emulation/libvirt[iscsi?]
app-emulation/spice-html5
dev-python/libvirt-python[${PYTHON_USEDEP}]
dev-python/oslo-limit[${PYTHON_USEDEP}]
net-misc/bridge-utils
sys-apps/iproute2
sys-fs/sysfsutils

View File

@@ -18,7 +18,7 @@ RDEPEND="virtual/mpi"
DEPEND="${RDEPEND}"
PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
RESTRICT="!test? ( test )"
RESTRICT="test" # tests require an MPI setup
src_configure() {
local mycmakeargs=(

View File

@@ -1,2 +1 @@
DIST scr-3.0.tar.gz 1235509 BLAKE2B 3a470c1f55d633993db6ca7c7980e6b8b34513370a8233202ac21d625f64c1630eafd6084735e81fe60e05f182b71114f51f8f4fe69df8cf609b1e6d6ded01f5 SHA512 168bffb7c0280094075879fa5c626dfc57f9004c9ebe09a97cf0d2b0e67c3979f31c7b39466586eb20562e6768ce576625a6d4d99f9ad9fe5ae02a82cfbc988f
DIST scr-3.0_pre2.tar.gz 1231943 BLAKE2B a4d8e779edc4b48a5b13a0cff851496068076a8ae901f3c3d3ad2344708a0abc6b69ce71bd7313286a91844a87930e6fa5c097d1c5b15ebbc12247ba293f843f SHA512 7b90b14cfbb6fa3020b6c3c3a7f5568963374d9fe7ad0b6962632f776c3699d6c38fa04800736d423350190542896ca9240033dca1e820f7f698c336518c891a

View File

@@ -0,0 +1,15 @@
From e842ed30c49d26cc818600fd794354103f99c5fe Mon Sep 17 00:00:00 2001
From: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Date: Sat, 26 Mar 2022 10:10:01 +0100
Subject: [PATCH] add YOGRT_LIBRARIES to SCR_EXTERNAL_SERIAL_LIBS
--- a/cmake/SCR_DEPENDENCIES.cmake
+++ b/cmake/SCR_DEPENDENCIES.cmake
@@ -46,6 +46,7 @@ IF(ENABLE_YOGRT)
SET(HAVE_LIBYOGRT TRUE)
INCLUDE_DIRECTORIES(${YOGRT_INCLUDE_DIRS})
LIST(APPEND SCR_EXTERNAL_LIBS ${YOGRT_LIBRARIES})
+ LIST(APPEND SCR_EXTERNAL_SERIAL_LIBS ${YOGRT_LIBRARIES})
LIST(APPEND SCR_LINK_LINE " -L${WITH_YOGRT_PREFIX}/lib -lyogrt")
ENDIF(YOGRT_FOUND)
ENDIF(ENABLE_YOGRT)

View File

@@ -47,6 +47,7 @@ DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${PN}-3.0_pre2-shared-libscr_base.patch"
"${FILESDIR}/${PN}-3.0_pre2-no-static.patch"
"${FILESDIR}/${P}-add-YOGRT_LIBRARIES-to-SCR_EXTERNAL_SERIAL_LIBS.patch"
)
REQUIRED_USE="
${PYTHON_REQUIRED_USE}

View File

@@ -1,104 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DOCS_BUILDER="sphinx"
DOCS_DIR="${S}/doc/rst"
FORTRAN_NEEDED="fortran"
MYPV="${PV/_pre/rc}"
PYTHON_COMPAT=( python3_{8..10} pypy3 )
inherit cmake python-single-r1 fortran-2 docs
DESCRIPTION="Scalable Checkpoint / Restart Library"
HOMEPAGE="
https://computing.llnl.gov/projects/scalable-checkpoint-restart-for-mpi
https://github.com/LLNL/scr
"
SRC_URI="https://github.com/LLNL/scr/archive/refs/tags/v${MYPV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MYPV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="doc examples fcntl +flock +fortran mysql slurm syslog test txt-log +yogrt"
RDEPEND="
${PYTHON_DEPS}
app-shells/pdsh
>=sys-cluster/AXL-0.5.0
sys-cluster/dtcmp
sys-cluster/er
sys-cluster/KVTree
sys-cluster/rankstr
sys-cluster/redset
sys-cluster/spath
sys-libs/zlib
virtual/mpi
mysql? ( dev-db/mysql-connector-c )
slurm? ( sys-cluster/slurm )
yogrt? ( sys-cluster/libyogrt[slurm?] )
"
DEPEND="${RDEPEND}"
PATCHES=(
"${FILESDIR}/${P}-shared-libscr_base.patch"
"${FILESDIR}/${P}-no-static.patch"
)
REQUIRED_USE="
${PYTHON_REQUIRED_USE}
?? ( fcntl flock )
"
RESTRICT="!test? ( test )"
pkg_setup() {
fortran-2_pkg_setup
}
src_configure() {
local lock="NONE"
use fcntl && lock="FCNTL"
use flock && lock="FLOCK"
local log="0"
use syslog && log="1"
use txt-log && log="1"
local resman="NONE"
use slurm && resman="SLURM"
local mycmakeargs=(
-DBUILD_PDSH=OFF
-DBUILD_SHARED_LIBS=ON
-DENABLE_CRAY_DW=OFF
-DENABLE_IBM_BBAPI=OFF
-DENABLE_PDSH=ON
-DSCR_LINK_STATIC=OFF
-DSCR_FILE_LOCK="${lock}"
-DSCR_LOG_ENABLE="${log}"
-DSCR_RESOURCE_MANAGER="${resman}"
-DENABLE_EXAMPLES=$(usex examples)
-DENABLE_FORTRAN=$(usex fortran)
-DENABLE_TESTS=$(usex test)
-DENABLE_YOGRT=$(usex yogrt)
-DSCR_LOG_SYSLOG_ENABLE=$(usex syslog 0 1)
-DSCR_LOG_TXT_ENABLE=$(usex txt-log 0 1)
)
cmake_src_configure
}
src_compile() {
cmake_src_compile
docs_compile
}
src_install() {
cmake_src_install
# find "${ED}" -name '*.a' -delete || die
}

View File

@@ -21,7 +21,7 @@ DEPEND="
"
PATCHES=( "${FILESDIR}/${PN}-0.1.0-no-static.patch" )
RESTRICT="!test? ( test )"
RESTRICT="test" # tests require an MPI setup
REQUIRED_USE="test? ( mpi )"
src_configure() {

View File

@@ -36,7 +36,10 @@ RDEPEND="
memcached? ( net-misc/memcached )
"
DEPEND="${RDEPEND}"
DEPEND="
${RDEPEND}
dev-python/pbr[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
>=dev-python/nosexcover-1.0.10[${PYTHON_USEDEP}]

View File

@@ -1 +1,2 @@
DIST wxparaver-4.10.0.tar.gz 1066884 BLAKE2B 030fb769c94e7c15c337df2d06d135a1d2e9d37593907eab6f8df82d3532b67827d2f6728a2db539c2eec8cd57ebe444271527250ebfb80db6d79a4ba33ba716 SHA512 d8ff40c7423321da34e078b25c7777c30a5ae76618f16ff715caa308a5e44cdd702c99a902bc761999323575a47d497b94ab23d8943461a093f49dc2451365ab
DIST wxparaver-4.9.0.tar.gz 1045366 BLAKE2B 297e49160ce23591257002763025359a4269a3691b094b90d8a8f8fa648998cbbca068853a1e22ed878f68e786b5e8145c14c0bb2c95e4e05fecc01fa79e48a2 SHA512 b0b2cf4383549fc48f34cd3c754c6614798512ab712fa7c728ce20c4536768227625ea5b6b641746fc1780dd354a6da7cfecc48e8f19ecc9cdb9eddcb93c501d

View File

@@ -14,4 +14,13 @@
<bugs-to>https://github.com/bsc-performance-tools/wxparaver/issues</bugs-to>
<remote-id type="github">bsc-performance-tools/wxparaver</remote-id>
</upstream>
<longdescription lang="en">
Paraver is a performance analyzer based on event traces with a great
flexibility to explore the collected data, supporting a detailed analysis of
the variability and distribution of multiple metrics with the objective of
understanding the applications behavior. Paraver has two main views: The
timeline view displays the application behavior over time, while the statistics
view (histograms, profiles) complements the analysis with distribution
of metrics.
</longdescription>
</pkgmetadata>

View File

@@ -0,0 +1,102 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
COMMIT="f357545a2fdfc7674394f2e6192022a4c2139f63"
DOCS_AUTODOC=0
DOCS_BUILDER="sphinx"
DOCS_DIR="docs/wxparaver_help_contents/sphinx/2.paraver_toolset/source"
PYTHON_COMPAT=( python3_{8..10} pypy3 )
WX_GTK_VER="3.0-gtk3"
inherit autotools python-any-r1 docs wxwidgets
DESCRIPTION="Performance analyzer based on event traces"
HOMEPAGE="
http://tools.bsc.es/paraver
https://github.com/bsc-performance-tools/wxparaver
"
SRC_URI="https://github.com/bsc-performance-tools/wxparaver/archive/${COMMIT}.tar.gz -> ${PF}.tar.gz"
S="${WORKDIR}/${P}-${COMMIT}"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="extrae ompss openmp"
RDEPEND="
dev-libs/boost:=
dev-libs/openssl
sys-cluster/paraver-kernel
x11-libs/wxGTK:${WX_GTK_VER}
extrae? ( sys-cluster/extrae )
"
DEPEND="${RDEPEND}"
BDEPEND="app-admin/chrpath"
DOCS=( README NEWS AUTHORS ChangeLog )
src_unpack() {
default
gzip -d "${S}/docs/wxparaver_help_contents/install/man/paraver-toolset.1.gz" || die
}
src_prepare() {
default
eautoreconf
}
src_configure() {
setup-wxwidgets
local myconf=(
--disable-old-pcfparser
--with-boost="${EPREFIX}/usr"
--with-boost-libdir="${EPREFIX}/usr/$(get_libdir)"
--with-debug-level=none
--with-openssl="${EPREFIX}/usr"
--with-paraver="${EPREFIX}/usr"
$(use_enable ompss)
$(use_enable openmp)
)
if use extrae; then
myconf+=( "--with-extrae=${EPREFIX}/usr" )
else
myconf+=( "--without-extrae" )
fi
econf "${myconf[@]}" || die
}
src_compile() {
default
docs_compile
}
src_install() {
# only a part of the docs can be built from source
if use doc; then
# remove a part of the prebuilt docs
rm -r "${S}/docs/wxparaver_help_contents/install/html/2.paraver_toolset" || die
# replace them with the newly built docs
mv "${S}/_build/html" "${S}/docs/wxparaver_help_contents/install/html/2.paraver_toolset" || die
# ideally this is the manpage just built from sphinx but I'm not sure it really is
doman "${S}/docs/wxparaver_help_contents/sphinx/2.paraver_toolset/build/man/paraver-toolset.1"
else
# install the prebuilt manpage
doman "${S}/docs/wxparaver_help_contents/install/man/paraver-toolset.1"
fi
# override eclass variable
unset HTML_DOCS
HTML_DOCS=( docs/wxparaver_help_contents/install/html/. )
default
rm -r "${ED}/usr/share/doc/wxparaver_help_contents" || die
chrpath -d "${ED}/usr/bin/wxparaver.bin" || die
# find "${ED}" -name '*.la' -delete || die
}

View File

@@ -8,6 +8,7 @@ inherit cmake
DESCRIPTION="A scheduler for CPU tasks"
HOMEPAGE="https://github.com/justanhduc/task-spooler"
SRC_URI="https://github.com/justanhduc/${PN}/archive/refs/tags/v${PV}-cpu.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/task-spooler-${PV}-cpu"
# A GPU version does exist, if anyone needs it, it can be added through a use flag
@@ -18,29 +19,21 @@ IUSE="doc"
DOCS="Changelog OBJECTIVES PORTABILITY PROTOCOL README.md TRICKS"
HTML_DOCS=( web/index.html web/ts-0.2.1.png web/ts-0.5.4.ebuild web/article_linux_com.html )
S="${WORKDIR}/task-spooler-${PV}-cpu"
src_prepare() {
default
eapply "${FILESDIR}"/var-redefinition.patch
cmake_src_prepare
}
PATCHES=( "${FILESDIR}"/var-redefinition.patch )
src_test() {
cp ${BUILD_DIR}/ts ${S}/ || die "failed to copy ts executable to source folder for tests"
cp $"{BUILD_DIR}/ts" "${S}"/ || die "failed to copy ts executable to source folder for tests"
sh testbench.sh || die "tests failed"
}
src_install() {
cd ${WORKDIR}/${P}-cpu_build
cd "${WORKDIR}/${P}-cpu_build" || die
mv ts tsp || die "Failed renaming ts executable into tsp"
dobin tsp
# When the use flag doc is enabled.
if use doc; then
cd ${S}
cd "${S}" || die
einstalldocs
fi
}