parent
c2d33fd79b
commit
a0b4903ca3
Binary file not shown.
Binary file not shown.
@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<!-- maintainer-needed -->
|
||||||
<email>chainsaw@gentoo.org</email>
|
|
||||||
<name>Tony Vroon</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<!-- maintainer-needed -->
|
||||||
<email>chainsaw@gentoo.org</email>
|
|
||||||
<name>Tony Vroon</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST ansible-lint-4.0.1.tar.gz 2909257 BLAKE2B c030b6fc58eaeeec42e40dd5bc46e5181916433b905bfc4a82382bf6bba8536d2639172aab0e2928ce1dd5489f322e19ab1c0ea5abb637562616addb9733e81a SHA512 a2f3bd44287a2c72f79c5fbb4c02446484cf764d386d403694325bce172e2b195dd4812e0f89e5f4e1930db124e2b383e4f067bed5d4858c354c0ae0b3fb03e4
|
|
||||||
DIST ansible-lint-4.1.0.tar.gz 2911091 BLAKE2B b6e414dbdeebcc1cae900736829abf2db0930e5e05ae7c2bbd6d30a89b6ac28485ddfb63528bdc3baae6ef97ae7536507632d43b16f9a16dd86887d781940aeb SHA512 c1d07093d68bf5f43c20c3a999adf26d23ba587d5008a35069dcbab514b208737f5d0ecaf032e43d313233ea06193db81b349d5fb62f3ac684af9e51d8bc6e08
|
|
||||||
DIST ansible-lint-5.0.2.tar.gz 331359 BLAKE2B e86a1bce18d3a04fa4d895e9f8650f6853d706588bcfa564ee8245a63a6779cc00737351807d0bc3fdd624c348275afda15d3834faa2efd01b2383115864f7a6 SHA512 760da7574db68d351a4a834d7963840ebe61c72df62db220f2c3e894f0906a193783821823621f64eb7d2f16f6f226f748ff03f068beb14fa43ca009ab0df539
|
DIST ansible-lint-5.0.2.tar.gz 331359 BLAKE2B e86a1bce18d3a04fa4d895e9f8650f6853d706588bcfa564ee8245a63a6779cc00737351807d0bc3fdd624c348275afda15d3834faa2efd01b2383115864f7a6 SHA512 760da7574db68d351a4a834d7963840ebe61c72df62db220f2c3e894f0906a193783821823621f64eb7d2f16f6f226f748ff03f068beb14fa43ca009ab0df539
|
||||||
|
@ -1,37 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
|
|
||||||
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/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
CDEPEND="app-admin/ansible[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/six[${PYTHON_USEDEP}]"
|
|
||||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools-git[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/flake8[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/wheel[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
${CDEPEND}"
|
|
||||||
RDEPEND="${CDEPEND}"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests || die
|
|
||||||
}
|
|
@ -1,39 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Checks ansible playbooks for practices and behaviour that can be improved"
|
|
||||||
HOMEPAGE="https://github.com/ansible-community/ansible-lint"
|
|
||||||
SRC_URI="https://github.com/ansible-community/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
PATCHES="${FILESDIR}/${P}-specifierset-split-setuptools.patch"
|
|
||||||
|
|
||||||
CDEPEND="app-admin/ansible[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/six[${PYTHON_USEDEP}]"
|
|
||||||
DEPEND="dev-python/ruamel-yaml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/flake8[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/wheel[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
${CDEPEND}"
|
|
||||||
RDEPEND="${CDEPEND}"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests || die
|
|
||||||
}
|
|
@ -1,175 +0,0 @@
|
|||||||
From c91d23b2f82b4efb540168132842b243eb2d8b0d Mon Sep 17 00:00:00 2001
|
|
||||||
From: Sviatoslav Sydorenko <wk@sydorenko.org.ua>
|
|
||||||
Date: Thu, 24 Oct 2019 01:38:35 +0200
|
|
||||||
Subject: [PATCH] Drop support for setuptools older than 34.4.0
|
|
||||||
|
|
||||||
Resolves #599
|
|
||||||
---
|
|
||||||
setup.py | 141 +++++--------------------------------------------------
|
|
||||||
1 file changed, 13 insertions(+), 128 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/setup.py b/setup.py
|
|
||||||
index 25cc9e80d09e4657b56c4c4ed68d9411b7d7eae9..ff4c5bd65a7f5786c5af32750fb83dd3f6d92cec 100644
|
|
||||||
--- a/setup.py
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -1,138 +1,16 @@
|
|
||||||
#! /usr/bin/env python
|
|
||||||
"""Ansible-lint distribution package setuptools installer."""
|
|
||||||
|
|
||||||
-import setuptools
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-try:
|
|
||||||
- from setuptools.config import read_configuration, ConfigOptionsHandler
|
|
||||||
- import setuptools.config
|
|
||||||
- import setuptools.dist
|
|
||||||
-
|
|
||||||
- # Set default value for 'use_scm_version'
|
|
||||||
- setattr(setuptools.dist.Distribution, 'use_scm_version', False)
|
|
||||||
-
|
|
||||||
- # Attach bool parser to 'use_scm_version' option
|
|
||||||
- class ShimConfigOptionsHandler(ConfigOptionsHandler):
|
|
||||||
- """Extension class for ConfigOptionsHandler."""
|
|
||||||
-
|
|
||||||
- @property
|
|
||||||
- def parsers(self):
|
|
||||||
- """Return an option mapping with default data type parsers."""
|
|
||||||
- _orig_parsers = super(ShimConfigOptionsHandler, self).parsers
|
|
||||||
- return dict(use_scm_version=self._parse_bool, **_orig_parsers)
|
|
||||||
-
|
|
||||||
- setuptools.config.ConfigOptionsHandler = ShimConfigOptionsHandler
|
|
||||||
-except ImportError:
|
|
||||||
- """This is a shim for setuptools<30.3."""
|
|
||||||
- import io
|
|
||||||
- import json
|
|
||||||
-
|
|
||||||
- try:
|
|
||||||
- from configparser import ConfigParser, NoSectionError
|
|
||||||
- except ImportError:
|
|
||||||
- from ConfigParser import ConfigParser, NoSectionError
|
|
||||||
- ConfigParser.read_file = ConfigParser.readfp
|
|
||||||
-
|
|
||||||
- def maybe_read_files(d):
|
|
||||||
- """Read files if the string starts with `file:` marker."""
|
|
||||||
- d = d.strip()
|
|
||||||
- if not d.startswith('file:'):
|
|
||||||
- return d
|
|
||||||
- descs = []
|
|
||||||
- for fname in map(str.strip, str(d[5:]).split(',')):
|
|
||||||
- with io.open(fname, encoding='utf-8') as f:
|
|
||||||
- descs.append(f.read())
|
|
||||||
- return ''.join(descs)
|
|
||||||
-
|
|
||||||
- def cfg_val_to_list(v):
|
|
||||||
- """Turn config val to list and filter out empty lines."""
|
|
||||||
- return list(filter(bool, map(str.strip, str(v).strip().splitlines())))
|
|
||||||
|
|
||||||
- def cfg_val_to_dict(v):
|
|
||||||
- """Turn config val to dict and filter out empty lines."""
|
|
||||||
- return dict(
|
|
||||||
- map(lambda l: list(map(str.strip, l.split('=', 1))),
|
|
||||||
- filter(bool, map(str.strip, str(v).strip().splitlines())))
|
|
||||||
- )
|
|
||||||
+__requires__ = ('setuptools >= 34.4', )
|
|
||||||
|
|
||||||
- def cfg_val_to_primitive(v):
|
|
||||||
- """Parse primitive config val to appropriate data type."""
|
|
||||||
- return json.loads(v.strip().lower())
|
|
||||||
|
|
||||||
- def read_configuration(filepath):
|
|
||||||
- """Read metadata and options from setup.cfg located at filepath."""
|
|
||||||
- cfg = ConfigParser()
|
|
||||||
- with io.open(filepath, encoding='utf-8') as f:
|
|
||||||
- cfg.read_file(f)
|
|
||||||
-
|
|
||||||
- md = dict(cfg.items('metadata'))
|
|
||||||
- for list_key in 'classifiers', 'keywords':
|
|
||||||
- try:
|
|
||||||
- md[list_key] = cfg_val_to_list(md[list_key])
|
|
||||||
- except KeyError:
|
|
||||||
- pass
|
|
||||||
- try:
|
|
||||||
- md['long_description'] = maybe_read_files(md['long_description'])
|
|
||||||
- except KeyError:
|
|
||||||
- pass
|
|
||||||
- opt = dict(cfg.items('options'))
|
|
||||||
- for list_key in 'use_scm_version', 'zip_safe':
|
|
||||||
- try:
|
|
||||||
- opt[list_key] = cfg_val_to_primitive(opt[list_key])
|
|
||||||
- except KeyError:
|
|
||||||
- pass
|
|
||||||
- for list_key in 'scripts', 'install_requires', 'setup_requires':
|
|
||||||
- try:
|
|
||||||
- opt[list_key] = cfg_val_to_list(opt[list_key])
|
|
||||||
- except KeyError:
|
|
||||||
- pass
|
|
||||||
- try:
|
|
||||||
- opt['package_dir'] = cfg_val_to_dict(opt['package_dir'])
|
|
||||||
- except KeyError:
|
|
||||||
- pass
|
|
||||||
- try:
|
|
||||||
- opt_package_data = dict(cfg.items('options.package_data'))
|
|
||||||
- if not opt_package_data.get('', '').strip():
|
|
||||||
- opt_package_data[''] = opt_package_data['*']
|
|
||||||
- del opt_package_data['*']
|
|
||||||
- except (KeyError, NoSectionError):
|
|
||||||
- opt_package_data = {}
|
|
||||||
- try:
|
|
||||||
- opt_extras_require = dict(cfg.items('options.extras_require'))
|
|
||||||
- opt['extras_require'] = {}
|
|
||||||
- for k, v in opt_extras_require.items():
|
|
||||||
- opt['extras_require'][k] = cfg_val_to_list(v)
|
|
||||||
- except NoSectionError:
|
|
||||||
- pass
|
|
||||||
- opt['package_data'] = {}
|
|
||||||
- for k, v in opt_package_data.items():
|
|
||||||
- opt['package_data'][k] = cfg_val_to_list(v)
|
|
||||||
- cur_pkgs = opt.get('packages', '').strip()
|
|
||||||
- if '\n' in cur_pkgs:
|
|
||||||
- opt['packages'] = cfg_val_to_list(opt['packages'])
|
|
||||||
- elif cur_pkgs.startswith('find:'):
|
|
||||||
- opt_packages_find = dict(cfg.items('options.packages.find'))
|
|
||||||
- opt['packages'] = setuptools.find_packages(**opt_packages_find)
|
|
||||||
- return {'metadata': md, 'options': opt}
|
|
||||||
-
|
|
||||||
-
|
|
||||||
-setup_params = {}
|
|
||||||
-declarative_setup_params = read_configuration('setup.cfg')
|
|
||||||
-
|
|
||||||
-# Patch incorrectly decoded package_dir option
|
|
||||||
-# ``egg_info`` demands native strings failing with unicode under Python 2
|
|
||||||
-# Ref https://github.com/pypa/setuptools/issues/1136
|
|
||||||
-declarative_setup_params['options']['package_dir'] = {
|
|
||||||
- str(k): str(v)
|
|
||||||
- for k, v in declarative_setup_params['options']['package_dir'].items()
|
|
||||||
-}
|
|
||||||
-
|
|
||||||
-setup_params = dict(setup_params, **declarative_setup_params['metadata'])
|
|
||||||
-setup_params = dict(setup_params, **declarative_setup_params['options'])
|
|
||||||
+import setuptools
|
|
||||||
+from setuptools.config import read_configuration
|
|
||||||
|
|
||||||
|
|
||||||
def cut_local_version_on_upload(version):
|
|
||||||
+ """Generate a PEP440 local version if uploading to PyPI."""
|
|
||||||
import os
|
|
||||||
import setuptools_scm.version # only present during setup time
|
|
||||||
IS_PYPI_UPLOAD = os.getenv('PYPI_UPLOAD') == 'true'
|
|
||||||
@@ -142,8 +20,15 @@ def cut_local_version_on_upload(version):
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
-setup_params['use_scm_version'] = {
|
|
||||||
- 'local_scheme': cut_local_version_on_upload,
|
|
||||||
+# This is needed because even new
|
|
||||||
+# setuptools don't parse
|
|
||||||
+# `setup_requires` from `setup.cfg`:
|
|
||||||
+declarative_setup_params = read_configuration('setup.cfg')
|
|
||||||
+setup_params = {
|
|
||||||
+ 'setup_requires': declarative_setup_params['options']['setup_requires'],
|
|
||||||
+ 'use_scm_version': {
|
|
||||||
+ 'local_scheme': cut_local_version_on_upload,
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
@ -1,3 +1 @@
|
|||||||
DIST glance-20.0.0.tar.gz 1961501 BLAKE2B 81ecbf1dccb1b7cbc33481825cd1de65556e9950ea8fca71565380df27c5ca967b001f811bede483b8b0e05ddf01dcb39ef4474d29d10e530d8b3cd0218dae32 SHA512 37497c5705040f3f667e0352fb620731feac91a729d77e5049feea6f4fef73cc58ef84bc6c12e84773c5013aa24a06fff8d9a56f079c716357c84823fa5690b1
|
|
||||||
DIST glance-20.0.1.tar.gz 1959665 BLAKE2B 8d51a9e46361b2b4a1fd1642e14a6fb8bd2bc4eade58279b90eb676f49d7ac649897faf837852cdac318eab87b6daa396008c5f98c2f5aac2e2425e975014eec SHA512 19ee3313f465ff0c010389d72050ec72a4ec4dcaa075b1b0db2c7e591a9f598d9a552cc7f89b1c2bed6b2b83883783ae306fff429177d7d728c7b0a70481233d
|
|
||||||
DIST glance-21.0.0.tar.gz 2032938 BLAKE2B 9da6353d95768c8f241e8ea42def5a7a457d88ddf92c4f881649f196a57ef232ddabcf4f6816256fbd1fcb21b6e7b46811c3bf7c9b9c587fc902d008cbaf525d SHA512 83d49f96a82de0093fe3991f5138febc403964f5af1012de6e63395b82a368e08b2b7d142a889244c4261d1d019336e69050e9149d40b88e1c175f7a561e4f5d
|
DIST glance-21.0.0.tar.gz 2032938 BLAKE2B 9da6353d95768c8f241e8ea42def5a7a457d88ddf92c4f881649f196a57ef232ddabcf4f6816256fbd1fcb21b6e7b46811c3bf7c9b9c587fc902d008cbaf525d SHA512 83d49f96a82de0093fe3991f5138febc403964f5af1012de6e63395b82a368e08b2b7d142a889244c4261d1d019336e69050e9149d40b88e1c175f7a561e4f5d
|
||||||
|
@ -1,143 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Services for discovering, registering, and retrieving VM images"
|
|
||||||
HOMEPAGE="https://launchpad.net/glance"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999 ]];then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/openstack/glance.git"
|
|
||||||
EGIT_BRANCH="stable/ussuri"
|
|
||||||
else
|
|
||||||
SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~arm64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="doc mysql postgres +sqlite +swift"
|
|
||||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
|
||||||
|
|
||||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/pbr-2.1.0"
|
|
||||||
DEPEND="${CDEPEND}"
|
|
||||||
|
|
||||||
#note to self, wsgiref is a python builtin, no need to package it
|
|
||||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
>=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}]
|
|
||||||
sqlite? (
|
|
||||||
>=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
mysql? (
|
|
||||||
>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
postgres? (
|
|
||||||
>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
>=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/eventlet-0.25.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/webob-1.8.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/alembic-0.8.10[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/futurist-1.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/taskflow-2.16.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/WSME-0.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/prettytable-0.7.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/prettytable-0.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/oslo-messaging-9.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-policy-2.4.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/retrying-1.2.3[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/retrying-1.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/glance_store-1.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cryptography-2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cursive-0.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/os-win-3.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/castellan-0.17.0[${PYTHON_USEDEP}]
|
|
||||||
acct-user/glance
|
|
||||||
acct-group/glance
|
|
||||||
"
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
sed -i '/xattr/d' test-requirements.txt || die
|
|
||||||
sed -i '/pysendfile/d' test-requirements.txt || die
|
|
||||||
sed -i '/^hacking/d' test-requirements.txt || die
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
if [ ! -z ${EGIT_BRANCH+x} ]; then
|
|
||||||
use doc && "${PYTHON}" setup.py build_sphinx
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/glance.initd" glance-api
|
|
||||||
|
|
||||||
diropts -m 0750 -o glance -g glance
|
|
||||||
dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
|
||||||
keepdir /etc/glance
|
|
||||||
keepdir /var/log/glance
|
|
||||||
keepdir /var/lib/glance/images
|
|
||||||
keepdir /var/lib/glance/scrubber
|
|
||||||
|
|
||||||
insinto /etc/glance
|
|
||||||
insopts -m 0640 -o glance -g glance
|
|
||||||
doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta*
|
|
||||||
|
|
||||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
rm -r "${ED}"/usr/etc
|
|
||||||
}
|
|
@ -1,136 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Services for discovering, registering, and retrieving VM images"
|
|
||||||
HOMEPAGE="https://launchpad.net/glance"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999 ]];then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/openstack/glance.git"
|
|
||||||
EGIT_BRANCH="stable/ussuri"
|
|
||||||
else
|
|
||||||
SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~arm64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="mysql postgres +sqlite +swift"
|
|
||||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
|
||||||
|
|
||||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/pbr-2.1.0"
|
|
||||||
DEPEND="${CDEPEND}"
|
|
||||||
|
|
||||||
#note to self, wsgiref is a python builtin, no need to package it
|
|
||||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
>=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}]
|
|
||||||
sqlite? (
|
|
||||||
>=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
mysql? (
|
|
||||||
>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
postgres? (
|
|
||||||
>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
>=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/eventlet-0.25.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/webob-1.8.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/alembic-0.8.10[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/futurist-1.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/taskflow-2.16.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/WSME-0.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/prettytable-0.7.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/prettytable-0.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/oslo-messaging-9.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-policy-2.4.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/retrying-1.2.3[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/retrying-1.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/glance_store-1.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cryptography-2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cursive-0.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/os-win-3.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/castellan-0.17.0[${PYTHON_USEDEP}]
|
|
||||||
acct-user/glance
|
|
||||||
acct-group/glance
|
|
||||||
"
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
sed -i '/xattr/d' test-requirements.txt || die
|
|
||||||
sed -i '/pysendfile/d' test-requirements.txt || die
|
|
||||||
sed -i '/^hacking/d' test-requirements.txt || die
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/glance.initd" glance-api
|
|
||||||
|
|
||||||
diropts -m 0750 -o glance -g glance
|
|
||||||
dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
|
||||||
keepdir /etc/glance
|
|
||||||
keepdir /var/log/glance
|
|
||||||
keepdir /var/lib/glance/images
|
|
||||||
keepdir /var/lib/glance/scrubber
|
|
||||||
|
|
||||||
insinto /etc/glance
|
|
||||||
insopts -m 0640 -o glance -g glance
|
|
||||||
doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta*
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
rm -r "${ED}"/usr/etc
|
|
||||||
}
|
|
@ -1,143 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Services for discovering, registering, and retrieving VM images"
|
|
||||||
HOMEPAGE="https://launchpad.net/glance"
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999 ]];then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/openstack/glance.git"
|
|
||||||
EGIT_BRANCH="stable/ussuri"
|
|
||||||
else
|
|
||||||
SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="doc mysql postgres +sqlite +swift"
|
|
||||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
|
||||||
|
|
||||||
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/pbr-2.1.0"
|
|
||||||
DEPEND="${CDEPEND}"
|
|
||||||
|
|
||||||
#note to self, wsgiref is a python builtin, no need to package it
|
|
||||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
>=dev-python/defusedxml-0.5.0[${PYTHON_USEDEP}]
|
|
||||||
sqlite? (
|
|
||||||
>=dev-python/sqlalchemy-1.0.10[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.5[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.6[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.7[sqlite,${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.8[sqlite,${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
mysql? (
|
|
||||||
>=dev-python/pymysql-0.7.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/pymysql-0.7.7[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
postgres? (
|
|
||||||
>=dev-python/psycopg-2.5.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlalchemy-1.0.10[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.5[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.6[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.7[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/sqlalchemy-1.1.8[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
>=dev-python/eventlet-0.22.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/eventlet-0.23.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/eventlet-0.25.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/routes-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/webob-1.8.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlalchemy-migrate-0.11.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlparse-0.2.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/alembic-0.8.10[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/httplib2-0.9.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-upgradecheck-0.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/futurist-1.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/taskflow-2.16.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/keystonemiddleware-4.17.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/WSME-0.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/prettytable-0.7.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/prettytable-0.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/paste-2.0.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jsonschema-2.6.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-db-4.27.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/oslo-messaging-9.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-middleware-3.31.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-reports-1.18.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oslo-policy-2.4.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/retrying-1.2.3[${PYTHON_USEDEP}]
|
|
||||||
!~dev-python/retrying-1.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/glance_store-1.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cryptography-2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cursive-0.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/os-win-3.0.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/castellan-0.17.0[${PYTHON_USEDEP}]
|
|
||||||
acct-user/glance
|
|
||||||
acct-group/glance
|
|
||||||
"
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
sed -i '/xattr/d' test-requirements.txt || die
|
|
||||||
sed -i '/pysendfile/d' test-requirements.txt || die
|
|
||||||
sed -i '/^hacking/d' test-requirements.txt || die
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
if [ ! -z ${EGIT_BRANCH+x} ]; then
|
|
||||||
use doc && "${PYTHON}" setup.py build_sphinx
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}/glance.initd" glance-api
|
|
||||||
|
|
||||||
diropts -m 0750 -o glance -g glance
|
|
||||||
dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
|
||||||
keepdir /etc/glance
|
|
||||||
keepdir /var/log/glance
|
|
||||||
keepdir /var/lib/glance/images
|
|
||||||
keepdir /var/lib/glance/scrubber
|
|
||||||
|
|
||||||
insinto /etc/glance
|
|
||||||
insopts -m 0640 -o glance -g glance
|
|
||||||
doins -r etc/*.ini etc/*.conf etc/*.sample etc/*.json etc/meta*
|
|
||||||
|
|
||||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
rm -r "${ED}"/usr/etc
|
|
||||||
}
|
|
@ -1,8 +1,6 @@
|
|||||||
DIST logstash-6.8.15.tar.gz 176912362 BLAKE2B 68178b2cbf0ad3ecafc83fddf4c50ef767862fbb90ba7a0dd0527de4f8d3bddc485a99a7e774c6d0efd5b3eb4bf701be042cfc58dcb546c7436db39ff4594841 SHA512 bb42b1284f6ca8d4b10cac96b57cae0f28a33047164f9f9a352ed906a960e11fea3d9c58b23cdd607e0d76eee7aa07fbb6ce8870323e3cc6cba472578d99fb01
|
DIST logstash-6.8.15.tar.gz 176912362 BLAKE2B 68178b2cbf0ad3ecafc83fddf4c50ef767862fbb90ba7a0dd0527de4f8d3bddc485a99a7e774c6d0efd5b3eb4bf701be042cfc58dcb546c7436db39ff4594841 SHA512 bb42b1284f6ca8d4b10cac96b57cae0f28a33047164f9f9a352ed906a960e11fea3d9c58b23cdd607e0d76eee7aa07fbb6ce8870323e3cc6cba472578d99fb01
|
||||||
DIST logstash-7.10.2-linux-x86_64.tar.gz 351170815 BLAKE2B 536a33de4be4bd1b6dfccf7d4cedc064b0f0b9c0569545d195244cf14f38d9c83159439d7710a76fdc4e4394b5f7d5a1919460c1c03186b4fc7f054744a46016 SHA512 34099b34a05c6b85b1b355310bd190b606aa0bcce1cad07bf5fd98959e54f61860bdd697cca8f3cdab2d2b815bbc2a788d2e14dcac4b3d85a0d5bafd72d2b170
|
|
||||||
DIST logstash-7.12.0-linux-x86_64.tar.gz 368429061 BLAKE2B 7bf60eeeec072e99aec807c8cb64cfd5cd46270d297c717fee539531286f487ef254738a439947e40bfc039778d20fa746566aa4d0c031a8f1a22deaaab9ce74 SHA512 ba32cb97e81cc3f4369c752b860aea7a85d212921954e5829f0b63526584d01c79731dd094905d91ed35f9887ae70bfffd5324b25dc3f23e60745462493e8195
|
DIST logstash-7.12.0-linux-x86_64.tar.gz 368429061 BLAKE2B 7bf60eeeec072e99aec807c8cb64cfd5cd46270d297c717fee539531286f487ef254738a439947e40bfc039778d20fa746566aa4d0c031a8f1a22deaaab9ce74 SHA512 ba32cb97e81cc3f4369c752b860aea7a85d212921954e5829f0b63526584d01c79731dd094905d91ed35f9887ae70bfffd5324b25dc3f23e60745462493e8195
|
||||||
DIST logstash-7.12.1-linux-x86_64.tar.gz 368465800 BLAKE2B eea395286408de50cf61b2a69f6a673f81c4021370eab9b04fb1a9ad993a5b625145d6710e5045f9572a6a923455fe8613c2262bd488f6e76d467850b1bfa5c5 SHA512 9ef32dbeb4269d904a775a1cf5833b09cc5b8b71c03f953641fd5de5c27ba51ec878d9e74cdd98255d37fcd39d592deea72832bdce26cbb2827db4ae3b294834
|
DIST logstash-7.12.1-linux-x86_64.tar.gz 368465800 BLAKE2B eea395286408de50cf61b2a69f6a673f81c4021370eab9b04fb1a9ad993a5b625145d6710e5045f9572a6a923455fe8613c2262bd488f6e76d467850b1bfa5c5 SHA512 9ef32dbeb4269d904a775a1cf5833b09cc5b8b71c03f953641fd5de5c27ba51ec878d9e74cdd98255d37fcd39d592deea72832bdce26cbb2827db4ae3b294834
|
||||||
DIST logstash-oss-6.8.15.tar.gz 176782145 BLAKE2B 20cdd28d9c6e43edb3cc6d60b961155880aaf2e22d100b6641246a56194ba87aef3c41e039be2ab6bca75e646b83a3f42c935472776aa87a4baa774cca74458d SHA512 c74f189af58ca936b3d3e19970f29a78b8f041f5771163c5ed28466e84cf456f4814a9f4c5a9def2706c39daaebaca948c14e683a6aa82b2e1c1e7ee57592dc2
|
DIST logstash-oss-6.8.15.tar.gz 176782145 BLAKE2B 20cdd28d9c6e43edb3cc6d60b961155880aaf2e22d100b6641246a56194ba87aef3c41e039be2ab6bca75e646b83a3f42c935472776aa87a4baa774cca74458d SHA512 c74f189af58ca936b3d3e19970f29a78b8f041f5771163c5ed28466e84cf456f4814a9f4c5a9def2706c39daaebaca948c14e683a6aa82b2e1c1e7ee57592dc2
|
||||||
DIST logstash-oss-7.10.2-linux-x86_64.tar.gz 350992238 BLAKE2B f31207af62b6ff36af4be6fae9c6ede18a481317d28ba2ee6469cd095acba9b41ad4d7598756a51a078bf3d4269ae2f11750e4117842e496811a79825f284aef SHA512 5425483a7d3ec5ba186574940031a529efa683f452f5e3e38ffd9bd07771beabdd5c54a8147ed42fe761b700ea5c294018f1efb22fa6fdcf23189f2aea314b5b
|
|
||||||
DIST logstash-oss-7.12.0-linux-x86_64.tar.gz 368251521 BLAKE2B 0959b29335dba2728d2e7a76ee482fb713f9d504a52bea1dcde99f042cfd52d9e18067cb3fffe6ca28b2eddddfd4ded1a19de616f4ddd3b6889e373a908706a0 SHA512 5d7bd5ec3ea5907771bb7590277e54be3407cebe6bc89dd7f5d73b02e9e8907855d19500787b21c8ffcff9cdbbb68a4bbb286131d03ce5585ec89e5c2a76dc60
|
DIST logstash-oss-7.12.0-linux-x86_64.tar.gz 368251521 BLAKE2B 0959b29335dba2728d2e7a76ee482fb713f9d504a52bea1dcde99f042cfd52d9e18067cb3fffe6ca28b2eddddfd4ded1a19de616f4ddd3b6889e373a908706a0 SHA512 5d7bd5ec3ea5907771bb7590277e54be3407cebe6bc89dd7f5d73b02e9e8907855d19500787b21c8ffcff9cdbbb68a4bbb286131d03ce5585ec89e5c2a76dc60
|
||||||
DIST logstash-oss-7.12.1-linux-x86_64.tar.gz 368287628 BLAKE2B 72e758e6962cc5a24c2a5f6ea4c268be1bc0b5a0ae1d73cb056d0d321b20495df346233e58661f11a37fc5e6c0750f28501af24511a7a29c2e698ce933c7380f SHA512 cefdfdaf2f1d0190d35bc5da2244a5bc09659e9f225cfd05acbdacd0f5f89cc13b928704491d18ac0d54c3500f8c15dc7ca64341bf0d7ed56a49c10eb82a55d4
|
DIST logstash-oss-7.12.1-linux-x86_64.tar.gz 368287628 BLAKE2B 72e758e6962cc5a24c2a5f6ea4c268be1bc0b5a0ae1d73cb056d0d321b20495df346233e58661f11a37fc5e6c0750f28501af24511a7a29c2e698ce933c7380f SHA512 cefdfdaf2f1d0190d35bc5da2244a5bc09659e9f225cfd05acbdacd0f5f89cc13b928704491d18ac0d54c3500f8c15dc7ca64341bf0d7ed56a49c10eb82a55d4
|
||||||
|
@ -1,88 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit java-pkg-2
|
|
||||||
|
|
||||||
MY_PN="${PN%-bin}"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="Tool for managing events and logs"
|
|
||||||
HOMEPAGE="https://www.elastic.co/products/logstash"
|
|
||||||
SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_P}-linux-x86_64.tar.gz )
|
|
||||||
!x-pack? ( https://artifacts.elastic.co/downloads/${MY_PN}/${MY_PN}-oss-${PV}-linux-x86_64.tar.gz )"
|
|
||||||
|
|
||||||
# source: LICENSE.txt and NOTICE.txt
|
|
||||||
LICENSE="Apache-2.0 MIT x-pack? ( Elastic )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="x-pack"
|
|
||||||
|
|
||||||
RESTRICT="strip"
|
|
||||||
QA_PREBUILT="opt/logstash/vendor/jruby/lib/jni/*/libjffi*.so"
|
|
||||||
|
|
||||||
RDEPEND="acct-group/logstash
|
|
||||||
acct-user/logstash
|
|
||||||
virtual/jre"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
local d
|
|
||||||
for d in aarch64-Linux arm-Linux Darwin i386-Linux i386-SunOS \
|
|
||||||
i386-Windows mips64el-Linux ppc64-AIX ppc64le-Linux ppc64-Linux \
|
|
||||||
ppc-AIX sparcv9-Linux sparcv9-SunOS x86_64-DragonFlyBSD \
|
|
||||||
x86_64-FreeBSD x86_64-OpenBSD x86_64-SunOS x86_64-Windows; do
|
|
||||||
rm -r vendor/jruby/lib/jni/$d || die
|
|
||||||
done
|
|
||||||
|
|
||||||
# remove bundled java
|
|
||||||
rm -r jdk || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
keepdir /etc/"${MY_PN}"/{conf.d,patterns,plugins}
|
|
||||||
keepdir "/var/log/${MY_PN}"
|
|
||||||
|
|
||||||
insinto "/usr/share/${MY_PN}"
|
|
||||||
newins "${FILESDIR}/agent.conf.sample" agent.conf
|
|
||||||
|
|
||||||
rm -v config/{pipelines.yml,startup.options} || die
|
|
||||||
insinto /etc/${MY_PN}
|
|
||||||
doins -r config/.
|
|
||||||
doins "${FILESDIR}/pipelines.yml"
|
|
||||||
rm -rv config data || die
|
|
||||||
|
|
||||||
insinto "/opt/${MY_PN}"
|
|
||||||
doins -r .
|
|
||||||
fperms 0755 "/opt/${MY_PN}/bin/${MY_PN}" "/opt/${MY_PN}/vendor/jruby/bin/jruby" "/opt/${MY_PN}/bin/logstash-plugin"
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/${MY_PN}.confd-r2" "${MY_PN}"
|
|
||||||
newinitd "${FILESDIR}/${MY_PN}.initd-r2" "${MY_PN}"
|
|
||||||
|
|
||||||
insinto /usr/share/eselect/modules
|
|
||||||
doins "${FILESDIR}"/logstash-plugin.eselect
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
ewarn "Self installed plugins are removed during Logstash upgrades (Bug #622602)"
|
|
||||||
ewarn "Install the plugins via eselect module that will automatically re-install"
|
|
||||||
ewarn "all self installed plugins after Logstash upgrades."
|
|
||||||
elog
|
|
||||||
elog "Installing plugins:"
|
|
||||||
elog "eselect logstash-plugin install logstash-output-gelf"
|
|
||||||
elog
|
|
||||||
|
|
||||||
elog "Reinstalling self installed plugins (installed via eselect module):"
|
|
||||||
eselect logstash-plugin reinstall
|
|
||||||
|
|
||||||
elog
|
|
||||||
elog "Sample configuration:"
|
|
||||||
elog "${EROOT}/usr/share/${MY_PN}"
|
|
||||||
elog
|
|
||||||
elog "The default pipeline configuration expects the configuration(s) to be found in:"
|
|
||||||
elog "${EROOT}/etc/logstash/conf.d/*.conf"
|
|
||||||
}
|
|
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person"><email>chainsaw@gentoo.org</email></maintainer>
|
<!-- maintainer-needed -->
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST dar-2.6.13.tar.gz 2148732 BLAKE2B 51de01793dead832209671569f8054b1de3b5fa810c786ae675207b6dc3e639a5c036896e1688e017b222fbaa6c011494a9d43b3bb2b16570a38e291f893b73f SHA512 f0f853db6e15f5abfabf87be06a1c374662c7fa7e1140eaaeef3e8c8c4d0049a00a8e74409d6805ea3ae5b2f3171f2eba27459e8acb4438c467c4f0bd0825c0c
|
|
||||||
DIST dar-2.6.14.tar.gz 2148023 BLAKE2B 36653d798d1da9cd87e84d2301b9f1fd657e92d1eee91ec1efadb54e94638860103c5e509479a2da846d432328e0a93ae92e1a4d23b6956ca55341ef767fe9a8 SHA512 2b116929fcc192ffee0c266959902b45dc9982ba77e017b3217715e0c63d1574d64083ca55a63e0bb6390e8955c41ca8b09da63934826fe4f0471a63ea739550
|
DIST dar-2.6.14.tar.gz 2148023 BLAKE2B 36653d798d1da9cd87e84d2301b9f1fd657e92d1eee91ec1efadb54e94638860103c5e509479a2da846d432328e0a93ae92e1a4d23b6956ca55341ef767fe9a8 SHA512 2b116929fcc192ffee0c266959902b45dc9982ba77e017b3217715e0c63d1574d64083ca55a63e0bb6390e8955c41ca8b09da63934826fe4f0471a63ea739550
|
||||||
DIST dar-2.7.1.tar.gz 2290659 BLAKE2B 89fa7ac208eb3009f5151f27022a7a449bb204cb035f320e33ff642588b5ab0389c2ed33b71b7a7c6240d205877073f26a04f0164ce05bb370db3bc3faf25fda SHA512 404e3281b2c420088623e4c6ba262d2a7a44848986e43d4c71aff77104395f1178445d560849a73e0dbacce6b8014df2bb20bc33471ae2d07d897bb6ad577bcc
|
DIST dar-2.7.1.tar.gz 2290659 BLAKE2B 89fa7ac208eb3009f5151f27022a7a449bb204cb035f320e33ff642588b5ab0389c2ed33b71b7a7c6240d205877073f26a04f0164ce05bb370db3bc3faf25fda SHA512 404e3281b2c420088623e4c6ba262d2a7a44848986e43d4c71aff77104395f1178445d560849a73e0dbacce6b8014df2bb20bc33471ae2d07d897bb6ad577bcc
|
||||||
|
@ -1,102 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit flag-o-matic
|
|
||||||
|
|
||||||
DESCRIPTION="A full featured backup tool, aimed for disks"
|
|
||||||
HOMEPAGE="http://dar.linux.free.fr/"
|
|
||||||
SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc sparc x86 ~amd64-linux"
|
|
||||||
IUSE="curl dar32 dar64 doc gcrypt gpg lzo nls static static-libs xattr"
|
|
||||||
|
|
||||||
RESTRICT="test" # need to be run as root
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=sys-libs/zlib-1.2.3:=
|
|
||||||
!static? (
|
|
||||||
app-arch/bzip2:=
|
|
||||||
app-arch/xz-utils:=
|
|
||||||
sys-libs/libcap
|
|
||||||
curl? ( net-misc/curl )
|
|
||||||
gcrypt? ( dev-libs/libgcrypt:0= )
|
|
||||||
gpg? ( app-crypt/gpgme )
|
|
||||||
lzo? ( dev-libs/lzo:= )
|
|
||||||
xattr? ( sys-apps/attr:= )
|
|
||||||
)"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
static? (
|
|
||||||
app-arch/bzip2[static-libs]
|
|
||||||
app-arch/xz-utils[static-libs]
|
|
||||||
sys-libs/libcap[static-libs]
|
|
||||||
sys-libs/zlib[static-libs]
|
|
||||||
curl? ( net-misc/curl[static-libs] )
|
|
||||||
lzo? ( dev-libs/lzo[static-libs] )
|
|
||||||
xattr? ( sys-apps/attr[static-libs] )
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
nls? (
|
|
||||||
sys-devel/gettext
|
|
||||||
virtual/libintl
|
|
||||||
)
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
"
|
|
||||||
|
|
||||||
REQUIRED_USE="?? ( dar32 dar64 )
|
|
||||||
gpg? ( gcrypt )"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# configure.ac is totally funked up regarding the AC_ARG_ENABLE
|
|
||||||
# logic.
|
|
||||||
# For example "--enable-dar-static" causes configure to DISABLE
|
|
||||||
# static builds of dar.
|
|
||||||
# Do _not_ use $(use_enable) until you have verified that the
|
|
||||||
# logic has been fixed by upstream.
|
|
||||||
local myconf=(
|
|
||||||
--disable-python-binding
|
|
||||||
--disable-upx
|
|
||||||
$(usex curl '' --disable-libcurl-linking)
|
|
||||||
$(usex dar32 --enable-mode=32 '')
|
|
||||||
$(usex dar64 --enable-mode=64 '')
|
|
||||||
$(usex doc '' --disable-build-html)
|
|
||||||
#$(usex examples --enable-examples '')
|
|
||||||
$(usex gcrypt '' --disable-libgcrypt-linking)
|
|
||||||
$(usex gpg '' --disable-gpgme-linking)
|
|
||||||
$(usex lzo '' --disable-liblzo2-linking)
|
|
||||||
$(usex nls '' --disable-nls)
|
|
||||||
#$(usex rsync '' --disable-librsync-linking)
|
|
||||||
$(usex xattr '' --disable-ea-support)
|
|
||||||
)
|
|
||||||
|
|
||||||
# Bug 103741
|
|
||||||
filter-flags -fomit-frame-pointer
|
|
||||||
|
|
||||||
if ! use static ; then
|
|
||||||
myconf+=( --disable-dar-static )
|
|
||||||
if ! use static-libs ; then
|
|
||||||
myconf+=( --disable-static )
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install
|
|
||||||
|
|
||||||
local DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
|
|
||||||
einstalldocs
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
|
|
||||||
if ! use static-libs ; then
|
|
||||||
find "${ED}" -name '*.a' -delete || die
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<!-- maintainer-needed -->
|
||||||
<email>patrick@gentoo.org</email>
|
|
||||||
<name>Patrick Lauer</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<!-- maintainer-needed -->
|
||||||
<email>patrick@gentoo.org</email>
|
|
||||||
<name>Patrick Lauer</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,8 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="person">
|
<!-- maintainer-needed -->
|
||||||
<email>patrick@gentoo.org</email>
|
|
||||||
<name>Patrick Lauer</name>
|
|
||||||
</maintainer>
|
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST pluma-1.24.0.tar.xz 3717544 BLAKE2B fd9375fd05566c11c24d5bdf55ab0d4619143127a5e48c4e91d18421f50340775d58c3e2264382aa3bbd8aad0569c559e87381a9ece07ce1592d1bc1a5315db1 SHA512 390bf2949549baa0e3dc706526217fbc1513e2f9778917710da806e58cdfb0b7a36e95ed2186442490996cf76783acd4e0f4b8f1fedacee9ba356c0d466510be
|
|
||||||
DIST pluma-1.24.1.tar.xz 3679636 BLAKE2B e792433b93862c8b0c47145255311c3a3386c1b99ec1ac87ed91608d839ece4430205f83fcc3c0f5145f986105d4c5d8803393035fcaaea08155197bbcf15d03 SHA512 0cfd6a035fc95993dce3e556c49641e799888f20159b29f2c0712c54ee772aa6df1ce755f329414c94efdb2cb3819ce633b92e6559b0c8cb064dab3c74729ab3
|
DIST pluma-1.24.1.tar.xz 3679636 BLAKE2B e792433b93862c8b0c47145255311c3a3386c1b99ec1ac87ed91608d839ece4430205f83fcc3c0f5145f986105d4c5d8803393035fcaaea08155197bbcf15d03 SHA512 0cfd6a035fc95993dce3e556c49641e799888f20159b29f2c0712c54ee772aa6df1ce755f329414c94efdb2cb3819ce633b92e6559b0c8cb064dab3c74729ab3
|
||||||
|
@ -1,81 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
MATE_LA_PUNT="yes"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
|
|
||||||
inherit mate python-single-r1 virtualx
|
|
||||||
|
|
||||||
if [[ ${PV} != 9999 ]]; then
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="Pluma text editor for the MATE desktop"
|
|
||||||
LICENSE="FDL-1.1+ GPL-2+ LGPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
IUSE="+introspection spell test"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
# Tests require gvfs sftp fs mounted and schema's installed. Disable tests.
|
|
||||||
# https://github.com/mate-desktop/mate-text-editor/issues/33
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
COMMON_DEPEND="dev-libs/atk
|
|
||||||
>=dev-libs/glib-2.50:2
|
|
||||||
>=dev-libs/libpeas-1.2.0[gtk]
|
|
||||||
>=dev-libs/libxml2-2.5:2
|
|
||||||
x11-libs/cairo
|
|
||||||
x11-libs/gdk-pixbuf:2
|
|
||||||
>=x11-libs/gtk+-3.22:3[introspection?]
|
|
||||||
>=x11-libs/gtksourceview-3.0.0:3.0
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libX11
|
|
||||||
>=x11-libs/libSM-1.0
|
|
||||||
x11-libs/pango
|
|
||||||
introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
|
|
||||||
spell? (
|
|
||||||
>=app-text/enchant-1.6:=
|
|
||||||
>=app-text/iso-codes-0.35
|
|
||||||
)
|
|
||||||
!!app-editors/mate-text-editor
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
${COMMON_DEPEND}
|
|
||||||
>=mate-base/mate-desktop-1.9[introspection?]
|
|
||||||
virtual/libintl
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${COMMON_DEPEND}
|
|
||||||
~app-text/docbook-xml-dtd-4.1.2
|
|
||||||
app-text/rarian
|
|
||||||
>=app-text/scrollkeeper-dtd-1:1.0
|
|
||||||
app-text/yelp-tools
|
|
||||||
dev-util/glib-utils
|
|
||||||
dev-util/gtk-doc
|
|
||||||
dev-util/gtk-doc-am
|
|
||||||
>=sys-devel/libtool-2.2.6:2
|
|
||||||
>=sys-devel/gettext-0.19.8
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
mate_src_configure \
|
|
||||||
$(use_enable introspection) \
|
|
||||||
$(use_enable spell) \
|
|
||||||
$(use_enable test tests)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# FIXME: This should be handled at eclass level.
|
|
||||||
"${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
|
|
||||||
|
|
||||||
unset DBUS_SESSION_BUS_ADDRESS
|
|
||||||
|
|
||||||
GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST mic-paren-3.11.el.xz 13992 BLAKE2B 05b99123f32248eb20611c1889e26af34c42f7f3a37753eda59bfb0e499befd698644b283cbd491925e7a766293e0fe2172dc1da9a36eb94be94e17a6b9cd46d SHA512 ac896c425330935c0d6ae86eb65232c8fb6c463f6cf259c4bfd79023c3e25243d6b998e9f0ea5393ef1491ab0bf1d6fe5dd33278fec93ec3231603bb6e910b77
|
|
||||||
DIST mic-paren-3.13.el.xz 14056 BLAKE2B 9c49ec432ae99d1f5c4792d68544169fd1079e935c5a2bd9402e0c4144708fd3933de7a8fc1717b115a535ed49e4a58f2f5c037e989a066da50b0e0d83f36160 SHA512 d5a6edb537d922a5a71b3938df923963f782fdbe778d3ef7b7cf2c421bfb9eb49ac204843fb0100ddf3f05f6cb455fb2490a246577c89c6c86c47ef03c3abca9
|
DIST mic-paren-3.13.el.xz 14056 BLAKE2B 9c49ec432ae99d1f5c4792d68544169fd1079e935c5a2bd9402e0c4144708fd3933de7a8fc1717b115a535ed49e4a58f2f5c037e989a066da50b0e0d83f36160 SHA512 d5a6edb537d922a5a71b3938df923963f782fdbe778d3ef7b7cf2c421bfb9eb49ac204843fb0100ddf3f05f6cb455fb2490a246577c89c6c86c47ef03c3abca9
|
||||||
DIST mic-paren-3.15.el.xz 14044 BLAKE2B 59d2897c390dd9b8b16eebb861a45aecf967f07e8b96c9438f6cda0f28dd56881fc0ae680b999f52f2b53ec5f160e605f252e27f5089647baf07b05f1a43b230 SHA512 2c1b71a9ccda8c799788942953962003c5aa142200bc2bee31c6d190fe5b22a9267ebf49b1ad57e2112092d90a62366b0d430e8eb29c27604e3310b2a597e085
|
DIST mic-paren-3.15.el.xz 14044 BLAKE2B 59d2897c390dd9b8b16eebb861a45aecf967f07e8b96c9438f6cda0f28dd56881fc0ae680b999f52f2b53ec5f160e605f252e27f5089647baf07b05f1a43b230 SHA512 2c1b71a9ccda8c799788942953962003c5aa142200bc2bee31c6d190fe5b22a9267ebf49b1ad57e2112092d90a62366b0d430e8eb29c27604e3310b2a597e085
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit elisp
|
|
||||||
|
|
||||||
DESCRIPTION="Advanced highlighting of matching parentheses"
|
|
||||||
HOMEPAGE="https://www.gnuvola.org/software/j/mic-paren/
|
|
||||||
https://www.emacswiki.org/emacs/MicParen"
|
|
||||||
# taken from http://www.gnuvola.org/software/j/mic-paren/mic-paren.el
|
|
||||||
SRC_URI="mirror://gentoo/${P}.el.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
SITEFILE="50${PN}-gentoo.el"
|
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST cloud-init-19.4.tar.gz 1091893 BLAKE2B 2ab8fef70b420c066d6d8f83871568eeac24f00879ecf3d58c3768dd809cff6a3b79c7e72d9a10204002101049ab86ab64f0c524362e00497a9222960ef380df SHA512 e69ea47eab41d69d64fa44102fbde59319da5f71a68f28a0f6ac65cd6866542b4fe58a71b84c903cfa9b1d2f26eb648cdf4de633b8df61e4f89c9fa4c2a2b1d3
|
|
||||||
DIST cloud-init-20.1.tar.gz 1088152 BLAKE2B 1c075676bcf7454965beafaaa38f3cdf08f321ddd0303b7f710c49d2a69e0fb2ec8a81870a632b7504c47af6436555c97ea9fa9c8416955de78f8f551b5509b7 SHA512 ad28e4a0290165308ef2cdb8a935778ad99039978a204bee1098460de006bc3f375a3b81d0d72971fc4f4195d5d2ade9c648fb19e6d6eba12decf750dc54b6eb
|
DIST cloud-init-20.1.tar.gz 1088152 BLAKE2B 1c075676bcf7454965beafaaa38f3cdf08f321ddd0303b7f710c49d2a69e0fb2ec8a81870a632b7504c47af6436555c97ea9fa9c8416955de78f8f551b5509b7 SHA512 ad28e4a0290165308ef2cdb8a935778ad99039978a204bee1098460de006bc3f375a3b81d0d72971fc4f4195d5d2ade9c648fb19e6d6eba12decf750dc54b6eb
|
||||||
DIST cloud-init-20.4.tar.gz 1228898 BLAKE2B c5697af31e7219a060a82732fbae2e89dd00786e5b0feb638f1f64f6ce861df041ef687a6095cc3bdb5478f4f4c1504286155808102aea9cae853caa97d4ba1b SHA512 da2fa4673b253468380c4472795fd449809c8ac84d8f13ec1472b9b7e7d54e187ae06e5a81a36774793b05f4e1212dca57bc19aa8955b4c7fa7183cb100bfbb9
|
DIST cloud-init-20.4.tar.gz 1228898 BLAKE2B c5697af31e7219a060a82732fbae2e89dd00786e5b0feb638f1f64f6ce861df041ef687a6095cc3bdb5478f4f4c1504286155808102aea9cae853caa97d4ba1b SHA512 da2fa4673b253468380c4472795fd449809c8ac84d8f13ec1472b9b7e7d54e187ae06e5a81a36774793b05f4e1212dca57bc19aa8955b4c7fa7183cb100bfbb9
|
||||||
|
@ -1,90 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Cloud instance initialisation magic"
|
|
||||||
HOMEPAGE="https://launchpad.net/cloud-init"
|
|
||||||
SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
CDEPEND="
|
|
||||||
dev-python/jinja[${PYTHON_USEDEP}]
|
|
||||||
dev-python/oauthlib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyserial[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/configobj-5.0.2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jsonpatch[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
|
||||||
dev-python/six[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
test? (
|
|
||||||
${CDEPEND}
|
|
||||||
>=dev-python/httpretty-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/unittest2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/coverage[${PYTHON_USEDEP}]
|
|
||||||
dev-python/contextlib2[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="
|
|
||||||
${CDEPEND}
|
|
||||||
net-analyzer/macchanger
|
|
||||||
sys-apps/iproute2
|
|
||||||
sys-fs/growpart
|
|
||||||
virtual/logger
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Fix Gentoo support
|
|
||||||
# https://code.launchpad.net/~gilles-dartiguelongue/cloud-init/+git/cloud-init/+merge/358777
|
|
||||||
"${FILESDIR}/${PN}-18.4-fix-packages-module.patch"
|
|
||||||
"${FILESDIR}/${P}-gentoo-support-upstream-templates.patch"
|
|
||||||
"${FILESDIR}"/18.4-fix-filename-for-storing-locale.patch
|
|
||||||
"${FILESDIR}"/18.4-fix-update_package_sources-function.patch
|
|
||||||
"${FILESDIR}"/18.4-add-support-for-package_upgrade.patch
|
|
||||||
"${FILESDIR}/${P}_CVE-2020-8631.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# Fix location of documentation installation
|
|
||||||
sed -i "s:USR + '/share/doc/cloud-init:USR + '/share/doc/${PF}:" setup.py || die
|
|
||||||
distutils-r1_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# Do not use Makefile target as it does not setup environment correclty
|
|
||||||
esetup.py nosetests -v --where cloudinit --where tests/unittests || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install() {
|
|
||||||
distutils-r1_python_install --init-system=sysvinit_openrc,systemd --distro gentoo
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
keepdir /etc/cloud
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
|
|
||||||
# installs as non-executable
|
|
||||||
chmod +x "${D}"/etc/init.d/*
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
elog "cloud-init-local needs to be run in the boot runlevel because it"
|
|
||||||
elog "modifies services in the default runlevel. When a runlevel is started"
|
|
||||||
elog "it is cached, so modifications that happen to the current runlevel"
|
|
||||||
elog "while you are in it are not acted upon."
|
|
||||||
}
|
|
@ -1,93 +0,0 @@
|
|||||||
From 823454f1ea140ec47f5f9c5c3c5ad62eb458eb8a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Gilles Dartiguelongue <eva@gentoo.org>
|
|
||||||
Date: Wed, 24 Oct 2018 10:52:46 +0200
|
|
||||||
Subject: [PATCH 2/5] Add support for gentoo in cloud.cfg and templates
|
|
||||||
|
|
||||||
---
|
|
||||||
config/cloud.cfg.tmpl | 8 ++++++--
|
|
||||||
templates/hosts.gentoo.tmpl | 24 ++++++++++++++++++++++++
|
|
||||||
tools/render-cloudcfg | 2 +-
|
|
||||||
3 files changed, 31 insertions(+), 3 deletions(-)
|
|
||||||
create mode 100644 templates/hosts.gentoo.tmpl
|
|
||||||
|
|
||||||
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
|
|
||||||
index 1fef133a..3f5a41a2 100644
|
|
||||||
--- a/config/cloud.cfg.tmpl
|
|
||||||
+++ b/config/cloud.cfg.tmpl
|
|
||||||
@@ -134,7 +134,7 @@ cloud_final_modules:
|
|
||||||
# (not accessible to handlers/transforms)
|
|
||||||
system_info:
|
|
||||||
# This will affect which distro class gets used
|
|
||||||
-{% if variant in ["arch", "centos", "debian", "fedora", "freebsd", "rhel", "suse", "ubuntu"] %}
|
|
||||||
+{% if variant in ["arch", "centos", "debian", "fedora", "freebsd", "gentoo", "rhel", "suse", "ubuntu"] %}
|
|
||||||
distro: {{ variant }}
|
|
||||||
{% else %}
|
|
||||||
# Unknown/fallback distro.
|
|
||||||
@@ -172,7 +172,7 @@ system_info:
|
|
||||||
primary: http://ports.ubuntu.com/ubuntu-ports
|
|
||||||
security: http://ports.ubuntu.com/ubuntu-ports
|
|
||||||
ssh_svcname: ssh
|
|
||||||
-{% elif variant in ["arch", "centos", "fedora", "rhel", "suse"] %}
|
|
||||||
+{% elif variant in ["arch", "centos", "fedora", "gentoo", "rhel", "suse"] %}
|
|
||||||
# Default user name + that default users groups (if added/used)
|
|
||||||
default_user:
|
|
||||||
name: {{ variant }}
|
|
||||||
@@ -180,6 +180,10 @@ system_info:
|
|
||||||
{% endif %}
|
|
||||||
{% if variant == "suse" %}
|
|
||||||
groups: [cdrom, users]
|
|
||||||
+{% elif variant == "gentoo" %}
|
|
||||||
+ groups: [users, wheel]
|
|
||||||
+ primary_group: users
|
|
||||||
+ no_user_group: true
|
|
||||||
{% elif variant == "arch" %}
|
|
||||||
groups: [wheel, users]
|
|
||||||
{% else %}
|
|
||||||
diff --git a/templates/hosts.gentoo.tmpl b/templates/hosts.gentoo.tmpl
|
|
||||||
new file mode 100644
|
|
||||||
index 00000000..cd045fa6
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/templates/hosts.gentoo.tmpl
|
|
||||||
@@ -0,0 +1,24 @@
|
|
||||||
+## template:jinja
|
|
||||||
+{#
|
|
||||||
+This file /etc/cloud/templates/hosts.gentoo.tmpl is only utilized
|
|
||||||
+if enabled in cloud-config. Specifically, in order to enable it
|
|
||||||
+you need to add the following to config:
|
|
||||||
+ manage_etc_hosts: True
|
|
||||||
+-#}
|
|
||||||
+# Your system has configured 'manage_etc_hosts' as True.
|
|
||||||
+# As a result, if you wish for changes to this file to persist
|
|
||||||
+# then you will need to either
|
|
||||||
+# a.) make changes to the master file in /etc/cloud/templates/hosts.gentoo.tmpl
|
|
||||||
+# b.) change or remove the value of 'manage_etc_hosts' in
|
|
||||||
+# /etc/cloud/cloud.cfg or cloud-config from user-data
|
|
||||||
+#
|
|
||||||
+# The following lines are desirable for IPv4 capable hosts
|
|
||||||
+127.0.0.1 {{fqdn}} {{hostname}}
|
|
||||||
+127.0.0.1 localhost.localdomain localhost
|
|
||||||
+127.0.0.1 localhost4.localdomain4 localhost4
|
|
||||||
+
|
|
||||||
+# The following lines are desirable for IPv6 capable hosts
|
|
||||||
+::1 {{fqdn}} {{hostname}}
|
|
||||||
+::1 localhost.localdomain localhost
|
|
||||||
+::1 localhost6.localdomain6 localhost6
|
|
||||||
+
|
|
||||||
diff --git a/tools/render-cloudcfg b/tools/render-cloudcfg
|
|
||||||
index 8b7cb875..d109044e 100755
|
|
||||||
--- a/tools/render-cloudcfg
|
|
||||||
+++ b/tools/render-cloudcfg
|
|
||||||
@@ -4,7 +4,7 @@ import argparse
|
|
||||||
import os
|
|
||||||
import sys
|
|
||||||
|
|
||||||
-VARIANTS = ["arch", "centos", "debian", "fedora", "freebsd", "rhel", "suse",
|
|
||||||
- "ubuntu", "unknown"]
|
|
||||||
+VARIANTS = ["arch", "centos", "debian", "fedora", "freebsd", "gentoo", "rhel",
|
|
||||||
+ "suse", "ubuntu", "unknown"]
|
|
||||||
|
|
||||||
if "avoid-pep8-E402-import-not-top-of-file":
|
|
||||||
_tdir = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
|
||||||
--
|
|
||||||
2.19.1
|
|
||||||
|
|
@ -1,25 +0,0 @@
|
|||||||
From 42788bf24a1a0a5421a2d00a7f59b59e38ba1a14 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Ryan Harper <ryan.harper@canonical.com>
|
|
||||||
Date: Fri, 24 Jan 2020 21:33:12 +0200
|
|
||||||
Subject: [PATCH] cc_set_password: increase random pwlength from 9 to 20 (#189)
|
|
||||||
|
|
||||||
Increasing the bits of security from 52 to 115.
|
|
||||||
|
|
||||||
LP: #1860795
|
|
||||||
---
|
|
||||||
cloudinit/config/cc_set_passwords.py | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/cloudinit/config/cc_set_passwords.py b/cloudinit/config/cc_set_passwords.py
|
|
||||||
index e3b39d8be..4943d5453 100755
|
|
||||||
--- a/cloudinit/config/cc_set_passwords.py
|
|
||||||
+++ b/cloudinit/config/cc_set_passwords.py
|
|
||||||
@@ -236,7 +236,7 @@ def handle(_name, cfg, cloud, log, args):
|
|
||||||
raise errors[-1]
|
|
||||||
|
|
||||||
|
|
||||||
-def rand_user_password(pwlen=9):
|
|
||||||
+def rand_user_password(pwlen=20):
|
|
||||||
return util.rand_str(pwlen, select_from=PW_SET)
|
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
@ -1,86 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit systemd tmpfiles
|
|
||||||
|
|
||||||
DESCRIPTION="Open Source, Distributed, RESTful, Search Engine"
|
|
||||||
HOMEPAGE="https://www.elastic.co/products/elasticsearch"
|
|
||||||
SRC_URI="x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${P}-no-jdk-linux-x86_64.tar.gz )
|
|
||||||
!x-pack? ( https://artifacts.elastic.co/downloads/${PN}/${PN}-oss-${PV}-no-jdk-linux-x86_64.tar.gz )"
|
|
||||||
LICENSE="Apache-2.0 BSD-2 LGPL-3 MIT public-domain x-pack? ( Elastic )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="x-pack"
|
|
||||||
|
|
||||||
RDEPEND="acct-group/elasticsearch
|
|
||||||
acct-user/elasticsearch
|
|
||||||
virtual/jre"
|
|
||||||
|
|
||||||
QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
rm LICENSE.txt NOTICE.txt || die
|
|
||||||
rmdir logs || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
keepdir /etc/${PN}
|
|
||||||
keepdir /etc/${PN}/scripts
|
|
||||||
|
|
||||||
insinto /etc/${PN}
|
|
||||||
doins -r config/.
|
|
||||||
rm -r config || die
|
|
||||||
|
|
||||||
fowners root:${PN} /etc/${PN}
|
|
||||||
fperms 2750 /etc/${PN}
|
|
||||||
|
|
||||||
insinto /usr/share/${PN}
|
|
||||||
doins -r .
|
|
||||||
|
|
||||||
exeinto /usr/share/${PN}/bin
|
|
||||||
doexe "${FILESDIR}/elasticsearch-systemd-pre-exec"
|
|
||||||
|
|
||||||
fperms -R +x /usr/share/${PN}/bin
|
|
||||||
|
|
||||||
if use x-pack; then
|
|
||||||
fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin
|
|
||||||
fi
|
|
||||||
|
|
||||||
keepdir /var/{lib,log}/${PN}
|
|
||||||
fowners ${PN}:${PN} /var/{lib,log}/${PN}
|
|
||||||
fperms 0750 /var/{lib,log}/${PN}
|
|
||||||
dodir /usr/share/${PN}/plugins
|
|
||||||
|
|
||||||
insinto /etc/sysctl.d
|
|
||||||
newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf
|
|
||||||
|
|
||||||
newconfd "${FILESDIR}/${PN}.conf.3" ${PN}
|
|
||||||
newinitd "${FILESDIR}/${PN}.init.7" ${PN}
|
|
||||||
|
|
||||||
systemd_install_serviced "${FILESDIR}/${PN}.service.conf"
|
|
||||||
systemd_newunit "${FILESDIR}"/${PN}.service.3 ${PN}.service
|
|
||||||
|
|
||||||
newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
tmpfiles_process /usr/lib/tmpfiles.d/${PN}.conf
|
|
||||||
|
|
||||||
elog
|
|
||||||
elog "You may create multiple instances of ${PN} by"
|
|
||||||
elog "symlinking the init script:"
|
|
||||||
elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance"
|
|
||||||
elog
|
|
||||||
elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts"
|
|
||||||
elog "from /etc/${PN} into the configuration directory of the instance:"
|
|
||||||
elog "/etc/${PN}/instance"
|
|
||||||
elog
|
|
||||||
ewarn "Please make sure you have proper permissions on /etc/${PN}"
|
|
||||||
ewarn "prior to keystore generation or you may experience startup fails."
|
|
||||||
ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}"
|
|
||||||
ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore"
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST goobook-3.4.tar.gz 35100 BLAKE2B 8419f79313a68b108f08a0f7a0b6809d01979a01044d011f53acdf554e87f20f3ac41819a4823abd74e1c8ce0350956e91f17ae9a9342551a263af72b7b6c98a SHA512 e58cdee28ee4464548b04800740d0ffd40ce972efd52af9509f3de603eed9e50fad03cc9116f1d0dc42f77621bbab58d73bff98cf35a3cb55b24a0f04b26cd4d
|
|
||||||
DIST goobook-3.5.1.tar.gz 38176 BLAKE2B 99a068256ca83e800a2d2e82c88adba85797107dc72edde9fbb3c9790ef38fff627b4db64c21baff14aa8a4c69788c29aeb01dae60533c7f389352aee9401e9c SHA512 58d056d7d76843bc874e55424912bb00068541e674b780511b7753da31f2df9514baa188017dd0a7479b5527cd50c47e35f37afc493bdc973e0eb1624998a611
|
DIST goobook-3.5.1.tar.gz 38176 BLAKE2B 99a068256ca83e800a2d2e82c88adba85797107dc72edde9fbb3c9790ef38fff627b4db64c21baff14aa8a4c69788c29aeb01dae60533c7f389352aee9401e9c SHA512 58d056d7d76843bc874e55424912bb00068541e674b780511b7753da31f2df9514baa188017dd0a7479b5527cd50c47e35f37afc493bdc973e0eb1624998a611
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="7"
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
|
|
||||||
inherit distutils-r1 readme.gentoo-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Access your Google contacts from the command line"
|
|
||||||
HOMEPAGE="https://gitlab.com/goobook/goobook"
|
|
||||||
SRC_URI="mirror://pypi/g/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
>=dev-python/google-api-python-client-1.6.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/simplejson-2.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/oauth2client-1.5.0[${PYTHON_USEDEP}]
|
|
||||||
<dev-python/oauth2client-5[${PYTHON_USEDEP}]"
|
|
||||||
|
|
||||||
DEPEND="${PYTHON_DEPS}"
|
|
||||||
|
|
||||||
DISABLE_AUTOFORMATTING=1
|
|
||||||
DOC_CONTENTS="
|
|
||||||
To setup initial authentication, execute:
|
|
||||||
|
|
||||||
~ $ goobook authenticate
|
|
||||||
|
|
||||||
If you want to use goobook from mutt, add this in your .muttrc file:
|
|
||||||
set query_command=\"goobook query '%s'\"
|
|
||||||
to query address book.
|
|
||||||
|
|
||||||
You may find more information and advanced configuration tips at
|
|
||||||
https://pypi.org/project/${PN}/${PV} in \"Configure/Mutt\" section"
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
distutils-r1_src_install
|
|
||||||
readme.gentoo_create_doc
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
readme.gentoo_print_elog
|
|
||||||
}
|
|
@ -1,166 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
|
|
||||||
inherit flag-o-matic linux-info python-single-r1 systemd xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="decode and send infra-red signals of many commonly used remote controls"
|
|
||||||
HOMEPAGE="https://www.lirc.org/"
|
|
||||||
|
|
||||||
LIRC_DRIVER_DEVICE="/dev/lirc0"
|
|
||||||
|
|
||||||
MY_P=${PN}-${PV/_/-}
|
|
||||||
|
|
||||||
if [[ "${PV/_pre/}" = "${PV}" ]]; then
|
|
||||||
SRC_URI="mirror://sourceforge/lirc/${MY_P}.tar.bz2"
|
|
||||||
else
|
|
||||||
SRC_URI="https://www.lirc.org/software/snapshots/${MY_P}.tar.bz2"
|
|
||||||
fi
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~arm64 ppc ppc64 x86"
|
|
||||||
IUSE="audio +devinput doc ftdi gtk inputlirc static-libs systemd +uinput usb X"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
${PYTHON_REQUIRED_USE}
|
|
||||||
gtk? ( X )
|
|
||||||
"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
COMMON_DEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
audio? (
|
|
||||||
>media-libs/portaudio-18
|
|
||||||
media-libs/alsa-lib
|
|
||||||
)
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/pyyaml[${PYTHON_MULTI_USEDEP}]
|
|
||||||
')
|
|
||||||
ftdi? ( dev-embedded/libftdi:0 )
|
|
||||||
systemd? ( sys-apps/systemd )
|
|
||||||
usb? ( virtual/libusb:0 )
|
|
||||||
X? (
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libX11
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
${COMMON_DEPEND}
|
|
||||||
dev-libs/libxslt
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/setuptools[${PYTHON_MULTI_USEDEP}]
|
|
||||||
')
|
|
||||||
doc? ( app-doc/doxygen )
|
|
||||||
sys-apps/kmod
|
|
||||||
sys-kernel/linux-headers
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${COMMON_DEPEND}
|
|
||||||
gtk? (
|
|
||||||
x11-libs/vte[introspection]
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/pygobject[${PYTHON_MULTI_USEDEP}]
|
|
||||||
')
|
|
||||||
)
|
|
||||||
inputlirc? ( app-misc/inputlircd )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}-unsafe-load.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
MAKEOPTS+=" -j1"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
use uinput && CONFIG_CHECK="~INPUT_UINPUT"
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
linux-info_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
xdg_environment_reset
|
|
||||||
econf \
|
|
||||||
--localstatedir="${EPREFIX}/var" \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable devinput) \
|
|
||||||
$(use_enable uinput) \
|
|
||||||
$(use_with X x)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if use !gtk ; then
|
|
||||||
# lirc-setup requires gtk
|
|
||||||
rm "${ED}"/usr/bin/lirc-setup || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/lircd-0.8.6-r2 lircd
|
|
||||||
newinitd "${FILESDIR}"/lircmd-0.9.4a-r2 lircmd
|
|
||||||
newconfd "${FILESDIR}"/lircd.conf.4 lircd
|
|
||||||
newconfd "${FILESDIR}"/lircmd-0.10.0.conf lircmd
|
|
||||||
|
|
||||||
insinto /etc/modprobe.d/
|
|
||||||
newins "${FILESDIR}"/modprobed.lirc lirc.conf
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/irexec-initd-0.9.4a-r2 irexec
|
|
||||||
newconfd "${FILESDIR}"/irexec-confd irexec
|
|
||||||
|
|
||||||
keepdir /etc/lirc
|
|
||||||
if [[ -e "${ED}"/etc/lirc/lircd.conf ]]; then
|
|
||||||
newdoc "${ED}"/etc/lirc/lircd.conf lircd.conf.example
|
|
||||||
fi
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
|
|
||||||
# Avoid QA notice
|
|
||||||
rm -d "${ED}"/var/run/lirc || die
|
|
||||||
rm -d "${ED}"/var/run || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
local dir="${EROOT}/etc/modprobe.d"
|
|
||||||
if [[ -a "${dir}"/lirc && ! -a "${dir}"/lirc.conf ]]; then
|
|
||||||
elog "Renaming ${dir}/lirc to lirc.conf"
|
|
||||||
mv -f "${dir}/lirc" "${dir}/lirc.conf" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# copy the first file that can be found
|
|
||||||
if [[ -f "${EROOT}"/etc/lirc/lircd.conf ]]; then
|
|
||||||
cp "${EROOT}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
|
|
||||||
elif [[ -f "${EROOT}"/etc/lircd.conf ]]; then
|
|
||||||
cp "${EROOT}"/etc/lircd.conf "${T}"/lircd.conf || die
|
|
||||||
MOVE_OLD_LIRCD_CONF=1
|
|
||||||
elif [[ -f "${ED}"/etc/lirc/lircd.conf ]]; then
|
|
||||||
cp "${ED}"/etc/lirc/lircd.conf "${T}"/lircd.conf || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# stop portage from touching the config file
|
|
||||||
if [[ -e "${ED}"/etc/lirc/lircd.conf ]]; then
|
|
||||||
rm -f "${ED}"/etc/lirc/lircd.conf || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# copy config file to new location
|
|
||||||
# without portage knowing about it
|
|
||||||
# so it will not delete it on unmerge or ever touch it again
|
|
||||||
if [[ -e "${T}"/lircd.conf ]]; then
|
|
||||||
cp "${T}"/lircd.conf "${EROOT}"/etc/lirc/lircd.conf || die
|
|
||||||
if [[ "$MOVE_OLD_LIRCD_CONF" = "1" ]]; then
|
|
||||||
elog "Moved /etc/lircd.conf to /etc/lirc/lircd.conf"
|
|
||||||
rm -f "${EROOT}"/etc/lircd.conf || die
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
einfo "The new default location for lircd.conf is inside of"
|
|
||||||
einfo "${EROOT}/etc/lirc/ directory"
|
|
||||||
}
|
|
@ -1,4 +1,3 @@
|
|||||||
DIST recoll-1.25.19.tar.gz 2845683 BLAKE2B 745eac2dd3208619e173abba78f1e03186cdb5deb363c30728184a9d826c698d8e088cc0420178754131792f0d933f395a4fdb209a4315888b733a1209644580 SHA512 d56aff810e335f8212b908118de8fe12fc8d8f8341ebc281244c00dfe2216e008c655f4d39955b6c71928a28ea0aea073036fed17be5b80e8443fe6dfbe374f6
|
|
||||||
DIST recoll-1.27.12.tar.gz 3184471 BLAKE2B 60bcdee44259fa7f8b9decb9258ca0dae4edbf0cee1e8b1353cb59418503f0fcea9b439ecd6352500ff5b4cccfae08fc2a3f7f786fbd096cf18fd21fb809705b SHA512 3701dff056b8200f3b3c1bb2acaa69356c0def00959a0b74c14e1d500bd9e05fc81d82ce8b7db59d7e5b85617a8a7197700031aab65b31e005a4fedeaff59e97
|
DIST recoll-1.27.12.tar.gz 3184471 BLAKE2B 60bcdee44259fa7f8b9decb9258ca0dae4edbf0cee1e8b1353cb59418503f0fcea9b439ecd6352500ff5b4cccfae08fc2a3f7f786fbd096cf18fd21fb809705b SHA512 3701dff056b8200f3b3c1bb2acaa69356c0def00959a0b74c14e1d500bd9e05fc81d82ce8b7db59d7e5b85617a8a7197700031aab65b31e005a4fedeaff59e97
|
||||||
DIST recoll-1.28.5.tar.gz 3261816 BLAKE2B 6bf9daab0f97ee6fdb4033197d3fa3f4296b2df8a57566195fca3bf170fec621c27e7da00a1a5a8493fbbadca103a0db7b8c3051abe95d5c2aedb7c289c050a5 SHA512 df4c7a5e624933ccc7ce257a767a4621728a4dbcdd5b551b47845ed0fcffdd5a6f7f617a466404c5e8d8b62c81e57986e1f21e01d643899755623a2dc597d712
|
DIST recoll-1.28.5.tar.gz 3261816 BLAKE2B 6bf9daab0f97ee6fdb4033197d3fa3f4296b2df8a57566195fca3bf170fec621c27e7da00a1a5a8493fbbadca103a0db7b8c3051abe95d5c2aedb7c289c050a5 SHA512 df4c7a5e624933ccc7ce257a767a4621728a4dbcdd5b551b47845ed0fcffdd5a6f7f617a466404c5e8d8b62c81e57986e1f21e01d643899755623a2dc597d712
|
||||||
DIST recoll-1.29.2.tar.gz 3871580 BLAKE2B ae6ef5628dfac67a192a3d133d5b5d8ddec079ac79be2e8aa7e744669ed0478cb41628a0ed46b4ff2364823f367815b1eb4bca0a6e4b56a9e12d4f78c6842473 SHA512 c87fc054a0c34f1b6bcc10a4f2c84268a51df02b8ba84634c51f9396befe5b2b84fc93d363876158c9d117a164613e91d9c63b228fec5e0e07d234c97c4680c5
|
DIST recoll-1.29.2.tar.gz 3871580 BLAKE2B ae6ef5628dfac67a192a3d133d5b5d8ddec079ac79be2e8aa7e744669ed0478cb41628a0ed46b4ff2364823f367815b1eb4bca0a6e4b56a9e12d4f78c6842473 SHA512 c87fc054a0c34f1b6bcc10a4f2c84268a51df02b8ba84634c51f9396befe5b2b84fc93d363876158c9d117a164613e91d9c63b228fec5e0e07d234c97c4680c5
|
||||||
|
@ -1,130 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
|
|
||||||
inherit linux-info optfeature python-single-r1 qmake-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Personal full text search package"
|
|
||||||
HOMEPAGE="https://www.lesbonscomptes.com/recoll/"
|
|
||||||
SRC_URI="https://www.lesbonscomptes.com/recoll/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 x86"
|
|
||||||
|
|
||||||
IUSE="camelcase chm doc +inotify qt5 session +spell webengine"
|
|
||||||
REQUIRED_USE="
|
|
||||||
session? ( inotify )
|
|
||||||
webengine? ( qt5 )
|
|
||||||
${PYTHON_REQUIRED_USE}
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-libs/xapian:=
|
|
||||||
sys-libs/zlib:=
|
|
||||||
virtual/libiconv
|
|
||||||
chm? (
|
|
||||||
dev-libs/chmlib
|
|
||||||
dev-python/pychm
|
|
||||||
)
|
|
||||||
qt5? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtprintsupport:5
|
|
||||||
webengine? ( dev-qt/qtwebengine:5[widgets] )
|
|
||||||
)
|
|
||||||
session? (
|
|
||||||
inotify? (
|
|
||||||
x11-libs/libSM
|
|
||||||
x11-libs/libICE
|
|
||||||
x11-libs/libX11
|
|
||||||
)
|
|
||||||
)
|
|
||||||
spell? ( app-text/aspell )
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
qt5? ( dev-qt/linguist-tools:5 )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
${DEPEND}
|
|
||||||
app-arch/unzip
|
|
||||||
"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if has_version "<app-misc/recoll-1.20"; then
|
|
||||||
elog "Installing ${PV} over an 1.19 index is possible,"
|
|
||||||
elog "but there have been small changes in the way"
|
|
||||||
elog "compound words are indexed. So it is best to reset"
|
|
||||||
elog "the index. The best method to reset the index is to"
|
|
||||||
elog "quit all recoll programs and delete the index directory"
|
|
||||||
elog "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
if use inotify; then
|
|
||||||
local CONFIG_CHECK="~INOTIFY_USER"
|
|
||||||
check_extra_config
|
|
||||||
fi
|
|
||||||
python-single-r1_pkg_setup
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
python_fix_shebang filters
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
use qt5 && export QMAKE="$(qt5_get_bindir)/qmake"
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
$(use_enable camelcase)
|
|
||||||
$(use_enable chm python-chm)
|
|
||||||
$(use_enable session x11mon)
|
|
||||||
$(use_enable qt5 qtgui)
|
|
||||||
$(use_enable webengine)
|
|
||||||
$(use_with inotify)
|
|
||||||
$(use_with spell aspell)
|
|
||||||
--disable-webkit
|
|
||||||
--without-fam
|
|
||||||
--enable-recollq
|
|
||||||
)
|
|
||||||
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake STRIP="$(type -P true)" DESTDIR="${D}" install
|
|
||||||
|
|
||||||
# html docs should be placed in /usr/share/doc/${PN}/html
|
|
||||||
use doc && dodoc -r "${ED}"/usr/share/recoll/doc/.
|
|
||||||
rm -r "${ED}/usr/share/recoll/doc" || die
|
|
||||||
find "${D}" -name '*.la' -delete || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
|
|
||||||
optfeature "PDF files support" app-text/poppler
|
|
||||||
optfeature "PDF files with OCR support" app-text/tesseract
|
|
||||||
optfeature "MS Word files support" app-text/antiword
|
|
||||||
optfeature "Wordperfect files support" "app-text/libwpd[tools]"
|
|
||||||
optfeature "Lyx files support" app-office/lyx
|
|
||||||
optfeature "GNU Info files support" sys-apps/texinfo
|
|
||||||
optfeature "RAR archives support" dev-python/rarfile
|
|
||||||
optfeature "7zip archives support" dev-python/pylzma
|
|
||||||
optfeature "iCalendar files support" dev-python/icalendar
|
|
||||||
optfeature "Postscript files support" app-text/pstotext
|
|
||||||
optfeature "RTF files support" app-text/unrtf
|
|
||||||
optfeature "TeX files support" dev-text/detex
|
|
||||||
optfeature "DVI files support" virtual/tex-base
|
|
||||||
optfeature "DJVU files support" app-text/djvu
|
|
||||||
optfeature "tags in audio files support" media-libs/mutagen
|
|
||||||
optfeature "tags in image files support" media-libs/exiftool
|
|
||||||
optfeature "Midi karaoke files support" dev-python/chardet
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,31 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_7 )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="The ultimate statusline/prompt utility."
|
|
||||||
HOMEPAGE="https://github.com/powerline/powerline"
|
|
||||||
if [[ ${PV} == 9999 ]]; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://github.com/powerline/powerline"
|
|
||||||
EGIT_BRANCH="develop"
|
|
||||||
else
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}-status/${PN}-status-${PV}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
fi
|
|
||||||
S="${WORKDIR}/${PN}-status-${PV}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/2.7-ldflags.patch
|
|
||||||
)
|
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue