parent
26cf50aa34
commit
35651be909
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST at-spi2-core-2.46.0.tar.xz 540600 BLAKE2B e3ed9915c39a9f71b64a9753c7f91208d15289fe09a9505b4766df7fa04c3e6e5cdc7b3702315eabbdf70f9fc08b4cca4546353485328ab101e2950a672885d6 SHA512 633af2c02fab3b8cb02e37f929ce80dd5ce28ca5641046ef5e25cb29299530b90028e6c6f318a0c098a4270bed3eab48fb55d6967a76bfadd2520f49de47c770
|
||||
DIST at-spi2-core-2.48.0.tar.xz 554000 BLAKE2B b8f513256670d24ae9f08572ae7878f109b5d76090fa4f881b67324d1d270889c648e456fe3ca34aaead9e85589f5ae355c8b4803f35c2cb2ace831051b1000b SHA512 976dce741d640c5b5e006eca53170062ebc91cace0fb74df68606c8443b63317fe271d4e3238d1e3ee3e5586b4a4905c91d7987adb94c8f886a1aaddd54c632e
|
||||
DIST at-spi2-core-2.48.1.tar.xz 554220 BLAKE2B 80c67221d1164ed857586450083ed08c201044cf26c7e338b474344c8579d91bb8310746fa57e01c3c41331647c36b17161d2f1ffda750f5484df0837569398b SHA512 31314322287f73a60ec449896d5bdacb7956e14e5baec1634b34685e340ce5c3d0385023350cc31b316886b24fd1af858656dbdc9119a53c880d85761d15a3c1
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit gnome.org meson-multilib systemd virtualx xdg
|
||||
|
||||
DESCRIPTION="D-Bus accessibility specifications and registration daemon"
|
||||
HOMEPAGE="https://wiki.gnome.org/Accessibility https://gitlab.gnome.org/GNOME/at-spi2-core"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="2"
|
||||
IUSE="X gtk-doc +introspection"
|
||||
REQUIRED_USE="gtk-doc? ( X )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-apps/dbus-1.5[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/glib-2.67.4:2[${MULTILIB_USEDEP}]
|
||||
>=dev-libs/libxml2-2.9.1:2[${MULTILIB_USEDEP}]
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.54.0:= )
|
||||
X? (
|
||||
x11-libs/libX11[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXtst[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
)
|
||||
|
||||
!<dev-libs/atk-2.46.0
|
||||
!<app-accessibility/at-spi2-atk-2.46.0
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
gtk-doc? (
|
||||
dev-python/sphinx
|
||||
dev-util/gdbus-codegen
|
||||
>=dev-util/gi-docgen-2021.1
|
||||
)
|
||||
>=sys-devel/gettext-0.19.8
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
-Dsystemd_user_dir="$(systemd_get_userunitdir)"
|
||||
$(meson_native_use_bool gtk-doc docs)
|
||||
$(meson_native_use_feature introspection)
|
||||
$(meson_feature X x11)
|
||||
-Ddisable_p2p=false
|
||||
-Datk_only=false
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
virtx dbus-run-session meson test -C "${BUILD_DIR}" || die
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
|
||||
if use gtk-doc; then
|
||||
mkdir -p "${ED}"/usr/share/gtk-doc/{libatspi,atk} || die
|
||||
mv "${ED}"/usr/share/doc/libatspi "${ED}"/usr/share/gtk-doc/libatspi/html || die
|
||||
mv "${ED}"/usr/share/doc/atk "${ED}"/usr/share/gtk-doc/atk/html || die
|
||||
fi
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST kontrast-22.12.3.tar.xz 201576 BLAKE2B 9a5e931e6654ba45952b5b1be1290643b45f7e9ac5de3ef540812d8a58348f770d24c3df5aaf491a3ba8dd83a2e1582d7b6d7f334f6212629c51b943f2f9acc6 SHA512 e60a60866d805c7d0934257892da4e4a8176d776c20a06fa50ae9931dc2b7e620d32ba076e10d5e8a3a0bd1b04ede48100b45bbf4d64c97f977bd320cb1a2396
|
||||
DIST kontrast-23.04.0.tar.xz 205192 BLAKE2B 1449c2e6232a678417e55fae78d7cef9db1c074900b91acb704b741d9b85415853622fa087f434be251266e520ca18b1010a6a0dba4f3cda9a7e617d8d3aa8d2 SHA512 a30a7b7a79fb2fc0cc2282680e994ee251d9d239b7ef33963bde6413c56d909201314ff6ceb65ae5aea9f4fd6db784e97e45c40c3691a7fe0803d01a4b1d4a72
|
||||
DIST kontrast-23.04.1.tar.xz 205192 BLAKE2B e4de1e7b19ce04033d1d301131f98c23a9fb8f6b6c7726652ff29a4b68cd1f31dbcf01e3fec305b356def70d1439be7cb4302d346b5f47ee576f82891ded550d SHA512 c19918e37af107c6b3f9f7452e1410e18c7672df0a4f6f2890b93621dbfc445ba5a99e8c1a70c9a8b45582969fcc35ea9be93dc8b2df81c6212dcb649f78899e
|
||||
|
@ -0,0 +1,98 @@
|
||||
https://bugs.gentoo.org/874390
|
||||
|
||||
Fix -Wimplicit-function-declaration and -Wformat-security.
|
||||
--- a/NFBTRANS.C
|
||||
+++ b/NFBTRANS.C
|
||||
@@ -8,10 +8,12 @@
|
||||
#else
|
||||
#define UNIX_PATH "/etc/nfbtrans/"
|
||||
#endif /* unix */
|
||||
-#include <stdio.h>
|
||||
+#include <ctype.h>
|
||||
+#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdlib.h>
|
||||
+#include <unistd.h>
|
||||
#ifdef DOS
|
||||
#include <io.h>
|
||||
#include <string.h>
|
||||
@@ -132,6 +134,12 @@ char *output_extension[2] = {".brf", ".txt"};
|
||||
int paramcount;
|
||||
char **paramstr;
|
||||
|
||||
+void strnset(char *string, char c, short n);
|
||||
+int strcmpi(char *s1, char *s2);
|
||||
+void unbuf_stdin();
|
||||
+void restore_stdin();
|
||||
+void save_stdin();
|
||||
+
|
||||
typedef struct
|
||||
{
|
||||
char *name;
|
||||
@@ -5130,7 +5138,7 @@ void insert_hyphen_word(int date_only)
|
||||
field[l - 1] = 0; /* remove lf */
|
||||
if (!lines)
|
||||
{ /* first line */
|
||||
- fprintf(tempfile, date_string);
|
||||
+ fprintf(tempfile, "%s", date_string);
|
||||
cptr = strchr(field, 'A');
|
||||
if (cptr)
|
||||
strcpy(field, cptr); /* get rid of date */
|
||||
@@ -5341,7 +5349,7 @@ void test_hyphen_dictionary(int mode)
|
||||
/* open for r+ */
|
||||
open_hyp_dictionary(hyphen_dic_name, 3, 1);
|
||||
rewind(hyp_dic_ptr);
|
||||
- fprintf(hyp_dic_ptr, date_string);
|
||||
+ fprintf(hyp_dic_ptr, "%s", date_string);
|
||||
open_hyp_dictionary(hyphen_dic_name, 3, 2);
|
||||
} /* date found on first line */
|
||||
else
|
||||
@@ -6511,7 +6519,7 @@ void translate_file()
|
||||
{ /* no file args */
|
||||
if (!indirect_ptr)
|
||||
{
|
||||
- fprintf(stderr, menu[10]);
|
||||
+ fprintf(stderr, "%s", menu[10]);
|
||||
get_input(temp, 80);
|
||||
if (!temp[0])
|
||||
exit_program(0);
|
||||
@@ -6709,9 +6717,9 @@ void translate_file()
|
||||
if (!trans_mode1)
|
||||
{ /* get secondary translation mode */
|
||||
i = (trans_default / 10);
|
||||
- fprintf(stderr, menu[0]);
|
||||
+ fprintf(stderr, "%s", menu[0]);
|
||||
for (j = 5; j < 8; j++)
|
||||
- fprintf(stderr, menu[j]);
|
||||
+ fprintf(stderr, "%s", menu[j]);
|
||||
backspace_int(i);
|
||||
do
|
||||
{
|
||||
@@ -6744,7 +6752,7 @@ void translate_file()
|
||||
} /* construct output name */
|
||||
else
|
||||
{ /* prompt */
|
||||
- fprintf(stderr, menu[11]);
|
||||
+ fprintf(stderr, "%s", menu[11]);
|
||||
get_input(outf_name, MAXPATHLEN - 1);
|
||||
} /* prompt */
|
||||
if (!outf_name[0])
|
||||
@@ -7110,7 +7118,7 @@ void get_page_range()
|
||||
if (pageend < pagestart)
|
||||
{ /* pageend */
|
||||
pageend = 9999;
|
||||
- fprintf(stderr, menu[9]);
|
||||
+ fprintf(stderr, "%s", menu[9]);
|
||||
backspace_int(pageend);
|
||||
get_input(temp, 5);
|
||||
get_end_page(temp);
|
||||
@@ -7481,7 +7489,7 @@ int main(int argc, char *argv[])
|
||||
{ /* choose mode */
|
||||
j = (trans_default % 10);
|
||||
for (i = 0; i < 4; i++)
|
||||
- fprintf(stderr, menu[i]);
|
||||
+ fprintf(stderr, "%s", menu[i]);
|
||||
while (trans_mode < 1 || trans_mode > 3)
|
||||
{
|
||||
fprintf(stderr, "\n%s", menu[4]);
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Braille translator from the National Federation of the Blind"
|
||||
HOMEPAGE="http://www.nfbnet.org/download/nfbtrans.htm"
|
||||
SRC_URI="http://www.nfb.org/Images/nfb/Products_Technology/nfbtr$(ver_rs 1-2 '').zip"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
BDEPEND=">=app-arch/unzip-5.50-r2"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-gentoo-fix.patch
|
||||
"${FILESDIR}"/${P}-getline-fix.patch
|
||||
"${FILESDIR}"/${P}-respect-ldflags.patch
|
||||
"${FILESDIR}"/${P}-modern-c.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
mv MAKEFILE Makefile || die
|
||||
mv SPANISH.ZIP spanish.zip || die
|
||||
|
||||
default
|
||||
|
||||
emake lowercase
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake \
|
||||
CC="$(tc-getCC)" \
|
||||
LIBS= \
|
||||
CFLAGS="${CFLAGS} -DLINUX" \
|
||||
LDFLAGS="${LDFLAGS}" \
|
||||
all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin nfbtrans
|
||||
dodoc *fmt readme.txt makedoc
|
||||
insinto /etc/nfbtrans
|
||||
doins *cnf *tab *dic spell.dat *zip
|
||||
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
||||
DIST ansible-lint-6.14.2.tar.gz 473090 BLAKE2B 7ee73ab0b9539ae56cdf0220d79b271c45747fc1379f818e14f99b0d361e87cd7410548261e369a1d90cb3dceeb53bd46d614b041c837253ef643b653430bf51 SHA512 bb7350b56b9f81d398509b612cf1631020c21bed4f08ea8dda482460c18a1c0388269af513833778f29f1003a114366af885e7b7f31149731bad2067a904d30a
|
||||
DIST ansible-lint-6.14.4.tar.gz 475223 BLAKE2B 01649f9890ca8c78097a810524fe6e6737cf77359d7537e799210ba25dd6aa0f7bb9f1e4a1ba80bb9dafcdedcde73d5c15bb71c47cc2ae18176e9d5cd91db093 SHA512 5274cab25bd648b87f1edaf55b480e3daf29d3ccc7c9d7c5f4013b96b7101c95ed264a2456789ad819be41712c8faad6206133ad26fa100353ef7d2d36c5fe43
|
||||
DIST ansible-lint-6.14.6.tar.gz 475624 BLAKE2B 99ac5214d7404c2cdaaf43678950b2031fd40396e45a27823feb708bc343b69181e624254b77bfe9f704a9037c60340f3a14d4a2651948b371ea91a28b1a1424 SHA512 dac9a089db2d2fe7b25f273b746571175d3ec974dbdf14d65cc10be83464f1ae88361d9e445d8687c011f817597fc4ca8d7501d192c6c529d9ec48997af8df7c
|
||||
DIST ansible-lint-6.16.0.tar.gz 481460 BLAKE2B 127b1c1b979bf0a187d8ad7eff8e4a00540582f5eccdc74f56fce88a38f1e9106ea3237ba6b2d00edb72f36bb967381d9144df204134fc2091e7d51e8795956d SHA512 bae9d8493aa4fe931878ce2f7dcba34955df50fc57e6cf95636a9f765a7310e05c563d93563134011673a94f1e2ca1b8db36cc394578858942560ba774dc1c21
|
||||
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
|
||||
HOMEPAGE="https://github.com/ansible/ansible-lint"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~riscv"
|
||||
|
||||
# Upstream has stated explicitly that all tests require Internet access
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=app-admin/ansible-core-2.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/ansible-compat-2.2.7[${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}]
|
||||
dev-vcs/git"
|
||||
BDEPEND="
|
||||
>=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-2.5.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
# test_call_from_outside_venv doesn't play nicely with the sandbox
|
||||
# irrespective of whether Internet access is allowed or not
|
||||
EPYTEST_DESELECT=(
|
||||
test/test_main.py::test_call_from_outside_venv
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
# Test suite fails to start without this
|
||||
python_test() {
|
||||
epytest test
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST molecule-4.0.4.tar.gz 337260 BLAKE2B 14c493fa8aaa15466ebca19af9e5325ddb824c151d07d800136dcb714a430ea2dc42b38c9ec6e805e29ec3226376a532793d51c5d0544d6d5105510e5365ca8c SHA512 d7c1ceefbf74cbc27a397e7a40d855b23325bbde31a4cd1920961413a7db950e9fc530fec180de877eb37984bac8603033aa5a582e68e7f4c4ac2a10721c6630
|
||||
DIST molecule-5.0.1.tar.gz 334911 BLAKE2B c021171996a4e57a3f3cffc1f72396b07c59f0e0c6a4b9277d9ad994655f37aafc920164f6a91f9a533497f24cc780d4ff07a8e40cfea4ce89e6249b8415e438 SHA512 c5d6a112c328932c16c8e126cd6308ad8aecc46a03ab43fef2fd0869e5b93c7216df4c7f7e115ebf8e4b4293968848598e8e02e462b0a9d91307f79c6b0a01bd
|
||||
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DOCS_BUILDER="mkdocs"
|
||||
DOCS_DEPEND="
|
||||
>=dev-python/mkdocs-ansible-0.1.4
|
||||
dev-python/mkdocs-autorefs
|
||||
dev-python/mkdocstrings-python
|
||||
media-gfx/cairosvg
|
||||
"
|
||||
PYPI_PN="molecule"
|
||||
|
||||
inherit distutils-r1 docs optfeature pypi
|
||||
|
||||
DESCRIPTION="A toolkit designed to aid in the development and testing of Ansible roles"
|
||||
HOMEPAGE="https://pypi.org/project/molecule/ https://github.com/ansible-community/molecule/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="$(python_gen_cond_dep '
|
||||
<dev-python/ansible-compat-4.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/click-9[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/enrich-1.2.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-4.9.1[${PYTHON_USEDEP}]
|
||||
dev-python/packaging[${PYTHON_USEDEP}]
|
||||
<dev-python/pluggy-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
|
||||
selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
|
||||
')"
|
||||
BDEPEND="$(python_gen_cond_dep '
|
||||
>=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
dev-python/pillow[truetype,${PYTHON_USEDEP}]
|
||||
media-fonts/roboto
|
||||
)
|
||||
test? (
|
||||
app-admin/ansible-lint[${PYTHON_USEDEP}]
|
||||
app-misc/check-jsonschema[${PYTHON_USEDEP}]
|
||||
>=dev-python/ansi2html-1.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/filelock[${PYTHON_USEDEP}]
|
||||
<dev-python/pexpect-5[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-plus-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-testinfra-7.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-3.1.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
')"
|
||||
|
||||
# test_role.py doesn't play nicely with FEATURES=usersandbox. As for test_command.py:
|
||||
# - quite a few of these tests use the network;
|
||||
# - test_command_dependency[shell] only works if Molecule has previously been installed;
|
||||
# - tests involving creation of a new scenario fail on ansible-lint errors, even though
|
||||
# a config file is deployed which should skip expected issues.
|
||||
EPYTEST_DESELECT=(
|
||||
src/molecule/test/functional/test_command.py
|
||||
src/molecule/test/unit/command/init/test_role.py
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature_header "Some optional packages commonly used in Molecule scenarios:"
|
||||
optfeature "checking playbooks for practices and behaviour that can be improved" app-admin/ansible-lint
|
||||
}
|
@ -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,28 @@
|
||||
# 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_{9..11} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A utility to report core memory usage per program"
|
||||
HOMEPAGE="https://github.com/pixelb/ps_mem"
|
||||
SRC_URI="https://github.com/pixelb/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install --install-scripts="${EPREFIX}/usr/sbin"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman ${PN}.1
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST borgmatic-1.7.11.tar.gz 365247 BLAKE2B a06737c48722fdf24efca76d40f6b413f39635b4137685d6279bf7a7dd002fadef28dab35a503fabf872c732a0f32fbff8c791fa9b4602299937aeae568d6137 SHA512 cedca889cd409e92484c15240fd8da91c655f81e38c6672d25e44feedc4adf6594281d92f7072fd11edc5c9f8589098226a3520e71e3441ee7a7acf97e1b2daa
|
||||
DIST borgmatic-1.7.12.tar.gz 371090 BLAKE2B eb06d88320f2c49721938c756d637b6ce463192260ac734303079095c693cadde68805356249fdad86738bed8ea0afa2e7a5c5de3c68bbedba2162e1cb445cdd SHA512 6688eb48d9ac82e9c43816aebab36b6dc011132e9f90591b7add423743a7305f55ca60f3f02f983c2d5d2e86e2429da62aec2508fac472b05334a025a308c325
|
||||
DIST borgmatic-1.7.8.tar.gz 350233 BLAKE2B 3fcd392983f73ec5e97f0dc6b96e211d7f1e1d1a4ce95c635c675cf043e796925df53c30c1e4f8eb1a095d9ec5ff81e90edee5ff2576f4683053d3108004afd9 SHA512 bcc65fdb7ea1171fb61deda9b1f69a00596e1e10a99508d336977b694bd8f93d74837aad9211bf1065b785220aaf1460a3ea403bf23fa4873d1bf4c6b4016525
|
||||
|
@ -0,0 +1,74 @@
|
||||
# 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 pypi
|
||||
|
||||
DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
|
||||
HOMEPAGE="https://torsion.org/borgmatic/"
|
||||
|
||||
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
|
||||
"${FILESDIR}"/${PN}-1.7.12-tests_flexmock.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"
|
||||
else
|
||||
local oldver
|
||||
for oldver in ${REPLACING_VERSIONS}; do
|
||||
if ver_test "${oldver}" -lt 1.7.11; then
|
||||
ewarn "Since version 1.7.11 ${PN} defaults to a different way of selecting archives for multi-archive actions."
|
||||
ewarn "For details, please see"
|
||||
ewarn
|
||||
ewarn " https://torsion.org/borgmatic/docs/how-to/make-per-application-backups/#archive-naming"
|
||||
ewarn
|
||||
break
|
||||
fi
|
||||
done
|
||||
fi
|
||||
elog
|
||||
elog "Systemd users wishing to periodically run borgmatic can use the provided timer and service units."
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
From ebe5c5e83903685742a39ae63b779d7a64527cff Mon Sep 17 00:00:00 2001
|
||||
From: polyzen <polyzen@noreply.torsion.org>
|
||||
Date: Fri, 14 Apr 2023 01:01:31 +0000
|
||||
Subject: [PATCH] Fix "TypeError: 'module' object is not callable" in
|
||||
test_commands.py
|
||||
|
||||
--- a/tests/integration/borg/test_commands.py
|
||||
+++ b/tests/integration/borg/test_commands.py
|
||||
@@ -1,6 +1,6 @@
|
||||
import copy
|
||||
|
||||
-import flexmock
|
||||
+from flexmock import flexmock
|
||||
|
||||
import borgmatic.borg.info
|
||||
import borgmatic.borg.list
|
||||
@@ -105,4 +105,4 @@ def test_display_archives_info_command_does_not_duplicate_flags_or_raise():
|
||||
|
||||
borgmatic.borg.info.display_archives_info(
|
||||
'repo', {}, '2.3.4', fuzz_argument(arguments, argument_name)
|
||||
- )
|
||||
+ )
|
||||
\ No newline at end of file
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_10 python3_11 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Secure backup system using gnupg to encrypt data"
|
||||
HOMEPAGE="https://duplicity.gitlab.io/"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
IUSE="s3 test"
|
||||
|
||||
CDEPEND="
|
||||
net-libs/librsync
|
||||
app-crypt/gnupg
|
||||
dev-python/fasteners[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
app-arch/par2cmdline
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}
|
||||
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||
dev-python/future[${PYTHON_USEDEP}]
|
||||
s3? ( dev-python/boto3[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fix-docs-cmd.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Duplicity has many optional dependencies to support various backends."
|
||||
elog "Currently it's up to you to install them as necessary."
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
--- duplicity-1.2.3/setup.py.orig 2023-05-11 12:33:14.480474449 -0400
|
||||
+++ duplicity-1.2.3/setup.py 2023-05-11 12:33:19.204538723 -0400
|
||||
@@ -95,17 +95,6 @@
|
||||
u'bin/rdiffdir.1'
|
||||
]
|
||||
),
|
||||
- (u'share/doc/duplicity-%s' % Version,
|
||||
- [
|
||||
- u'CHANGELOG.md',
|
||||
- u'CONTRIBUTING.md',
|
||||
- u'COPYING',
|
||||
- u'README.md',
|
||||
- u'README-LOG.md',
|
||||
- u'README-REPO.md',
|
||||
- u'README-TESTING.md',
|
||||
- ],
|
||||
- ),
|
||||
]
|
||||
|
||||
# short circuit fot READTHEDOCS
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST dolphin-plugins-22.12.3.tar.xz 272276 BLAKE2B 485ac53e070a710dbfb07aa26c915f4c2b32d5f6e67e91c3d07d9740be2c50ba4fae3c8662216423ce7e63042b663e8a59dfbfe1b490d31a2cc5445d9c3ac33c SHA512 0225fc50f88e7bd28eda74ae2bfa0c36878b9fe6b9fade6ef86a26e380cd78c8c2d1d1608796e8369f6ad545876d5d533ccfbf34b02b2be07ab8abc4bb734f7a
|
||||
DIST dolphin-plugins-23.04.0.tar.xz 272516 BLAKE2B b424fc4c1cac1c7109b4ea05d97bc44e348d94d36ea5e7acb06dd171f4eee1c7278b19b004ea175b3e7d567f440a9c4b362726ae051dce061073f59e6cf280f7 SHA512 0ffdeeb9296763ef23d567ddf9929b3c3ac25cebd9d8d409f5afd5cd7765d49845a7806fb718ccee31e778d517c6eb9758fbdb15014a72d1e56083c8dd145d1d
|
||||
DIST dolphin-plugins-23.04.1.tar.xz 272580 BLAKE2B 8f1d898dd218eea4df749bff1825928fed160ed74defee154898ee57f1dc2da4ff8987438c2a49bc658544386c9ccba09a41bff6c6eaed8981baef1084e7b33e SHA512 576abc54f29f06aa2ab0d034161f159302ad33e794a8118b566e940fdea204ed3ca00e71c5dce8dfc23e876370d77e07221feaf67aea1c84ee3e089ab45a46cc
|
||||
|
Binary file not shown.
@ -1,4 +1,2 @@
|
||||
DIST buildah-1.27.1.tar.gz 14825932 BLAKE2B bf290eeb4d96d255c7cdaa07af49eff44191664ac7dee255c7979656383daaa93c3673ba82ac1cbff033de769ffa08ad027f5d91c81b08a36222cb73e8a1e399 SHA512 a5e2ddf837e613554ffe8fe9c15ac9c8f9c2564c403e5544df7fb8802962581fb4e9dd4361c28c93443ede74c20c82f1631990e443c7895a3b4c3b8a659ee05a
|
||||
DIST buildah-1.28.0.tar.gz 14579386 BLAKE2B effc7d0a154e30790585c19e19655f98026c34687e79b91777700bc2f387b96896d88855cd5ec34573dd2678e4a30a832c39f789d53b61b45cb5f682dacd252e SHA512 f5e82a22648fa0d0ba7f5dcf3b97a2ec1182f31d3e03cd2624e01fe76fcdddf0a5605c59816eeef6401d151864b6b6be493c144b83f5667ab3947eea902f0086
|
||||
DIST buildah-1.28.1.tar.gz 14576193 BLAKE2B 5317b991780b0c2539802495a2a15e91d4e1623700d0a3fa354e362bd647e59a0e9c34d8f19858e129d0028c71bb04665bde7668e3b5f3f3e5b85c944f7108b5 SHA512 c674a90a0cae2977b76c2b68c06a0006f89d74b5b41362c2512a3f8d7ba515c3bd693648a0ba955dad7bea1a43da6890d80855e1283f0fc0136d16d77a798fba
|
||||
DIST buildah-1.29.1.tar.gz 15594930 BLAKE2B 71b87352062b3a5df67389897fd0d82c2491c48cffbda808b30e2767a1e290eccfd726be26dbd57fd8d08cfacb74f313058179c40600225d863a9340b772df1e SHA512 ea78aacee9b5cc10e299789d739e7086579e67719ab72b84f6ea5acbaf31d443284387ac92e7c5c1c3da9bd6523f43e2d9c7e2ea5698c251cb5458a384f41b04
|
||||
DIST buildah-1.30.0.tar.gz 15623786 BLAKE2B e0b2f6d26827cfe40f88a9915f12b6acb385fbd576fa227d4fee02c162077e9c6fe0591c7171405f5645cd06e4068f26e17c2cb963898e38cfbdd61abe68dae2 SHA512 185fd98a59fa8d86fe9f1eadc9b7591e5053674464be10538a7581d8e1f6a25e5032a354c821c32a167e2864acea010243efbbe4f5a4205d8eaa2894f062a25b
|
||||
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit bash-completion-r1 go-module
|
||||
GIT_COMMIT=395790ce
|
||||
|
||||
DESCRIPTION="A tool that facilitates building OCI images"
|
||||
HOMEPAGE="https://github.com/containers/buildah"
|
||||
SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm64"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="app-crypt/gpgme:=
|
||||
app-containers/skopeo
|
||||
dev-libs/libgpg-error:=
|
||||
dev-libs/libassuan:=
|
||||
sys-apps/shadow:=
|
||||
sys-fs/lvm2:=
|
||||
sys-libs/libseccomp:=
|
||||
selinux? ( sys-libs/libselinux:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ -f selinux_tag.sh ]] || die
|
||||
use selinux || { echo -e "#!/bin/sh\ntrue" > \
|
||||
selinux_tag.sh || die; }
|
||||
sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake GIT_COMMIT=${GIT_COMMIT} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
|
||||
doman docs/*.1
|
||||
dodoc -r docs/tutorials
|
||||
dobin bin/{${PN},imgtype}
|
||||
dobashcomp contrib/completions/bash/buildah
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test-unit
|
||||
}
|
@ -1,51 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit bash-completion-r1 go-module
|
||||
GIT_COMMIT=d3d40a42
|
||||
|
||||
DESCRIPTION="A tool that facilitates building OCI images"
|
||||
HOMEPAGE="https://github.com/containers/buildah"
|
||||
SRC_URI="https://github.com/containers/buildah/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="app-crypt/gpgme:=
|
||||
app-containers/skopeo
|
||||
dev-libs/libgpg-error:=
|
||||
dev-libs/libassuan:=
|
||||
sys-apps/shadow:=
|
||||
sys-fs/lvm2:=
|
||||
sys-libs/libseccomp:=
|
||||
selinux? ( sys-libs/libselinux:= )"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ -f selinux_tag.sh ]] || die
|
||||
use selinux || { echo -e "#!/bin/sh\ntrue" > \
|
||||
selinux_tag.sh || die; }
|
||||
sed -i -e 's/make -C/$(MAKE) -C/' Makefile || die 'sed failed'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake GIT_COMMIT=${GIT_COMMIT} all
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc CHANGELOG.md CONTRIBUTING.md README.md install.md troubleshooting.md
|
||||
doman docs/*.1
|
||||
dodoc -r docs/tutorials
|
||||
dobin bin/{${PN},imgtype}
|
||||
dobashcomp contrib/completions/bash/buildah
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test-unit
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST certbot-2.5.0.gh.tar.gz 1333903 BLAKE2B 2d30764616d2253fe320ad94182e64cc3e1ce75bd90322fcf7c303a52e32420a57cf84a3acf3f8f4825e058d6fe1e59438b728dacdf9032c4d8797312903825e SHA512 92313e352409d543f260fedee3f376c4750d9428cd39fde3518b162091667173ba6d582b4e91477f7122cf198f24119ecf34b2dce12734afbfc0ebedc395a49e
|
||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||
|
@ -0,0 +1,60 @@
|
||||
# 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}]
|
||||
)
|
||||
"
|
||||
# The requirement is really 17.5.0 but easier to require latest stable >= 23.1.1
|
||||
# to avoid broken 23.1.0.
|
||||
RDEPEND="
|
||||
dev-python/chardet[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-3.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/josepy-1.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-23.1.1[${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 +1,2 @@
|
||||
DIST certbot-2.5.0.gh.tar.gz 1333903 BLAKE2B 2d30764616d2253fe320ad94182e64cc3e1ce75bd90322fcf7c303a52e32420a57cf84a3acf3f8f4825e058d6fe1e59438b728dacdf9032c4d8797312903825e SHA512 92313e352409d543f260fedee3f376c4750d9428cd39fde3518b162091667173ba6d582b4e91477f7122cf198f24119ecf34b2dce12734afbfc0ebedc395a49e
|
||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||
|
@ -1 +1,2 @@
|
||||
DIST certbot-2.5.0.gh.tar.gz 1333903 BLAKE2B 2d30764616d2253fe320ad94182e64cc3e1ce75bd90322fcf7c303a52e32420a57cf84a3acf3f8f4825e058d6fe1e59438b728dacdf9032c4d8797312903825e SHA512 92313e352409d543f260fedee3f376c4750d9428cd39fde3518b162091667173ba6d582b4e91477f7122cf198f24119ecf34b2dce12734afbfc0ebedc395a49e
|
||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||
|
@ -1 +1,2 @@
|
||||
DIST certbot-2.5.0.gh.tar.gz 1333903 BLAKE2B 2d30764616d2253fe320ad94182e64cc3e1ce75bd90322fcf7c303a52e32420a57cf84a3acf3f8f4825e058d6fe1e59438b728dacdf9032c4d8797312903825e SHA512 92313e352409d543f260fedee3f376c4750d9428cd39fde3518b162091667173ba6d582b4e91477f7122cf198f24119ecf34b2dce12734afbfc0ebedc395a49e
|
||||
DIST certbot-2.6.0.gh.tar.gz 1336339 BLAKE2B 0c0575ad553ebe0f3ab56da750572bca46b30d034033e43c30c3793c114050ad824a277eab0be5a47326ea099e58e9a421448b53fc1b9173afae9a0ec308ac62 SHA512 d694156886484511f5a38fb5e40f98b2e2dbe4bc5110c95b2084ec03b39cb0eb9bbc623c7bca4a81054e980c8dbac752949042391813298a27be7e70410882e3
|
||||
|
@ -1 +1 @@
|
||||
DIST keysmith-23.04.0.tar.xz 159176 BLAKE2B 44c2a0a3902833193533bb9ad2f923426a88955e02c307562ca9decbfda9c68940e3657ee1cd3dcdee7058889e6d6f6176130d63a8b4cad5a1e9c65527ab8a71 SHA512 9f41f186aaa79aaab5e9544275b870c7f36296872c5590f04f74798bc7eecb23ce7dcd7c43db20a00d0defdead8911e5342fe688e41d06106f251d07a1ba0189
|
||||
DIST keysmith-23.04.1.tar.xz 161236 BLAKE2B e1803beca54dec248a2cf65fa886aeac7a128aad9cce400772cc38b8cb27bd5e8aa5f1b00d79d81281fdb567e1b3591ab5636886e29f79c7c7ce325d6f5459a1 SHA512 9e24ceab16f369a3b03c4c52307f4484e9e4896022725a6bc61e66cf736ea0936a3dca56e0ecd652beb9a151b17b8187b89063918b179994cb1fb8f27eb79532
|
||||
|
@ -1,2 +1,4 @@
|
||||
DIST yubikey_manager-5.0.1.tar.gz 158829 BLAKE2B 082b7405a6b8049c0086126c8287ab66f5028b121da4aeae81939683ed65cef1a7c59bf545b5e768b18643bd6c0ee759b2897673870344d8f7ab5217413c1a0d SHA512 2e798f8475e52c9091f5cd6ebbd5937eb3f14c49e9c2c9c7eda09c095ac3a1c80065e14f8e9c827c1eee8914ce3c3e21dbb2820a6ac8cefed1306d409cc6a0fc
|
||||
DIST yubikey_manager-5.0.1.tar.gz.sig 310 BLAKE2B c12b2c6f09be26a3df394cc296fbe28db560f31864a5b46d18021d672947c0d929b56be5cd10fd0347e4bcdeb988a242780b58565eb64163b125752756e5dda1 SHA512 876c47c2b22efd58f801f3bf7110c1896f425090d2454db4eb8214442b5a909b75f6fcf8e581c97806e488bfc6fb306e92274ce1b29be9e3240813944155478f
|
||||
DIST yubikey_manager-5.1.1.tar.gz 167947 BLAKE2B 4f0b7a3ba3f083112c0a43c9b9304e7f79526d7a31991959dc8a30e86f41b0ec616c9ed7790a551d998dc481bd18a89e87598c2534b8390a831572a77a36c32d SHA512 9da9588bb311594d2b4d2d8b234b64f333dfc7dc57145e250965bd9d058cfda43a9c9a32991081ac069819812bebaf0c10a24afab4ac444891ab21d2cff81c06
|
||||
DIST yubikey_manager-5.1.1.tar.gz.sig 310 BLAKE2B 4f636b5eab0602ec203c8d3d5b6d1de85c7341559b09fc131a994c75b15cb141706ccc65a8efb39e33d5a3704496e85c08a67d105d45f5264644b993c2585f20 SHA512 e964e39a995de7bd24a3e417d5e98cf68cdcd6412b7c95b552545468bbb434105fad97bbf82d758c9320bf9917d32312e6e286e9259d004899af2cde540cc731
|
||||
|
@ -0,0 +1,53 @@
|
||||
# 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=poetry
|
||||
|
||||
inherit distutils-r1 verify-sig
|
||||
|
||||
MY_PN="${PN/-/_}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
|
||||
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
|
||||
# According to https://github.com/Yubico/yubikey-manager/issues/518 the release
|
||||
# tarballs on Yubico Web site and on GitHub should be identical, and at least
|
||||
# for recent releases the latter are signed as well. Only the automatically
|
||||
# generated "Source code (tar.gz)" tarballs should not be used.
|
||||
# Still, prefer the former if available.
|
||||
SRC_URI="https://developers.yubico.com/${PN}/Releases/${MY_P}.tar.gz
|
||||
verify-sig? ( https://developers.yubico.com/${PN}/Releases/${MY_P}.tar.gz.sig )"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||
IUSE="ssl"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/yubico.com.asc"
|
||||
|
||||
# app-crypt/ccid required for
|
||||
# - 'ykman oath'
|
||||
# - 'ykman openpgp'
|
||||
# - 'ykman piv'
|
||||
RDEPEND="
|
||||
app-crypt/ccid
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
<dev-python/cryptography-43[${PYTHON_USEDEP}]
|
||||
dev-python/fido2:0/1.0[${PYTHON_USEDEP}]
|
||||
dev-python/keyring[${PYTHON_USEDEP}]
|
||||
dev-python/pyscard[${PYTHON_USEDEP}]
|
||||
ssl? ( >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}] )"
|
||||
BDEPEND="
|
||||
test? ( dev-python/makefun[${PYTHON_USEDEP}] )
|
||||
verify-sig? ( >=sec-keys/openpgp-keys-yubico-20220824 )"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
doman man/ykman.1
|
||||
}
|
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
DIST ghostwriter-2.1.6.tar.gz 7757010 BLAKE2B a450093b1f072aeea7e6a6e27abbdb2c427387eb70b5ed2a5e49ea1f33fd9c4e4014742cc7905e644ab39838c488d9eddb79e0d3c87bde7ce6528cd810b02e15 SHA512 10ee557a07f468cc12391c2b5f77a6667aef76429b58bfdc03df32dd1cd8c44a61fe77da5318d5b23758ede40a5f8ab89cf4573a09708a6abc2d12ec5ceb71ad
|
||||
DIST ghostwriter-23.04.0.tar.xz 3071592 BLAKE2B 9a0bd09bd221d9e697434e04887589daaa2e4590ede94f835ae56b5c011f48c6337b6d013aebba23eb3bdd38632aabf1718ff8c5782277b8d60f5612e618cb3b SHA512 f97fb748a09a036e144cfbe58306e9e12da89ead96a841f8985f395a80bfde026c3b0a468407ed5d05da227304ce43a2cb0e9f31ab271fc0b5065a9812249781
|
||||
DIST ghostwriter-23.04.1.tar.xz 3072076 BLAKE2B 8cb0b0fb295d99b955d1997478756be72f4af20b03e206444a79cdb624b477f5acd095e11b96c4cbd28105edd790a6a1d125e38cdd88c25db06c8ae3dea2f166 SHA512 70be74472f8d0970206221182c244821f316151cd240f98d821438ba86b14a1edfbdd2d1fd8aeb0d41415f18e01db655c937c6e3e27f2aac49df11d47937c490
|
||||
|
@ -1,2 +1 @@
|
||||
DIST jedit5.4.0source.tar.bz2 2535992 BLAKE2B 1560f680437e89cea789f2b0540225b0cbf92bc22f975c6d1850a7b3aa06a2b95d61a254fd0d4c0e7da916ee9de3a095ab5190ae5df3ad27e55c2f0ccef57db2 SHA512 2120370c54f8bd415f90b979c42bfca6101f76ba33f0ec6a8172adeb33173ba9c73cbd7f06b5dc8c12aa3eedf51f007752cdbf0c7423d77a1ac591beb5493112
|
||||
DIST jedit5.6.0source.tar.bz2 2572329 BLAKE2B d9815feef6fb03cb4a15e7101383944776ca593884de6965aaa3e74a411f8915d0542ab62be8e4551e04dd410c1da4ebedfb8a2c2869d33eb205100d6bd84352 SHA512 89e65998ea49b5b3da4f1daad001d7cf763e196e7110b604e99e3fad038ca126cf108a471ee611ef76b5491b91d618f47cdc24b270cabccb6a80858a37720af7
|
||||
|
@ -1,116 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc test"
|
||||
inherit desktop java-pkg-2 java-ant-2 xdg-utils
|
||||
|
||||
DESCRIPTION="Programmer's editor written in Java"
|
||||
HOMEPAGE="http://www.jedit.org"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}${PV}source.tar.bz2"
|
||||
|
||||
LICENSE="BSD GPL-2"
|
||||
KEYWORDS="amd64 ppc64 x86"
|
||||
SLOT="0"
|
||||
|
||||
# Same failure with 5.4.0.ebuild:
|
||||
# See reports at /var/tmp/portage/app-editors/jedit-5.4.0/work/jEdit/build/test/reports/index.html
|
||||
# "Failure" "No tests found in org.jedit.io.Native2ASCIIEncodingTest"
|
||||
RESTRICT="test"
|
||||
|
||||
CP_DEPEND="dev-java/jsr305:0"
|
||||
|
||||
# Restricting to java 1.8 as it fails to compile with newer java versions, https://bugs.gentoo.org/828559
|
||||
#init:
|
||||
# [echo] Buildfile for jedit (/var/tmp/portage/app-editors/jedit-5.4.0/work/jEdit/build.xml)
|
||||
#Class org.apache.tools.ant.types.resources.selectors.Not loaded from parent loader (parentFirst)
|
||||
#Class org.apache.tools.ant.taskdefs.condition.Equals loaded from parent loader (parentFirst)
|
||||
# [fail] failing due to Java 1.8 is needed for jEdit to build, please install it and rerun (found Java version: '11')
|
||||
RDEPEND="
|
||||
${CP_DEPEND}
|
||||
virtual/jre:1.8"
|
||||
|
||||
DEPEND="
|
||||
${CP_DEPEND}
|
||||
virtual/jdk:1.8
|
||||
dev-java/ant-contrib:0
|
||||
dev-java/ant-apache-bsf:0
|
||||
dev-java/bsh:0
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
dev-java/hamcrest-library:1.3
|
||||
)"
|
||||
|
||||
S="${WORKDIR}/jEdit"
|
||||
|
||||
JEDIT_HOME="/usr/share/${PN}"
|
||||
|
||||
src_prepare() {
|
||||
mkdir -p lib/{ant-contrib,compile,default-plugins,scripting,test} || die
|
||||
|
||||
eapply "${FILESDIR}"/${P}-build-xml.patch
|
||||
|
||||
java-ant_xml-rewrite -f "${S}/build.xml" -c \
|
||||
-e javadoc \
|
||||
-a failonerror \
|
||||
-v no || die
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
|
||||
EANT_ANT_TASKS="ant-apache-bsf ant-contrib bsh"
|
||||
EANT_TEST_GENTOO_CLASSPATH="hamcrest-library-1.3"
|
||||
EANT_EXTRA_ARGS="-Divy.jar.present=true -Divy.done=true"
|
||||
EANT_BUILD_TARGET="build"
|
||||
# TODO could build more docs, ie generate-doc-faq generate-doc-news
|
||||
# generate-doc-users-guide ua.
|
||||
EANT_DOC_TARGET="generate-javadoc"
|
||||
# in fact needed only for docs, but shouldn't hurt
|
||||
EANT_NEEDS_TOOLS="true"
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir ${JEDIT_HOME}
|
||||
|
||||
cp -R build/${PN}.jar jars doc keymaps macros modes properties startup \
|
||||
"${D}${JEDIT_HOME}" || die
|
||||
|
||||
java-pkg_regjar "${JEDIT_HOME}/${PN}.jar"
|
||||
|
||||
java-pkg_dolauncher "${PN}" --main org.gjt.sp.jedit.jEdit
|
||||
|
||||
use doc && java-pkg_dojavadoc build/classes/javadoc/api
|
||||
|
||||
make_desktop_entry ${PN} \
|
||||
jEdit \
|
||||
${JEDIT_HOME}/doc/${PN}.png \
|
||||
"Development;Utility;TextEditor"
|
||||
|
||||
# keep the plugin directory
|
||||
keepdir ${JEDIT_HOME}/jars
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
elog "The system directory for jEdit plugins is"
|
||||
elog "${JEDIT_HOME}/jars"
|
||||
elog "If you get plugin related errors on startup, first try updating them."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]]; then
|
||||
xdg_desktop_database_update
|
||||
elog "jEdit plugins installed into /usr/share/jedit/jars"
|
||||
elog "(after installation of jEdit itself) haven't been"
|
||||
elog "removed. To get rid of jEdit completely, you may"
|
||||
elog "want to run"
|
||||
elog ""
|
||||
elog " rm -r ${JEDIT_HOME}"
|
||||
fi
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST nano-6.4.tar.xz 1593804 BLAKE2B b59ff7a741ce4c8b31afdbbfaf1d704cccbceddcd7f1421f30a6dd40495ec456ca891aeb9777c070c6cce4e9c594f83798ff0cdacdfe06e81b0aa0b700033da3 SHA512 cff2d9d90f1a23ab8905320e651f8bbc9d38046153a4f64bbc21927687d9628135915468b00b28f88a0eb7d395d1bcb0b9b7abcf367e5a46a5f3da01d8d6e72b
|
||||
DIST nano-7.1.tar.xz 1605272 BLAKE2B cc606a04b34e723da01326d617b50f79711d0b35034b3e75f410fa7e277ba3eddbb1a408a80255533d2fa953f23fee745979363d5621b63a79bd89b29d8d528e SHA512 e3226df636d3ae1d94e2907ce8bbdb8de69eb45afd02fb1c83e275a1dcc288081809041adbfdade35a580bcb9f9632d21a45d764b43d22b3e4cfd87c7757c4e0
|
||||
DIST nano-7.2.tar.xz 1608444 BLAKE2B c7e3b18383e9f2f9db1f6059c875ddd164d730ea0e5b363e66fb8e5f30e8598ba49a5afd8eea3a55e295f1e43fb136019f60cc9154ae276c5d589002c0e5298a SHA512 a6dfa70edab62e439a9a998ca214f2415d57dbdc01766ad2e4b14048836557a32755f8b09de13c6a89023f215b61d2854017b389eae8d097ca6f3ba73ce2f583
|
||||
|
@ -1,113 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/nano.git"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
MY_P="${PN}-${PV/_}"
|
||||
SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GNU GPL'd Pico clone with more functionality"
|
||||
HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
|
||||
|
||||
LICENSE="GPL-3+ LGPL-2.1+ || ( GPL-3+ FDL-1.2+ )"
|
||||
SLOT="0"
|
||||
IUSE="debug justify magic minimal ncurses nls +spell +split-usr static unicode"
|
||||
|
||||
LIB_DEPEND="
|
||||
>=sys-libs/ncurses-5.9-r1:=[unicode(+)?]
|
||||
sys-libs/ncurses:=[static-libs(+)]
|
||||
magic? ( sys-apps/file[static-libs(+)] )
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
"
|
||||
BDEPEND="
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
magic? ( !minimal )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
local myconfargs=(
|
||||
--bindir="${EPREFIX}"/bin
|
||||
--htmldir=/trash
|
||||
$(use_enable !minimal color)
|
||||
$(use_enable !minimal multibuffer)
|
||||
$(use_enable !minimal nanorc)
|
||||
$(use_enable magic libmagic)
|
||||
$(use_enable spell speller)
|
||||
$(use_enable justify)
|
||||
$(use_enable debug)
|
||||
$(use_enable nls)
|
||||
$(use_enable unicode utf8)
|
||||
$(use_enable minimal tiny)
|
||||
)
|
||||
|
||||
econf "${myconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Don't use "${ED}" here or things break (#654534)
|
||||
rm -r "${D}"/trash || die
|
||||
|
||||
dodoc doc/sample.nanorc
|
||||
docinto html
|
||||
dodoc doc/faq.html
|
||||
insinto /etc
|
||||
newins doc/sample.nanorc nanorc
|
||||
|
||||
if ! use minimal ; then
|
||||
# Enable colorization by default.
|
||||
sed -i \
|
||||
-e '/^# include /s:# *::' \
|
||||
"${ED}"/etc/nanorc || die
|
||||
|
||||
# Since nano-5.0 these are no longer being "enabled" by default
|
||||
# (bug #736848)
|
||||
local rcdir="/usr/share/nano"
|
||||
mv "${ED}"${rcdir}/extra/* "${ED}"/${rcdir}/ || die
|
||||
rmdir "${ED}"${rcdir}/extra || die
|
||||
|
||||
insinto "${rcdir}"
|
||||
newins "${FILESDIR}/gentoo.nanorc-r1" gentoo.nanorc
|
||||
fi
|
||||
|
||||
use split-usr && dosym ../../bin/nano /usr/bin/nano
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
[[ -n ${REPLACED_BY_VERSION} ]] && return
|
||||
|
||||
local e
|
||||
e=$(unset EDITOR; . "${EROOT}"/etc/profile &>/dev/null; echo "${EDITOR}")
|
||||
if [[ ${e##*/} == nano ]]; then
|
||||
ewarn "The EDITOR variable is still set to ${e}."
|
||||
ewarn "You can update it with \"eselect editor\"."
|
||||
fi
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/nano.git"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
MY_P="${PN}-${PV/_}"
|
||||
SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GNU GPL'd Pico clone with more functionality"
|
||||
HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
|
||||
|
||||
LICENSE="GPL-3+ LGPL-2.1+ || ( GPL-3+ FDL-1.2+ )"
|
||||
SLOT="0"
|
||||
IUSE="debug justify magic minimal ncurses nls +spell static unicode"
|
||||
|
||||
LIB_DEPEND="
|
||||
>=sys-libs/ncurses-5.9-r1:=[unicode(+)?]
|
||||
sys-libs/ncurses:=[static-libs(+)]
|
||||
magic? ( sys-apps/file[static-libs(+)] )
|
||||
nls? ( virtual/libintl )
|
||||
"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
static? ( ${LIB_DEPEND} )
|
||||
"
|
||||
BDEPEND="
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
magic? ( !minimal )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
|
||||
local myconfargs=(
|
||||
--bindir="${EPREFIX}"/bin
|
||||
--htmldir=/trash
|
||||
$(use_enable !minimal color)
|
||||
$(use_enable !minimal multibuffer)
|
||||
$(use_enable !minimal nanorc)
|
||||
$(use_enable magic libmagic)
|
||||
$(use_enable spell speller)
|
||||
$(use_enable justify)
|
||||
$(use_enable debug)
|
||||
$(use_enable nls)
|
||||
$(use_enable unicode utf8)
|
||||
$(use_enable minimal tiny)
|
||||
)
|
||||
|
||||
econf "${myconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Don't use "${ED}" here or things break (#654534)
|
||||
rm -r "${D}"/trash || die
|
||||
|
||||
dodoc doc/sample.nanorc
|
||||
docinto html
|
||||
dodoc doc/faq.html
|
||||
insinto /etc
|
||||
newins doc/sample.nanorc nanorc
|
||||
|
||||
if ! use minimal ; then
|
||||
# Enable colorization by default.
|
||||
sed -i \
|
||||
-e '/^# include /s:# *::' \
|
||||
"${ED}"/etc/nanorc || die
|
||||
|
||||
# Since nano-5.0 these are no longer being "enabled" by default
|
||||
# (bug #736848)
|
||||
local rcdir="/usr/share/nano"
|
||||
mv "${ED}"${rcdir}/extra/* "${ED}"/${rcdir}/ || die
|
||||
rmdir "${ED}"${rcdir}/extra || die
|
||||
|
||||
insinto "${rcdir}"
|
||||
newins "${FILESDIR}/gentoo.nanorc-r1" gentoo.nanorc
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
[[ -n ${REPLACED_BY_VERSION} ]] && return
|
||||
|
||||
local e
|
||||
e=$(unset EDITOR; . "${EROOT}"/etc/profile &>/dev/null; echo "${EDITOR}")
|
||||
if [[ ${e##*/} == nano ]]; then
|
||||
ewarn "The EDITOR variable is still set to ${e}."
|
||||
ewarn "You can update it with \"eselect editor\"."
|
||||
fi
|
||||
}
|
@ -1,9 +1,3 @@
|
||||
DIST vscode-1.77.3-amd64.tar.gz 124980454 BLAKE2B b8f92010c575edec2daf39af5bb2eb8ff43c9538a8ac6cd8ce2c6a66f461c5d0a3284b6dd0e540e7b8ef195652e7c5c2439a8c4ef8286a63d3fa24fa6c663c20 SHA512 9772ec50e6e8fb099f746e89b5b6fb3948699e92d1bb865f2de95317baa2dbad7ce30d61132585859dcd11699b52f91229cc2622b01492d1c63254964015727c
|
||||
DIST vscode-1.77.3-arm.tar.gz 112112804 BLAKE2B 53be5e0f8ec3d859b36626f98799f3cbc7270aef5f8770a69924a5a6121d28609592cd1c77e663715015128c9c4180f6555ab35ff896e76f9e913b2c308770ae SHA512 9160e0cdafa3f562a504e24f94c8b70100d79a776dd711b2ddcd700ded4428d7523a1f396d9377bf8ed7a4977a448a2ee98d77111afb13f69ae91f870cfd8ba6
|
||||
DIST vscode-1.77.3-arm64.tar.gz 121682734 BLAKE2B f9428cd9ebf921bee3797e4b3a816935e00a37f1cbe0ea128769b52f28e3b3fce4f758caefc6667eb0e2dd2702a6047ad337db91b82e16167860a265310ad5bc SHA512 b16f4d3a1d6c1c612520128fd422f339f0c2acd049fe82e3bebb903641ad17dfcbfffcba32b15bd9595d7ed622b69af343efb5e616ed94f991247ae17fcb38bc
|
||||
DIST vscode-1.78.0-amd64.tar.gz 134687218 BLAKE2B f29366cd55661fbdcdeeb5344ff55fa8924fcdd8bb9df77a83caded61dc51999b69effbfc758bde98a04e48c926a6671969d978fd98d5a5c706f54cafc8dbd6e SHA512 214b198f21b663b001667280627a99deca07409220565355eaf21d74ddf0524aec5ceff3cf7f97bf60e12657bd88a394ffcc5b9decb379b8e2323ff37b243b6e
|
||||
DIST vscode-1.78.0-arm.tar.gz 119254165 BLAKE2B 5ddf5372f1ef21e99463d742cb73f2d889f03f5feba6753ea11f5eb48f19772bcdb951a3f291cb6820bfb9892b4ea5c01a73854c202903685f28b28d088b752b SHA512 f1d03a494442e49d591c11f618abaa976e63c2ecb8927d8a45bcde37ee9e9380b2fa621754b4ece0efdf524aabaeedfa6442f476a06edce30a13aeba98d6901c
|
||||
DIST vscode-1.78.0-arm64.tar.gz 130765917 BLAKE2B 8ed333530481ed1067163a8e27bf619e47504429051408d581cdaec8095ba8648c0045f59d8907f5cfec1ac2cc51acdc6022cf97e57a98c68483e8f725f9c89d SHA512 dffe7761eb961e9d2584fb5ca42e56fdcff1dfed858a5a098309c7f9311d79949c9bbc00be94258d052e541b27be2e45b935f2b7a1afc498898e1bfde084e304
|
||||
DIST vscode-1.78.1-amd64.tar.gz 134680069 BLAKE2B a8e631e9fa6ad49dd0e116558240b60ae626f8f4b40849be5a2c67b129029bd581ef177e6ba4d93bf514779e2048e6ea22b3a4a3f6073fb71608931d17782e53 SHA512 af16eff2925c0e39b94ab61e18a6c37e9553cb77477a567db8a1545a6dce13b51ef7f428603cf518b1c733c2856d4050a47b00cc4a7bab614553c46e2546c37f
|
||||
DIST vscode-1.78.1-arm.tar.gz 119244941 BLAKE2B 9657a126e1666e6cb65043d84d182643c94ab61f587c6818fd7e0c7f9f7be773cb2206da5c62cf6dfc2fe5943ddd3fdff918cc31878e99cca8e3706713e9be9b SHA512 6f82501408c1db3339271e90e3ffb4ad604d92760c32311bd4f928f4be140a1a49d8c9033b9287e60a8dfadb41aba11c8f96041872802eb7f3dbbdbcec1dd6df
|
||||
DIST vscode-1.78.1-arm64.tar.gz 130770767 BLAKE2B 9b178f3bfcd88253e22a85787556922ab8f3673216dd90a346c7184f8673b81a8e05f59dff3c2307f673db1e47cbaa7cacd01abb7bf908d56c29f7f0f5868052 SHA512 43ecef29ddce595d0ae0f4913570947531cc7a2f5e489e24e3d82ffdf36498272d40e353c12159ae831513817194153ba9900e1d37f75c0414e45809e86b8219
|
||||
|
@ -1,126 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils xdg optfeature
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/util-linux
|
||||
sys-apps/dbus
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/vscode/bin/code-tunnel
|
||||
/opt/vscode/chrome_crashpad_handler
|
||||
/opt/vscode/chrome-sandbox
|
||||
/opt/vscode/code
|
||||
/opt/vscode/libEGL.so
|
||||
/opt/vscode/libffmpeg.so
|
||||
/opt/vscode/libGLESv2.so
|
||||
/opt/vscode/libvk_swiftshader.so
|
||||
/opt/vscode/libvulkan.so*
|
||||
/opt/vscode/resources/app/extensions/*
|
||||
/opt/vscode/resources/app/node_modules.asar.unpacked/*
|
||||
/opt/vscode/swiftshader/libEGL.so
|
||||
/opt/vscode/swiftshader/libGLESv2.so
|
||||
"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
|
||||
|
||||
# Disable update server
|
||||
sed -e "/updateUrl/d" -i ./resources/app/product.json || die
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
insinto "/opt/${PN}"
|
||||
doins -r *
|
||||
fperms +x /opt/${PN}/{,bin/}code
|
||||
fperms +x /opt/${PN}/chrome_crashpad_handler
|
||||
fperms 4711 /opt/${PN}/chrome-sandbox
|
||||
fperms 755 /opt/${PN}/resources/app/extensions/git/dist/{askpass,git-editor,ssh-askpass}{,-empty}.sh
|
||||
fperms -R +x /opt/${PN}/resources/app/out/vs/base/node
|
||||
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg
|
||||
fperms +x /opt/${PN}/resources/app/node_modules.asar.unpacked/node-pty/build/Release/spawn-helper
|
||||
dosym "../../opt/${PN}/bin/code" "usr/bin/vscode"
|
||||
dosym "../../opt/${PN}/bin/code" "usr/bin/code"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
domenu "${FILESDIR}/vscode-wayland.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler-wayland.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "keyring support inside vscode" "gnome-base/gnome-keyring"
|
||||
}
|
@ -1,122 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit desktop pax-utils xdg optfeature
|
||||
|
||||
DESCRIPTION="Multiplatform Visual Studio Code from Microsoft"
|
||||
HOMEPAGE="https://code.visualstudio.com"
|
||||
SRC_URI="
|
||||
amd64? ( https://update.code.visualstudio.com/${PV}/linux-x64/stable -> ${P}-amd64.tar.gz )
|
||||
arm? ( https://update.code.visualstudio.com/${PV}/linux-armhf/stable -> ${P}-arm.tar.gz )
|
||||
arm64? ( https://update.code.visualstudio.com/${PV}/linux-arm64/stable -> ${P}-arm64.tar.gz )
|
||||
"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RESTRICT="mirror strip bindist"
|
||||
|
||||
LICENSE="
|
||||
Apache-2.0
|
||||
BSD
|
||||
BSD-1
|
||||
BSD-2
|
||||
BSD-4
|
||||
CC-BY-4.0
|
||||
ISC
|
||||
LGPL-2.1+
|
||||
Microsoft-vscode
|
||||
MIT
|
||||
MPL-2.0
|
||||
openssl
|
||||
PYTHON
|
||||
TextMate-bundle
|
||||
Unlicense
|
||||
UoI-NCSA
|
||||
W3C
|
||||
"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* ~amd64 ~arm ~arm64"
|
||||
|
||||
RDEPEND="
|
||||
>=app-accessibility/at-spi2-core-2.46.0:2
|
||||
app-crypt/libsecret[crypt]
|
||||
dev-libs/expat
|
||||
dev-libs/glib:2
|
||||
dev-libs/nspr
|
||||
dev-libs/nss
|
||||
media-libs/alsa-lib
|
||||
media-libs/mesa
|
||||
net-print/cups
|
||||
sys-apps/util-linux
|
||||
sys-apps/dbus
|
||||
x11-libs/cairo
|
||||
x11-libs/gdk-pixbuf:2
|
||||
x11-libs/gtk+:3
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcomposite
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/libxkbfile
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libxshmfence
|
||||
x11-libs/pango
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
/opt/vscode/bin/code-tunnel
|
||||
/opt/vscode/chrome_crashpad_handler
|
||||
/opt/vscode/chrome-sandbox
|
||||
/opt/vscode/code
|
||||
/opt/vscode/libEGL.so
|
||||
/opt/vscode/libffmpeg.so
|
||||
/opt/vscode/libGLESv2.so
|
||||
/opt/vscode/libvk_swiftshader.so
|
||||
/opt/vscode/libvulkan.so*
|
||||
/opt/vscode/resources/app/extensions/*
|
||||
/opt/vscode/resources/app/node_modules.asar.unpacked/*
|
||||
/opt/vscode/swiftshader/libEGL.so
|
||||
/opt/vscode/swiftshader/libGLESv2.so
|
||||
"
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
cd "${WORKDIR}/VSCode-linux-x64" || die
|
||||
elif use arm; then
|
||||
cd "${WORKDIR}/VSCode-linux-armhf" || die
|
||||
elif use arm64; then
|
||||
cd "${WORKDIR}/VSCode-linux-arm64" || die
|
||||
else
|
||||
die "Visual Studio Code only supports amd64, arm and arm64"
|
||||
fi
|
||||
|
||||
# Cleanup
|
||||
rm -r ./resources/app/LICENSES.chromium.html ./resources/app/LICENSE.rtf ./resources/app/licenses || die
|
||||
|
||||
# Disable update server
|
||||
sed -e "/updateUrl/d" -i ./resources/app/product.json || die
|
||||
|
||||
# Install
|
||||
pax-mark m code
|
||||
mkdir -p "${ED}/opt/${PN}" || die
|
||||
cp -r . "${ED}/opt/${PN}" || die
|
||||
fperms 4711 /opt/${PN}/chrome-sandbox
|
||||
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/vscode"
|
||||
dosym -r "/opt/${PN}/bin/code" "usr/bin/code"
|
||||
dosym -r "/opt/${PN}/bin/code-tunnel" "usr/bin/code-tunnel"
|
||||
domenu "${FILESDIR}/vscode.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler.desktop"
|
||||
domenu "${FILESDIR}/vscode-wayland.desktop"
|
||||
domenu "${FILESDIR}/vscode-url-handler-wayland.desktop"
|
||||
newicon "resources/app/resources/linux/code.png" "vscode.png"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
optfeature "keyring support inside vscode" "gnome-base/gnome-keyring"
|
||||
}
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST burly-0.2.tar.gz 231242 BLAKE2B e50999727d654485c8265a163849f26867721f914c59b501ca8a4a42a1c12589adcd5d85b3d9ca5a383cf235962f7ca8dd8668abed1b3453b256100043875ebd SHA512 75dc26d1fae53a3ce238318e184396b2d67ce08f500c185d9fd526d6fb50c2ea3ba5a5d60789cd9b111f37336f66b1e014a19cda8bb387d6add1484cf6dd8548
|
@ -0,0 +1,39 @@
|
||||
# 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="Save and restore frames and windows with their buffers in Emacs"
|
||||
HOMEPAGE="https://github.com/alphapapa/burly.el"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/alphapapa/${PN}.el.git"
|
||||
else
|
||||
SRC_URI="https://github.com/alphapapa/${PN}.el/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}.el-${PV}
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
DOCS=( README.org )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_compile() {
|
||||
elisp_src_compile
|
||||
|
||||
elisp-make-autoload-file
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
doinfo ${PN}.info
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(load "burly-autoloads" nil t)
|
@ -1,3 +1 @@
|
||||
DIST dockerfile-mode-1.6.tar.gz 7795 BLAKE2B 3ba19ed2957d6d5bb1c8a43710bfda7c5681159820d313a19d03a00ba7982237ec09c4b1af5d6f304d4fcb9c228b7ff92ec0af1ae0efd4f2f18aedaf2a3a790a SHA512 64077ed231544bc737a5d7fd3bafd43f46861eb39e31908b90a50a6a7c4ea71f82239d7b4eb4cf2abb852da2a619c82aaeb236f7b0c537ff85b0ce4c1090a0de
|
||||
DIST dockerfile-mode-1.7.tar.gz 7880 BLAKE2B 72a4824ab2b89f516de7988d5ba3674e59e88b713c70ba585a4bbe517685b297b18ab34ff1a1066036f901725b4fb6b292286529935800a1366abb5e3649f900 SHA512 eb05e1f0ba0b9752f780106b94a939c3182512a1c9670b2e63c8d0c797b8e0eb979751868a3d337986568fa104302e09d7a1bae514cb2e210454d3dae419e58b
|
||||
DIST dockerfile-mode-1.8.tar.gz 7882 BLAKE2B 8db9ffadbc673ed37e04cd300834ceff3505b5addf3ea7432dcbfc221d392c63f7641ef80d1f464576963aadff9d038b2761c7dde72004fed5e0027519045d30 SHA512 8bae08037813730b93919135fe727a6506bfb0decdc385b22afe41d7f1df750d3f0cc508453faa7b0e90d347584f805acca54bbf7da6cae2cf3108ff1047fd58
|
||||
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="GNU Emacs mode for handling Dockerfiles"
|
||||
HOMEPAGE="https://github.com/spotify/dockerfile-mode/"
|
||||
SRC_URI="https://github.com/spotify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -1,17 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="GNU Emacs mode for handling Dockerfiles"
|
||||
HOMEPAGE="https://github.com/spotify/dockerfile-mode/"
|
||||
SRC_URI="https://github.com/spotify/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DOCS=( README.md )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -0,0 +1,21 @@
|
||||
--- a/c/Makefile.am
|
||||
+++ b/c/Makefile.am
|
||||
@@ -7,6 +7,6 @@ doxymacs_parser_SOURCES = doxymacs_parser.c
|
||||
|
||||
INCLUDES = $(XML_CPPFLAGS)
|
||||
|
||||
-AM_CFLAGS = -Wall -Werror -fexpensive-optimizations -fomit-frame-pointer
|
||||
+AM_CFLAGS = -Wall
|
||||
|
||||
doxymacs_parser_LDADD = $(XML_LIBS)
|
||||
--- a/c/Makefile.in
|
||||
+++ b/c/Makefile.in
|
||||
@@ -153,7 +153,7 @@ sysconfdir = @sysconfdir@
|
||||
target_alias = @target_alias@
|
||||
doxymacs_parser_SOURCES = doxymacs_parser.c
|
||||
INCLUDES = $(XML_CPPFLAGS)
|
||||
-AM_CFLAGS = -Wall -Werror -fexpensive-optimizations -fomit-frame-pointer
|
||||
+AM_CFLAGS = -Wall
|
||||
doxymacs_parser_LDADD = $(XML_LIBS)
|
||||
all: all-am
|
||||
|
@ -0,0 +1 @@
|
||||
DIST elpa-mirror-2.2.2.tar.gz 9225 BLAKE2B 2f72fdb33384fc3b38db8b3b404b018b7e01989a410f30e7872c19e6b3b3eb8873c07c1751f7367d237c8117bbe548407dd0af7b301d2837a87aeccd3e704f5a SHA512 2927b40ea6f7ea0c6de6abf3367bdb2826021b7a70206611430f19ed4538814777980ede10946a6e0da258677de146f860467a2f88093491e34dce4279575042
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Create local package repository from installed Emacs Lisp packages"
|
||||
HOMEPAGE="https://github.com/redguardtoo/elpa-mirror/"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/redguardtoo/${PN}.git"
|
||||
else
|
||||
SRC_URI="https://github.com/redguardtoo/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
# Tests require network access.
|
||||
PROPERTIES="test_network"
|
||||
RESTRICT="test"
|
||||
|
||||
DOCS=( README.org )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
emake EMACS="${EMACS}" test
|
||||
}
|
@ -0,0 +1,3 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
||||
(autoload 'elpamr-create-mirror-for-installed "elpa-mirror"
|
||||
"Export installed packages into a new directory." t)
|
@ -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>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/redguardtoo/elpa-mirror/issues/</bugs-to>
|
||||
<remote-id type="github">redguardtoo/elpa-mirror</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST elpher-3.4.2.tar.gz 58546 BLAKE2B 34f0984a5533fa3049d57867214eb5000c08ca459cdaad61e08b031a1e09343697c7beaf6c83724f2b64fca85975cb27d4be16724a5a7cfb76f99c3bb048e937 SHA512 080eb9812cbcf4e72ba33272461f628892d8abc940328e6e14d56ad2a7bafb3740d75fa07b2693b9937303f9d8427531ea3aa95c228cbf53741c32cfd5408c84
|
||||
DIST elpher-3.4.3.tar.gz 58909 BLAKE2B 340efe11888c737b3cc8c7b428d302542030236b61cd0f86cce56e289203ea61ed8cb0a5da24e334ff8621bf3a679828ef8053d234410375484ddd3b63928b39 SHA512 53a9bf80df7c66c7f7453a60daf1c08f88228d03954bb638e703ac516001625be134ae530dd078ebe646ad922593b9ffa20daf325b23d299c65329216bbab4b2
|
||||
DIST elpher-3.5.0.tar.gz 59890 BLAKE2B 403597de5181377dae8527d2df4b547a7bf1ed5499c10501b3c057575789a685cc454118b136ca3c3c172626aa686bf99c60f365365f29fef68091816d9f2a32 SHA512 464f9dab3a99e07222c36ab2831d39e7eb90d79892d6cf53386b7b0e22f9da7b8f96a88c87e76dd722ff6849ca4cec75293ebd9c142920e859ea0be9ccf371e8
|
||||
|
@ -0,0 +1,35 @@
|
||||
# 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="Practical and friendly Gopher and Gemini client for GNU Emacs"
|
||||
HOMEPAGE="https://thelambdalab.xyz/elpher/"
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://thelambdalab.xyz/${PN}.git"
|
||||
else
|
||||
if [[ ${PV} == 3.5.0 ]] ; then
|
||||
COMMIT=81f2883
|
||||
SRC_URI="https://thelambdalab.xyz/gitweb/index.cgi?p=${PN}.git;a=snapshot;h=${COMMIT};sf=tgz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${COMMIT}
|
||||
else
|
||||
die "could not generate SRC_URI"
|
||||
fi
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
ELISP_REMOVE="elpher-pkg.el"
|
||||
|
||||
DOCS=( ISSUES.org README )
|
||||
ELISP_TEXINFO="${PN}.texi"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
@ -0,0 +1 @@
|
||||
DIST plz-0.5.4.tar.gz 101382 BLAKE2B cba7089ed3f6c6d616d6d8b506e9779c1fdc56b8c048010cb2e61f03d83669aa3475314936c9fc4b02d473484268a303495605e785840644bc3b9b92f50be090 SHA512 3a64a49efcf32191099abcd5dd5955b02ce3afa98ec3ecd79d4bfaadf52bc4a5602fda3aca4482e77e465e5d071400ae8200cf900e4f0ed931e93e1458303fa1
|
@ -0,0 +1 @@
|
||||
(add-to-list 'load-path "@SITELISP@")
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue