parent
be26cf0367
commit
3bfe945482
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29476 BLAKE2B 651a90411bc15d69f443cd6720d75f4b671b41c84c3ee28aaa8c4b5ad6caced85feccef87c6f2f417b5fd299ef0ad9267db9fb111e2e083c1a3e4fac5ebe27d8 SHA512 b008d67a409bce25fee05e8ef83a51fd7bc4b9a0823f570607aa5678ea6e1a02d58b9ef0b7132d6a998783ccaccc43d8a744c2b72e3c6b7adc0f22a71be2242b
|
||||
TIMESTAMP 2023-03-06T19:39:45Z
|
||||
MANIFEST Manifest.files.gz 29465 BLAKE2B a770abc03e2b7f962a5e20bbd9ef567a80ef4c8a24a7b3da653d0e90c2ee1989bf471f343565cd2eaf2aa4271f668e55fdb5051bba505915fa5f9fd81341b350 SHA512 011bab96b6fff5e52a0f50edfd70dbf30f1c787e2894bcdbb5839d550493e6febb77979d60b0274b450e8102d3ef132c07c789b6e212e8ca1d4e02433e94f6a2
|
||||
TIMESTAMP 2023-03-09T06:09:54Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmQGQYFfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmQJeDJfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klAWvg/9FuZIPAZVIsU5d/RVmAa1B6564rsECI1YCNR52s1rcxYsxGO6Z7c9l+aa
|
||||
XePTAYfneKTEM180qbyw5o/pnmwms+i39d7sMKWLaa/1ny+xSCjY9y+2Knitjutl
|
||||
M3iF57FXYy9z3AQXAwx6VCpG0b5N06ioQyOFCyr0sNm0cB+NWI9Qi+zOW6hZrvmn
|
||||
T/YoCQkyV2GEMyLM8eRquWGaO96PKE+lEWchjl9sr9V0eL+ti0kPIfoGmkFndWv/
|
||||
DsyL+rES4IES5TqdG+Yg8o3hoKrCMxhqYZvydn3Uu1HT6H1OuVBzsUWjUQURIg16
|
||||
ubuvuMzU0g2EFXuNP41LDMKCRybluk2cpwOzMYO96RDdMqWU+bKoPkhAqL7OcQzz
|
||||
ks6NLyLyVeCExa2wCvkbNR3KpdLjRypNdhDfwq3mS+1mq4MpcDd+Mup3j7fkWVS6
|
||||
KPD9m+1wvq6RbIakQ79ZPDMdC8/bLgOgd4wPQbYv+yl84W40uDDFI8kt2zEs6mMX
|
||||
PUA3dWGiu/6CXNnoHA0SXElkQSyd4MxVCgGaS29ju4kHOtqxD7f5IhhNx/cAQ6rK
|
||||
x3qS43DpC3PWqUW7nQg1nfJXZDkVh9D+haCi0v7CFhkUTK6fWzybYtCyOsJuZfQr
|
||||
chSuKw/mKNnl5OWME8dHX88bqyJ/lnslp6TibvegHw+OPJ3Mkt8=
|
||||
=1r3J
|
||||
klC/cg/9EHicavHy6q937X4p/Jvs796n3nWpLjBxT+qB4/yhQqKUK2Cn9WWd4FEo
|
||||
jjKQvA+AdmrMxfqH/WeLVGA90M/xgtZ/Sd8wyP8Q38Em5phMsTSGCkhB9nXSH935
|
||||
7g+7JJLVV7F4UpjnXMa4FWp9x0hpmVCouvp9kAqe928wNspjAMwSKiKcQCdTM2Tv
|
||||
kSgiVh4R3+kvfR2zcaNsVoumLJd7vQcAsA2iVYiuEFLNqIAM0icW7pLRO0DtasCH
|
||||
lFOskliLQDiZbpA3N63Evh5yy02QCz/rxFLp/VbGA6A/0Wrqly7fX2+S7lUgDZGa
|
||||
Lqauxz9SV+fQqT98BZxnGznI0+vQVGAnQ+up7UbRc7Q9jxNaVD5LW72KgKAqNmdx
|
||||
ElHN9zz4NSHYzLT5QWolUI+pv0eji8eHARpo/cpdqGVy8rzmBpQ3/eGwQfkcHy7x
|
||||
nrQIEot/UG3Qi4/nvLEXhEbe4jm1I2uF6o4O5lnpGcnmy7NYUOi7SAwnwbZ/4hHs
|
||||
3LETs9nuNjy407av5C8xMeez86eY/3iLJoOwJyI7wOARVnQCZktrg+cbWJtfDBBS
|
||||
EqdBif+K80PlrrTtcf1UYjoamWnoyvcAer1e8j5dWWMRSGkjWHL75bnqoZhMR2R4
|
||||
23T3tsI2BZnK3+9+f3T34MJCwt33SqY8nZ0Umn/54OPcRsm+3jU=
|
||||
=oMIr
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX espeak-1.48.04-gcc-6-fix.patch 531 BLAKE2B e17d5304b52ab2e805f63d685f05bf5343a9fd1b64876091b64469ec652296a5de2d04e40b639bd1acb455e133330bfbc270e0d3293b4c487ca174e97d2d4837 SHA512 92966a8f3ef3a4cca2b208216ae9ecd65efdb67001b4ed8c0868bc95bc87fec88826f7554a5239c97269dc673cec8ac70f36c9f3fe186f0a5e6eca924e0bb681
|
||||
DIST espeak-1.48.04-source.zip 3019245 BLAKE2B a29da5eab832fa76b180049765f7fa671ebf47c0a68ee2cdfb0f4466846d97b2bf7b8f07dba747e236a27c9b077000bfd471e35b9744ffac7c9014679f5c04fd SHA512 f0759e6ace2604c8cbb19e8c3fd4b106edf4dcece247a6677f6b734af7746c35a367126edfbe585396c98f6c54f07e25d64bfab35e258e64f09bd2c0833247fa
|
||||
EBUILD espeak-1.48.04-r1.ebuild 2332 BLAKE2B c72ab2cec8f2183a5cb5c111a96bbb8ae94b0c197a999cbe05e2b8fafd9d0bcd8d506c59d43860ba5d758e909f7c4381597d0526d132dd8d4c220b9fbf083d98 SHA512 92d39d621e3fbc2373c286befae59f854791baa5b99b69ebbb0da163ee38b17b9b519f17148e9f5dab27657f3bb3cd423e4bf7ccad6bc4f9ad91221df475cd06
|
||||
EBUILD espeak-1.48.04-r1.ebuild 2335 BLAKE2B ab6ff949f6602dd63f7b8870cd921cd890da96f308e02305a9ba9f002b4787075febd2957b7e72b3ab99bf12fd194dbe99826f6a041af3e3f411c0bf3dd89664 SHA512 71be8d8d0c892069c9ca15f44919883a95a68e75fe6944391b21c232643050eb73436272831ff910fcfa4fd74efab116f6f0e888327c1da395680d5ecc358c67
|
||||
MISC metadata.xml 426 BLAKE2B fa3afca193cba0b2979f177f7fd2a1fd984754590c01cb678e36de7e7434bff13fbcae9978d68f54235a52029f3e10b01ae6b0fb68c4913772c20cacfdde4bb2 SHA512 7192bf4f9808d3780bd4d690c7ea3adf96648e49ded906f67a60a3425e479dcfcdfcbe8b613ca50c165784962f046e574cfe642627d466c82696034fa0f43aaf
|
||||
|
@ -0,0 +1,91 @@
|
||||
https://bugs.gentoo.org/896106
|
||||
https://github.com/festvox/flite/pull/90
|
||||
|
||||
From 56ef01e5a7cd8d8606b4ccd13b4366039269f9d7 Mon Sep 17 00:00:00 2001
|
||||
From: matoro <matoro@users.noreply.github.com>
|
||||
Date: Fri, 24 Feb 2023 14:25:16 -0500
|
||||
Subject: [PATCH] Expose automated tests under "make check"
|
||||
|
||||
The following unit tests can be run automatically without specifying any
|
||||
user-provided arguments:
|
||||
hrg_test lex_test multi_thread nums_test regex_test token_test
|
||||
|
||||
Fix up the Makefiles to expose the ability to run these tests via "make
|
||||
check" or "make test", since it is currently broken (exposed at the top
|
||||
level, but missing the "test" target in testsuite/).
|
||||
---
|
||||
Makefile | 2 +-
|
||||
testsuite/Makefile | 22 ++++++++++++----------
|
||||
2 files changed, 13 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 511f8cf..1b627b2 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -129,6 +129,6 @@ voices: ./bin/flite_cmu_us_awb ./bin/flite_cmu_us_rms ./bin/flite_cmu_us_rms
|
||||
./bin/flite_cmu_us_rms -voicedump voices/cmu_us_rms.flitevox
|
||||
./bin/flite_cmu_us_slt -voicedump voices/cmu_us_slt.flitevox
|
||||
|
||||
-test:
|
||||
+check test:
|
||||
@ $(MAKE) --no-print-directory -C testsuite test
|
||||
|
||||
diff --git a/testsuite/Makefile b/testsuite/Makefile
|
||||
index b60e98a..275a3e8 100644
|
||||
--- a/testsuite/Makefile
|
||||
+++ b/testsuite/Makefile
|
||||
@@ -49,15 +49,17 @@ SRCS = token_test_main.c hrg_test_main.c \
|
||||
bin2ascii_main.c record_in_noise_main.c \
|
||||
compare_wave_main.c rfc_main.c lpc_resynth_main.c \
|
||||
by_word_main.c flite_test_main.c \
|
||||
- dcoffset_wave_main.c tris1_main.c
|
||||
+ dcoffset_wave_main.c tris1_main.c \
|
||||
+ multi_thread_main.c
|
||||
FC = us.flitecheck indic_hin.flitecheck indic_tam.flitecheck
|
||||
-OTHERS = kal_test_main.c multi_thread_main.c
|
||||
+OTHERS = kal_test_main.c
|
||||
|
||||
FILES = Makefile $(SRCS) $(DATAFILES) $(OTHERS) $(FC)
|
||||
|
||||
LOCAL_INCLUDES = -I$(TOP)/lang/usenglish
|
||||
|
||||
MAIN_EXECS = $(SRCS:_main.c=$(EXEEXT))
|
||||
+AUTO_EXECS = hrg_test lex_test multi_thread nums_test regex_test token_test
|
||||
lex_test_LIBS = -lflite_cmulex
|
||||
nums_test_LIBS = -lflite_usenglish
|
||||
utt_test_LIBS = -lflite_cmulex
|
||||
@@ -65,6 +67,7 @@ lex_lookup_LIBS = -lflite_cmulex
|
||||
ldom_time_LIBS = -L/home/awb/data/ldom/time_flite/flite/lib -lcmu_time_awb -lflite_usenglish -lflite_cmulex
|
||||
flite_test_LIBS = -lflite_usenglish -lflite_cmulex
|
||||
by_word_LIBS = -lflite_cmu_us_kal -lflite_usenglish -lflite_cmulex
|
||||
+multi_thread_LIBS = -lflite_cmu_us_slt -lflite_cmulex -lflite_usenglish -lflite -lm -lasound -lgomp
|
||||
#kal_test_LIBS = -lflite_cmu_us_kal -lflite_usenglish -lflite_cmulex \
|
||||
# /home/awb/src/malloc/gmalloc.o
|
||||
|
||||
@@ -73,19 +76,18 @@ LOCAL_CLEAN = $(MAIN_EXECS)
|
||||
|
||||
include $(TOP)/config/common_make_rules
|
||||
|
||||
+multi_thread : CFLAGS += -fopenmp
|
||||
+
|
||||
MAIN_O = $(SRCS:%=%_main.o)
|
||||
$(MAIN_O) : %_main.o : %_main.c
|
||||
$(CC) $(CFLAGS) -o $@ $<
|
||||
$(MAIN_EXECS) : %$(EXEEXT) : %_main.o $(FLITELIBS)
|
||||
$(CC) $(CFLAGS) -o $@ $@_main.o $($(@:=_LIBS)) $(FLITELIBFLAGS) $(LDFLAGS)
|
||||
|
||||
-multi_thread: multi_thread_main.c
|
||||
- gcc -fopenmp -o multi_thread multi_thread_main.c \
|
||||
- $(CFLAGS) -I$(TOP)/include $(FLITELIBFLAGS) $(LDFLAGS) \
|
||||
- -l flite_cmu_us_slt -lflite_cmulex -lflite_usenglish \
|
||||
- -lflite -lm -lasound -lgomp
|
||||
-do_thread_test: multi_thread
|
||||
-# This shouldn't segfault
|
||||
- export OMP_NUM_THREADS=100 && ./multi_thread
|
||||
+check test: $(patsubst %, run_%, $(AUTO_EXECS))
|
||||
|
||||
+run_%: %
|
||||
+ ./$<
|
||||
|
||||
+run_multi_thread: multi_thread
|
||||
+ OMP_NUM_THREADS=100 ./$<
|
Binary file not shown.
@ -1,11 +1,5 @@
|
||||
AUX ansible-lint-6.8.1_test-module-check.patch 1576 BLAKE2B 4a5959f8528e7a9679a1fee76573a0e1bab602900efcd8c785473b9fa048cb0b771e58e3286b2353b800db42f78e05b2ee38b9ddf9b3b1dfb8af670a7770a754 SHA512 c8616dfdaec597ac914cd21598cb2e77af4422bae4ffb3d019715f9d825a13c4d7f2e5ec173b1f8bed025ac69b264cede8dd9362326390998dfc2d54ae287f24
|
||||
AUX ansible-lint-6.8.6_test-module-check.patch 1882 BLAKE2B e42bae381ba29c224768295d7bca4e13d1d6baf3cbfc8fa73bd827bff61f29c25855884cf0e9ad0fdb9b345a8b29d6ce718eafb004a9ef1e5c48401b0bfc1032 SHA512 6470e68f91b1e62cc24fedb1486bf059644f9b79c87bc621363c58fe45141ccacfeda316f495971a4f7e2ff7ab721668aabdec7f0a45cca09e9c252c65c26255
|
||||
DIST ansible-lint-6.12.1.tar.gz 466371 BLAKE2B f43b3403c5d3db80d3ec3e3526cafc22bee68b31b5458e378a73bbec900de5411c597e9fc079a77cffc66a278a37bf0fc9ecfcaba3beccf74c6eecbe5b6148b9 SHA512 05c92c930d91419c212a9513aed5506c99e993acbce9437b6f8f3b95bd78ca5b0ff8e1a7d39f32907df72d858a2e4e6c74f47443c0f937b3644c7a18d1d59252
|
||||
DIST ansible-lint-6.13.1.tar.gz 488778 BLAKE2B d58002e10105759c6a19e8f67cccf6914cfb058573f7873bb6092bc3367c5af9583de30478c65e0d3b9b4840ac8103d688e6dc63e49543199b82447eba12eca0 SHA512 c71b45f3a73dd782480ae9c4c38fef5741297706d60d07c524f5abfb3249c87950bf8ffccd782a85ee6a83c357b1a0fbf101c659c640d98365d508dfb0a513a3
|
||||
DIST ansible-lint-6.8.2.gh.tar.gz 288616 BLAKE2B 4ae9c344d834a3d69a05689df296c7915e6eb7cb2a85b773f3adcc4efd898c3e1c9f32d8b1efda31afb7a5466d1966aa754cd5529c7dcfd6c1f45517d39e1750 SHA512 101be050772f6df827a697faa5ff9650c98959d9bd6e7a025a19c0ac94faa6b06e114b9122ae8f09f650be565b226189f4706ef8dd0f27548774664adccf3d18
|
||||
DIST ansible-lint-6.9.1.gh.tar.gz 388343 BLAKE2B 73035bdbd6c1bdee5566d5dee5a8461953d99bbaf896d7a9764c32419e74c3d23883ac1a7548de3e21372195f99c325c371cead7397bf64d6d033d9a2f81ed01 SHA512 eaf255c53fb8355b06e7013f6676a09e2d7e67aa332306448f530c345925c80ff5ea54c580f7f6720a25ebed9e8deb4c0a8e4e22af4183e8a8ef7b6999be6099
|
||||
EBUILD ansible-lint-6.12.1.ebuild 1630 BLAKE2B fc5bd20153e7117acc7d66dd37177bc3b959d4bebddc61c64b129247ea726403eae676aa064e8c5c9553a76a4feaccf99efd26adc4c5ba1db68f1b7b02588f80 SHA512 c1316c20c5d9c93dec35a81797d47bf7745491e745be4662ed4fc8c646756d32b88b9d86a8b6a3ab26bc3c8a0c4d8eea412a83f3494f161a73423c3e292127de
|
||||
EBUILD ansible-lint-6.13.1.ebuild 1630 BLAKE2B fc5bd20153e7117acc7d66dd37177bc3b959d4bebddc61c64b129247ea726403eae676aa064e8c5c9553a76a4feaccf99efd26adc4c5ba1db68f1b7b02588f80 SHA512 c1316c20c5d9c93dec35a81797d47bf7745491e745be4662ed4fc8c646756d32b88b9d86a8b6a3ab26bc3c8a0c4d8eea412a83f3494f161a73423c3e292127de
|
||||
EBUILD ansible-lint-6.8.2.ebuild 2911 BLAKE2B 5887284aa1458b35dc7a5c6ade49febe2c5923758347c3b5cb4c375f8661ba5f87dc088cce4a8b2fb7520f184632823d59eddee92392fa5bfb8870b885419887 SHA512 a40f308441fd5d039b47efbcb14e13d5f9796f5a081dee98a3da0fc65090b8255a5bc967ff7940acabc9d1e6aa698fc041c4267899847fff4747ee0a5a251019
|
||||
EBUILD ansible-lint-6.9.1.ebuild 2960 BLAKE2B 8dd9e27d90b9f738ab91e22d675478f15c55d796d4ca9e22c99f64227c6a20ebd228bb2005e78ff578f65aea50445ba19bd234bc81284c257adfd7c74e4d229d SHA512 3538e1821001f70026a271e37ca115345593e3ae13fc86b9d69bce0a7560452b5472fcba870f9595a2f7f523721b0c116aeefa0224ef1f36e52ff93cb34e12a7
|
||||
DIST ansible-lint-6.14.1.tar.gz 472139 BLAKE2B 886a9e0f6b26fc5d78d48c8544106ba9b1af6dbca7b8214c1ca15ca12d1b1ea99ac2c2a6120496069f67f303ac165db00f86b87b397146becf5d084dfd1f1005 SHA512 6f267f1bcb6081726691e5618eddc37897238365455c4263aed0eb736d23c2cb0fd56adb9d1fe54248a2ea78c9e97c4ce374ac4baf17ccc904d602e5887a1204
|
||||
EBUILD ansible-lint-6.12.1.ebuild 1629 BLAKE2B 4c50e08619c06228173e959f79e2b9ea7da7908a366326d7bbdf7935f64baff7c8a6ec1280e03f3c3ce9c7954952380cec6ba1ce9f8adbfa831c4a801ac1605e SHA512 f59fb0cad5f796537f39597c8187ffae282cd9e8229b2152e8cfcaeefed57a5c7cce7290b16b68d325848e50a2377ac5b5f27ba55ece35a6d8af8a99b26a96bc
|
||||
EBUILD ansible-lint-6.14.1.ebuild 1604 BLAKE2B ec4ff3d9b33da0cf820b73fd956b1de8670870446f5991896339148a807f4feb0cbdcd85d29bbe3e9ee3852dcfdbfec03e7a5dcc60086ae14741f74511bf2d36 SHA512 54bbabf0853d26252e7a7facc6dd750aa327a8ec689695fb61dfc12c5c5b06346db45dac07c62c03545e73d28ff8ecf2740e242cc9d7bb44783d077252bb8272
|
||||
MISC metadata.xml 561 BLAKE2B 0f55fc4da270c495c445e5afff0a8f7aaedd01abf3640f848cd9dc21e01fa7324c78846ee4bf917e4869b6c377fef61254a2288fa3d572c1bb77279571fb6631 SHA512 bd6bf6b916a0b736a0bfdd633f6569ce3124458169d77ef1cd86d6dda4099774088871560ce0106e11f139a2b48f13445e7a844e03a8669160c7e3fa44be5f36
|
||||
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
|
||||
HOMEPAGE="https://github.com/ansible/ansible-lint"
|
||||
# PyPI tarballs do not contain all the data files needed by the tests
|
||||
SRC_URI="https://github.com/ansible/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~riscv"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/ansible-core-2.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ansible-compat-2.2.0[${PYTHON_USEDEP}]
|
||||
dev-python/black[${PYTHON_USEDEP}]
|
||||
>=dev-python/enrich-1.2.6[${PYTHON_USEDEP}]
|
||||
dev-python/filelock[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-4.9.0[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/ruamel-yaml-0.15.37[${PYTHON_USEDEP}]
|
||||
>=dev-python/wcmatch-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-util/yamllint-1.25.0[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
>=dev-python/setuptools-scm-3.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/flaky-3.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.8.1_test-module-check.patch
|
||||
)
|
||||
|
||||
# Skip problematic tests:
|
||||
# - test_rules_id_format has been giving an internal error since 6.5.4 or so (TODO: follow this up with upstream)
|
||||
# - test_call_from_outside_venv doesn't play nicely with the sandbox
|
||||
# - all the others require Internet access, mostly in order to access Ansible Galaxy
|
||||
EPYTEST_DESELECT=(
|
||||
test/test_cli_role_paths.py::test_run_playbook_github
|
||||
test/test_eco.py
|
||||
test/test_examples.py::test_custom_kinds
|
||||
test/test_import_playbook.py::test_task_hook_import_playbook
|
||||
test/test_list_rules.py::test_list_rules_includes_opt_in_rules
|
||||
test/test_list_rules.py::test_list_rules_with_format_option
|
||||
test/test_list_rules.py::test_list_tags_includes_opt_in_rules
|
||||
test/test_main.py::test_call_from_outside_venv
|
||||
test/test_prerun.py::test_install_collection
|
||||
test/test_prerun.py::test_prerun_reqs_v1
|
||||
test/test_prerun.py::test_prerun_reqs_v2
|
||||
test/test_prerun.py::test_require_collection_wrong_version
|
||||
test/test_profiles.py::test_profile_listing
|
||||
test/test_rules_collection.py::test_rich_rule_listing
|
||||
test/test_rules_collection.py::test_rules_id_format
|
||||
test/test_skip_inside_yaml.py::test_role_meta
|
||||
test/test_utils.py::test_cli_auto_detect
|
||||
test/test_utils.py::test_template_lookup
|
||||
test/test_verbosity.py::test_default_verbosity
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# Since 6.2.1, without this the test suite still gets confused by the presence of ansible-lint modules
|
||||
# in both ${ED} and ${S}.
|
||||
cd "${S}" || die
|
||||
|
||||
epytest test
|
||||
}
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
|
||||
HOMEPAGE="https://github.com/ansible/ansible-lint"
|
||||
SRC_URI="https://github.com/ansible/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~riscv"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/ansible-core-2.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ansible-compat-2.2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/black-22.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/filelock-3.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-4.17.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-21.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-12.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ruamel-yaml-0.17.21[${PYTHON_USEDEP}]
|
||||
>=dev-python/wcmatch-8.3.2[${PYTHON_USEDEP}]
|
||||
>=dev-util/yamllint-1.26.3[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
>=dev-python/setuptools-scm-3.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools_scm_git_archive-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/flaky-3.7.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-6.8.6_test-module-check.patch
|
||||
)
|
||||
|
||||
# Skip problematic tests:
|
||||
# - test_rules_id_format has been giving an internal error since 6.5.4 or so (TODO: follow this up with upstream)
|
||||
# - test_call_from_outside_venv doesn't play nicely with the sandbox
|
||||
# - all the others require Internet access, mostly in order to access Ansible Galaxy
|
||||
EPYTEST_DESELECT=(
|
||||
test/test_ansiblesyntax.py::test_null_tasks
|
||||
test/test_cli_role_paths.py::test_run_playbook_github
|
||||
test/test_eco.py
|
||||
test/test_examples.py::test_custom_kinds
|
||||
test/test_examples.py::test_example
|
||||
test/test_file_path_evaluation.py
|
||||
test/test_import_playbook.py::test_task_hook_import_playbook
|
||||
test/test_list_rules.py::test_list_rules_includes_opt_in_rules
|
||||
test/test_list_rules.py::test_list_rules_with_format_option
|
||||
test/test_list_rules.py::test_list_tags_includes_opt_in_rules
|
||||
test/test_main.py::test_call_from_outside_venv
|
||||
test/test_prerun.py::test_install_collection
|
||||
test/test_prerun.py::test_prerun_reqs_v1
|
||||
test/test_prerun.py::test_prerun_reqs_v2
|
||||
test/test_prerun.py::test_require_collection_wrong_version
|
||||
test/test_profiles.py::test_profile_listing
|
||||
test/test_rules_collection.py::test_rich_rule_listing
|
||||
test/test_rules_collection.py::test_rules_id_format
|
||||
test/test_schemas.py::test_refresh_schemas
|
||||
test/test_skip_inside_yaml.py::test_role_meta
|
||||
test/test_utils.py::test_cli_auto_detect
|
||||
test/test_utils.py::test_template_lookup
|
||||
test/test_verbosity.py::test_default_verbosity
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# Test suite fails to start without this. Bug in the eclass, maybe?
|
||||
python_test() {
|
||||
epytest test
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
--- a/conftest.py
|
||||
+++ b/conftest.py
|
||||
@@ -8,40 +8,6 @@
|
||||
import pytest
|
||||
from ansible.module_utils.common.yaml import HAS_LIBYAML
|
||||
|
||||
-# checking if user is running pytest without installing test dependencies:
|
||||
-missing = []
|
||||
-for module in ["ansible", "black", "flake8", "flaky", "mypy", "pylint"]:
|
||||
- if not importlib.util.find_spec(module):
|
||||
- missing.append(module)
|
||||
-if missing:
|
||||
- print(
|
||||
- f"FATAL: Missing modules: {', '.join(missing)} -- probably you missed installing test requirements with: pip install -e '.[test]'",
|
||||
- file=sys.stderr,
|
||||
- )
|
||||
- sys.exit(1)
|
||||
-# we need to be sure that we have the requirements installed as some tests
|
||||
-# might depend on these.
|
||||
-try:
|
||||
- subprocess.check_output(
|
||||
- ["ansible-galaxy", "collection", "install", "-r", "requirements.yml"],
|
||||
- stderr=subprocess.PIPE,
|
||||
- text=True,
|
||||
- )
|
||||
-except subprocess.CalledProcessError as exc:
|
||||
- print(f"{exc}\n{exc.stderr}\n{exc.stdout}", file=sys.stderr)
|
||||
- sys.exit(1)
|
||||
-
|
||||
-if not HAS_LIBYAML and sys.version_info >= (3, 9, 0):
|
||||
- # While presence of libyaml is not required for runtime, we keep this error
|
||||
- # fatal here in order to be sure that we spot libyaml errors during testing.
|
||||
- #
|
||||
- # For 3.8.x we do not do this check, as libyaml does not have an arm64 build for py38.
|
||||
- print(
|
||||
- "FATAL: For testing, we require pyyaml to be installed with its native extension, missing it would make testing 3x slower and risk missing essential bugs.",
|
||||
- file=sys.stderr,
|
||||
- )
|
||||
- sys.exit(1)
|
||||
-
|
||||
|
||||
os.environ["NO_COLOR"] = "1"
|
||||
|
@ -1,59 +0,0 @@
|
||||
--- a/conftest.py
|
||||
+++ b/conftest.py
|
||||
@@ -7,56 +7,6 @@
|
||||
|
||||
import pytest
|
||||
|
||||
-# checking if user is running pytest without installing test dependencies:
|
||||
-missing = []
|
||||
-for module in ["ansible", "black", "flake8", "flaky", "mypy", "pylint"]:
|
||||
- if not importlib.util.find_spec(module):
|
||||
- missing.append(module)
|
||||
-if missing:
|
||||
- print(
|
||||
- f"FATAL: Missing modules: {', '.join(missing)} -- probably you missed installing test requirements with: pip install -e '.[test]'",
|
||||
- file=sys.stderr,
|
||||
- )
|
||||
- sys.exit(1)
|
||||
-# we need to be sure that we have the requirements installed as some tests
|
||||
-# might depend on these.
|
||||
-try:
|
||||
- from ansible_compat.prerun import get_cache_dir
|
||||
-
|
||||
- cache_dir = get_cache_dir(".")
|
||||
- subprocess.check_output(
|
||||
- [
|
||||
- "ansible-galaxy",
|
||||
- "collection",
|
||||
- "install",
|
||||
- "-p",
|
||||
- f"{cache_dir}/collections",
|
||||
- "-r",
|
||||
- "requirements.yml",
|
||||
- ],
|
||||
- stderr=subprocess.PIPE,
|
||||
- text=True,
|
||||
- )
|
||||
-except subprocess.CalledProcessError as exc:
|
||||
- print(f"{exc}\n{exc.stderr}\n{exc.stdout}", file=sys.stderr)
|
||||
- sys.exit(1)
|
||||
-
|
||||
-# flake8: noqa: E402
|
||||
-from ansible.module_utils.common.yaml import ( # pylint: disable=wrong-import-position
|
||||
- HAS_LIBYAML,
|
||||
-)
|
||||
-
|
||||
-if not HAS_LIBYAML and sys.version_info >= (3, 9, 0):
|
||||
- # While presence of libyaml is not required for runtime, we keep this error
|
||||
- # fatal here in order to be sure that we spot libyaml errors during testing.
|
||||
- #
|
||||
- # For 3.8.x we do not do this check, as libyaml does not have an arm64 build for py38.
|
||||
- print(
|
||||
- "FATAL: For testing, we require pyyaml to be installed with its native extension, missing it would make testing 3x slower and risk missing essential bugs.",
|
||||
- file=sys.stderr,
|
||||
- )
|
||||
- sys.exit(1)
|
||||
-
|
||||
|
||||
os.environ["NO_COLOR"] = "1"
|
||||
|
@ -1,7 +1,13 @@
|
||||
DIST aws-cli-1.27.74.gh.tar.gz 2368706 BLAKE2B 3eb9d8c21b9ddfd3a3e4bb53172a46ad69ca71033785bd29fd8b0b0f694c2ed62a4cad998ccd13b07949b86a89f2ca238a63a4553e591ba9066832f51ed87759 SHA512 cf61a3f1dd643bb7d0f81f047c1eeae78a7793532bffa612045273c46ae970b2763156a7679b6e16e65c2f886dec68e54db0169580bb3c37cc08420f874e704c
|
||||
DIST aws-cli-1.27.79.gh.tar.gz 2376690 BLAKE2B 8e55d3607b805ebc5673c682731483f0fd6eb77a6cc972d58ce3219c33f9f2054529df6ab46fc85b39849871580cea03c4d7f490c4386cd5ce9d222ecb3c8eda SHA512 fd8b880b6358c50ed189fac538d91ef88d762b8c382da1b57bb086a316f7ee96fa33206a53f3eae2df98df175929c819b855c7ff5b7e5f84c73ecff88f297c79
|
||||
DIST aws-cli-1.27.84.gh.tar.gz 2378573 BLAKE2B b85d7eeb22b0a2a9264b49a27f2e3d3da9d35dbc44de205521c39522fcec31948ef8b67dfc3ce919b772ba85fa59cfc5a4d69e3c67aadd9cbb029da883ad699e SHA512 1d31d1b800b0795a8473af0dc334feb69f62d2fd8fcb88e0e4e7e4068435f6f37792d2c9382ec1b0c6b074d5eca09142e52f6e36c472145df9d57db2cc4ee078
|
||||
DIST aws-cli-1.27.85.gh.tar.gz 2378716 BLAKE2B c3bc3294d11815eb7607020e78d0349a1b9ac1c93e09351f960a997c974dad905bbff171139e68b776eae7ac2e6d3ec0d0154b05c42afc29ab4655933806bed6 SHA512 a2e1d471f64cf2c7c3e0657e67c88d79c9430195c81b11054977352f3f66f21fa68c67b3eff537ca6991e2f55379a9955665a8514ce0804d40c71d1d2ef38e3f
|
||||
DIST aws-cli-1.27.86.gh.tar.gz 2379304 BLAKE2B 8bca8deaf377def250e772bd7568f7d4b82b7be4ba951a95529b8b8eb13d9ac8be791a7e9588bb01fa7167d3304224e2db426f25e25d7af94de298dd5ebf673d SHA512 9c98965c03685ba806a16531c68ec75c043b8c94eb64238d7500894211e3e9b500d00111132122226502ad3ea588bf09ae470a862d6d97b880a06808c96dfe6d
|
||||
DIST aws-cli-1.27.87.gh.tar.gz 2381669 BLAKE2B eb279545fcab3ac279ee127acbd4e06f15d365bf0c4d9b17e682d852de81acf2b94ef197ed8444ca5d6ffb5a3ba814d6ace72bcf7ed956bfbbd955508942d6ec SHA512 23af96758d9664f3ae72f2abcb2c94817f2bd9a7b68564eb2eabbd7fb121247bedb77a3e5d24e04975ab5db101dee47bd5b6324152a6132891b542c402898c3a
|
||||
EBUILD awscli-1.27.74.ebuild 2278 BLAKE2B a074ad11e996c7c4e5c0366e5e5d3856cb1bdd7984b8eaf9ac959108e0c5737b064be5d7a579f46669403efb0c3111e8814570f041106e920102cf2a6ddf3687 SHA512 060c06ae5d2295b74940bc86eabf279eeb7a81f7cafa4a9d89e9af8076feff5a23cc3f9bad5a631e75155af64b948abe4c0de7283883a53d4b1ee5791765176b
|
||||
EBUILD awscli-1.27.79.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
EBUILD awscli-1.27.84.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
EBUILD awscli-1.27.85.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
EBUILD awscli-1.27.86.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
EBUILD awscli-1.27.87.ebuild 2285 BLAKE2B ab176af730bcb3713594ac424ab29325c2cb24b8136e12ac6e18cf1648c8fa81e256eab0c708077e2c5423d1592594bb842383614e9114e728703e8cc8964252 SHA512 423fc2ef82036643a93eebded5fde267beb70f6278f06faa7e4c5ea221351aefe5bdf7c6469e57c49caab603ae1aa58fb514339c65891995cef614e698e9d997
|
||||
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab
|
||||
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -0,0 +1,80 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
MY_P=aws-cli-${PV}
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="
|
||||
https://github.com/aws/aws-cli/
|
||||
https://pypi.org/project/awscli/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||
-> ${MY_P}.gh.tar.gz
|
||||
"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||
|
||||
# botocore is x.(y+2).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
!app-admin/awscli-bin
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||
)
|
||||
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST lib_users-0.15.tar.gz 25899 BLAKE2B e54dfe20cf5e3e3da3bddcf044cda36a5d51dec9baa808202d81ed0ef8a8b434b3c6f31a279b544308a32e6ebf91008ac2db49278da7624a6037ffdf1db309b6 SHA512 f9eab0d7c634602c496154dc20bd8374842df77c6abfaf69a0c34013f01c3a7541a006cb2b027539f6c088a55bea78682bf156723899d614f39ee48773fb9ea8
|
||||
EBUILD lib_users-0.15.ebuild 1066 BLAKE2B 5b7349728077c04747266652e9dd7baeac3c497a8193f4eede9c7e2fb4ede2a7334b0c9a7fc919d3ce61c94a5c7cb20ed329b455e605ccb553e99f399ed7a1bc SHA512 17f5a3669b698c7837a6fee4f5fb37ebc2fc0c74558060767c84fc9cec2cdb4b8dc8c199ea9de4476c8dc423c559d260c8dffdd8e2260de833fed8e92965e07f
|
||||
EBUILD lib_users-0.15.ebuild 1066 BLAKE2B f458b98a2b2b8c3d96d7572ff9353118b0520cc2319a5172d43aca04b5308bdfcd71a0e93c15d74932b90805e27e1f02911fb134801654153c0fa84a61addcee SHA512 5172c79024c9cd0bb91d2707f93ce4e5c3f37b873146d8edfc6ea4998cb2ee19860d565a499a717d85089c8d6f74d9ca509556156d18838fe627fcf51489e2b0
|
||||
MISC metadata.xml 344 BLAKE2B b11cff8e0077d50cf43e98a4c0502afec9c3c966f83513f392b97c1009fdaecbd73cb58ee8851e993e8e751f75f10adad6db97bf305d4f47afc016bb4b30f8d9 SHA512 ed9a5449f5efc28cdc6a615c889e2a312841db90524d3e12899c10824896f82535cc5c302b26525ed523f7e90cdf133edda0e3ee77f32563f3bfaad7b997301a
|
||||
|
@ -1,5 +1,4 @@
|
||||
AUX ngxtop-0.0.2-py3.patch 1816 BLAKE2B 1f19b6143bc5eab4786043d1641f17a370cc07b72c3e61329e9b3255fb6a0c66d00d94b371aae5e0d5747e99964a102d7ea630a235ebad4df0cd3ff015917c95 SHA512 47127c5ba26d0d6319ca74f21370bf01ce3a74676066bf7476f862de8165c2d62d90e5cad1cb2369e5743db4fa51090e8bdf59da04f9dcfafec62edc44122f8f
|
||||
DIST ngxtop-0.0.3_pre141201.tar.xz 9012 BLAKE2B 9e8a7d2c3aadb302e0923fc7cb5b0219a56489993fdcf83fb7b38ba67036f2b5cae7e5bba2c9efc81d858c58b0f1e25f17fa8cc600e77f76b45aafd9d5a3354e SHA512 ce0c6d027eacfe553752a4a66b7d5823de45ef847d4db1a50d9677126a1d574c22e17b5a60f073bf74eb93d56d15d88d6201353324b201b77c1dd5bede6d7cde
|
||||
EBUILD ngxtop-0.0.3_pre141201-r1.ebuild 744 BLAKE2B 63da2bdf1a4b1b64e3d4c7a6753d8c0d374eaa58b0dcc2ce50acf8feca49d2353f5338f2f9b20631486adadf14fab7d724fb24b6e93854fb906be9f65b86871a SHA512 213d8836b6b86410865d6ef61ba28664d12cbfdb611d7041cab9e26d4ebde27da92f6e105ed4554098a4ca1b3b68c5de49f31666760ba837c46673e52b0a7674
|
||||
EBUILD ngxtop-0.0.3_pre141201-r2.ebuild 748 BLAKE2B 1c717f6950359bda702cd89b6bf99ff0fba6053ea9bc3893c98ea8acc0354045467f2d22185335315471d81b0b9ae1d1d929d3889415fd1f6736c7172f4d0fb9 SHA512 6b12021c0e9a562d0231c99d39df5b68142fdc66adb30b582ca706f4192bd4f8538b07dbdd301bfa8b8e44f4706013e32b78759398658e294b1447d3f0bbe48c
|
||||
EBUILD ngxtop-0.0.3_pre141201-r2.ebuild 739 BLAKE2B 36d1e0b9f92933e63bcae1a9b534bda00b8205702b6b71571811a53542c8f3e0da1094a80050b30b2cc7e8c3fb99c3a1ad0800261df043d5e38cef51f5105a88 SHA512 3157a2e7bb474757566cbf2266638203d321c913b90e1b068dc8020b9d33bb0738f14a3ff31835186c475d0d757f7b95abf77453a9914f547ee891b93e553a4f
|
||||
MISC metadata.xml 492 BLAKE2B 83a6fd96b1e0322cae6cd653bff950ed4716c5c84a0edeaf41461c6de70185e9cd011dedaa49e29913d0b672776be04b572a215f035ec8bb8d806eada14313c9 SHA512 bdd922c0dc95423c839034c0514bb753a05ecb760f753290dd33149893334212f1808566b9980c16dff51730dd63b54dc93846b0b28c48b77810cbcf1952e225
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_9 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="real-time metrics for nginx server (and others)"
|
||||
HOMEPAGE="https://github.com/lebinh/ngxtop"
|
||||
#SRC_URI="https://github.com/lebinh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docopt[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/tabulate[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.0.2-py3.patch )
|
@ -1,3 +1,5 @@
|
||||
DIST pwman3-0.11.1.tar.gz 76992 BLAKE2B cd7289781436f0f8b941d587c61b2d8a5cad52f3d57d01106d73b3da5930de2bd2df15fe5a4bcfbdce5e5733b7328764d6e4e2d18cba8a575cadad8835218e75 SHA512 111713e23b64a7492b5e2735b0d0117a81759bd9f25a87327a2aa4a465fbbc8a0aa0fbfa86b84cbcd40eb1540d05cdbc6fb81982fe61953df91979e674ce5640
|
||||
DIST pwman3-0.12.2.tar.gz 76744 BLAKE2B 5223169a267f0c35bcb26499138c9b768c6e29c4ce39d4fb89c56eb72d24a9729159bed93af24e12f1e0e6c1569586772eb36954afd51afc7c97c9de898346e5 SHA512 587839e7d532ef3c53e2c429b086eb6bd59290ce43687034400f8e0772cc4e97c9296694ad83c5fa3fdde37b8d8fef5bc150e9f81fcb9fe8712ffafb4be8b400
|
||||
EBUILD pwman3-0.11.1.ebuild 858 BLAKE2B b0309b7d0059f5fb933f216fd170a8e8fede1cffe0687d250488f289b9f5d399ecbd73249ca3162ddf82f24a66ac8ee3a0e1a4a75e3c8e30f706329833794b64 SHA512 f309072d7e2ea99871c7e6fcf807ec45a42e53d997a852429491478bbe9bcd37eb20b2b909b3f9ab1ae2969350f6850d79be7908959c56b001b09911582bc7b3
|
||||
EBUILD pwman3-0.12.2.ebuild 891 BLAKE2B f0cb8440ccf43167f950109021c399ced86717d0586e2636019eb0e5ad6e3ce578ab4543ca9f78717ca08e287587fe7db6eb1dabde26e2d7b8231cdcc5544a2e SHA512 fdd6191b036b02694d0b81ab3a64e539d27dd8d960d67b1637b3d21034559aab4d3bd3ae998b008273d4b3b56332eb141fa01e392996fd9fb341dd43590cfdde
|
||||
MISC metadata.xml 944 BLAKE2B 24c67369c51110a1b5af7460665b6f55a129e86a5e61c4b9cafdf262862cbd21eff1a535dd5bf41c13ddbb3e13913ad06a5ec4bf63d5c8d5d13ee2764685cc2c SHA512 58aceafd3d884f3652682796932e9d6edf8ffecff9f61ee0b7c76f11897f5da20b18a603a8b7246da38ba507b25d5122b2f957349db94c0186abf94fc65c5602
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="A lightweight password-manager with multiple database backends"
|
||||
HOMEPAGE="https://pwman3.github.io/pwman3/"
|
||||
SRC_URI="https://github.com/pwman3/pwman3/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/cryptography-2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/colorama-0.4.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="test? ( dev-python/pexpect[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Support for mongodb" dev-python/pymongo
|
||||
optfeature "Support for postgresql" dev-python/psycopg:2
|
||||
optfeature "Support for mysql" dev-python/pymysql
|
||||
}
|
@ -1,53 +0,0 @@
|
||||
https://github.com/sudo-project/sudo/issues/239
|
||||
https://github.com/sudo-project/sudo/pull/240
|
||||
|
||||
From 20d1348354ddbfb1b1f95522f81d73ec00988358 Mon Sep 17 00:00:00 2001
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Wed, 15 Feb 2023 03:20:36 +0000
|
||||
Subject: [PATCH] sudo_fatal: Fix build where compiler recognises [[noreturn]]
|
||||
attribute (C23)
|
||||
|
||||
If the compiler supports [[noreturn]] as a attribute as in C23,
|
||||
then we define sudo_noreturn to be it. When that's the case, we must place
|
||||
it at the beginning of the declaration, before any other *extension*
|
||||
attributes (__attribute(...)).
|
||||
|
||||
sudo_dso_public is always an extension attribute, while sudo_noreturn only
|
||||
might be, so put it first.
|
||||
|
||||
This only shows up with GCC 13 so far (see the linked GCC bug (notabug)
|
||||
for a bit more exploration). Clang 16 does support the attribute but doesn't let
|
||||
you sue it for earlier language versions (need to pass explicit -std=c2x,
|
||||
unlike with GCC here).
|
||||
|
||||
This is essentially a followup to e707ffe58b3ccfe5c72f54c38eac1d7069d5021e.
|
||||
|
||||
Tested with GCC 13.0.1 20230212 (unreleased), GCC 12.2.1 20230211,
|
||||
Clang 16.0.0_rc2, and Clang 15.0.7.
|
||||
|
||||
Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108796
|
||||
Closes: https://github.com/sudo-project/sudo/issues/239
|
||||
Fixes: e707ffe58b3ccfe5c72f54c38eac1d7069d5021e
|
||||
Fixes: 16ae61dcd7d3cd8bf6eb10a22fa742d4505da4e9
|
||||
--- a/include/sudo_fatal.h
|
||||
+++ b/include/sudo_fatal.h
|
||||
@@ -171,12 +171,12 @@ sudo_dso_public int sudo_fatal_callback_deregister_v1(sudo_fatal_callback_t fun
|
||||
sudo_dso_public int sudo_fatal_callback_register_v1(sudo_fatal_callback_t func);
|
||||
sudo_dso_public char *sudo_warn_gettext_v1(const char *domainname, const char *msgid) sudo_attr_fmt_arg(2);
|
||||
sudo_dso_public void sudo_warn_set_locale_func_v1(sudo_warn_setlocale_t func);
|
||||
-sudo_dso_public sudo_noreturn void sudo_fatal_nodebug_v1(const char *fmt, ...) sudo_printf0like(1, 2);
|
||||
-sudo_dso_public sudo_noreturn void sudo_fatalx_nodebug_v1(const char *fmt, ...) sudo_printflike(1, 2);
|
||||
-sudo_dso_public sudo_noreturn void sudo_gai_fatal_nodebug_v1(int errnum, const char *fmt, ...) sudo_printflike(2, 3);
|
||||
-sudo_dso_public sudo_noreturn void sudo_vfatal_nodebug_v1(const char *fmt, va_list ap) sudo_printf0like(1, 0);
|
||||
-sudo_dso_public sudo_noreturn void sudo_vfatalx_nodebug_v1(const char *fmt, va_list ap) sudo_printflike(1, 0);
|
||||
-sudo_dso_public sudo_noreturn void sudo_gai_vfatal_nodebug_v1(int errnum, const char *fmt, va_list ap) sudo_printflike(2, 0);
|
||||
+sudo_noreturn sudo_dso_public void sudo_fatal_nodebug_v1(const char *fmt, ...) sudo_printf0like(1, 2);
|
||||
+sudo_noreturn sudo_dso_public void sudo_fatalx_nodebug_v1(const char *fmt, ...) sudo_printflike(1, 2);
|
||||
+sudo_noreturn sudo_dso_public void sudo_gai_fatal_nodebug_v1(int errnum, const char *fmt, ...) sudo_printflike(2, 3);
|
||||
+sudo_noreturn sudo_dso_public void sudo_vfatal_nodebug_v1(const char *fmt, va_list ap) sudo_printf0like(1, 0);
|
||||
+sudo_noreturn sudo_dso_public void sudo_vfatalx_nodebug_v1(const char *fmt, va_list ap) sudo_printflike(1, 0);
|
||||
+sudo_noreturn sudo_dso_public void sudo_gai_vfatal_nodebug_v1(int errnum, const char *fmt, va_list ap) sudo_printflike(2, 0);
|
||||
sudo_dso_public void sudo_warn_nodebug_v1(const char *fmt, ...) sudo_printf0like(1, 2);
|
||||
sudo_dso_public void sudo_warnx_nodebug_v1(const char *fmt, ...) sudo_printflike(1, 2);
|
||||
sudo_dso_public void sudo_gai_warn_nodebug_v1(int errnum, const char *fmt, ...) sudo_printflike(2, 3);
|
||||
|
@ -1,40 +0,0 @@
|
||||
https://github.com/sudo-project/sudo/commit/defec5d46eec7345b62060049f72215ffd7f3e7e
|
||||
|
||||
From defec5d46eec7345b62060049f72215ffd7f3e7e Mon Sep 17 00:00:00 2001
|
||||
From: "Todd C. Miller" <Todd.Miller@sudo.ws>
|
||||
Date: Tue, 14 Feb 2023 14:24:28 -0700
|
||||
Subject: [PATCH] Add missing '[' to AS_IF() call. Fixes GitHub issue #238.
|
||||
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -24525,7 +24525,8 @@ fi
|
||||
|
||||
if test X"$with_noexec" != X"no"
|
||||
then :
|
||||
- # Check for non-standard exec functions
|
||||
+
|
||||
+ # Check for non-standard exec functions
|
||||
ac_fn_c_check_func "$LINENO" "exect" "ac_cv_func_exect"
|
||||
if test "x$ac_cv_func_exect" = xyes
|
||||
then :
|
||||
@@ -24564,7 +24565,7 @@ fi
|
||||
|
||||
|
||||
fi
|
||||
-]
|
||||
+
|
||||
fi
|
||||
|
||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3022,7 +3022,7 @@ AC_CHECK_FUNCS([setpassent setgroupent])
|
||||
dnl
|
||||
dnl Function checks for sudo_noexec
|
||||
dnl
|
||||
-AS_IF([test X"$with_noexec" != X"no"],
|
||||
+AS_IF([test X"$with_noexec" != X"no"], [
|
||||
# Check for non-standard exec functions
|
||||
AC_CHECK_FUNCS([exect execvP execvpe])
|
||||
# Check for posix_spawn, and posix_spawnp
|
||||
|
@ -1,6 +1,6 @@
|
||||
AUX sysstat.init.d 378 BLAKE2B fe781f1a53e183023da2b46ecefb37881eedf8e8df2623927b24f33aa3344776b39db038d598ad050f1d48462d52300fb17731f29b0a8ab9c800fbe379efa249 SHA512 328ee3d40d45a0b1702c74fe0195ce4444cc8f63cb0fa68ba40ca20cfa183dd7acf4fc846cd76a4bcf426a3b4064316061dbbf26ca20047711528399e17b20b4
|
||||
DIST sysstat-12.6.2.tar.gz 1455025 BLAKE2B aba2d8fd5fae8d6df740173d7ccd60beb0628c4c2205342f72ec03d6c48995d397de0d6f2cace24accf1a9274da37cf3bba86888717bc8d62d262ffd1c6f995e SHA512 376047de55598c6f671b999203809219a40206a9c58499399681af9ebe6048dd4da96c8ef5827d75cc369a7b69c3f1aadef1a5e8deec318a12b230d61f09fc08
|
||||
DIST sysstat-12.7.1.tar.gz 1464847 BLAKE2B dd4cb510d45879665945d7c3efcb9e1011f6b77d152c7f989ef6a3e8f203c05c1ca708959030cb864c31810ec27a5e880a9cfcd805f26c4f3537d55bdd9fd763 SHA512 5c1da0f5a1bf26091f029c5ea138f836616becb1e531843aa2c150a66ddc1f07b43cffeac98445855bf70319942fe22838a682c2f7685893bead7d8de7e9e2a8
|
||||
EBUILD sysstat-12.6.2.ebuild 1717 BLAKE2B 53da1437831aa58048e0dce44f3208f1a0b23432a903c457b6f34df4eeb0da5d1b74d75a1a3087418019510f3f9925afd8dc6d258f4c3179907e2a31358e06c8 SHA512 8b073afca9132cefb1e2111eb9e496012cf688c121b16531b1e59a8c77dfa6168214973aab01faeba4c42300b102a79d8076c41d513044e1d64e694c9c7e17ac
|
||||
EBUILD sysstat-12.6.2.ebuild 1715 BLAKE2B b12720315d470b82c602ca5f5eb4300617c7df0d5b0550bca1e6dd5feb4dda2d6a4e1cc0bcdd49630a9ebc46fdfd39d6884bea3bbc05a7c68b36de7401f4b112 SHA512 747e536a46f4b0922af4587368202a3a32ae36ead9f0fb90c0360ff2fe833e3c81f76525302776a4a0fb6e4b7e1d42c6e0993ca0120aa80729b2dca589aace38
|
||||
EBUILD sysstat-12.7.1.ebuild 1710 BLAKE2B a80b09459bcfcf523f7346545a3a904166e53f067a79eef11c7ad232f9133b01359158cef1f0a9c0b277ae9e2637d1dbbdce4fb8f7b700e1099622d59ee01f76 SHA512 1b3ef2572970945d0b2809755854d83d63eedbc738293c7d6edc0e8472499623dd1931b9ff77ee210770ccf53893e121d3a46b2864b530672dc5651b4891da64
|
||||
MISC metadata.xml 617 BLAKE2B e890e68addd784d7478e282d4518a7cab0d7ca4fc86ad44db58063e5c7027084b66d1e4fe63b702b992a60f0d9cd5816cf8ad6016b17e185760a820f08907579 SHA512 1dcf5a80e3f3cfdf1cc8cd3730847c6ed9107eec7286b37e1de01287189e8811e729e16328a283abe196443c5355d905d7c95104c43e23f7d4ce3c56e2fa4ad9
|
||||
|
@ -1,4 +1,4 @@
|
||||
DIST webapp-config-1.55.tar.bz2 72583 BLAKE2B be958dc991f0e1f6835d9c29350b7d97e3f23d52971f6013165ce59a8f4b32ac6262c9719956d1bcdbe60797f07d77910b44a749ae545c4dc15f765525144709 SHA512 44294b276fd036908438cd984ebf70433639caa18d8330bab348433b4f39ea2c42c57fa8de4f0a6198f7875429a3ef9ebe61321c288d910f9be8b3414865f438
|
||||
EBUILD webapp-config-1.55-r2.ebuild 1675 BLAKE2B abfcb263604f1c9e44e0a257a670459dd1553b248a227ea471d9dbbeac98268d2669d23d23fc5106cb117bf077b76377ccca47be8c94b3bc556cc53b127c9ef8 SHA512 544a9d0234d8882e4b65d91e27422b6ba8b476e4951909778bfa29a384ead694ec6e8502e89429185ecbdcde74c620884babaf11aca8c83984b1babfaeb9ef26
|
||||
EBUILD webapp-config-9999.ebuild 1780 BLAKE2B edfcef7369b5cf66bb6efe9618028c4616e2b22dbf4d86427c47019b12696d2fdb75390acfa99adbf65e6d8490463f1704688372a5a44e0e9b6cee4cde10bcf9 SHA512 4aba8466f98061628e5c99a3d8e1e147626d4ef90bca1542b0a731d592d5732678ebc1d416e1565ba3b113aee6f1421c99fb4b4333fb9da333b3072751e72f16
|
||||
EBUILD webapp-config-1.55-r2.ebuild 1787 BLAKE2B 1b17975c92e0fbc0160e1e413dfb812ec5dd6966357408abc7f2db2478a83182e833650e416e288b74a4923ab3397c198f7d55d0b70e7ff4f524c40973bba959 SHA512 c910db16d538246dba10e62f22ef896752dbbf0d4a9fe5cdc5e78604447eb132d4783f525ff87337bbf876bcc23aef2e41e8f3ccedd7b962fb95a4ebc10027fb
|
||||
EBUILD webapp-config-9999.ebuild 1780 BLAKE2B c3c028949ecda5556b24430d4000b0f1f5f7f7c1ad17de4f90d9cf052e39846bf0d64721d92e3f5e9a4e764c85a311748b885b0d7c598d0d1f8717f038979a56 SHA512 298f6473a69b57353720c14034861382178006173a8e850159922dc20d10a823c9e31407046d4bb64d371967448d0c41d73ea127bf9dcc8f88ac39f44ad38236
|
||||
MISC metadata.xml 448 BLAKE2B 14bff33f87640b065d72b7bd98742c602e1cd30be80cde6bbc5bd923cb8529f55e4296e83e630e55a9c8342da063dc3762f515bccd2614fc50d68770260fd727 SHA512 20db75371335720225afe0111925fe6ba3979448987a27459786a4490b862073ac23374ba29c218e523ea465fb811c7686d5a36e073a35a2a2b2c4521b6961f2
|
||||
|
@ -1,3 +1,3 @@
|
||||
DIST xkcdpass-1.19.3.tar.gz 2570967 BLAKE2B bd3576b707db2652e6979ea25476fcda51df7bc84a5182668ff1cf2878a57c89ab56a7272fe2030c38533bf4f75855facd7fd8aefa6e5c6335a00c8ef80b228f SHA512 5336e57edd7fbeb655573910b0c0868381a8b43d5ccbb8d388cc24ef16ba094c27517a4fe7b11dbfc7ff906b65a303f90b20cdf9bc551b844453640378b5e555
|
||||
EBUILD xkcdpass-1.19.3.ebuild 1077 BLAKE2B d0e3ab445a1f86966d63de20cf3c78136e4582384c9e160796ec73012b8ab99c53fb2501341132e5cee370d6928444a8ebba369ceb43f5c0138c781b04dbd5e3 SHA512 203be3dd89c515a66533a84a1b4c5d6543be85b710a5fa929283c04f5a5afc6862305736d5f6e171f7bd1f3e42757c0a66437ec72a20846aeacf4495f156e8fd
|
||||
EBUILD xkcdpass-1.19.3.ebuild 1030 BLAKE2B 9b4c33bba664f78e0d4c95c79319b6599f6d228a7fbafb04d6806d6fc9d6ba6088bf1bed6717dc7af1e9268ac3d485f91d7eb22eb44eadffd3a30fded199e0f9 SHA512 aac6827d4e2b0d8e7a0a2df0168530c71c7207ea6ee155ae55946d5f689c173ecbca92b2388d4756bdb9f59f534014928c3cb62e388393c2d0c2b72ee67a03f6
|
||||
MISC metadata.xml 388 BLAKE2B a1477ba7c23e7ddab97dd869612794c1e1d0876cf9564bc54ecc6858280d6cc23dfac4e83d78f0f18543c5ae3804e1a701701e08ae6722e533c8c6f1dca29e71 SHA512 6a6bf779b5e0de8bb4a8be49253981590ee039b252db6bc4f25a8e1db6123a832fc7d628302e192aedd485e864b528d272da8a4e0f557987d4b7104c5d0ce985
|
||||
|
Binary file not shown.
@ -1,4 +1,7 @@
|
||||
AUX createrepo_c-0.20.1-Include-rpm-rpmstring.h-for-rasprintf.patch 547 BLAKE2B 5d7379d00759d693a1fca50c060b619a4d9c7696c00c8512fc06f52b1c9af34408106954d9dadfd6b88ac6f94e4de6c23cdba4b4a4c97952859ed32b024f315c SHA512 d9b6c315ac6591077b11574699196c7b1c671140f3278c075db6c5c4c46e2fc4b40ca33ced258e7439d0ce7039f422a0b528ba0d490cd04f9312324b001dd6c0
|
||||
AUX createrepo_c-0.20.1-use-gio-instead-of-cp.patch 7174 BLAKE2B 0c9c70cb137e749f15cc9b3ed905c09234c29ed6f5062278c542382be34fadec6430c3efe9d5baa0d0f76d9a004167a72caf388281fff621a0639ebf215786e8 SHA512 94e82ff327030ae72eb4f07010ef52b03cb0ac1830b176ce438adfec9c2bbacc94c9661ac362e758489e799dbd9b467799933cb77f1fbf6a7823798c7bbf2311
|
||||
DIST createrepo_c-0.20.1.tar.gz 614968 BLAKE2B 8eb35c121e1beaa960310d10bfe616799b3a6b13d99f1e8c9d4077975cc929c9f786dec7d26a17d7efbd1859e2e7d8a614147c36a0a82c87f1c1c1a652afa6f3 SHA512 54a2cc7c7cd3f3b9a0c23cd8c136ae1331e7fa7cc995189088e7e6f2276c78b2b84e21c2a2b93f4528b5e9e4018dd6525262c8aaba3bc8a1412a51dfafd101f7
|
||||
EBUILD createrepo_c-0.20.1-r1.ebuild 1561 BLAKE2B e54b99c0e37586814d5e140acc121d31cc81c429c15160670b59d731a6d554ae9cb20c0dc8a037dea632a7bd663d230a835ddf9d058b3d7dbbc8931854d6838e SHA512 5c2a53a91d36912eb21cf7822b85fb9256949bb58c5969290ab5e59f71e8226758b58f4cc75ffd41614a329ef57d2949bb45a19e50ecd392ed6d7f3e95a54ae1
|
||||
EBUILD createrepo_c-0.20.1.ebuild 978 BLAKE2B 0206efeb167f932d0565005e5d8e274d4251adf4dd8d46672a9652906b2f901d459103b3beac7eecf7f79a50d4c81afa19c27b3a989b4f45612f76a281bb7ddd SHA512 18e5a7aab9240fcb8026d0a25709dcccb57fe1c4781895e1e649b673a913b11f8dd7d3d2ff9c8347644707f0a4147bf47d7d99a8ad1a9af36ad3e3e4fe489c26
|
||||
MISC metadata.xml 456 BLAKE2B 3a11a7c27b90c9b0fbefa878722da0c6d79a63c6e2f0a913a7ab1b409746cd7ab6c35631d9d19c3b0ed76e20bf02e63d4bff77ae46da0663cd096334bdc7f92b SHA512 65bc8020ece881e15fb1a0c9da195033bc0cdd780508500688ba500eab54359a9aa6f21bb071613c6cf240977ed52f94472c18869df538ac04caa2732fbd1e08
|
||||
EBUILD createrepo_c-9999.ebuild 1436 BLAKE2B 4383e35a05f083c7796646afb032d3c77e67aa002941c144ed86727a65f84cafbbc2d999d794220a41eb170b6f29f622f3c8aad2f16e5ad26ba36b5b515d76f8 SHA512 4076a55fa4c0a1fdc5f641453840a6255880f85323c322677ce781648713d586f8e694a5d75d061f57c4e3beb49185c9b98189cc399ab79073976ef658e153b5
|
||||
MISC metadata.xml 828 BLAKE2B 13ea8960341f448e8abb558701208a46dd0150ec12080efc456a51949120c46bf7621adb8591d6ed52be7ccee7572d924dfa764209ed442be74eb5b6a9f153db SHA512 9c6dbdad0aff7e4f2d309f1352848f75a4d59f7069bc7b46bc3d013e72d56bad6411051b2763e6dc644e6041ac291422de8afa6a2d4fcb49847f31267cb9f78d
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="C implementation of createrepo"
|
||||
HOMEPAGE="https://github.com/rpm-software-management/createrepo_c"
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/rpm-software-management/createrepo_c.git"
|
||||
else
|
||||
SRC_URI="https://github.com/rpm-software-management/createrepo_c/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="legacy test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/drpm
|
||||
app-arch/rpm
|
||||
app-arch/xz-utils
|
||||
app-arch/zchunk
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl:=
|
||||
net-misc/curl
|
||||
sys-apps/file
|
||||
sys-libs/libmodulemd
|
||||
sys-libs/zlib:=
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-Include-rpm-rpmstring.h-for-rasprintf.patch"
|
||||
"${FILESDIR}/${P}-use-gio-instead-of-cp.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_DRPM=ON
|
||||
# As best I can tell, this enables distribution as a wheel. No need for this on gentoo!
|
||||
-DENABLE_PYTHON=OFF
|
||||
# Upstream enables some 'Legacy' stuff by default, let's put that behind a USE flag
|
||||
-DENABLE_LEGACY_WEAKDEPS=$(usex legacy ON OFF)
|
||||
-DWITH_LEGACY_HASHES=$(usex legacy ON OFF)
|
||||
-DWITH_LIBMODULEMD=ON
|
||||
-DWITH_ZCHUNK=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
# Tests have a magic target!
|
||||
use test && cmake_src_compile tests
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${S}"_build/tests/run_tests.sh || die "Failed to run C library tests"
|
||||
}
|
@ -0,0 +1,65 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="C implementation of createrepo"
|
||||
HOMEPAGE="https://github.com/rpm-software-management/createrepo_c"
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/rpm-software-management/createrepo_c.git"
|
||||
else
|
||||
SRC_URI="https://github.com/rpm-software-management/createrepo_c/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="legacy test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/drpm
|
||||
app-arch/rpm
|
||||
app-arch/xz-utils
|
||||
app-arch/zchunk
|
||||
dev-db/sqlite:3
|
||||
dev-libs/glib:2
|
||||
dev-libs/libxml2
|
||||
dev-libs/openssl:=
|
||||
net-misc/curl
|
||||
sys-apps/file
|
||||
sys-libs/libmodulemd
|
||||
sys-libs/zlib:=
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_DRPM=ON
|
||||
# As best I can tell, this enables distribution as a wheel. No need for this on gentoo!
|
||||
-DENABLE_PYTHON=OFF
|
||||
# Upstream enables some 'Legacy' stuff by default, let's put that behind a USE flag
|
||||
-DENABLE_LEGACY_WEAKDEPS=$(usex legacy ON OFF)
|
||||
-DWITH_LEGACY_HASHES=$(usex legacy ON OFF)
|
||||
-DWITH_LIBMODULEMD=ON
|
||||
-DWITH_ZCHUNK=ON
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
# Tests have a magic target!
|
||||
use test && cmake_src_compile tests
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${S}"_build/tests/run_tests.sh || die "Failed to run C library tests"
|
||||
}
|
@ -0,0 +1,229 @@
|
||||
https://github.com/rpm-software-management/createrepo_c/pull/341
|
||||
From: Matt Jolly <Matt.Jolly@footclan.ninja>
|
||||
Date: Thu, 26 Jan 2023 01:48:16 +1100
|
||||
Subject: [PATCH 1/3] Add `cr_gio_cp` and deprecate `cr_cp`
|
||||
|
||||
It's preferable to use glib gio to copy files rather than
|
||||
rely on the behaviour of the system cp binary.
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -32,7 +32,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
|
||||
SET(G_LOG_DOMAIN "C_CREATEREPOLIB")
|
||||
|
||||
# Find necessary libraries
|
||||
-
|
||||
+find_package(PkgConfig)
|
||||
find_package(BZip2 REQUIRED)
|
||||
find_package(CURL REQUIRED)
|
||||
find_package(LibXml2 REQUIRED)
|
||||
@@ -40,6 +40,7 @@ find_package(OpenSSL REQUIRED)
|
||||
find_package(ZLIB REQUIRED)
|
||||
|
||||
pkg_check_modules(GLIB2 REQUIRED glib-2.0)
|
||||
+pkg_check_modules(GIO REQUIRED gio-2.0)
|
||||
pkg_check_modules(GTHREAD2 REQUIRED gthread-2.0)
|
||||
pkg_check_modules(LZMA REQUIRED liblzma)
|
||||
pkg_check_modules(SQLITE3 REQUIRED sqlite3)
|
||||
@@ -57,6 +58,7 @@ ENDIF()
|
||||
include_directories(${BZIP2_INCLUDE_DIRS})
|
||||
include_directories(${CURL_INCLUDE_DIRS})
|
||||
include_directories(${GLIB2_INCLUDE_DIRS})
|
||||
+include_directories(${GIO_INCLUDE_DIRS})
|
||||
include_directories(${LIBXML2_INCLUDE_DIR})
|
||||
include_directories(${OPENSSL_INCLUDE_DIR})
|
||||
include_directories(${ZLIB_INCLUDE_DIR})
|
||||
@@ -154,4 +156,3 @@ ADD_SUBDIRECTORY (src)
|
||||
ADD_SUBDIRECTORY (doc)
|
||||
ENABLE_TESTING()
|
||||
ADD_SUBDIRECTORY (tests EXCLUDE_FROM_ALL)
|
||||
-
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -70,6 +70,7 @@ ADD_LIBRARY(libcreaterepo_c ${createrepo_c_library_type} ${createrepo_c_SRCS})
|
||||
TARGET_LINK_LIBRARIES(libcreaterepo_c ${BZIP2_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(libcreaterepo_c ${CURL_LIBRARY})
|
||||
TARGET_LINK_LIBRARIES(libcreaterepo_c ${GLIB2_LIBRARIES})
|
||||
+TARGET_LINK_LIBRARIES(libcreaterepo_c ${GIO_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(libcreaterepo_c ${LIBMAGIC_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(libcreaterepo_c ${LIBMODULEMD_LIBRARIES})
|
||||
TARGET_LINK_LIBRARIES(libcreaterepo_c ${LIBXML2_LIBRARIES})
|
||||
--- a/src/helpers.c
|
||||
+++ b/src/helpers.c
|
||||
@@ -19,6 +19,7 @@
|
||||
|
||||
#include <glib.h>
|
||||
#include <glib/gstdio.h>
|
||||
+#include <gio/gio.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
@@ -448,10 +449,9 @@ cr_old_metadata_retention(const char *old_repo,
|
||||
continue;
|
||||
}
|
||||
|
||||
- // COPY!
|
||||
- cr_cp(full_path,
|
||||
- new_full_path,
|
||||
- CR_CP_RECURSIVE|CR_CP_PRESERVE_ALL,
|
||||
+ cr_gio_cp(g_file_new_for_path(full_path),
|
||||
+ g_file_new_for_path(new_full_path),
|
||||
+ G_FILE_COPY_ALL_METADATA,
|
||||
NULL,
|
||||
&tmp_err);
|
||||
|
||||
@@ -476,5 +476,3 @@ cr_old_metadata_retention(const char *old_repo,
|
||||
|
||||
return ret;
|
||||
}
|
||||
-
|
||||
-
|
||||
--- a/src/misc.c
|
||||
+++ b/src/misc.c
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <glib/gstdio.h>
|
||||
#include <glib.h>
|
||||
+#include <gio/gio.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <assert.h>
|
||||
#include <curl/curl.h>
|
||||
@@ -794,8 +795,6 @@ cr_download(CURL *in_handle,
|
||||
return CRE_OK;
|
||||
}
|
||||
|
||||
-
|
||||
-
|
||||
gboolean
|
||||
cr_better_copy_file(const char *src, const char *in_dst, GError **err)
|
||||
{
|
||||
@@ -820,7 +819,6 @@ cr_better_copy_file(const char *src, const char *in_dst, GError **err)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
-
|
||||
int
|
||||
cr_remove_dir_cb(const char *fpath,
|
||||
G_GNUC_UNUSED const struct stat *sb,
|
||||
@@ -856,7 +854,7 @@ gboolean
|
||||
cr_move_recursive(const char *srcDir, const char *dstDir, GError **err)
|
||||
{
|
||||
if (rename(srcDir, dstDir) == -1) {
|
||||
- if (!cr_cp(srcDir, dstDir, CR_CP_RECURSIVE, NULL, err))
|
||||
+ if (!cr_gio_cp(g_file_new_for_path(srcDir), g_file_new_for_path(dstDir), G_FILE_COPY_ALL_METADATA, NULL, err))
|
||||
return FALSE;
|
||||
return (cr_remove_dir(srcDir, err) == CRE_OK);
|
||||
}
|
||||
@@ -1425,6 +1423,44 @@ cr_cp(const char *src,
|
||||
return ret;
|
||||
}
|
||||
|
||||
+gboolean
|
||||
+cr_gio_cp(GFile *src,
|
||||
+ GFile *dst,
|
||||
+ GFileCopyFlags flags,
|
||||
+ GCancellable *cancellable,
|
||||
+ GError **err)
|
||||
+{
|
||||
+ assert(src);
|
||||
+ assert(dst);
|
||||
+ assert(!err || *err == NULL);
|
||||
+
|
||||
+ GFileType type = g_file_query_file_type(src, G_FILE_QUERY_INFO_NONE, NULL);
|
||||
+
|
||||
+ if (type == G_FILE_TYPE_DIRECTORY) {
|
||||
+ g_file_make_directory(dst, cancellable, err);
|
||||
+ g_file_copy_attributes(src, dst, flags, cancellable, err);
|
||||
+
|
||||
+ GFileEnumerator *enumerator = g_file_enumerate_children(src, G_FILE_ATTRIBUTE_STANDARD_NAME, G_FILE_QUERY_INFO_NONE, cancellable, err);
|
||||
+ for (GFileInfo *info = g_file_enumerator_next_file(enumerator, cancellable, err); info != NULL; info = g_file_enumerator_next_file(enumerator, cancellable, err)) {
|
||||
+ const char *relative_path = g_file_info_get_name(info);
|
||||
+ cr_gio_cp(
|
||||
+ g_file_resolve_relative_path(src, relative_path),
|
||||
+ g_file_resolve_relative_path(dst, relative_path),
|
||||
+ flags, cancellable, err);
|
||||
+ }
|
||||
+ } else if (type == G_FILE_TYPE_REGULAR) {
|
||||
+ g_file_copy(src, dst, flags, cancellable, NULL, NULL, err);
|
||||
+ }
|
||||
+
|
||||
+ if (err != NULL) {
|
||||
+ return TRUE;
|
||||
+ }
|
||||
+ else {
|
||||
+ return FALSE;
|
||||
+ }
|
||||
+
|
||||
+}
|
||||
+
|
||||
gboolean
|
||||
cr_rm(const char *path,
|
||||
cr_RmFlags flags,
|
||||
--- a/src/misc.h
|
||||
+++ b/src/misc.h
|
||||
@@ -26,6 +26,7 @@ extern "C" {
|
||||
|
||||
#include <glib.h>
|
||||
#include <string.h>
|
||||
+#include <gio/gio.h>
|
||||
#include <curl/curl.h>
|
||||
#include "compression_wrapper.h"
|
||||
#include "xml_parser.h"
|
||||
@@ -449,7 +450,7 @@ typedef enum {
|
||||
preserve the all attributes (if possible) */
|
||||
} cr_CpFlags;
|
||||
|
||||
-/** Recursive copy of directory (works on files as well)
|
||||
+/** Wrapper for cp
|
||||
* @param src Source (supports wildcards)
|
||||
* @param dst Destination (supports wildcards)
|
||||
* @param flags Flags
|
||||
@@ -461,6 +462,20 @@ cr_cp(const char *src,
|
||||
const char *dst,
|
||||
cr_CpFlags flags,
|
||||
const char *working_directory,
|
||||
+ GError **err) __attribute__ ((deprecated ("please use `cr_gio_cp` instead")));
|
||||
+
|
||||
+/** Recursive copy of directory (works on files as well)
|
||||
+ * @param src Source (supports wildcards)
|
||||
+ * @param dst Destination (supports wildcards)
|
||||
+ * @param flags Flags
|
||||
+ * @param cancellable Can this be cancelled by another thread?
|
||||
+ * @param err GError **
|
||||
+ */
|
||||
+gboolean
|
||||
+cr_gio_cp(GFile *src,
|
||||
+ GFile *dst,
|
||||
+ GFileCopyFlags flags,
|
||||
+ GCancellable *cancellable,
|
||||
GError **err);
|
||||
|
||||
typedef enum {
|
||||
|
||||
From 9fa5809150d2021186d4a822c38d5488cd4986dc Mon Sep 17 00:00:00 2001
|
||||
From: Matt Jolly <Matt.Jolly@footclan.ninja>
|
||||
Date: Fri, 27 Jan 2023 18:17:23 +1100
|
||||
Subject: [PATCH 2/3] Add to AUTHORS
|
||||
|
||||
--- a/AUTHORS
|
||||
+++ b/AUTHORS
|
||||
@@ -10,3 +10,4 @@ Neal Gompa <ngompa13@gmail.com>
|
||||
Ralph Bean <rbean@redhat.com>
|
||||
Frank Schreiner <schreiner@suse.de>
|
||||
Daniel Alley <dalley@redhat.com>
|
||||
+Matt Jolly <matt.jolly@footclan.ninja>
|
||||
|
||||
From e6769f0e343cbeea1beee703b984307634691677 Mon Sep 17 00:00:00 2001
|
||||
From: Matt Jolly <Matt.Jolly@footclan.ninja>
|
||||
Date: Fri, 27 Jan 2023 20:06:21 +1100
|
||||
Subject: [PATCH 3/3] Update minimum CMake version
|
||||
|
||||
Modern CMake warns of deprecation of <2.8.12, let's use that instead
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,5 @@
|
||||
PROJECT (createrepo_c C)
|
||||
-CMAKE_MINIMUM_REQUIRED (VERSION 2.8.10)
|
||||
+CMAKE_MINIMUM_REQUIRED (VERSION 2.8.12)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
@ -0,0 +1,5 @@
|
||||
AUX drpm-0.5.1-c99.patch 577 BLAKE2B b3356702f5acbfd19338c4fa00dc9a04bf896ca002b728e59bdd05326f7053ea688e56ce78b2a60d026fe90c73e4dbd83e256b9f8513035cf9a1335d19ab7bc4 SHA512 cd46f911bea051979de4e9fb633a4d5179f870af32de5bc8f487bc201bc3be18ccfc0838a12233920fe6acc0a917b2804d9d0e3f67c7bf4f7d87808ef97d3fe5
|
||||
DIST drpm-0.5.1.tar.gz 138766 BLAKE2B dd64d925fa0e3975e2ca6f87fcddf10e376241d6b69a0f682cc5d6c006ef6aba7c021bcb98d049f4ce171b1561f36a07701e9eb47e0ac3c8315ee2d6d774c7c7 SHA512 5d4be3148075c6e0c560f97169a14e669a01ed48ef9228d8fc299b54da653ddec1110971a5b2bf455cc72cd1538d8c95e817428f73dd1d7ce07773822c05b3c5
|
||||
EBUILD drpm-0.5.1.ebuild 1020 BLAKE2B 80333d0c2bcdfeff82db852e63ecbcea2bbc78e397b5d13da09eb4c997ecffdbd9b5fb28b936d203945f15502910a9ac97260183ae02e62afca67e2972cfc9a8 SHA512 2da92edd368fb7d9eee1f6cf9e92091ecfcb07e6190e893d9db748e24a6ef1d51807d6116341e21fcdcee42468d3a5fe1cd098ab5d5b8d72b5f392f54e2605fa
|
||||
EBUILD drpm-9999.ebuild 978 BLAKE2B 6a877cbaa779a00fe8fe580ced07806f58cf01c19cedef1064870d4fe35a57de19b8e88f628dcaa5de42609f83eb3d77544e4b0d2ba6127c3563012642c3b406 SHA512 25260fe9a18b75d272dd148159d8d880797b4960ca61fe94b537fb3ada4ff99bc8b61cfd2bc187ddfcb08175de3eb7ac86ab2842a206ab4730454e772032aafe
|
||||
MISC metadata.xml 623 BLAKE2B e76fda9b7e7e5e63fef82fcb80872ef84ed4adc68c07e812db5d5b460a55b467f525bdf0f1e8ab86b1de1b192067cf47ea0e2cc2e1cec8c814f01d20d7237216 SHA512 e55feb7f5b8c63a0bacfc4aca64d4684e196fb41f850e8c3fb64449ce8ce91603dc8bbdb5c916b47ac2d1cf78148d16b3fd8cd789cd4afea320ac9f8f9d019d3
|
@ -0,0 +1,48 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A library for making, reading and applying deltarpm packages"
|
||||
HOMEPAGE="https://github.com/rpm-software-management/drpm"
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/rpm-software-management/drpm/"
|
||||
else
|
||||
SRC_URI="https://github.com/rpm-software-management/drpm/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="lzip test zstd"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/rpm
|
||||
app-arch/xz-utils
|
||||
dev-libs/openssl:=
|
||||
sys-libs/zlib
|
||||
lzip? ( app-arch/lzlib )
|
||||
zstd? ( app-arch/zstd:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="${DEPEND}
|
||||
test? ( dev-util/cmocka )
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-c99.patch )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DHAVE_LZLIB_DEVEL=$(usex lzip ON OFF)
|
||||
-DWITH_ZSTD=$(usex zstd ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="A library for making, reading and applying deltarpm packages"
|
||||
HOMEPAGE="https://github.com/rpm-software-management/drpm"
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/rpm-software-management/drpm/"
|
||||
else
|
||||
SRC_URI="https://github.com/rpm-software-management/drpm/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
|
||||
IUSE="lzip test zstd"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
app-arch/bzip2:=
|
||||
app-arch/rpm
|
||||
app-arch/xz-utils
|
||||
dev-libs/openssl:=
|
||||
sys-libs/zlib
|
||||
lzip? ( app-arch/lzlib )
|
||||
zstd? ( app-arch/zstd:= )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="${DEPEND}
|
||||
test? ( dev-util/cmocka )
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DHAVE_LZLIB_DEVEL=$(usex lzip ON OFF)
|
||||
-DWITH_ZSTD=$(usex zstd ON OFF)
|
||||
-DENABLE_TESTS=$(usex test ON OFF)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
https://github.com/rpm-software-management/drpm/commit/0bde9b7711a2fa8b811830cadfc979365f9362c6
|
||||
From: Florian Weimer <fweimer@redhat.com>
|
||||
Date: Thu, 12 Jan 2023 08:17:19 +0100
|
||||
Subject: [PATCH] C99 compatibility fix for drpm_write.c
|
||||
|
||||
Include <string.h> for various string functions. This avoids
|
||||
implicit function declarations and resulting build failures with
|
||||
future compilers.
|
||||
--- a/src/drpm_write.c
|
||||
+++ b/src/drpm_write.c
|
||||
@@ -23,6 +23,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
+#include <string.h>
|
||||
#include <fcntl.h>
|
||||
#include <openssl/md5.h>
|
||||
#include <rpm/rpmlib.h>
|
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>Matt.Jolly@footclan.ninja</email>
|
||||
<name>Matt Jolly</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="lzip">Enable <pkg>app-arch/lzip</pkg> decompression support via <pkg>app-arch/lzlib</pkg></flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">rpm-software-management/drpm</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,4 @@
|
||||
DIST zchunk-1.2.3.tar.gz 1508271 BLAKE2B 7432289f3730083d0634c32f03d1daf2570c21e94ebab0aabeee4527f7ba56aef5cc567dfdb8ede701bea5d0cda4f248f0cf0fdb04e4f5ee1effb888a2907ec9 SHA512 5e46d8c3e36034de8424937cdfac59acdfaf332203e6e5d8b290614cbbe0340998d53b0583b0ef93189f41dc89219a75f50572757ebcea9abd83bd9aad861a73
|
||||
EBUILD zchunk-1.2.3.ebuild 569 BLAKE2B c9681269bf4802fb0a1018ecd814b2f6c8da2e747d0e7c10a99f7e0b0963fa82a2688a162e6b96375f1311e5d80ee6c69ccc151e8253386a2b802fadb7ef660d SHA512 938f2e7e8a190708900e4dc74691453902f9332d82bb8445f05ee7d2c20c6d7c155d2903b6c425d0ec5d72fc87a39a0b643700cfb79d0e7a24b2f355f19acf92
|
||||
EBUILD zchunk-9999.ebuild 569 BLAKE2B c9681269bf4802fb0a1018ecd814b2f6c8da2e747d0e7c10a99f7e0b0963fa82a2688a162e6b96375f1311e5d80ee6c69ccc151e8253386a2b802fadb7ef660d SHA512 938f2e7e8a190708900e4dc74691453902f9332d82bb8445f05ee7d2c20c6d7c155d2903b6c425d0ec5d72fc87a39a0b643700cfb79d0e7a24b2f355f19acf92
|
||||
MISC metadata.xml 481 BLAKE2B f6888c5e64deafa0b7f52a0f1b4c611c610108d91b7f8fd831f49ebc5fe67e5fae1c57e7bef2c1a51510b9beab33ace6aaa25bf6f88ce0d10f39d7c8479b7d06 SHA512 16d3ff19941ec61f62377ea01af9cfa0bc428e05f21610105ab02b3f9ad9464a28e74f2709249014f1720e7c2dd13cc8b3b7d02a880d8a785231af29d7e7b5c2
|
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>Matt.Jolly@footclan.ninja</email>
|
||||
<name>Matt Jolly</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">zchunk/zchunk</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,27 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="File format designed for highly efficient deltas with good compression"
|
||||
HOMEPAGE="https://github.com/zchunk/zchunk"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/zchunk/zchunk.git"
|
||||
else
|
||||
SRC_URI="https://github.com/zchunk/zchunk/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
app-arch/zstd:=
|
||||
net-misc/curl
|
||||
dev-libs/openssl:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,27 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson
|
||||
|
||||
DESCRIPTION="File format designed for highly efficient deltas with good compression"
|
||||
HOMEPAGE="https://github.com/zchunk/zchunk"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/zchunk/zchunk.git"
|
||||
else
|
||||
SRC_URI="https://github.com/zchunk/zchunk/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
app-arch/zstd:=
|
||||
net-misc/curl
|
||||
dev-libs/openssl:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
Binary file not shown.
@ -1,12 +1,8 @@
|
||||
AUX borgmatic-1.5.1-no_test_coverage.patch 284 BLAKE2B 91e041cb2d3d15b65c47075b0524e6e2a60631702eb10243da79b8051504e33476e6f8d61a3d9a172302b9859a01afb0d640a502cc95f69e45024a8fdb5ebc53 SHA512 1604d425f4c3267a41449f5d05675634f365d0be0630b49812e87d13ebc4ee78e01259f2371afbf2150b5b1203676e20c50c1613be24e0fa39df635d229f80bc
|
||||
AUX borgmatic-1.5.16-systemd_service_bin_path.patch 556 BLAKE2B f90b66d3d46ea972ed67bff74365b72e5e7df16199b439e5ad785b731eaa9a3eff5cfa6c9084c1b212b2359e9b8a14b1d0952ec6a560746acfbe594a2267e0ac SHA512 b23d899754762e29221b537c303e65a3b84e4a580d502f96870e8927ab2ef79b557f2c5638cfc4557ea5dfb6bea82b9776c6a67e65fda8a02138d3c57dfc00e6
|
||||
AUX borgmatic-1.7.3-systemd_service_bin_path.patch 604 BLAKE2B 9b1c613ce2667d2b8846e1bdf7e7bd838529fb9029af2ca572dcbafc5a8c9b64c79cab820be3b750c5fcb060da72cdf1c449cbe50efefe63ef1eb6a884e26e14 SHA512 6ca6c351697db1ae26de2b00ad543fc8f1cea1b0f4ef84f82f9578d9e56da58b4437ed48839c5aaf7d5ea66fcb79620d0cc12b8a2b30862b488fae07ad182638
|
||||
DIST borgmatic-1.7.2.tar.gz 333772 BLAKE2B fd628e9c77547686d4edf5d1066d3c171575f4d923ebc5205c5eb64f3a960e94c121282e9f4fb02b1291a81011a18dc393c6d13a07f215585459e7a5b55f8107 SHA512 6ec12ec25ae4d0210bb9114795c1ea292d8236f9e68c9425e24ee7b580796504e4c317a3fcf778806a33bbd3db68669beb4ef7a88ec538c1bd432db9a2845b3e
|
||||
DIST borgmatic-1.7.5.tar.gz 338412 BLAKE2B e27fd709070a27c2ddd01fdfe23ef9caeb942c52d756332b4abd6d6cf39724656677a0d142a5392e35e0a0f25958421fe23edf04a252d212d761f48a0c320d9b SHA512 c27a364617e0e8fc1c11adac5375deac4e1663236a545d3fb70280974614d50ffe3821010ed5e4345afa3c3dab5f45c0d3bbfc946f50321601acb56965fd555d
|
||||
DIST borgmatic-1.7.7.tar.gz 348839 BLAKE2B 686a5552bdace0e44ced612448fd9a9609d9df2dfb41007f0432bbb6fe9d4c2ef154a215eef63f4aed4626471feda52142d3511498901545a3ab4bbf3171c14f SHA512 e1a7c20a17a4ad37ce348feb89e1a3b34912ae6730742e6b4c822b7a1026e3630167645154268f47922a106621cd02d5f06ada448ac844dfd7c9ff46660ca2ec
|
||||
DIST borgmatic-1.7.8.tar.gz 350233 BLAKE2B 3fcd392983f73ec5e97f0dc6b96e211d7f1e1d1a4ce95c635c675cf043e796925df53c30c1e4f8eb1a095d9ec5ff81e90edee5ff2576f4683053d3108004afd9 SHA512 bcc65fdb7ea1171fb61deda9b1f69a00596e1e10a99508d336977b694bd8f93d74837aad9211bf1065b785220aaf1460a3ea403bf23fa4873d1bf4c6b4016525
|
||||
EBUILD borgmatic-1.7.2.ebuild 2132 BLAKE2B 41b6adb71a0c8c40308d24708efa49c0660eacb322a76f2bd8116c9e72819b88d8221269d797d3eddac2630cd7d5e58d7c6d68cb1c671787890fb8a559e61f85 SHA512 153d5f2e354cf4a554c53abe87f3079e9c1135f1c7c6a7601ae31cd081cd4de782adac30dc0f24f36468382a52a8b4ae96f9d88a617fbe4d220eaef896ba21b2
|
||||
EBUILD borgmatic-1.7.5.ebuild 1919 BLAKE2B 4137e00738a2796934e1f1c7354a7000f3f6b1aad688af9237e11c6ae2c5caa09fb2c60c1c5c6f499aee3e1ac7cced43b42a0fc8ffe9dba62fe8f6ea325cf90c SHA512 2fbe45561a81d0caa4d5a93c34b3027a9302cedb16edfacdd6137c91fcd6d662f60501186a7a8e8b74d7ab7d7bcc3530969137e6f3da8eefcd5bee5084f8c8f8
|
||||
EBUILD borgmatic-1.7.7.ebuild 1691 BLAKE2B 6d3e33fffb109e986a9dce97905e0d3a2981629570f228da6f933e28031429958fedcad8d75179e608792b2f5ff92fb54f75905c9edbac1859eca5f1e8916e17 SHA512 1986cb133bc81ab93d0c81b2a544b938e64303e893919362eac41202108f5205c2e4912dc3bcf67ff5ceba36ed383a5bb05a4cb41c65f3391a0be779a4b8ee15
|
||||
EBUILD borgmatic-1.7.5.ebuild 1918 BLAKE2B 09d0272a6a18e422370c410d63fc8deb0edc64e365dcf0e3402d91a88b56e913d26eefccc2138b9356d38efeef6ce8920e84d337c22c44fd1c742e3fe319aa3a SHA512 d2e3794241904a03e464b6c22d6f8d7caa75e5f013f063b43b7259168f76881a9cb05c4a0de76f4a7da5e6149bcb52d99f8df5f2e301d47ecae9817daf91c21c
|
||||
EBUILD borgmatic-1.7.8.ebuild 1691 BLAKE2B 6d3e33fffb109e986a9dce97905e0d3a2981629570f228da6f933e28031429958fedcad8d75179e608792b2f5ff92fb54f75905c9edbac1859eca5f1e8916e17 SHA512 1986cb133bc81ab93d0c81b2a544b938e64303e893919362eac41202108f5205c2e4912dc3bcf67ff5ceba36ed383a5bb05a4cb41c65f3391a0be779a4b8ee15
|
||||
MISC metadata.xml 380 BLAKE2B bd4f6eb451caa6b36d51dff099c7885ad2c30f2f9f5397e12049a28214601d67853f0dc604e6e42a566b8bf57acf0d9e39c685af8743cce72ec3b5b07adea72e SHA512 1d2c0a22d3b844b58ed35f3fae261a1d6906e5e1b0e69bbe364e0409f335b44f04089ea1d0e6144e2ddfcf066cc8ad85d14c0b22a28ddd22d235c48e1401569f
|
||||
|
@ -1,68 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 systemd
|
||||
|
||||
DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
|
||||
HOMEPAGE="https://torsion.org/borgmatic/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ~riscv"
|
||||
|
||||
# borg is called as an external tool, hence no pythonic stuff
|
||||
RDEPEND="app-backup/borgbackup
|
||||
$(python_gen_cond_dep '
|
||||
<dev-python/colorama-0.5[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
<dev-python/ruamel-yaml-0.18.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
')"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}]
|
||||
')
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.1-no_test_coverage.patch
|
||||
"${FILESDIR}"/${PN}-1.5.16-systemd_service_bin_path.patch
|
||||
)
|
||||
|
||||
# test_borgmatic_version_matches_news_version tries to run the 'borgmatic'
|
||||
# executable so making it work would require passing --install
|
||||
# to distutils_enable_tests. Given that this is the only test requiring
|
||||
# this and that all it does is make sure the NEWS file has been updated
|
||||
# for the current version, just skip it.
|
||||
EPYTEST_DESELECT=(
|
||||
tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
systemd_dounit sample/systemd/borgmatic.{service,timer}
|
||||
keepdir /etc/borgmatic
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
elog "To generate a sample configuration file, run:"
|
||||
elog " generate-borgmatic-config"
|
||||
else
|
||||
ewarn "Please note that since version 1.7.0 ${PN} no longer supports old-style command-line action flags like '--create', '--list', etc."
|
||||
ewarn "Make sure all your scripts use actions, e.g. 'create', 'list' and so on"
|
||||
fi
|
||||
elog
|
||||
elog "Systemd users wishing to periodically run borgmatic can use the provided timer and service units."
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 systemd
|
||||
|
||||
DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
|
||||
HOMEPAGE="https://torsion.org/borgmatic/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
|
||||
|
||||
# borg is called as an external tool, hence no pythonic stuff
|
||||
RDEPEND="app-backup/borgbackup
|
||||
$(python_gen_cond_dep '
|
||||
<dev-python/colorama-0.5[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
<dev-python/ruamel-yaml-0.18.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
')"
|
||||
BDEPEND="
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}]
|
||||
')
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.5.1-no_test_coverage.patch
|
||||
"${FILESDIR}"/${PN}-1.7.3-systemd_service_bin_path.patch
|
||||
)
|
||||
|
||||
# A fragile test whose only purpose is to make sure the NEWS file
|
||||
# has been updated for the current version.
|
||||
EPYTEST_DESELECT=(
|
||||
tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
systemd_dounit sample/systemd/borgmatic.{service,timer}
|
||||
keepdir /etc/borgmatic
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||
elog "To generate a sample configuration file, run:"
|
||||
elog " generate-borgmatic-config"
|
||||
fi
|
||||
elog
|
||||
elog "Systemd users wishing to periodically run borgmatic can use the provided timer and service units."
|
||||
}
|
Binary file not shown.
@ -0,0 +1,52 @@
|
||||
From e7c852e43c0479060e630adb50342d2552a6cdad Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Parrott <thomas.parrott@canonical.com>
|
||||
Date: Tue, 7 Feb 2023 10:04:27 +0000
|
||||
Subject: [PATCH] lxd/storage/drivers/driver/btrfs/utils: Only check for
|
||||
minimum number of columns in `btrfs qgroup show` command
|
||||
|
||||
Previously we expected 4 columns, but in btrfs-progs >= 6.0 this has changed to 5 columns.
|
||||
|
||||
E.g. in Jammy btrfs-progs v5.16.2:
|
||||
|
||||
```
|
||||
sudo btrfs qgroup show /var/lib/lxd/storage-pools/btrfs
|
||||
qgroupid rfer excl
|
||||
-------- ---- ----
|
||||
0/5 16.00KiB 16.00KiB
|
||||
0/256 9.66MiB 400.00KiB
|
||||
0/257 9.66MiB 392.00KiB
|
||||
```
|
||||
|
||||
And in Lunar btrfs-progs v6.1.3:
|
||||
|
||||
```
|
||||
btrfs qgroup show /var/lib/lxd/storage-pools/btrfs
|
||||
Qgroupid Referenced Exclusive Path
|
||||
-------- ---------- --------- ----
|
||||
0/5 16.00KiB 16.00KiB <toplevel>
|
||||
0/256 9.63MiB 400.00KiB images/1f81470478d136f0008c856e3a47369e0ac863f0402ce0e31c56dd29e9fdd4d7
|
||||
0/257 9.64MiB 404.00KiB containers/c1
|
||||
```
|
||||
|
||||
Fixes #11210
|
||||
|
||||
Signed-off-by: Thomas Parrott <thomas.parrott@canonical.com>
|
||||
---
|
||||
lxd/storage/drivers/driver_btrfs_utils.go | 4 +++-
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lxd/storage/drivers/driver_btrfs_utils.go b/lxd/storage/drivers/driver_btrfs_utils.go
|
||||
index e1468e4b1a59..722a2de20978 100644
|
||||
--- a/lxd/storage/drivers/driver_btrfs_utils.go
|
||||
+++ b/lxd/storage/drivers/driver_btrfs_utils.go
|
||||
@@ -253,7 +253,9 @@ func (d *btrfs) getQGroup(path string) (string, int64, error) {
|
||||
}
|
||||
|
||||
fields := strings.Fields(line)
|
||||
- if len(fields) != 4 {
|
||||
+
|
||||
+ // The BTRFS tooling changed the number of columns between versions so we only check for minimum.
|
||||
+ if len(fields) < 3 {
|
||||
continue
|
||||
}
|
||||
|
@ -0,0 +1,206 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit bash-completion-r1 go-module linux-info optfeature systemd verify-sig
|
||||
|
||||
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
|
||||
HOMEPAGE="https://linuxcontainers.org/lxd/introduction/ https://github.com/lxc/lxd"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/lxd/${P}.tar.gz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/lxd/${P}.tar.gz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="apparmor nls"
|
||||
|
||||
DEPEND="acct-group/lxd
|
||||
app-arch/xz-utils
|
||||
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
|
||||
dev-db/sqlite:3
|
||||
>=dev-libs/dqlite-1.13.0:=
|
||||
dev-libs/lzo
|
||||
>=dev-libs/raft-0.17.1:=[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp]
|
||||
sys-libs/libcap
|
||||
virtual/udev"
|
||||
RDEPEND="${DEPEND}
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables
|
||||
sys-apps/iproute2
|
||||
sys-fs/fuse:*
|
||||
>=sys-fs/lxcfs-5.0.0
|
||||
sys-fs/squashfs-tools[lzma]
|
||||
virtual/acl"
|
||||
BDEPEND="dev-lang/go
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~IPC_NS
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~SECCOMP
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
|
||||
~KVM
|
||||
~MACVTAP
|
||||
~VHOST_VSOCK
|
||||
"
|
||||
|
||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
||||
|
||||
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
|
||||
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
|
||||
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
|
||||
|
||||
# Go magic.
|
||||
QA_PREBUILT="/usr/bin/fuidshift
|
||||
/usr/bin/lxc
|
||||
/usr/bin/lxc-to-lxd
|
||||
/usr/bin/lxd-agent
|
||||
/usr/bin/lxd-benchmark
|
||||
/usr/bin/lxd-migrate
|
||||
/usr/sbin/lxd"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
|
||||
|
||||
# The testsuite must be run as root.
|
||||
# make: *** [Makefile:156: check] Error 1
|
||||
RESTRICT="test"
|
||||
|
||||
GOPATH="${S}/_dist"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/lxd-5.0.2-remove-shellcheck-buildsystem-checks.patch
|
||||
"${FILESDIR}"/lxd-5.0.3-btrfs-quota-group-fix.patch )
|
||||
|
||||
src_prepare() {
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
default
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/lxd:g" \
|
||||
-e "s:make:make ${MAKEOPTS}:g" \
|
||||
Makefile || die
|
||||
|
||||
# Fix hardcoded ovmf file path, see bug 763180
|
||||
sed -i \
|
||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
|
||||
doc/environment.md \
|
||||
lxd/apparmor/instance.go \
|
||||
lxd/apparmor/instance_qemu.go \
|
||||
lxd/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
||||
|
||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
||||
sed -i \
|
||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
||||
lxd/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
|
||||
cp "${FILESDIR}"/lxd-4.0.9-r1.service "${T}"/lxd.service || die
|
||||
if use apparmor; then
|
||||
sed -i \
|
||||
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
|
||||
"${T}"/lxd.service || die
|
||||
fi
|
||||
|
||||
# Disable -Werror's from go modules.
|
||||
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
||||
|
||||
for k in fuidshift lxd-benchmark lxc lxc-to-lxd; do
|
||||
go install -v -x "${S}/${k}" || die "failed compiling ${k}"
|
||||
done
|
||||
|
||||
go install -v -x -tags libsqlite3 "${S}"/lxd || die "Failed to build the daemon"
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${S}"/lxd-migrate
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/lxd-agent
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
export GOPATH="${S}/_dist"
|
||||
local bindir="_dist/bin"
|
||||
|
||||
dosbin ${bindir}/lxd
|
||||
|
||||
for l in fuidshift lxd-agent lxd-benchmark lxd-migrate lxc lxc-to-lxd; do
|
||||
dobin ${bindir}/${l}
|
||||
done
|
||||
|
||||
newbashcomp scripts/bash/lxd-client lxc
|
||||
|
||||
newconfd "${FILESDIR}"/lxd-4.0.0.confd lxd
|
||||
newinitd "${FILESDIR}"/lxd-5.0.2-r1.initd lxd
|
||||
|
||||
systemd_dounit "${T}"/lxd.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-containers-4.0.0.service lxd-containers.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-4.0.0.socket lxd.socket
|
||||
|
||||
dodoc AUTHORS
|
||||
dodoc -r doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
elog "including a Quick Start."
|
||||
elog "For virtual machine support, see:"
|
||||
elog "https://wiki.gentoo.org/wiki/LXD#Virtual_machines"
|
||||
elog
|
||||
elog "Please run 'lxc-checkconfig' to see all optional kernel features."
|
||||
elog
|
||||
optfeature "virtual machine support" app-emulation/qemu[spice,usbredir,virtfs]
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
|
||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||
optfeature "zfs storage backend" sys-fs/zfs
|
||||
elog
|
||||
elog "Be sure to add your local user to the lxd group."
|
||||
|
||||
if [[ ${REPLACING_VERSIONS} ]] &&
|
||||
ver_test ${REPLACING_VERSIONS} -lt 5.0.1 &&
|
||||
has_version app-emulation/qemu[spice,usbredir,virtfs]; then
|
||||
ewarn ""
|
||||
ewarn "You're updating from <5.0.1. Due to incompatible API updates in the lxd-agent"
|
||||
ewarn "product, you'll have to restart any running virtual machines before they work"
|
||||
ewarn "properly."
|
||||
ewarn ""
|
||||
ewarn "Run: 'lxc restart your-vm' after the update for your vm's managed by lxd."
|
||||
ewarn ""
|
||||
fi
|
||||
|
||||
if [[ ${REPLACING_VERSIONS} ]] &&
|
||||
has_version "sys-apps/openrc"; then
|
||||
elog ""
|
||||
elog "The new init.d script will attempt to mount "
|
||||
elog " /sys/fs/cgroup/systemd"
|
||||
elog "by default, which is needed to run systemd containers with openrc host."
|
||||
elog "See the /etc/init.d/lxd file for requirements."
|
||||
elog ""
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
PARENT_PN="certbot"
|
||||
PARENT_P="${PARENT_PN}-${PV}"
|
||||
|
||||
if [[ "${PV}" == *9999 ]]; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
||||
EGIT_SUBMODULES=()
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/${PARENT_P}"
|
||||
else
|
||||
SRC_URI="
|
||||
https://github.com/certbot/certbot/archive/v${PV}.tar.gz
|
||||
-> ${PARENT_P}.gh.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An implementation of the ACME protocol"
|
||||
HOMEPAGE="
|
||||
https://github.com/certbot/certbot
|
||||
https://letsencrypt.org/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
S="${WORKDIR}/${PARENT_P}/${PN}"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-17.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytz-2019.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.20.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
|
||||
distutils_enable_tests pytest
|
@ -1,6 +1,7 @@
|
||||
AUX 3.38.0-optional-vapi.patch 2278 BLAKE2B 7011aec6831b9488ba19efd41b6f3772af101dac4e2e9759f354a59a7243c45eae4a03583f7a717099fe5b08c813c898228ceeed8afac7b28d4bdb77fe9ac4e0 SHA512 95a9109217cf255e921bbf2504918345d1e32e454a8c44c726cb1df522cca73de785db31e9e71a88d3bfa802c49ae89caaa9c64edc3834c5b491ef15f853313e
|
||||
AUX 3.41.1-implicit-func-decl.patch 1132 BLAKE2B 90cd16d7821667d3f5790cce9503b9202f07499a5ebf65b3c4144d103602b2e163b6f1200276c54d13ed9dc14882cc0b695f119aba7eecba5792be17384c4ef5 SHA512 6bdde9de3816c8c182e47802f4ed13fcb21c50dc9b402cb969086285a6c33a0314e68197965eb49de27bc5fd877dc151d9d3132fddb1f970bbcc1990a7dc0b54
|
||||
DIST gcr-3.41.1.tar.xz 1030368 BLAKE2B 9d254b7f2ad864c45200e58b685db97c1ffbc83d29ba8cbda94d30ec565aa3dc5a2535305dc63b3264131b68ec9e48f37ac30d5ba08d0ce156f3b6091cd62dc1 SHA512 dd70d41636ede863d05824b26823a8f572902f7a9b6f09b0c70586ef0d4c046864e6956130b9231850a515a9fbfcd56faf20354c1cf8f697f005827c048a2325
|
||||
DIST gcr-4.0.0.tar.xz 715600 BLAKE2B 8f656cea44bc9c2ab710d33db61f26b7c7f1df73a59430945aa3c9e4acad503d7d93f916f90e2c4efb0e1379eabd9616e974a76c3d3564657b16cd46dd5954c6 SHA512 5d036710c9ae58016467e63b60ab18e461ec1db1740880dccf555dd8c555b382b1ceac3e3ee6fda22dce395e93ba8ecf0578d6c815d08c2790e618f7ca5bfd50
|
||||
EBUILD gcr-3.41.1-r1.ebuild 2338 BLAKE2B 108b05f845a0a66214909db9e5364109b7bec12941e98cc23138158bb9abd3fd7837758e175a5ab91a8f7f6a4ff4480344bb5a3d6664bd9905417d4c88bbafa3 SHA512 bccdeb5070a94101a77f483efccdf3f3e6f574dba388e733ff942eacaaf42e4a3993db3c17d9c512b0fc3c3a6dd5cd5fec24d46771c3c79571b452bcddf6af4b
|
||||
EBUILD gcr-3.41.1-r2.ebuild 2385 BLAKE2B 37e94ba8892b569ee0850a3a7f61c633708216122964b533969172a2b3e9a1942163216d10412bea9f9eee677125edc71af564c1a8a1783ed2f11108ec432032 SHA512 3a225646344563bc1af82cb09aea7c6755c5c93b4bddade3dde981b0c91f15f97a3dabaaa52fea9b426371e5f97bf4018129acbd448dea12b4b6ca93c36e6d7c
|
||||
EBUILD gcr-4.0.0.ebuild 2076 BLAKE2B fbdadaff52ace8a6c5329998a9eeeec90c61d9301802258166a35f269f4339988ea483241fdcce131e2e7390e117ebc53a268b588a9e8474377e3e866fda7c97 SHA512 6b4c41db6e16c5a5662a4186ba8034aa803298fee167878791b86f00879f44fde5d2bcb902e8ac24f8f437428a063ebe1173d5ae8dadea1adacafa080113baac
|
||||
MISC metadata.xml 344 BLAKE2B a5b129a4c722cc7b8b0e40ba087dab0449ed91ffeaec73b433fc2fcaa1d1c67a1f1db3ab639676880f526bb9ea55d71c7e876a947116c279cbc186d14090b10c SHA512 502308ab38854c2b61212f4b049bd20534147b9a7c565f5a5246a129fbcd12dc4a7cf1d39b560dd991a3211628afaf964a6c8f020c4e446ef0b8cb8688df0028
|
||||
|
@ -0,0 +1,30 @@
|
||||
https://bugs.gentoo.org/900152
|
||||
|
||||
It doesn't make sense to default XOPEN_SOURCE and subsequently DEFAULT_SOURCE
|
||||
as DEFAULT_SOURCE is asking for no extensions. Anyway, just ask for GNU_SOURCE
|
||||
as it'll placate both musl and glibc for all of strptime/timegm/getpass and
|
||||
gcr-3 is obsolete anyway.
|
||||
--- a/gck/meson.build
|
||||
+++ b/gck/meson.build
|
||||
@@ -77,8 +77,7 @@ gck_cflags = [
|
||||
'-DGCK_API_SUBJECT_TO_CHANGE',
|
||||
'-DP11_KIT_API_SUBJECT_TO_CHANGE',
|
||||
'-DPKCS11_REGISTRY_DIR="@0@"'.format(get_option('prefix') / get_option('libdir') / 'pkcs11'),
|
||||
- '-D_XOPEN_SOURCE', # Needed for strptime()
|
||||
- '-D_DEFAULT_SOURCE', # Needed for timegm
|
||||
+ '-D_GNU_SOURCE', # Needed for strptime(), timegm, getpass
|
||||
]
|
||||
|
||||
gck_symbolmap = meson.current_source_dir() / 'libgck.map'
|
||||
--- a/gcr/meson.build
|
||||
+++ b/gcr/meson.build
|
||||
@@ -146,7 +146,7 @@ gcr_base_cflags = [
|
||||
'-DGCR_API_SUBJECT_TO_CHANGE',
|
||||
'-DGCK_API_SUBJECT_TO_CHANGE',
|
||||
'-DP11_KIT_API_SUBJECT_TO_CHANGE',
|
||||
- '-D_XOPEN_SOURCE', # Needed for strptime()
|
||||
+ '-D_GNU_SOURCE', # Needed for strptime(), timegm, getpass
|
||||
]
|
||||
|
||||
gcr_base_symbolmap = meson.current_source_dir() / 'libgcr-base.map'
|
||||
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST hexedit-1.6.tar.gz 31085 BLAKE2B e576de6aaed35449adbc430c95e8ba3a8ccfba587ef5c4d347d95b84c9764cb644323af23d46ff16429b93e0348c8d310afbad482219aa1b2c1b582332bd06fe SHA512 9783406f253a67fe048ec12306df1a601b7ba92cd7a0399ad2f103aed5a3164cd21ad7c1d547a4c55192cfb7da2b2517152015a4c3db402a9217548b435f602d
|
||||
EBUILD hexedit-1.6.ebuild 735 BLAKE2B ce7ae724f31b951a7a9e695274dbb82e3db4a517da61a35c69fe2dc20df6b8ba2f0f1658bf9a4d957bd309de42eaa9ee6312e2dbadc78ee59eccfd3951c1622a SHA512 34cc7032c292ed1aa1474afae9c524df3f532335f42c64d94e21ffc191c0d127b356b51b6940c7849b1e8b41d27c281d6474aa546607b0482a7b3657764744af
|
||||
MISC metadata.xml 351 BLAKE2B 0c74729ae34fd37946be2b370ec986ea6f894cc13c642865030ad8857b65bb5900cf3b822e2c9b16bfc33df955e3d747622dddf6b5344a5edd867a236988135a SHA512 1878b5fb1fe6d7e0c6af3a433d9dfd8e9f365a4bf52d15ff5aa01e4f8153924b6379edee442d98f2c0282fd19f7141ffc77d0ce53e8dd1428e5ac90643f84c9e
|
||||
MISC metadata.xml 429 BLAKE2B 8c61be0b5d02bf03199af49ed4f6099b9c4e6d296bd76b6f42a8df4fdba1671cd281d55ae647131fac6fc7f1d47cf14fd09e5cb005a646cfe47ebc0e36822fee SHA512 2b1f942be1564acdb9fed15fa76284a6e4e9eb22fd6708011e9ec918b975f9f640ea7bd20577d01f42c0f5882d64d929eee5b915f7a8e15b87c789728258ddad
|
||||
|
@ -1,6 +1,6 @@
|
||||
DIST ReText-7.2.3.tar.gz 527428 BLAKE2B 3c710769a881275d74018ba319b174020dda0b65da22ae926231af56901b56c31b3cff69119a9bb378cd218d7b793f002bb08bf1483cc1e55c95a4963cbe1598 SHA512 eb337866f5dfacad2f23435f09b550f4378df5bb261d6f79b1708fed9e7bd93e96e8f06f940cb7109fe02aa6df0592b151f11dfe13853799f0b1ac2c1065a0da
|
||||
DIST ReText-8.0.0.tar.gz 492823 BLAKE2B ba80f01f1a40981220c0b3e16dd04bf551319a35c1a5c7f6d5e70135404537e74fa4625fe4c05c7ee54202de9ae16d181c110fcae9b9172761ca5ecf6400f7de SHA512 0f2480bcc8569cf60ebfe55847a2a068d1e5dd262a4ff212873bf58660ec31e9c37d9b21bdc66229d681c065a0d96b6ff11652e8d9a7c77841ea551480d1154c
|
||||
EBUILD retext-7.2.3.ebuild 2019 BLAKE2B b7170d7f63aab68e3dc537ade0b784ed21785e714a6cfcf149869da1cbf8c744f71ae124d9d8b7bb17b1c2601a29b19057d3f586d42954f99bc36a1e44c0ff10 SHA512 db7a5d10188b4221de97c02097f721fe2747b8685100829b4a267cff650968d32f1016ce5a8c675c1f87b00f58466831c3ddd763cd46345cebaaf84a399332d6
|
||||
EBUILD retext-8.0.0.ebuild 2022 BLAKE2B 31130408c83d1f0c4758fb992326402c415ebfbbd62bb2c82617a83dbb0bc0bafbba12e044540d1599de9ba55cef4b4a4a08b1a99d18f2c708ab455089a5e364 SHA512 c1f4e9b6f460ba1d36a3aa95181af3ad536d649db7f52d8348211e28f399d5ed5020038898c1156aca9b947dd20afa963df2ef06394c22c2da676c18c90d1781
|
||||
EBUILD retext-9999.ebuild 2022 BLAKE2B 31130408c83d1f0c4758fb992326402c415ebfbbd62bb2c82617a83dbb0bc0bafbba12e044540d1599de9ba55cef4b4a4a08b1a99d18f2c708ab455089a5e364 SHA512 c1f4e9b6f460ba1d36a3aa95181af3ad536d649db7f52d8348211e28f399d5ed5020038898c1156aca9b947dd20afa963df2ef06394c22c2da676c18c90d1781
|
||||
EBUILD retext-8.0.0.ebuild 2010 BLAKE2B 430df4552c0f6fb1c5714e3a6939e6f08041997b30161dd1d678d5cf053b8d5f176e463f92f51c09fc8db4f7f7ab73b7001289305efb4db77316dafdd352fdbd SHA512 ef5d4edaae4030367bce74564675026dc514d7c5543a6f6555f7d30fb801912f9aead0f9f5d12a3165bc6af0b18dbd6529f93194ca5b75f999e715b3ccae89a6
|
||||
EBUILD retext-9999.ebuild 2010 BLAKE2B 430df4552c0f6fb1c5714e3a6939e6f08041997b30161dd1d678d5cf053b8d5f176e463f92f51c09fc8db4f7f7ab73b7001289305efb4db77316dafdd352fdbd SHA512 ef5d4edaae4030367bce74564675026dc514d7c5543a6f6555f7d30fb801912f9aead0f9f5d12a3165bc6af0b18dbd6529f93194ca5b75f999e715b3ccae89a6
|
||||
MISC metadata.xml 535 BLAKE2B 94fbf92941c956601e9ec037a78919fcbddb572baa20f74c0daae31e438e44d214b57926cfa6d31eb176b8be72d2078e44686bada4a4794e130956c7d91b5865 SHA512 5ed97d1ed19c618b1246375d02860f96ce7f58aa759c467ae69e35d6b003cdac44f5c59f166ae6970e9a082e783550381b34540ad1ba03d661a3f3fde7d26dec
|
||||
|
Binary file not shown.
@ -1,6 +1,8 @@
|
||||
AUX 50csv-mode-gentoo.el 194 BLAKE2B 6232d9d6d6989647532b496f8c3304b256cd04ec12530a93518621094cc3c652a855dc822059df08ba5d4f6478017888978c5c5c11a495d2afb869dc9a0383dd SHA512 8aa137123c8eccc7551c946e7925ff3a54364acba46d29f401f96330ce97fff289f61e0544db4ed45ce677691d0fca5ed8302587ff4280ba8ff9906f58fec890
|
||||
DIST csv-mode-1.18.el.xz 18228 BLAKE2B 36963d268a1f2cac6f9e897c1b5b2b99dd2b36d80eb0a493214cb7ee2c9b74862b43e632ae6ee8d847fb7b4ac330669b79bbe86032385830429735bace2e0276 SHA512 e7b22d545a6f926957f9080ca1a927ce34d35341c8484e66f52d5e1273a4933519c53e813e710e3c818bbdfd2ac8f27da691b4f36fd71638f220ea5c56e68591
|
||||
DIST csv-mode-1.20.el.xz 19580 BLAKE2B 6942af53e8e494c1b4b063bd75937184f375d5d0bfef57558006d49b168b9786efa11e498ddd92fb7b29c9ac055feeb709b33ec9bc98c6807ee0c35b388cb841 SHA512 c9198ce3cdc60fd5b74a9f93af4dfc8be537638374fb729ad160e89b2bb6cef42112b0342732c7e9151889a254608157b084ee31cdfa330e551bc153020bbbdb
|
||||
DIST csv-mode-1.22.tar.xz 20668 BLAKE2B 655615111a4303649941ef0167cb3120aa5d8698e768900a1154d390b5420f2fe783003e877f77ed66d6fa068fc58185e4c11d47928940acc7a239572ed92182 SHA512 06530f1eceb4c93d8bb1c89f91ffd8117b6254101e52c9e3d26e013d0c01e99f6d9fd433ebd8172d9293a68d824b9453c028ad53ec46b05feb0fbd4d005f4615
|
||||
EBUILD csv-mode-1.18.ebuild 491 BLAKE2B d16db6bea192dd41585788a00cacf2b1c526b477b1cb59641cad26153051d11a1c2d653d98f2de8fd0ec10e42351089d10b76ba847d9917118ff35bdadf967cb SHA512 9eda809ddc3860ca2499de2badaac388d917fd6fca2202ae27c4ca871f0e2d74a0542407ffb371d0cbd9b77dcd60ad7106f44943b8f9622caf3b6fff59e47a94
|
||||
EBUILD csv-mode-1.20.ebuild 491 BLAKE2B d16db6bea192dd41585788a00cacf2b1c526b477b1cb59641cad26153051d11a1c2d653d98f2de8fd0ec10e42351089d10b76ba847d9917118ff35bdadf967cb SHA512 9eda809ddc3860ca2499de2badaac388d917fd6fca2202ae27c4ca871f0e2d74a0542407ffb371d0cbd9b77dcd60ad7106f44943b8f9622caf3b6fff59e47a94
|
||||
EBUILD csv-mode-1.22.ebuild 657 BLAKE2B d8297f19cbcf9c0bef0fcaebade8cd0cc2859cfa7abac3482c71f44f3eab9c17e276625a30f66b321b619bec81249eba863f70d3dbb30283df84abaf14e78de9 SHA512 2a43f4575add6c8943ca9655079e82f148892c8e8ee741455471fc634b92cd5263cf85ab4478a94485c9a55b7f545c82faa8f9d4b79fb07aa3bb97d49130b234
|
||||
MISC metadata.xml 283 BLAKE2B 81c49021199f71096079a27f9121390fb8c1285c54b9478583ff2d647277fa106ef12456d7097c4be092fc48b514a1adcf855ca0fac911598232ef9eb7f102c0 SHA512 f32b303760addf5d4db8d18bd10fb677353cdfa4c5e545d47804ef756cf5e5a21f8b8efb631b08f802185913ceb98da820e404e06eb03d01fe9ea85c10d1ac13
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=27.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="A major mode for editing comma-separated value files"
|
||||
HOMEPAGE="https://elpa.gnu.org/packages/csv-mode.html
|
||||
https://www.emacswiki.org/emacs/CsvMode"
|
||||
# Taken from https://elpa.gnu.org/packages/${P}.tar
|
||||
SRC_URI="https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
${EMACS} ${EMACSFLAGS} -L . -l ${PN}.el -l ${PN}-tests.el \
|
||||
-f ert-run-tests-batch-and-exit || die "tests failed"
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
DIST emacs-ebuild-snippets-2.0.2.tar.bz2 11606 BLAKE2B 5316355ec5fb7bae942ec27e8c7400f5f4570f9bdfc0588c2a92f908146da1475b87351f0654f58f99b41d752b357e255997d4fd3d89b3676790faea5acee3be SHA512 2cff09b32beec77fc6dc2033bdc2bafa31f89450b98865b5000ac95455436d3b840299652c7258b133038d41e4ac6f477f2b6637a5803484f3ec4dce86600944
|
||||
EBUILD emacs-ebuild-snippets-2.0.2.ebuild 711 BLAKE2B 0b1c0983a2cfab62e73619f368ef5401dac774a2d7f99c9b9fd2662253e6056b6af95af47870949d1003368992cd5527480d7d948e51db6f0c624f53fc076617 SHA512 73bb90666221237772c4fd9eb0de37d50cacac5b75b1e0ee4661e97920701aae36994fdf86b51f5cc89cbfc394b0cb0d4e07f906758ffc2d3b3609ddeff0de35
|
||||
MISC metadata.xml 390 BLAKE2B 803c6f9ddd01b6f0b24761b7f8d4cd73df64bf4a630712bc4db41ea5e7681dbf329306623e804d3ae70ba426d19437d18cc0e37841c3d45ed53346cd5c5cc9ad SHA512 76346de5dd4da5532996d488e569c2ff506756bcaf1f3fd602d6ae759033f4205a5b8aa40ad735545deb7a906322d81021acbb55860c543d0e39b91ccb349a90
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=24
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Yasnippets for editing ebuilds and eclasses"
|
||||
HOMEPAGE="https://gitweb.gentoo.org/proj/emacs-ebuild-snippets.git"
|
||||
SRC_URI="https://gitlab.com/xgqt/${PN}/-/archive/${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/ebuild-mode
|
||||
app-emacs/yasnippet
|
||||
"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
sh ./scripts/changeme.sh "${EPREFIX}${SITEETC}/${PN}" || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp-install ${PN} *.el{,c}
|
||||
elisp-site-file-install "${S}"/gentoo/50${PN}-gentoo.el
|
||||
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins -r snippets
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>gnu-emacs@gentoo.org</email>
|
||||
<name>Gentoo GNU Emacs project</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches />
|
||||
<upstream>
|
||||
<remote-id type="gitlab">xgqt/emacs-ebuild-snippets</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST protontricks-1.10.1.tar.gz 160943 BLAKE2B 12361ce009a62bdba8c420069f87879bf22e047df8bd6d843fb8672222fe6ab04d61f03a44c43a147729461a2f872e2239ee97d737aba28ffdbb273e797be218 SHA512 0b6e3277ea8a106d2bc52cc805b0c3a023733f0a6554fabfe9f32ff27d1bdf04058a419a719c7ca81dc45759a803a83b03408806e4b9328664e572655a3c4df0
|
||||
DIST protontricks-1.10.2.tar.gz 162325 BLAKE2B 5e9d0bf2970ad0e9a5ef5e399af5e327781c94f3e76e36db3a93a93d59102436a54e926a72a22b4640178534d2b9e62452543706c7ec10ce4591f15ce00ac4f3 SHA512 f644e13f356f899b8084ed1d347c210b624c09676f3a644f973610d1134658dd2951e8f85178606639b0eca8c386e9abac89c658a7076e4126278ff955549f10
|
||||
EBUILD protontricks-1.10.1.ebuild 1400 BLAKE2B feec99d4f2752b0d7735527ea8440db1da66347202a57146ce1d733132409313a222e15c8310de411ff4c1f8f43ab2b34b0f207b78de1faa0e905ea6a3e3ad3e SHA512 6c6e74e9f11951dafa2baaafcc0eb6a703635e546551ae7620ef667b4c4d388eeca6e69740a17c64e1c9c1247012e28c0eea8ff5907cf1572b3cb59507f3a002
|
||||
EBUILD protontricks-1.10.2.ebuild 1354 BLAKE2B 096ef197b4dbf053f225846f91af2d4fc4ddaa6ea34663a3647c9e291b52bf2fc473434de2424159680b2031a472e08668dab34c227cf0c89c33207b58a4b73b SHA512 60f5a31286cfbc810d8adec51428416dda24bc707507a8262bd020dfd1dc7e3a089730f8dd12232087e0fb45efc41125c50674c27816dae48c43715314cde249
|
||||
MISC metadata.xml 809 BLAKE2B dc0506e6f3224adc867438699359c4eafc389041846c644818732036e04bcb9c789e358a08effdb4b9ff4430521f7fe8ff6800b75aa93d6313e3d85395467741 SHA512 351bb79dc7921e6c62100b3354546185d31578b044393ea5e5b5fea089eb47164882ff4ede30d8a575dea31ec9d0927793f8109d9e63ca4ad6954c1affdbe6f4
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} pypy3 )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 pypi xdg-utils
|
||||
|
||||
DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games"
|
||||
HOMEPAGE="https://github.com/Matoking/protontricks"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+gui"
|
||||
|
||||
RDEPEND="app-emulation/winetricks
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/vdf[${PYTHON_USEDEP}]
|
||||
')
|
||||
gui? ( gnome-extra/zenity
|
||||
|| (
|
||||
app-emulation/winetricks[gtk]
|
||||
app-emulation/winetricks[kde]
|
||||
)
|
||||
)"
|
||||
BDEPEND="$(python_gen_cond_dep '
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
')"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
|
||||
elog
|
||||
|
||||
if ! use gui; then
|
||||
ewarn "Please note that disabling USE=gui does *not* presently remove the --gui command-line option,"
|
||||
ewarn "it just means using this option will fail unless gnome-extra/zenity happens to be installed."
|
||||
ewarn
|
||||
fi
|
||||
|
||||
elog "Protontricks can only find games for which a Proton prefix already exists."
|
||||
elog "Make sure to run a Proton game at least once before trying to use protontricks on it."
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue