parent
52efe11f7f
commit
072aef91b0
Binary file not shown.
Binary file not shown.
@ -0,0 +1,10 @@
|
|||||||
|
--- a/src/gui/entry/EditEntryWidget.cpp
|
||||||
|
+++ b/src/gui/entry/EditEntryWidget.cpp
|
||||||
|
@@ -32,6 +32,7 @@
|
||||||
|
#include <QMimeData>
|
||||||
|
#include <QEvent>
|
||||||
|
#include <QColorDialog>
|
||||||
|
+#include <QButtonGroup>
|
||||||
|
|
||||||
|
#include "autotype/AutoType.h"
|
||||||
|
#include "core/Config.h"
|
@ -1 +1,2 @@
|
|||||||
DIST qtpass-1.2.1.tar.gz 361147 BLAKE2B f46ce4362d4d3e0c0b0a425e5a40cf013181b899d5b1a2efc03cc5c4a3eca2d3ce1cdca78fdb95e8fecae23ffe56c01dbe65c9d07e2fff48934e995a710aac40 SHA512 3621a46aab5db5a41e80aea10bc6baf662510bcb249a1f56d33492aa66c824d9f018164f2d6a70256a7b3d59a9b73c4c8459b5d3fbe19886a607f8f0dc7410c1
|
DIST qtpass-1.2.1.tar.gz 361147 BLAKE2B f46ce4362d4d3e0c0b0a425e5a40cf013181b899d5b1a2efc03cc5c4a3eca2d3ce1cdca78fdb95e8fecae23ffe56c01dbe65c9d07e2fff48934e995a710aac40 SHA512 3621a46aab5db5a41e80aea10bc6baf662510bcb249a1f56d33492aa66c824d9f018164f2d6a70256a7b3d59a9b73c4c8459b5d3fbe19886a607f8f0dc7410c1
|
||||||
|
DIST qtpass-1.2.2.tar.gz 366601 BLAKE2B 7b06926465e7d7cbb837cf87b47a89b114b9ae9c508aa558695744c84a00a58a8922155eda3f91a6350354668b381381be757db07f201798a2ee25685e034871 SHA512 cb480357b161573054b752af25f20757057de5c5b2e55619e3fa594c5d9b63c7036b72c0ae7735f8ec197ac8aa43b7fdfbc836b29fbe4c85de8dc5d93ce7bbd2
|
||||||
|
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
MY_P="QtPass-${PV}"
|
||||||
|
inherit desktop qmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="multi-platform GUI for pass, the standard unix password manager"
|
||||||
|
HOMEPAGE="https://qtpass.org/"
|
||||||
|
SRC_URI="https://github.com/IJHack/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND="app-admin/pass
|
||||||
|
dev-qt/qtcore:5
|
||||||
|
dev-qt/qtgui:5[xcb]
|
||||||
|
dev-qt/qtnetwork:5
|
||||||
|
dev-qt/qtwidgets:5
|
||||||
|
net-misc/x11-ssh-askpass"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-qt/linguist-tools:5
|
||||||
|
dev-qt/qtsvg:5
|
||||||
|
test? ( dev-qt/qttest:5 )"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
DOCS=( {CHANGELOG,CONTRIBUTING,FAQ,README}.md )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if ! use test ; then
|
||||||
|
sed -i '/SUBDIRS += src /s/tests //' \
|
||||||
|
qtpass.pro || die "sed for qtpass.pro failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
eqmake5 PREFIX="${D}"/usr
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
insinto /usr/share/"${PN}"/translations
|
||||||
|
doins localization/*.qm
|
||||||
|
|
||||||
|
doman "${PN}".1
|
||||||
|
insinto /usr/share/applications
|
||||||
|
doins "${PN}".desktop
|
||||||
|
newicon artwork/icon.png "${PN}"-icon.png
|
||||||
|
insinto /usr/share/appdata
|
||||||
|
doins qtpass.appdata.xml
|
||||||
|
}
|
@ -0,0 +1,241 @@
|
|||||||
|
Add missing files for mmkubernetes tests
|
||||||
|
|
||||||
|
Upstream bug: https://github.com/rsyslog/rsyslog/pull/2719
|
||||||
|
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/mmkubernetes-basic.out.json
|
||||||
|
@@ -0,0 +1,110 @@
|
||||||
|
+[{
|
||||||
|
+ "kubernetes": {
|
||||||
|
+ "namespace_id": "namespace-name2-id",
|
||||||
|
+ "namespace_labels": {
|
||||||
|
+ "label_1_key": "label 1 value",
|
||||||
|
+ "label_with_empty_value": "",
|
||||||
|
+ "label_2_key": "label 2 value"
|
||||||
|
+ },
|
||||||
|
+ "creation_timestamp": "2018-04-09T21:56:39Z",
|
||||||
|
+ "pod_id": "pod-name2-id",
|
||||||
|
+ "labels": {
|
||||||
|
+ "custom_label": "pod-name2-label-value",
|
||||||
|
+ "deploymentconfig": "pod-name2-dc",
|
||||||
|
+ "component": "pod-name2-component",
|
||||||
|
+ "label_with_empty_value": "",
|
||||||
|
+ "deployment": "pod-name2-deployment"
|
||||||
|
+ },
|
||||||
|
+ "pod_name": "pod-name2",
|
||||||
|
+ "namespace_name": "namespace-name2",
|
||||||
|
+ "container_name": "container-name2",
|
||||||
|
+ "master_url": "http://localhost:18443"
|
||||||
|
+ },
|
||||||
|
+ "docker": {
|
||||||
|
+ "container_id": "id2"
|
||||||
|
+ }
|
||||||
|
+},
|
||||||
|
+{
|
||||||
|
+ "message": "a message from container 4",
|
||||||
|
+ "CONTAINER_NAME": "some-prefix_container-name4_pod-name4_namespace-name4_unused4_unused44",
|
||||||
|
+ "CONTAINER_ID_FULL": "id4",
|
||||||
|
+ "kubernetes": {
|
||||||
|
+ "namespace_id": "namespace-name4-id",
|
||||||
|
+ "namespace_labels": {
|
||||||
|
+ "label_1_key": "label 1 value",
|
||||||
|
+ "label_with_empty_value": "",
|
||||||
|
+ "label_2_key": "label 2 value"
|
||||||
|
+ },
|
||||||
|
+ "creation_timestamp": "2018-04-09T21:56:39Z",
|
||||||
|
+ "pod_id": "pod-name4-id",
|
||||||
|
+ "labels": {
|
||||||
|
+ "custom_label": "pod-name4-label-value",
|
||||||
|
+ "deploymentconfig": "pod-name4-dc",
|
||||||
|
+ "component": "pod-name4-component",
|
||||||
|
+ "label_with_empty_value": "",
|
||||||
|
+ "deployment": "pod-name4-deployment"
|
||||||
|
+ },
|
||||||
|
+ "pod_name": "pod-name4",
|
||||||
|
+ "namespace_name": "namespace-name4",
|
||||||
|
+ "container_name": "container-name4",
|
||||||
|
+ "master_url": "http://localhost:18443"
|
||||||
|
+ },
|
||||||
|
+ "docker": {
|
||||||
|
+ "container_id": "id4"
|
||||||
|
+ }
|
||||||
|
+},
|
||||||
|
+{
|
||||||
|
+ "kubernetes": {
|
||||||
|
+ "namespace_id": "namespace-name1-id",
|
||||||
|
+ "namespace_labels": {
|
||||||
|
+ "label_1_key": "label 1 value",
|
||||||
|
+ "label_with_empty_value": "",
|
||||||
|
+ "label_2_key": "label 2 value"
|
||||||
|
+ },
|
||||||
|
+ "creation_timestamp": "2018-04-09T21:56:39Z",
|
||||||
|
+ "pod_id": "pod-name1-id",
|
||||||
|
+ "labels": {
|
||||||
|
+ "custom_label": "pod-name1-label-value",
|
||||||
|
+ "deploymentconfig": "pod-name1-dc",
|
||||||
|
+ "component": "pod-name1-component",
|
||||||
|
+ "label_with_empty_value": "",
|
||||||
|
+ "deployment": "pod-name1-deployment"
|
||||||
|
+ },
|
||||||
|
+ "pod_name": "pod-name1",
|
||||||
|
+ "namespace_name": "namespace-name1",
|
||||||
|
+ "container_name": "container-name1",
|
||||||
|
+ "master_url": "http://localhost:18443"
|
||||||
|
+ },
|
||||||
|
+ "docker": {
|
||||||
|
+ "container_id": "id1"
|
||||||
|
+ }
|
||||||
|
+},
|
||||||
|
+{
|
||||||
|
+ "message": "a message from container 3",
|
||||||
|
+ "CONTAINER_NAME": "some-prefix_container-name3.container-hash3_pod-name3_namespace-name3_unused3_unused33",
|
||||||
|
+ "CONTAINER_ID_FULL": "id3",
|
||||||
|
+ "kubernetes": {
|
||||||
|
+ "namespace_id": "namespace-name3-id",
|
||||||
|
+ "namespace_labels": {
|
||||||
|
+ "label_1_key": "label 1 value",
|
||||||
|
+ "label_with_empty_value": "",
|
||||||
|
+ "label_2_key": "label 2 value"
|
||||||
|
+ },
|
||||||
|
+ "creation_timestamp": "2018-04-09T21:56:39Z",
|
||||||
|
+ "pod_id": "pod-name3-id",
|
||||||
|
+ "labels": {
|
||||||
|
+ "custom_label": "pod-name3-label-value",
|
||||||
|
+ "deploymentconfig": "pod-name3-dc",
|
||||||
|
+ "component": "pod-name3-component",
|
||||||
|
+ "label_with_empty_value": "",
|
||||||
|
+ "deployment": "pod-name3-deployment"
|
||||||
|
+ },
|
||||||
|
+ "pod_name": "pod-name3",
|
||||||
|
+ "namespace_name": "namespace-name3",
|
||||||
|
+ "container_name": "container-name3",
|
||||||
|
+ "master_url": "http://localhost:18443"
|
||||||
|
+ },
|
||||||
|
+ "docker": {
|
||||||
|
+ "container_id": "id3"
|
||||||
|
+ }
|
||||||
|
+}]
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/tests/mmkubernetes_test_server.py
|
||||||
|
@@ -0,0 +1,121 @@
|
||||||
|
+# Used by the mmkubernetes tests
|
||||||
|
+# This is a simple http server which responds to kubernetes api requests
|
||||||
|
+# and responds with kubernetes api server responses
|
||||||
|
+# added 2018-04-06 by richm, released under ASL 2.0
|
||||||
|
+import os
|
||||||
|
+import json
|
||||||
|
+import sys
|
||||||
|
+
|
||||||
|
+try:
|
||||||
|
+ from http.server import HTTPServer, BaseHTTPRequestHandler
|
||||||
|
+except ImportError:
|
||||||
|
+ from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
|
||||||
|
+
|
||||||
|
+ns_template = '''{{
|
||||||
|
+ "kind": "Namespace",
|
||||||
|
+ "apiVersion": "v1",
|
||||||
|
+ "metadata": {{
|
||||||
|
+ "name": "{namespace_name}",
|
||||||
|
+ "selfLink": "/api/v1/namespaces/{namespace_name}",
|
||||||
|
+ "uid": "{namespace_name}-id",
|
||||||
|
+ "resourceVersion": "2988",
|
||||||
|
+ "creationTimestamp": "2018-04-09T21:56:39Z",
|
||||||
|
+ "labels": {{
|
||||||
|
+ "label.1.key":"label 1 value",
|
||||||
|
+ "label.2.key":"label 2 value",
|
||||||
|
+ "label.with.empty.value":""
|
||||||
|
+ }},
|
||||||
|
+ "annotations": {{
|
||||||
|
+ "k8s.io/description": "",
|
||||||
|
+ "k8s.io/display-name": "",
|
||||||
|
+ "k8s.io/node-selector": "",
|
||||||
|
+ "k8s.io/sa.scc.mcs": "s0:c9,c4",
|
||||||
|
+ "k8s.io/sa.scc.supplemental-groups": "1000080000/10000",
|
||||||
|
+ "k8s.io/sa.scc.uid-range": "1000080000/10000",
|
||||||
|
+ "quota.k8s.io/cluster-resource-override-enabled": "false"
|
||||||
|
+ }}
|
||||||
|
+ }},
|
||||||
|
+ "spec": {{
|
||||||
|
+ "finalizers": [
|
||||||
|
+ "openshift.io/origin",
|
||||||
|
+ "kubernetes"
|
||||||
|
+ ]
|
||||||
|
+ }},
|
||||||
|
+ "status": {{
|
||||||
|
+ "phase": "Active"
|
||||||
|
+ }}
|
||||||
|
+}}'''
|
||||||
|
+
|
||||||
|
+pod_template = '''{{
|
||||||
|
+ "kind": "Pod",
|
||||||
|
+ "apiVersion": "v1",
|
||||||
|
+ "metadata": {{
|
||||||
|
+ "name": "{pod_name}",
|
||||||
|
+ "generateName": "{pod_name}-prefix",
|
||||||
|
+ "namespace": "{namespace_name}",
|
||||||
|
+ "selfLink": "/api/v1/namespaces/{namespace_name}/pods/{pod_name}",
|
||||||
|
+ "uid": "{pod_name}-id",
|
||||||
|
+ "resourceVersion": "3486",
|
||||||
|
+ "creationTimestamp": "2018-04-09T21:56:39Z",
|
||||||
|
+ "labels": {{
|
||||||
|
+ "component": "{pod_name}-component",
|
||||||
|
+ "deployment": "{pod_name}-deployment",
|
||||||
|
+ "deploymentconfig": "{pod_name}-dc",
|
||||||
|
+ "custom.label": "{pod_name}-label-value",
|
||||||
|
+ "label.with.empty.value":""
|
||||||
|
+ }},
|
||||||
|
+ "annotations": {{
|
||||||
|
+ "k8s.io/deployment-config.latest-version": "1",
|
||||||
|
+ "k8s.io/deployment-config.name": "{pod_name}-dc",
|
||||||
|
+ "k8s.io/deployment.name": "{pod_name}-deployment",
|
||||||
|
+ "k8s.io/custom.name": "custom value",
|
||||||
|
+ "annotation.with.empty.value":""
|
||||||
|
+ }}
|
||||||
|
+ }},
|
||||||
|
+ "status": {{
|
||||||
|
+ "phase": "Running",
|
||||||
|
+ "hostIP": "172.18.4.32",
|
||||||
|
+ "podIP": "10.128.0.14",
|
||||||
|
+ "startTime": "2018-04-09T21:57:39Z"
|
||||||
|
+ }}
|
||||||
|
+}}'''
|
||||||
|
+
|
||||||
|
+class SimpleHTTPRequestHandler(BaseHTTPRequestHandler):
|
||||||
|
+
|
||||||
|
+ def do_GET(self):
|
||||||
|
+ # "http://localhost:18443/api/v1/namespaces/namespace-name2"
|
||||||
|
+ # parse url - either /api/v1/namespaces/$ns_name
|
||||||
|
+ # or
|
||||||
|
+ # /api/v1/namespaces/$ns_name/pods/$pod_name
|
||||||
|
+ comps = self.path.split('/')
|
||||||
|
+ status = 400
|
||||||
|
+ if len(comps) >= 5 and comps[1] == 'api' and comps[2] == 'v1':
|
||||||
|
+ if len(comps) == 5 and comps[3] == 'namespaces': # namespace
|
||||||
|
+ resp = ns_template.format(namespace_name=comps[4])
|
||||||
|
+ status = 200
|
||||||
|
+ elif len(comps) == 7 and comps[3] == 'namespaces' and comps[5] == 'pods':
|
||||||
|
+ resp = pod_template.format(namespace_name=comps[4], pod_name=comps[6])
|
||||||
|
+ status = 200
|
||||||
|
+ else:
|
||||||
|
+ resp = '{{"error":"do not recognize {0}"}}'.format(self.path)
|
||||||
|
+ else:
|
||||||
|
+ resp = '{{"error":"do not recognize {0}"}}'.format(self.path)
|
||||||
|
+ if not status == 200:
|
||||||
|
+ self.log_error(resp)
|
||||||
|
+ self.send_response(status)
|
||||||
|
+ self.end_headers()
|
||||||
|
+ self.wfile.write(json.dumps(json.loads(resp), separators=(',',':')))
|
||||||
|
+
|
||||||
|
+port = int(sys.argv[1])
|
||||||
|
+
|
||||||
|
+httpd = HTTPServer(('localhost', port), SimpleHTTPRequestHandler)
|
||||||
|
+
|
||||||
|
+# write "started" to file named in argv[3]
|
||||||
|
+with open(sys.argv[3], "w") as ff:
|
||||||
|
+ ff.write("started\n")
|
||||||
|
+
|
||||||
|
+# write pid to file named in argv[2]
|
||||||
|
+with open(sys.argv[2], "w") as ff:
|
||||||
|
+ ff.write('{0}\n'.format(os.getpid()))
|
||||||
|
+
|
||||||
|
+httpd.serve_forever()
|
@ -0,0 +1,464 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
||||||
|
|
||||||
|
inherit autotools eutils linux-info python-any-r1 systemd
|
||||||
|
|
||||||
|
DESCRIPTION="An enhanced multi-threaded syslogd with database support and more"
|
||||||
|
HOMEPAGE="https://www.rsyslog.com/"
|
||||||
|
|
||||||
|
BRANCH="8-stable"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="https://github.com/rsyslog/${PN}.git"
|
||||||
|
|
||||||
|
DOC_REPO_URI="https://github.com/rsyslog/${PN}-doc.git"
|
||||||
|
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
MY_PV=${PV%_rc*}
|
||||||
|
MY_FILENAME="${PN}-${PV}.tar.gz"
|
||||||
|
MY_FILENAME_DOCS="${PN}-docs-${PV}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||||
|
|
||||||
|
# Upstream URL schema:
|
||||||
|
# RC: https://www.rsyslog.com/files/download/rsyslog/rc/rsyslog-8.18.0.tar.gz
|
||||||
|
# https://www.rsyslog.com/files/download/rsyslog/rc2/rsyslog-8.18.0.tar.gz
|
||||||
|
# Release: https://www.rsyslog.com/files/download/rsyslog/rsyslog-8.18.0.tar.gz
|
||||||
|
|
||||||
|
MY_URL_PREFIX=
|
||||||
|
if [[ ${PV} = *_rc* ]]; then
|
||||||
|
_tmp_last_index=$(($(get_last_version_component_index ${PV})+1))
|
||||||
|
_tmp_suffix=$(get_version_component_range ${_tmp_last_index} ${PV})
|
||||||
|
if [[ ${_tmp_suffix} = *rc* ]]; then
|
||||||
|
MY_URL_PREFIX="${_tmp_suffix}/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Cleaning up temporary variables
|
||||||
|
unset _tmp_last_index
|
||||||
|
unset _tmp_suffix
|
||||||
|
else
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
SRC_URI="
|
||||||
|
https://www.rsyslog.com/files/download/${PN}/${MY_URL_PREFIX}${PN}-${MY_PV}.tar.gz -> ${MY_FILENAME}
|
||||||
|
doc? ( https://www.rsyslog.com/files/download/${PN}/${MY_URL_PREFIX}${PN}-doc-${MY_PV}.tar.gz -> ${MY_FILENAME_DOCS} )
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/${BRANCH}/${PN}-8.35.0-fix-issue2719.patch )
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3 LGPL-3 Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="curl dbi debug doc elasticsearch +gcrypt grok jemalloc kafka kerberos kubernetes libressl mdblookup mongodb mysql"
|
||||||
|
IUSE+=" normalize omhttpfs omudpspoof postgres rabbitmq redis relp rfc3195 rfc5424hmac snmp ssl systemd test usertools +uuid zeromq"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/libfastjson-0.99.8:=
|
||||||
|
>=dev-libs/libestr-0.1.9
|
||||||
|
>=dev-libs/liblogging-1.0.1:=[stdlog]
|
||||||
|
>=sys-libs/zlib-1.2.5
|
||||||
|
curl? ( >=net-misc/curl-7.35.0 )
|
||||||
|
dbi? ( >=dev-db/libdbi-0.8.3 )
|
||||||
|
elasticsearch? ( >=net-misc/curl-7.35.0 )
|
||||||
|
gcrypt? ( >=dev-libs/libgcrypt-1.5.3:= )
|
||||||
|
grok? ( >=dev-libs/grok-0.9.2 )
|
||||||
|
jemalloc? ( >=dev-libs/jemalloc-3.3.1:= )
|
||||||
|
kafka? ( >=dev-libs/librdkafka-0.9.0.99:= )
|
||||||
|
kerberos? ( virtual/krb5 )
|
||||||
|
kubernetes? ( >=net-misc/curl-7.35.0 )
|
||||||
|
mdblookup? ( dev-libs/libmaxminddb:= )
|
||||||
|
mongodb? ( >=dev-libs/mongo-c-driver-1.1.10:= )
|
||||||
|
mysql? ( virtual/libmysqlclient:= )
|
||||||
|
normalize? (
|
||||||
|
>=dev-libs/libee-0.4.0
|
||||||
|
>=dev-libs/liblognorm-2.0.3:=
|
||||||
|
)
|
||||||
|
omhttpfs? ( >=net-misc/curl-7.35.0 )
|
||||||
|
omudpspoof? ( >=net-libs/libnet-1.1.6 )
|
||||||
|
postgres? ( >=dev-db/postgresql-8.4.20:= )
|
||||||
|
rabbitmq? ( >=net-libs/rabbitmq-c-0.3.0:= )
|
||||||
|
redis? ( >=dev-libs/hiredis-0.11.0:= )
|
||||||
|
relp? ( >=dev-libs/librelp-1.2.14:= )
|
||||||
|
rfc3195? ( >=dev-libs/liblogging-1.0.1:=[rfc3195] )
|
||||||
|
rfc5424hmac? (
|
||||||
|
!libressl? ( >=dev-libs/openssl-0.9.8y:0= )
|
||||||
|
libressl? ( dev-libs/libressl:= )
|
||||||
|
)
|
||||||
|
snmp? ( >=net-analyzer/net-snmp-5.7.2 )
|
||||||
|
ssl? ( >=net-libs/gnutls-2.12.23:0= )
|
||||||
|
systemd? ( >=sys-apps/systemd-234 )
|
||||||
|
uuid? ( sys-apps/util-linux:0= )
|
||||||
|
zeromq? (
|
||||||
|
>=net-libs/czmq-3.0.2
|
||||||
|
)"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
>=sys-devel/autoconf-archive-2015.02.24
|
||||||
|
virtual/pkgconfig
|
||||||
|
test? (
|
||||||
|
jemalloc? ( <sys-libs/libfaketime-0.9.7 )
|
||||||
|
!jemalloc? ( sys-libs/libfaketime )
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
)"
|
||||||
|
|
||||||
|
REQUIRED_USE="kubernetes? ( normalize )"
|
||||||
|
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
DEPEND+=" doc? ( >=dev-python/sphinx-1.1.3-r7 )"
|
||||||
|
DEPEND+=" >=sys-devel/flex-2.5.39-r1"
|
||||||
|
DEPEND+=" >=sys-devel/bison-2.4.3"
|
||||||
|
DEPEND+=" >=dev-python/docutils-0.12"
|
||||||
|
fi
|
||||||
|
|
||||||
|
CONFIG_CHECK="~INOTIFY_USER"
|
||||||
|
WARNING_INOTIFY_USER="CONFIG_INOTIFY_USER isn't set. Imfile module on this system will only support polling mode!"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use test && python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
git-r3_fetch
|
||||||
|
git-r3_checkout
|
||||||
|
else
|
||||||
|
unpack ${P}.tar.gz
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
if [[ ${PV} == "9999" ]]; then
|
||||||
|
local _EGIT_BRANCH=
|
||||||
|
if [[ -n "${EGIT_BRANCH}" ]]; then
|
||||||
|
# Cannot use rsyslog commits/branches for documentation repository
|
||||||
|
_EGIT_BRANCH=${EGIT_BRANCH}
|
||||||
|
unset EGIT_BRANCH
|
||||||
|
fi
|
||||||
|
|
||||||
|
git-r3_fetch "${DOC_REPO_URI}"
|
||||||
|
git-r3_checkout "${DOC_REPO_URI}" "${S}"/docs
|
||||||
|
|
||||||
|
if [[ -n "${_EGIT_BRANCH}" ]]; then
|
||||||
|
# Restore previous EGIT_BRANCH information
|
||||||
|
EGIT_BRANCH=${_EGIT_BRANCH}
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
cd "${S}" || die "Cannot change dir into '${S}'"
|
||||||
|
mkdir docs || die "Failed to create docs directory"
|
||||||
|
cd docs || die "Failed to change dir into '${S}/docs'"
|
||||||
|
unpack ${MY_FILENAME_DOCS}
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# Maintainer notes:
|
||||||
|
# * Guardtime support is missing because libgt isn't yet available
|
||||||
|
# in portage.
|
||||||
|
# * Hadoop's HDFS file system output module is currently not
|
||||||
|
# supported in Gentoo because nobody is able to test it
|
||||||
|
# (JAVA dependency).
|
||||||
|
# * dev-libs/hiredis doesn't provide pkg-config (see #504614,
|
||||||
|
# upstream PR 129 and 136) so we need to export HIREDIS_*
|
||||||
|
# variables because rsyslog's build system depends on pkg-config.
|
||||||
|
|
||||||
|
if use redis; then
|
||||||
|
export HIREDIS_LIBS="-L${EPREFIX}/usr/$(get_libdir) -lhiredis"
|
||||||
|
export HIREDIS_CFLAGS="-I${EPREFIX}/usr/include"
|
||||||
|
fi
|
||||||
|
|
||||||
|
local myeconfargs=(
|
||||||
|
--disable-debug-symbols
|
||||||
|
--disable-generate-man-pages
|
||||||
|
--without-valgrind-testbench
|
||||||
|
$(use_enable test testbench)
|
||||||
|
$(use_enable curl libcurl)
|
||||||
|
# Input Plugins without depedencies
|
||||||
|
--enable-imdiag
|
||||||
|
--enable-imfile
|
||||||
|
--enable-impstats
|
||||||
|
--enable-imptcp
|
||||||
|
# Message Modificiation Plugins without depedencies
|
||||||
|
--enable-mmanon
|
||||||
|
--enable-mmaudit
|
||||||
|
--enable-mmcount
|
||||||
|
--enable-mmfields
|
||||||
|
--enable-mmjsonparse
|
||||||
|
--enable-mmpstrucdata
|
||||||
|
--enable-mmrm1stspace
|
||||||
|
--enable-mmsequence
|
||||||
|
--enable-mmutf8fix
|
||||||
|
# Output Modification Plugins without dependencies
|
||||||
|
--enable-mail
|
||||||
|
--enable-omprog
|
||||||
|
--enable-omruleset
|
||||||
|
--enable-omstdout
|
||||||
|
--enable-omuxsock
|
||||||
|
# Misc
|
||||||
|
--enable-pmaixforwardedfrom
|
||||||
|
--enable-pmciscoios
|
||||||
|
--enable-pmcisconames
|
||||||
|
--enable-pmlastmsg
|
||||||
|
--enable-pmsnare
|
||||||
|
# DB
|
||||||
|
$(use_enable dbi libdbi)
|
||||||
|
$(use_enable mongodb ommongodb)
|
||||||
|
$(use_enable mysql)
|
||||||
|
$(use_enable postgres pgsql)
|
||||||
|
$(use_enable redis omhiredis)
|
||||||
|
# Debug
|
||||||
|
$(use_enable debug)
|
||||||
|
$(use_enable debug diagtools)
|
||||||
|
$(use_enable debug memcheck)
|
||||||
|
$(use_enable debug rtinst)
|
||||||
|
$(use_enable debug valgrind)
|
||||||
|
# Misc
|
||||||
|
$(use_enable curl fmhttp)
|
||||||
|
$(use_enable elasticsearch)
|
||||||
|
$(use_enable gcrypt libgcrypt)
|
||||||
|
$(use_enable jemalloc)
|
||||||
|
$(use_enable kafka imkafka)
|
||||||
|
$(use_enable kafka omkafka)
|
||||||
|
$(use_enable kerberos gssapi-krb5)
|
||||||
|
$(use_enable kubernetes mmkubernetes)
|
||||||
|
$(use_enable normalize mmnormalize)
|
||||||
|
$(use_enable mdblookup mmdblookup)
|
||||||
|
$(use_enable grok mmgrok)
|
||||||
|
$(use_enable omhttpfs)
|
||||||
|
$(use_enable omudpspoof)
|
||||||
|
$(use_enable rabbitmq omrabbitmq)
|
||||||
|
$(use_enable relp)
|
||||||
|
$(use_enable rfc3195)
|
||||||
|
$(use_enable rfc5424hmac mmrfc5424addhmac)
|
||||||
|
$(use_enable snmp)
|
||||||
|
$(use_enable snmp mmsnmptrapd)
|
||||||
|
$(use_enable ssl gnutls)
|
||||||
|
$(use_enable systemd imjournal)
|
||||||
|
$(use_enable systemd omjournal)
|
||||||
|
$(use_enable usertools)
|
||||||
|
$(use_enable uuid)
|
||||||
|
$(use_enable zeromq imczmq)
|
||||||
|
$(use_enable zeromq omczmq)
|
||||||
|
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if use doc && [[ "${PV}" == "9999" ]]; then
|
||||||
|
einfo "Building documentation ..."
|
||||||
|
local doc_dir="${S}/docs"
|
||||||
|
cd "${doc_dir}" || die "Cannot chdir into \"${doc_dir}\"!"
|
||||||
|
sphinx-build -b html source build || die "Building documentation failed!"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
local _has_increased_ulimit=
|
||||||
|
|
||||||
|
# Sometimes tests aren't executable (i.e. when added via patch)
|
||||||
|
einfo "Adjusting permissions of test scripts ..."
|
||||||
|
find "${S}"/tests -type f -name '*.sh' \! -perm -111 -exec chmod a+x '{}' \; || \
|
||||||
|
die "Failed to adjust test scripts permission"
|
||||||
|
|
||||||
|
if ulimit -n 3072; then
|
||||||
|
_has_increased_ulimit="true"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! emake --jobs 1 check; then
|
||||||
|
eerror "Test suite failed! :("
|
||||||
|
|
||||||
|
if [[ -z "${_has_increased_ulimit}" ]]; then
|
||||||
|
eerror "Probably because open file limit couldn't be set to 3072."
|
||||||
|
fi
|
||||||
|
|
||||||
|
if has userpriv ${FEATURES}; then
|
||||||
|
eerror "Please try to reproduce the test suite failure with FEATURES=-userpriv " \
|
||||||
|
"before you submit a bug report."
|
||||||
|
fi
|
||||||
|
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local DOCS=(
|
||||||
|
AUTHORS
|
||||||
|
ChangeLog
|
||||||
|
"${FILESDIR}"/${BRANCH}/README.gentoo
|
||||||
|
)
|
||||||
|
|
||||||
|
use doc && local HTML_DOCS=( "${S}/docs/build/." )
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}/${BRANCH}/${PN}.confd-r1" ${PN}
|
||||||
|
newinitd "${FILESDIR}/${BRANCH}/${PN}.initd-r1" ${PN}
|
||||||
|
|
||||||
|
keepdir /var/empty/dev
|
||||||
|
keepdir /var/spool/${PN}
|
||||||
|
keepdir /etc/ssl/${PN}
|
||||||
|
keepdir /etc/${PN}.d
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
newins "${FILESDIR}/${BRANCH}/${PN}.conf" ${PN}.conf
|
||||||
|
|
||||||
|
insinto /etc/rsyslog.d/
|
||||||
|
newins "${FILESDIR}/${BRANCH}/50-default-r1.conf" 50-default.conf
|
||||||
|
|
||||||
|
insinto /etc/logrotate.d/
|
||||||
|
newins "${FILESDIR}/${BRANCH}/${PN}.logrotate" ${PN}
|
||||||
|
|
||||||
|
if use mysql; then
|
||||||
|
insinto /usr/share/doc/${PF}/scripts/mysql
|
||||||
|
doins plugins/ommysql/createDB.sql
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use postgres; then
|
||||||
|
insinto /usr/share/doc/${PF}/scripts/pgsql
|
||||||
|
doins plugins/ompgsql/createDB.sql
|
||||||
|
fi
|
||||||
|
|
||||||
|
prune_libtool_files --modules
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
local advertise_readme=0
|
||||||
|
|
||||||
|
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||||
|
# This is a new installation
|
||||||
|
|
||||||
|
advertise_readme=1
|
||||||
|
|
||||||
|
if use mysql || use postgres; then
|
||||||
|
echo
|
||||||
|
elog "Sample SQL scripts for MySQL & PostgreSQL have been installed to:"
|
||||||
|
elog " /usr/share/doc/${PF}/scripts"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ssl; then
|
||||||
|
echo
|
||||||
|
elog "To create a default CA and certificates for your server and clients, run:"
|
||||||
|
elog " emerge --config =${PF}"
|
||||||
|
elog "on your logging server. You can run it several times,"
|
||||||
|
elog "once for each logging client. The client certificates will be signed"
|
||||||
|
elog "using the CA certificate generated during the first run."
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${advertise_readme} -gt 0 ]]; then
|
||||||
|
# We need to show the README file location
|
||||||
|
|
||||||
|
echo ""
|
||||||
|
elog "Please read"
|
||||||
|
elog ""
|
||||||
|
elog " ${EPREFIX}/usr/share/doc/${PF}/README.gentoo*"
|
||||||
|
elog ""
|
||||||
|
elog "for more details."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_config() {
|
||||||
|
if ! use ssl ; then
|
||||||
|
einfo "There is nothing to configure for rsyslog unless you"
|
||||||
|
einfo "used USE=ssl to build it."
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Make sure the certificates directory exists
|
||||||
|
local CERTDIR="${EROOT}/etc/ssl/${PN}"
|
||||||
|
if [[ ! -d "${CERTDIR}" ]]; then
|
||||||
|
mkdir "${CERTDIR}" || die
|
||||||
|
fi
|
||||||
|
einfo "Your certificates will be stored in ${CERTDIR}"
|
||||||
|
|
||||||
|
# Create a default CA if needed
|
||||||
|
if [[ ! -f "${CERTDIR}/${PN}_ca.cert.pem" ]]; then
|
||||||
|
einfo "No CA key and certificate found in ${CERTDIR}, creating them for you..."
|
||||||
|
certtool --generate-privkey \
|
||||||
|
--outfile "${CERTDIR}/${PN}_ca.privkey.pem" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||||
|
|
||||||
|
cat > "${T}/${PF}.$$" <<- _EOF
|
||||||
|
cn = Portage automated CA
|
||||||
|
ca
|
||||||
|
cert_signing_key
|
||||||
|
expiration_days = 3650
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
certtool --generate-self-signed \
|
||||||
|
--load-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||||
|
--outfile "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||||
|
--template "${T}/${PF}.$$" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_ca.privkey.pem"
|
||||||
|
|
||||||
|
# Create the server certificate
|
||||||
|
echo
|
||||||
|
einfon "Please type the Common Name of the SERVER you wish to create a certificate for: "
|
||||||
|
read -r CN
|
||||||
|
|
||||||
|
einfo "Creating private key and certificate for server ${CN}..."
|
||||||
|
certtool --generate-privkey \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||||
|
|
||||||
|
cat > "${T}/${PF}.$$" <<- _EOF
|
||||||
|
cn = ${CN}
|
||||||
|
tls_www_server
|
||||||
|
dns_name = ${CN}
|
||||||
|
expiration_days = 3650
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
certtool --generate-certificate \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||||
|
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||||
|
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||||
|
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||||
|
--template "${T}/${PF}.$$" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||||
|
|
||||||
|
else
|
||||||
|
einfo "Found existing ${CERTDIR}/${PN}_ca.cert.pem, skipping CA and SERVER creation."
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Create a client certificate
|
||||||
|
echo
|
||||||
|
einfon "Please type the Common Name of the CLIENT you wish to create a certificate for: "
|
||||||
|
read -r CN
|
||||||
|
|
||||||
|
einfo "Creating private key and certificate for client ${CN}..."
|
||||||
|
certtool --generate-privkey \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.key.pem" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.key.pem"
|
||||||
|
|
||||||
|
cat > "${T}/${PF}.$$" <<- _EOF
|
||||||
|
cn = ${CN}
|
||||||
|
tls_www_client
|
||||||
|
dns_name = ${CN}
|
||||||
|
expiration_days = 3650
|
||||||
|
_EOF
|
||||||
|
|
||||||
|
certtool --generate-certificate \
|
||||||
|
--outfile "${CERTDIR}/${PN}_${CN}.cert.pem" \
|
||||||
|
--load-privkey "${CERTDIR}/${PN}_${CN}.key.pem" \
|
||||||
|
--load-ca-certificate "${CERTDIR}/${PN}_ca.cert.pem" \
|
||||||
|
--load-ca-privkey "${CERTDIR}/${PN}_ca.privkey.pem" \
|
||||||
|
--template "${T}/${PF}.$$" &>/dev/null
|
||||||
|
chmod 400 "${CERTDIR}/${PN}_${CN}.cert.pem"
|
||||||
|
|
||||||
|
rm -f "${T}/${PF}.$$"
|
||||||
|
|
||||||
|
echo
|
||||||
|
einfo "Here is the documentation on how to encrypt your log traffic:"
|
||||||
|
einfo " https://www.rsyslog.com/doc/rsyslog_tls.html"
|
||||||
|
}
|
Binary file not shown.
@ -1,4 +1,3 @@
|
|||||||
DIST unrar-5.5.8.tar.gz 222285 BLAKE2B ec6317fc95674a3f282f92762ee89d2fd21d162a96b7b1ea29de9f4ab0ebf0bdb9c3e7141c7146d4bd2e570620db7d7850bc9a8c45a42ef745af1d75d4df5a71 SHA512 9eac83707fa47a03925e5f3e8adf47889064d748304b732d12a2d379ab525b441f1aa33216377d4ef445f45c4e8ad73d2cd0b560601ceac344c60571b77fd6aa
|
DIST unrar-5.5.8.tar.gz 222285 BLAKE2B ec6317fc95674a3f282f92762ee89d2fd21d162a96b7b1ea29de9f4ab0ebf0bdb9c3e7141c7146d4bd2e570620db7d7850bc9a8c45a42ef745af1d75d4df5a71 SHA512 9eac83707fa47a03925e5f3e8adf47889064d748304b732d12a2d379ab525b441f1aa33216377d4ef445f45c4e8ad73d2cd0b560601ceac344c60571b77fd6aa
|
||||||
DIST unrar-5.6.1.tar.gz 225408 BLAKE2B 1b4cef7b55dec0658d4eca09e9dc933ed1ad10d87dabe3626a01974bddb51dabf89c39f2db200cbe4388a682c0a756c720d116b9654e4539bfca1658396d0768 SHA512 62f37f9e3deb86651c92832190fa27a8e4490084c6a95f42e8a5f5668fbc7aafd9c273a2c60683c3534b614e0ca44b20d18598296f67edb0812850a50b807e77
|
|
||||||
DIST unrar-5.6.2.tar.gz 225677 BLAKE2B a8eaf1ca3262caedb1f1a44109d26e688208d62c2424b476e40b90406be8d6274073bae4f1963b0f7eec4e978a25347b36be8561e74143c6a6ce84e2c4956130 SHA512 67f958330bc58fecc2fde3a16073bb44b61b5fd4a0ff19c5e345ce830a1ff3f00f3fb2507455912b7b3252804b9d27a92c4469f31513337569fed298d6af7655
|
|
||||||
DIST unrar-5.6.3.tar.gz 225788 BLAKE2B 8baf99ef85052a395fe0f2daed41803587e7d839949488eb3430e3d3a3dbca30ef894530d5ef40757f7ea2ffdfb2d493e8e13d7322e65885cf03f8fa0859b804 SHA512 cd3c97d357242a91917cdd9ee6898527829bff73dd187e58d7490d0d0ed5ffd8f8db651ce63d4bd8307c6a085fa95d72faa7b0cf1348bba191086136232a98fc
|
DIST unrar-5.6.3.tar.gz 225788 BLAKE2B 8baf99ef85052a395fe0f2daed41803587e7d839949488eb3430e3d3a3dbca30ef894530d5ef40757f7ea2ffdfb2d493e8e13d7322e65885cf03f8fa0859b804 SHA512 cd3c97d357242a91917cdd9ee6898527829bff73dd187e58d7490d0d0ed5ffd8f8db651ce63d4bd8307c6a085fa95d72faa7b0cf1348bba191086136232a98fc
|
||||||
|
DIST unrar-5.6.4.tar.gz 225849 BLAKE2B 56257ab9482841a1a27e5afd5b00b19e7319eef250168f08826e3cb63eefa063ece8198133d8439fca8d8905d303715751e24ed36a5018f03982c03cda27a53b SHA512 0ff55a82f8593c59c9773ffa7dec00386b762c504a08497bc1a50de5502c52e1c1d1043cb8ba353291aa61a3ebc9f5f0a21d313d89639f400e5fc45f01d62cca
|
||||||
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2018 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="6"
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
|
||||||
|
|
||||||
MY_PN=${PN}src
|
|
||||||
|
|
||||||
DESCRIPTION="Uncompress rar files"
|
|
||||||
HOMEPAGE="https://www.rarlab.com/rar_add.htm"
|
|
||||||
SRC_URI="https://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="unRAR"
|
|
||||||
# subslot = soname version
|
|
||||||
SLOT="0/5"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
|
||||||
|
|
||||||
S=${WORKDIR}/unrar
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-5.5.5-build.patch
|
|
||||||
"${FILESDIR}"/${PN}-5.5.5-honor-flags.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
|
||||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
|
||||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
|
||||||
else
|
|
||||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
|
||||||
fi
|
|
||||||
sed -i "${sed_args[@]}" makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
mkdir -p build-{lib,bin}
|
|
||||||
printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
|
|
||||||
cp build-{lib,bin}/Makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
unrar_make() {
|
|
||||||
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
|
||||||
}
|
|
||||||
|
|
||||||
unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
|
|
||||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname) || die
|
|
||||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV}) || die
|
|
||||||
|
|
||||||
unrar_make -C build-bin
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin build-bin/unrar
|
|
||||||
dodoc readme.txt
|
|
||||||
|
|
||||||
dolib.so build-lib/libunrar*
|
|
||||||
|
|
||||||
insinto /usr/include/libunrar${PV%.*.*}
|
|
||||||
doins *.hpp
|
|
||||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
|
||||||
}
|
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST eid-mw-4.2.5.tar.gz 7751526 BLAKE2B 4836dc3a5ba4d781b8c342231cbbe74411fc6f0bf4b32eaa42ac28ea7688815361f74a1def371a05e250d3249af7ff58d24a66062fe169717872d6789ffb54f1 SHA512 cf00f6aa295c3d057e77faddde31ba6b00ce44402bc0ad141c773fb58067d7cf2e107fc5f3a294be8731de592cb0895537cd29ad4e69f6721e6c77fa99c12075
|
|
||||||
DIST eid-mw-4.2.8.tar.gz 7076407 BLAKE2B e1d9b375adb326cb710da9eb5cd125086cb40b6ee37ce2ac3912ac4b5fa9c92d66c8af002a47c9ce73ff98ad2306e96529e1c87486eb0f36e61a1f4eb2231b9f SHA512 bf910e8b5bad40fe65765524af20cf18e2c615b6b7bddfdd3024309d90767952875f1c264ea8bd8dfc73621a41683fce02501febe71c016816ccc0f75d88d8cb
|
|
||||||
DIST eid-mw-4.3.6.tar.gz 7515482 BLAKE2B 8895564736be83ad2f9797a6cfcbc6cb50a928c36508b9ddcf8e9032d7b4de9284745d711a7664edba106ad005a63eb1fddb5c1e639305b4af12f49ab8dbc61c SHA512 336181c21896bec0e7a0a67f5bc739fdc63ca7b17eb6fefa98b6d468810fcdb52ecb6a64f267cdcfc063a2ef599d033064ec90b6bb41ec7ceccc2ca8e829a82b
|
DIST eid-mw-4.3.6.tar.gz 7515482 BLAKE2B 8895564736be83ad2f9797a6cfcbc6cb50a928c36508b9ddcf8e9032d7b4de9284745d711a7664edba106ad005a63eb1fddb5c1e639305b4af12f49ab8dbc61c SHA512 336181c21896bec0e7a0a67f5bc739fdc63ca7b17eb6fefa98b6d468810fcdb52ecb6a64f267cdcfc063a2ef599d033064ec90b6bb41ec7ceccc2ca8e829a82b
|
||||||
|
DIST eid-mw-4.4.1.tar.gz 7708697 BLAKE2B 7bdbaa37af1cdd5a8abd1519939f663c7c871cea49850932d97c391465de362885b061c024285ab2690473a4bb1ba57a70fdc12a720246b2a610ac9525f6395e SHA512 9de54858ac052eeff101070dd11c5cf60ab1d29b8dc8d946680745acf9aa6ba1044ca5451eca6066b5b467fbc32a2a23bbe7e8551ca7559e6003a4097a304cfc
|
||||||
|
@ -1,97 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit eutils autotools mozextension
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="https://github.com/Fedict/${PN}.git"
|
|
||||||
inherit git-r3
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
SRC_URI="https://codeload.github.com/fedict/${PN}/tar.gz/v${PV} ->
|
|
||||||
${P}.tar.gz"
|
|
||||||
KEYWORDS="~x86 ~amd64 ~arm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="LGPL-3"
|
|
||||||
DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government"
|
|
||||||
|
|
||||||
HOMEPAGE="https://eid.belgium.be"
|
|
||||||
|
|
||||||
IUSE="+dialogs +gtk p11-kit +xpi"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
dialogs? ( gtk )"
|
|
||||||
|
|
||||||
RDEPEND="gtk? (
|
|
||||||
x11-libs/gdk-pixbuf[jpeg]
|
|
||||||
x11-libs/gtk+:*
|
|
||||||
dev-libs/libxml2
|
|
||||||
net-misc/curl[ssl]
|
|
||||||
net-libs/libproxy
|
|
||||||
!app-misc/eid-viewer-bin
|
|
||||||
)
|
|
||||||
>=sys-apps/pcsc-lite-1.2.9
|
|
||||||
p11-kit? ( app-crypt/p11-kit )
|
|
||||||
xpi? ( || ( >=www-client/firefox-bin-3.6.24
|
|
||||||
>=www-client/firefox-3.6.20 ) )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
sed -i -e 's:/beid/rsaref220:/rsaref220:' configure.ac || die
|
|
||||||
sed -i -e 's:/beid::' cardcomm/pkcs11/src/libbeidpkcs11.pc.in || die
|
|
||||||
|
|
||||||
# hardcoded lsb_info
|
|
||||||
sed -i \
|
|
||||||
-e "s:get_lsb_info('i'):strdup(_(\"Gentoo\")):" \
|
|
||||||
-e "s:get_lsb_info('r'):strdup(_(\"n/a\")):" \
|
|
||||||
-e "s:get_lsb_info('c'):strdup(_(\"n/a\")):" \
|
|
||||||
plugins_tools/aboutmw/gtk/about-main.c || die
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
use gtk || eapply "${FILESDIR}"/gtk_not_required_9999.patch
|
|
||||||
else
|
|
||||||
use gtk || eapply "${FILESDIR}"/gtk_not_required_4_2_5.patch
|
|
||||||
fi
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_enable dialogs) \
|
|
||||||
$(use_enable p11-kit p11kit) \
|
|
||||||
--with-gnu-ld \
|
|
||||||
--disable-static \
|
|
||||||
--disable-signed
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
if use xpi; then
|
|
||||||
declare MOZILLA_FIVE_HOME
|
|
||||||
if has_version '>=www-client/firefox-3.6.20'; then
|
|
||||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
|
|
||||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
|
||||||
fi
|
|
||||||
if has_version '>=www-client/firefox-bin-3.6.24'; then
|
|
||||||
MOZILLA_FIVE_HOME="/opt/firefox"
|
|
||||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
rm -r "${D}/usr/share/mozilla" "${D}"/usr/$(get_libdir)/*.la || die
|
|
||||||
use gtk || rm -r "${D}/usr/include/eid-util" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst()
|
|
||||||
{
|
|
||||||
use gtk && glib-compile-schemas /usr/share/glib-2.0/schemas/
|
|
||||||
}
|
|
@ -1,94 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit eutils autotools mozextension
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="https://github.com/Fedict/${PN}.git"
|
|
||||||
inherit git-r3
|
|
||||||
SRC_URI=""
|
|
||||||
else
|
|
||||||
SRC_URI="https://codeload.github.com/fedict/${PN}/tar.gz/v${PV} ->
|
|
||||||
${P}.tar.gz"
|
|
||||||
KEYWORDS="~x86 ~amd64 ~arm"
|
|
||||||
fi
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
LICENSE="LGPL-3"
|
|
||||||
DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government"
|
|
||||||
|
|
||||||
HOMEPAGE="https://eid.belgium.be"
|
|
||||||
|
|
||||||
IUSE="+dialogs +gtk p11-kit +xpi"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
dialogs? ( gtk )"
|
|
||||||
|
|
||||||
RDEPEND="gtk? (
|
|
||||||
x11-libs/gdk-pixbuf[jpeg]
|
|
||||||
x11-libs/gtk+:*
|
|
||||||
dev-libs/libxml2
|
|
||||||
net-misc/curl[ssl]
|
|
||||||
net-libs/libproxy
|
|
||||||
!app-misc/eid-viewer-bin
|
|
||||||
)
|
|
||||||
>=sys-apps/pcsc-lite-1.2.9
|
|
||||||
p11-kit? ( app-crypt/p11-kit )
|
|
||||||
xpi? ( || ( >=www-client/firefox-bin-3.6.24
|
|
||||||
>=www-client/firefox-3.6.20 ) )"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
eapply_user
|
|
||||||
|
|
||||||
sed -i -e 's:/beid/rsaref220:/rsaref220:' configure.ac || die
|
|
||||||
sed -i -e 's:/beid::' cardcomm/pkcs11/src/libbeidpkcs11.pc.in || die
|
|
||||||
|
|
||||||
# hardcoded lsb_info
|
|
||||||
sed -i \
|
|
||||||
-e "s:get_lsb_info('i'):strdup(_(\"Gentoo\")):" \
|
|
||||||
-e "s:get_lsb_info('r'):strdup(_(\"n/a\")):" \
|
|
||||||
-e "s:get_lsb_info('c'):strdup(_(\"n/a\")):" \
|
|
||||||
plugins_tools/aboutmw/gtk/about-main.c || die
|
|
||||||
|
|
||||||
use gtk || eapply "${FILESDIR}"/gtk_not_required_4_2_5.patch
|
|
||||||
eapply "${FILESDIR}"/fix_libressl_check.patch
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_enable dialogs) \
|
|
||||||
$(use_enable p11-kit p11kit) \
|
|
||||||
--with-gnu-ld \
|
|
||||||
--disable-static \
|
|
||||||
--disable-signed
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
|
|
||||||
if use xpi; then
|
|
||||||
declare MOZILLA_FIVE_HOME
|
|
||||||
if has_version '>=www-client/firefox-3.6.20'; then
|
|
||||||
MOZILLA_FIVE_HOME="/usr/$(get_libdir)/firefox"
|
|
||||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
|
||||||
fi
|
|
||||||
if has_version '>=www-client/firefox-bin-3.6.24'; then
|
|
||||||
MOZILLA_FIVE_HOME="/opt/firefox"
|
|
||||||
xpi_install "${D}/usr/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/belgiumeid@eid.belgium.be"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
rm -r "${D}/usr/share/mozilla" "${D}"/usr/$(get_libdir)/*.la || die
|
|
||||||
use gtk || rm -r "${D}/usr/include/eid-util" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst()
|
|
||||||
{
|
|
||||||
use gtk && glib-compile-schemas /usr/share/glib-2.0/schemas/
|
|
||||||
}
|
|
@ -0,0 +1,92 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit autotools gnome2-utils
|
||||||
|
|
||||||
|
DESCRIPTION="Electronic Identity Card middleware supplied by the Belgian Federal Government"
|
||||||
|
HOMEPAGE="https://eid.belgium.be"
|
||||||
|
SRC_URI="https://codeload.github.com/fedict/${PN}/tar.gz/v${PV} -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~x86 ~amd64 ~arm"
|
||||||
|
IUSE="+dialogs +gtk p11-kit"
|
||||||
|
|
||||||
|
RDEPEND=">=sys-apps/pcsc-lite-1.2.9
|
||||||
|
gtk? (
|
||||||
|
x11-libs/gdk-pixbuf[jpeg]
|
||||||
|
x11-libs/gtk+:*
|
||||||
|
dev-libs/libxml2
|
||||||
|
net-misc/curl[ssl]
|
||||||
|
net-libs/libproxy
|
||||||
|
!app-misc/eid-viewer-bin
|
||||||
|
)
|
||||||
|
p11-kit? ( app-crypt/p11-kit )"
|
||||||
|
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig"
|
||||||
|
|
||||||
|
REQUIRED_USE="dialogs? ( gtk )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
sed -i -e 's:/beid/rsaref220:/rsaref220:' configure.ac || die
|
||||||
|
sed -i -e 's:/beid::' cardcomm/pkcs11/src/libbeidpkcs11.pc.in || die
|
||||||
|
|
||||||
|
# Buggy internal versioning when autoreconf a tarball release.
|
||||||
|
# Weird numbering is required otherwise we get a seg fault in
|
||||||
|
# about-eid-mw program.
|
||||||
|
echo "${PV}-v${PV}" > .version
|
||||||
|
sed -i \
|
||||||
|
-e '/^GITDESC/ d' \
|
||||||
|
-e '/^VERCLEAN/ d' \
|
||||||
|
scripts/build-aux/genver.sh
|
||||||
|
|
||||||
|
# legacy xpi module : we don't want it anymore
|
||||||
|
sed -i -e 's:plugins_tools/xpi$::' Makefile.am || die
|
||||||
|
sed -i -e '/plugins_tools\/xpi/ d' configure.ac || die
|
||||||
|
|
||||||
|
# hardcoded lsb_info
|
||||||
|
sed -i \
|
||||||
|
-e "s:get_lsb_info('i'):strdup(_(\"Gentoo\")):" \
|
||||||
|
-e "s:get_lsb_info('r'):strdup(_(\"n/a\")):" \
|
||||||
|
-e "s:get_lsb_info('c'):strdup(_(\"n/a\")):" \
|
||||||
|
plugins_tools/aboutmw/gtk/about-main.c || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
$(use_enable dialogs) \
|
||||||
|
$(use_enable p11-kit p11kit) \
|
||||||
|
$(use_with gtk gtkvers 'detect') \
|
||||||
|
--with-gnu-ld \
|
||||||
|
--disable-static
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
rm -r "${ED}"/usr/$(get_libdir)/*.la || die
|
||||||
|
if use gtk; then
|
||||||
|
domenu plugins_tools/eid-viewer/eid-viewer.desktop
|
||||||
|
doicon plugins_tools/eid-viewer/gtk/eid-viewer.png
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst(){
|
||||||
|
if use gtk; then
|
||||||
|
gnome2_schemas_update
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm(){
|
||||||
|
if use gtk; then
|
||||||
|
gnome2_schemas_update
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST winetricks-20170823.tar.gz 639027 BLAKE2B ce0de22ff3363bd6fd675d07ea235ed5fb03ea7a84b3242329c094d6a9190c61813a1f360e74ece49d43d2dbf48dbbb1e94c4febc6e1a0d84cf1df895b0be6f9 SHA512 edc805be1a1c4fa64ae16b14fdd46786e259b88a0cde7afdf24bf934fa79f4acf3d9e599727fa589f155ec265569953b9e419cda79d54057157cbb1510261e3a
|
DIST winetricks-20170823.tar.gz 639027 BLAKE2B ce0de22ff3363bd6fd675d07ea235ed5fb03ea7a84b3242329c094d6a9190c61813a1f360e74ece49d43d2dbf48dbbb1e94c4febc6e1a0d84cf1df895b0be6f9 SHA512 edc805be1a1c4fa64ae16b14fdd46786e259b88a0cde7afdf24bf934fa79f4acf3d9e599727fa589f155ec265569953b9e419cda79d54057157cbb1510261e3a
|
||||||
DIST winetricks-20180217.tar.gz 646726 BLAKE2B 3cde3ca1cd7c74946732c530a49ca532975e037bc2907e88239b4697b3828dfcde3ce250d95e6c03ca36cc36b4e00cd545b0f6b63f984722a737674aff808e27 SHA512 3f90ef3381d89c0dac8c4b7acea04d71fe898207c534d4fe00c3db4e5c2e18db90602b78672e8ecf6f754206a999465ba5d8f1f5962e0291386badfc8202cd73
|
DIST winetricks-20180217.tar.gz 646726 BLAKE2B 3cde3ca1cd7c74946732c530a49ca532975e037bc2907e88239b4697b3828dfcde3ce250d95e6c03ca36cc36b4e00cd545b0f6b63f984722a737674aff808e27 SHA512 3f90ef3381d89c0dac8c4b7acea04d71fe898207c534d4fe00c3db4e5c2e18db90602b78672e8ecf6f754206a999465ba5d8f1f5962e0291386badfc8202cd73
|
||||||
|
DIST winetricks-20180513.tar.gz 652299 BLAKE2B fb4c55e534e368d5d7e94247feed031d0f6f98a2f3604f6187e32d25659f1cfa7f5589806e429ee054b4a94c00ebd6ac63cb99012fd94a99622891132a477001 SHA512 49fc022fc3db068145baf3a51444dc937deb092aceac8e31259888fea21ffe86f747a0d4dbd5ff10f253a94b15de090c01f20dacbe838c8444bdb00b98cbf5c6
|
||||||
DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 BLAKE2B 54a4502f6e8ef15d21b02c43e3ce599e32d476c2559246064de14cc4ce2243ff11dde681d24c8a7f4913c3d7a10b855bda47e8fb8ecad31e00d839705416be6f SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a
|
DIST winetricks-gentoo-2012.11.24.tar.bz2 6398 BLAKE2B 54a4502f6e8ef15d21b02c43e3ce599e32d476c2559246064de14cc4ce2243ff11dde681d24c8a7f4913c3d7a10b855bda47e8fb8ecad31e00d839705416be6f SHA512 59c93b73f3a7b2d11aefcde2ff66659ff1de21ad4b5f232f4b60572f3a48b15a6c49f369b1696862bf1b33fde190bf5598945e9536fb41ddec42d8def4d2be2a
|
||||||
|
@ -0,0 +1,96 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit gnome2-utils eutils
|
||||||
|
|
||||||
|
if [[ ${PV} == "99999999" ]] ; then
|
||||||
|
EGIT_REPO_URI="https://github.com/Winetricks/${PN}.git"
|
||||||
|
inherit git-r3
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/Winetricks/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
wtg=winetricks-gentoo-2012.11.24
|
||||||
|
|
||||||
|
SRC_URI="${SRC_URI}
|
||||||
|
gtk? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )
|
||||||
|
kde? ( https://dev.gentoo.org/~tetromino/distfiles/wine/${wtg}.tar.bz2 )"
|
||||||
|
|
||||||
|
DESCRIPTION="Easy way to install DLLs needed to work around problems in Wine"
|
||||||
|
HOMEPAGE="https://github.com/Winetricks/winetricks https://wiki.winehq.org/Winetricks"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1+"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="gtk kde rar test"
|
||||||
|
|
||||||
|
DEPEND="test? (
|
||||||
|
dev-python/bashate
|
||||||
|
dev-util/checkbashisms
|
||||||
|
dev-util/shellcheck
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="app-arch/cabextract
|
||||||
|
app-arch/p7zip
|
||||||
|
app-arch/unzip
|
||||||
|
net-misc/wget
|
||||||
|
virtual/wine
|
||||||
|
x11-misc/xdg-utils
|
||||||
|
gtk? ( gnome-extra/zenity )
|
||||||
|
kde? ( kde-apps/kdialog )
|
||||||
|
rar? ( app-arch/unrar )"
|
||||||
|
|
||||||
|
# Test targets include syntax checks only, not the "heavy duty" tests
|
||||||
|
# that would require a lot of disk space, as well as network access.
|
||||||
|
|
||||||
|
# This uses a non-standard "Wine" category, which is provided by
|
||||||
|
# '/etc/xdg/menus/applications-merged/wine.menu' from the
|
||||||
|
# 'app-emulation/wine-desktop-common' package.
|
||||||
|
# https://bugs.gentoo.org/451552
|
||||||
|
QA_DESKTOP_FILE="usr/share/applications/winetricks.desktop"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == "99999999" ]] ; then
|
||||||
|
git-r3_src_unpack
|
||||||
|
if use gtk || use kde; then
|
||||||
|
unpack ${wtg}.tar.bz2
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
default
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
./tests/shell-checks || die "Test(s) failed."
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
if use gtk || use kde; then
|
||||||
|
cd "${WORKDIR}/${wtg}" || die
|
||||||
|
domenu winetricks.desktop
|
||||||
|
insinto /usr/share/icons/hicolor/scalable/apps
|
||||||
|
doins wine-winetricks.svg
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
if use gtk || use kde; then
|
||||||
|
gnome2_icon_savelist
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if use gtk || use kde; then
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
if use gtk || use kde; then
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST lynis-2.5.2.tar.gz 264098 BLAKE2B 6e65decc3f62f66a1a53e247c4d6da86ec1a9bc1268ec7b840d19ab40dab284d6f8c5716403dd1ce107550d7b3526242b16a000207d27d67b111db91a3ee4f22 SHA512 dc9b994190f5a6102baaf1c4d226ee90980a32908c009a9f68bb9e716e0ba04063d51f3cca98b9538f6b30224097470ca3d484b667f2af73b922c0b239f4bdae
|
DIST lynis-2.6.4.tar.gz 273031 BLAKE2B 66d83050a348cc348f101f603c62eb3107ef7e088f57a6d0f36cb657a03cea48b93293b1c22a2bab68bd1ed1178e5bab7cf72cdcdd073637224559bb0c8b1198 SHA512 baa9f1c06b4d55b7962cb218707e057c7e7b5a5c4dbd89ba317c6525f08f80a5de53aa1371ad361611f8e44f0a32dda9409d2816caaedba4cd4f508929c5ab3c
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A utility to maintain package.unmask entries up-to-date with masks"
|
||||||
|
HOMEPAGE="https://github.com/mgorny/diffmask/"
|
||||||
|
SRC_URI="https://github.com/mgorny/diffmask/releases/download/${P}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~mips ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
|| (
|
||||||
|
sys-apps/portage[${PYTHON_USEDEP}]
|
||||||
|
sys-apps/portage-mgorny[${PYTHON_USEDEP}]
|
||||||
|
)"
|
@ -0,0 +1,52 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{4,5,6} )
|
||||||
|
PYTHON_REQ_USE="ncurses"
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Curses based utility to parse the contents of elogs created by Portage"
|
||||||
|
HOMEPAGE="https://github.com/gentoo/elogv"
|
||||||
|
SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||||
|
|
||||||
|
DOCS=( README )
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
distutils-r1_src_install
|
||||||
|
|
||||||
|
# unset LINGUAS => install all languages
|
||||||
|
# empty LINGUAS => install none
|
||||||
|
local i
|
||||||
|
if [[ -n "${LINGUAS+x}" ]] ; then
|
||||||
|
for i in $(ls "${ED}"/usr/share/locale/) ; do
|
||||||
|
if ! has ${i} ${LINGUAS} ; then
|
||||||
|
rm -rf "${ED}"/usr/share/{locale,man}/${i}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "Optional dependencies:"
|
||||||
|
elog " dev-python/pyliblzma (for xz compressed elog files)"
|
||||||
|
elog
|
||||||
|
elog "In order to use this software, you need to activate"
|
||||||
|
elog "Portage's elog features. Required is"
|
||||||
|
elog " PORTAGE_ELOG_SYSTEM=\"save\" "
|
||||||
|
elog "and at least one out of "
|
||||||
|
elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\""
|
||||||
|
elog "More information on the elog system can be found"
|
||||||
|
elog "in ${EPREFIX}/usr/share/portage/config/make.conf.example"
|
||||||
|
elog
|
||||||
|
elog "To operate properly this software needs the directory"
|
||||||
|
elog "${PORT_LOGDIR:-${EPREFIX}/var/log/portage}/elog created, belonging to group portage."
|
||||||
|
elog "To start the software as a user, add yourself to the portage"
|
||||||
|
elog "group."
|
||||||
|
elog
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST scdoc-1.2.3.tar.xz 6920 BLAKE2B 7cafe512016dc7dcfa56216cac3f3fd99ef05dfefb67ce8dba9726c8d60b49829f444f66c62c4ee9a0d2464749510ba60ac0b72996c656e3d66aef80e5ef0546 SHA512 1d5170d2a73ebccdb83ffffbec5ec431aab54b02eea5b062d0210c98636d059dc1fa57bfc1573a0e510cc8849759f6bb6462e3f5a78f22273a10bf47f2e0a2c6
|
DIST scdoc-1.3.1.tar.xz 8776 BLAKE2B 1d11423abde7ec3e7b03ddc4f9698b7b78cac6972066c57886160974bd885225dc42793d19942c11ffd215f5dddd6453f66cbd083be03132b437b6f6f8a93c8a SHA512 a404df2e2eef76cc02c69f32eb131eaa4d4ed51e96dc6ea39400662f767648538fc27c618cf34c064004918a92940ae5400e91b7b628e431132cb9619d3e94eb
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST librelp-1.2.15.tar.gz 440273 BLAKE2B dba423e206bdbcbfb351ab691f777d4c78f25d9042ffe2cdac01bc4e7e07eb7c02301ab0d8942a73d688eaf28b43d9f77aa94cc88a258dee1b28dac94a13954e SHA512 9cf52c82c8e61f6970a83ead60da4bc64ab56a2bda42fedf184a1ae60c28f66d565a0c3a8720b55b9a2e5e3ffb7ec35601158f634c8f2965f8c0d3b4f1c15568
|
DIST librelp-1.2.15.tar.gz 440273 BLAKE2B dba423e206bdbcbfb351ab691f777d4c78f25d9042ffe2cdac01bc4e7e07eb7c02301ab0d8942a73d688eaf28b43d9f77aa94cc88a258dee1b28dac94a13954e SHA512 9cf52c82c8e61f6970a83ead60da4bc64ab56a2bda42fedf184a1ae60c28f66d565a0c3a8720b55b9a2e5e3ffb7ec35601158f634c8f2965f8c0d3b4f1c15568
|
||||||
|
DIST librelp-1.2.16.tar.gz 474456 BLAKE2B b528aaa66e9d52d5304510f86400067e1baea44be487f8cb176aeb146924bc35af24a403e849376e74614fb060093b48a3afe9d6c5da56bbf4dc37a6740478cc SHA512 54c101281c94046e4f8d6f77e73ab52874408e62c77f3dfa29ec0b294f39c216637674cc0bf1b7e04173557b3f21bfa74b7be1aafa3ff2771acd41d1d067d3a3
|
||||||
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="6"
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
DESCRIPTION="An easy to use library for the RELP protocol"
|
||||||
|
HOMEPAGE="http://www.librelp.com/"
|
||||||
|
SRC_URI="http://download.rsyslog.com/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+ doc? ( FDL-1.3 )"
|
||||||
|
|
||||||
|
# subslot = soname version
|
||||||
|
SLOT="0/0.4.0"
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86"
|
||||||
|
IUSE="debug doc +ssl static-libs"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
ssl? ( >=net-libs/gnutls-3.3.17.1:0= )
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
ssl? ( >=net-libs/gnutls-3.3.17.1:0= )
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i \
|
||||||
|
-e 's/ -g"/"/g' \
|
||||||
|
configure.ac || die "sed failed"
|
||||||
|
|
||||||
|
default
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myeconfargs=(
|
||||||
|
$(use_enable debug)
|
||||||
|
$(use_enable ssl tls)
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake -j1 check
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local DOCS=( ChangeLog )
|
||||||
|
use doc && local HTML_DOCS=( doc/relp.html )
|
||||||
|
default
|
||||||
|
|
||||||
|
find "${ED}"usr/lib* -name '*.la' -delete || die
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST libuev-2.1.0.tar.xz 247388 BLAKE2B e2934fb79e32bf61e22a7c8fcdd6371f089c5e8a4f5b3039c10c90abd852d08c5612f7b871ef705afdca68857a270dfd133a1436cd9f49876e0bf47b903e6328 SHA512 82bd68c75f015284d3757886720d1a0e5689cf71b40b896410e5e4e952761fe05b090a33e0787f632afa7726567667e4dbbbc6270129828656953ded6d28d02b
|
DIST libuev-2.1.0.tar.xz 247388 BLAKE2B e2934fb79e32bf61e22a7c8fcdd6371f089c5e8a4f5b3039c10c90abd852d08c5612f7b871ef705afdca68857a270dfd133a1436cd9f49876e0bf47b903e6328 SHA512 82bd68c75f015284d3757886720d1a0e5689cf71b40b896410e5e4e952761fe05b090a33e0787f632afa7726567667e4dbbbc6270129828656953ded6d28d02b
|
||||||
|
DIST libuev-2.1.2.tar.xz 248092 BLAKE2B 7229acc6ae0e55a5ceba00e970a9e7b4b11049dc4f4435643e0541a7b3c75ac300ffc2839da0eaa7b3819a5910d20b608247812d32c028ff19c0cf3735d2941c SHA512 65a35f1e2cda5383267ba47bc90e2cdd769e5fb1318c11969c8f44262d8a5b2edad522688619aa6e9219c278286ba9ff997967f9281aa4f667fbe9b0842bf0ee
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
DESCRIPTION="A collection of useful BSD APIs"
|
||||||
|
HOMEPAGE="https://github.com/troglobit/libuev"
|
||||||
|
SRC_URI="https://github.com/troglobit/${PN}/releases/download/v${PV}/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="static-libs"
|
||||||
|
|
||||||
|
src_configure(){
|
||||||
|
econf --enable-static=$(usex static-libs)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install(){
|
||||||
|
default
|
||||||
|
find "${D}" -name '*.la' -delete || die
|
||||||
|
rm "${D}/usr/share/doc/${PF}/LICENSE" || die
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST opensc-0.16.0.tar.gz 1760418 BLAKE2B 7f5799445e285010392f315fa57919c7f0b038170a19e83dbda664d5d73898f075cccad4304275402c900b9fc50564ed5515a10d31156a6c76a68f170ca3e439 SHA512 15f7d62388dde6dad226acab3cd54f8e2f2f53684dc0cb976c6fc6fbdb4487be931ca69bf965ab07c51efd16be64d5411f10bacea11a07fc823c92dd7bb25139
|
DIST opensc-0.16.0.tar.gz 1760418 BLAKE2B 7f5799445e285010392f315fa57919c7f0b038170a19e83dbda664d5d73898f075cccad4304275402c900b9fc50564ed5515a10d31156a6c76a68f170ca3e439 SHA512 15f7d62388dde6dad226acab3cd54f8e2f2f53684dc0cb976c6fc6fbdb4487be931ca69bf965ab07c51efd16be64d5411f10bacea11a07fc823c92dd7bb25139
|
||||||
DIST opensc-0.17.0.tar.gz 1950547 BLAKE2B 861dbb60e211d503332228c9d75d667f70cb9e15883c571821bb2f7703ca62dd4ce56c5ea7965e2d5e8c6a81b5063fc689013670294426baf1bfaec88282e20e SHA512 8991c1724d187d3c34a2ed591b21f0085f767c0d866edc2decfda85a2b3dedf717838f4937d1dda3e1bbc17f02e6eca6740299660128bc448a29e8bfc2962922
|
DIST opensc-0.17.0.tar.gz 1950547 BLAKE2B 861dbb60e211d503332228c9d75d667f70cb9e15883c571821bb2f7703ca62dd4ce56c5ea7965e2d5e8c6a81b5063fc689013670294426baf1bfaec88282e20e SHA512 8991c1724d187d3c34a2ed591b21f0085f767c0d866edc2decfda85a2b3dedf717838f4937d1dda3e1bbc17f02e6eca6740299660128bc448a29e8bfc2962922
|
||||||
|
DIST opensc-0.18.0.tar.gz 2037073 BLAKE2B f2b339d1f9c616f6f706acb3c55289deb5b1749a8b5561142c69db4ed1c7dee554ce1f8d820e6e69bb9e462ca460379badf3017ed35fa6cd395702c995326c3e SHA512 dc90cff3e0e639c14bfb11d1d0455964d24d08aa27728592ab0d8b487a1ffee1ca71cb9bbf5d0f101b2ebd85cf9478988f686d45effa72315e6ffc843d398768
|
||||||
|
@ -0,0 +1,32 @@
|
|||||||
|
From 1f1de5ae9a43e845431dc43af96ec61e910ad789 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alon Bar-Lev <alon.barlev@gmail.com>
|
||||||
|
Date: Wed, 16 May 2018 21:30:15 +0300
|
||||||
|
Subject: [PATCH] build: fix --disable-sm
|
||||||
|
|
||||||
|
---
|
||||||
|
src/libopensc/card-sc-hsm.c | 2 ++
|
||||||
|
1 file changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/libopensc/card-sc-hsm.c b/src/libopensc/card-sc-hsm.c
|
||||||
|
index e2af52b9..a609f612 100644
|
||||||
|
--- a/src/libopensc/card-sc-hsm.c
|
||||||
|
+++ b/src/libopensc/card-sc-hsm.c
|
||||||
|
@@ -451,6 +451,7 @@ static int sc_hsm_soc_biomatch(sc_card_t *card, struct sc_pin_cmd_data *data,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
+#ifdef ENABLE_SM
|
||||||
|
#ifdef ENABLE_OPENPACE
|
||||||
|
#include "sm/sm-eac.h"
|
||||||
|
#include <eac/cv_cert.h>
|
||||||
|
@@ -573,6 +574,7 @@ static int sc_hsm_perform_chip_authentication(sc_card_t *card)
|
||||||
|
return SC_ERROR_NOT_SUPPORTED;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
2.16.1
|
||||||
|
|
@ -0,0 +1,60 @@
|
|||||||
|
# Copyright 1999-2018 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit ltprune
|
||||||
|
|
||||||
|
DESCRIPTION="Libraries and applications to access smartcards"
|
||||||
|
HOMEPAGE="https://github.com/OpenSC/OpenSC/wiki"
|
||||||
|
SRC_URI="https://github.com/OpenSC/OpenSC/releases/download/${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||||
|
IUSE="doc +pcsc-lite secure-messaging openct ctapi readline libressl ssl zlib"
|
||||||
|
|
||||||
|
RDEPEND="zlib? ( sys-libs/zlib )
|
||||||
|
readline? ( sys-libs/readline:0= )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( dev-libs/openssl:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
)
|
||||||
|
openct? ( >=dev-libs/openct-0.5.0 )
|
||||||
|
pcsc-lite? ( >=sys-apps/pcsc-lite-1.3.0 )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/pkgconfig
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
dev-libs/libxslt"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
pcsc-lite? ( !openct !ctapi )
|
||||||
|
openct? ( !pcsc-lite !ctapi )
|
||||||
|
ctapi? ( !pcsc-lite !openct )
|
||||||
|
|| ( pcsc-lite openct ctapi )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-build.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf \
|
||||||
|
--docdir="/usr/share/doc/${PF}" \
|
||||||
|
--htmldir='$(docdir)/html' \
|
||||||
|
--disable-static \
|
||||||
|
--disable-openpace \
|
||||||
|
$(use_enable doc) \
|
||||||
|
$(use_enable openct) \
|
||||||
|
$(use_enable readline) \
|
||||||
|
$(use_enable zlib) \
|
||||||
|
$(use_enable secure-messaging sm) \
|
||||||
|
$(use_enable ssl openssl) \
|
||||||
|
$(use_enable pcsc-lite pcsc) \
|
||||||
|
$(use_enable openct) \
|
||||||
|
$(use_enable ctapi)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
prune_libtool_files --all
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
|||||||
DIST entrypoints-0.2.1.tar.gz 11126 BLAKE2B ec3e0f0c331d4dd982aa8b53335a39181bc5774bc5bb09b5fe61405acec5de62e17c2db9e30c67ddbaf0405f765df1b979111b0fcdfe675a7e981f910f4c2ef6 SHA512 67a24fc53ae8bdac6bda163d2c8057b158979d55ccdbcdb8709966573bf0a999728e04eb92a05fbc2c0d532593de0ec6518bcfed1d5bcf875b00bbd5c48494c7
|
|
||||||
DIST entrypoints-0.2.2.tar.gz 11162 BLAKE2B a73ed713f5653d8f4d9c742b8ecd8990c5b37751c97afacde8cebfa0c4c3654154aa9db90b09a629145d4a695ab933ffa1ebd83bc64f74de47e75651d2dfdd47 SHA512 c987807924f92fd6bc0aab1cccaa4b204587d4f34932c353033ed062fff5adf69bfdc8767f095dda15fff9b57e2be2d205bfa44abc5ad7f7820114e0355a6e99
|
|
||||||
DIST entrypoints-0.2.3.tar.gz 11219 BLAKE2B ae7745a075d564b3cc25a0580ae9f30f6e1a0b4bca7315c4fc3700408e4ab3762831212a451eb937ab94096d1db5c1478980b216dea7cfb95a8577d6337534a0 SHA512 dbf8085652e50cbdbe137ae655ef765cff58bdaa6beefebf1383dcd96dfcbf9c92580c09e9a58de7893aebdd7b2a701ef8d13a56ef0fa9a3d9ef7a5bd1d9b11b
|
DIST entrypoints-0.2.3.tar.gz 11219 BLAKE2B ae7745a075d564b3cc25a0580ae9f30f6e1a0b4bca7315c4fc3700408e4ab3762831212a451eb937ab94096d1db5c1478980b216dea7cfb95a8577d6337534a0 SHA512 dbf8085652e50cbdbe137ae655ef765cff58bdaa6beefebf1383dcd96dfcbf9c92580c09e9a58de7893aebdd7b2a701ef8d13a56ef0fa9a3d9ef7a5bd1d9b11b
|
||||||
|
@ -1,59 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Discover and load entry points from installed packages"
|
|
||||||
HOMEPAGE="https://github.com/takluyver/entrypoints"
|
|
||||||
SRC_URI="https://github.com//takluyver/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="doc test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
$(python_gen_cond_dep 'dev-python/configparser[${PYTHON_USEDEP}]' python2_7)
|
|
||||||
test? (
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
virtual/python-pathlib[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}"-setup.py.patch
|
|
||||||
"${FILESDIR}/${P}"-init.py.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
|
|
||||||
# Prevent un-needed download during build
|
|
||||||
if use doc; then
|
|
||||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
|
|
||||||
mv "${WORKDIR}/${P}"/entrypoints.py "${WORKDIR}/${P}/${PN}/" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
use doc && emake -C doc html
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
use doc && HTML_DOCS=( doc/_build/html/. )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
cd "${TEST_DIR}"/lib || die
|
|
||||||
cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die
|
|
||||||
py.test || die
|
|
||||||
}
|
|
@ -1,56 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Discover and load entry points from installed packages"
|
|
||||||
HOMEPAGE="https://github.com/takluyver/entrypoints"
|
|
||||||
SRC_URI="https://github.com//takluyver/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
IUSE="doc test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
$(python_gen_cond_dep '>=dev-python/configparser-3.5.0[${PYTHON_USEDEP}]' 'python2*')
|
|
||||||
test? (
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
virtual/python-pathlib[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}"-setup.py.patch
|
|
||||||
"${FILESDIR}/${PN}"-0.2.1-init.py.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Prevent un-needed download during build
|
|
||||||
if use doc; then
|
|
||||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
|
|
||||||
mv "${WORKDIR}/${P}"/entrypoints.py "${WORKDIR}/${P}/${PN}/" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
if use doc; then
|
|
||||||
emake -C doc html
|
|
||||||
HTML_DOCS=( doc/_build/html/. )
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
distutils_install_for_testing
|
|
||||||
cd "${TEST_DIR}"/lib || die
|
|
||||||
cp -r "${S}"/tests "${TEST_DIR}"/lib/ || die
|
|
||||||
py.test || die
|
|
||||||
}
|
|
@ -1,20 +0,0 @@
|
|||||||
setup.py for entrypoints by Marius Brehler <marbre@linux.sungazer.de>.
|
|
||||||
|
|
||||||
Patch by Marius Brehler <marbrbre@linux.sungazer.de>.
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -0,0 +1,13 @@
|
|
||||||
+from distutils.core import setup
|
|
||||||
+
|
|
||||||
+setup(name='entrypoints',
|
|
||||||
+ version='0.2.1',
|
|
||||||
+ description='Discover and load entry points from installed packages.',
|
|
||||||
+ author='Thomas Kluyver',
|
|
||||||
+ author_email='thomas@kluyver.me.uk',
|
|
||||||
+ url='https://github.com/takluyver/entrypoints',
|
|
||||||
+ packages=['entrypoints'],
|
|
||||||
+ classifiers=[
|
|
||||||
+ 'License :: OSI Approved :: MIT License'
|
|
||||||
+ ]
|
|
||||||
+)
|
|
||||||
\ No newline at end of file
|
|
@ -1,20 +0,0 @@
|
|||||||
setup.py for entrypoints by Marius Brehler <marbre@linux.sungazer.de>.
|
|
||||||
|
|
||||||
Patch by Marius Brehler <marbrbre@linux.sungazer.de>.
|
|
||||||
--- /dev/null
|
|
||||||
+++ b/setup.py
|
|
||||||
@@ -0,0 +1,13 @@
|
|
||||||
+from distutils.core import setup
|
|
||||||
+
|
|
||||||
+setup(name='entrypoints',
|
|
||||||
+ version='0.2.2',
|
|
||||||
+ description='Discover and load entry points from installed packages.',
|
|
||||||
+ author='Thomas Kluyver',
|
|
||||||
+ author_email='thomas@kluyver.me.uk',
|
|
||||||
+ url='https://github.com/takluyver/entrypoints',
|
|
||||||
+ packages=['entrypoints'],
|
|
||||||
+ classifiers=[
|
|
||||||
+ 'License :: OSI Approved :: MIT License'
|
|
||||||
+ ]
|
|
||||||
+)
|
|
||||||
\ No newline at end of file
|
|
@ -1,2 +1 @@
|
|||||||
DIST fastparquet-0.1.0.tar.gz 118108 BLAKE2B e8450aaf077efde5bd215d3c4e634c8dfc57e657f0bfc59ce12dcd2191f03e26685f0367d49d283d2bfe9564eed2018866925855e547962cc40dd3e738f9544b SHA512 9aa61f998cd95e4242635ef729c29fa5c66834bdd501fe7d104317a767c5eebc6a1d1aecbd669a39c855f5f2d1650af153b77f12c0120e6e5d13cb8f78e4cba0
|
|
||||||
DIST fastparquet-0.1.1.tar.gz 119573 BLAKE2B 16bd05061b64768278201acbf08fe13228d058b223d2050208b73e6af6ad3bb800a6d7edc1a15abdf02d8b508a75ed52962fb4b0c44a073b80451cfbf30915b5 SHA512 f8f052202ca095596870e6a10e2ab05e3c55289cd0ef3dab0502dff26052c9970f65f6b826d4d073c6c221827f6b18ddc83c47c04e84e08491f5237358f5860a
|
DIST fastparquet-0.1.1.tar.gz 119573 BLAKE2B 16bd05061b64768278201acbf08fe13228d058b223d2050208b73e6af6ad3bb800a6d7edc1a15abdf02d8b508a75ed52962fb4b0c44a073b80451cfbf30915b5 SHA512 f8f052202ca095596870e6a10e2ab05e3c55289cd0ef3dab0502dff26052c9970f65f6b826d4d073c6c221827f6b18ddc83c47c04e84e08491f5237358f5860a
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Python implementation of the parquet columnar file format"
|
|
||||||
HOMEPAGE="https://github.com/dask/fastparquet"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/numba[${PYTHON_USEDEP}]
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pandas[${PYTHON_USEDEP}]
|
|
||||||
dev-python/snappy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/thriftpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/six[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cython[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
@ -1,2 +1 @@
|
|||||||
DIST glue-vispy-viewers-0.7.1.tar.gz 682074 BLAKE2B f024fe111f66578fe105e3eebb80542a3383495d8d6230095bfadf073bde019dc1c9ca25c167ae34ef4db2ed9271da6ed4ad8b08d4d458b5c5e2e5230003bcbc SHA512 7d32abd75049a0f8d95ae99baf8590f1748f0232ed134c10f6625edfd31009642f836c4232e2c727a193d9cd2a085c1af4d0a4602ca326cee4b3dac3bd1390f3
|
|
||||||
DIST glue-vispy-viewers-0.7.2.tar.gz 682795 BLAKE2B 2c7a2a7f92405b2e30a74fadf748bf0ec73655642198e25a14c46aca94c29536056056a6ef01316758b0ab581e13e277afc21af2bfcb19d77280414e1a1fd978 SHA512 687bb732a55d18c50aa16aec0b7c1b56712e84556f60c6ea8600f0c2c5cce9404c54f4d7a6b9d193f94202b16e9902045c3e8c3fc0f0347c3a30ff7b21177c27
|
DIST glue-vispy-viewers-0.7.2.tar.gz 682795 BLAKE2B 2c7a2a7f92405b2e30a74fadf748bf0ec73655642198e25a14c46aca94c29536056056a6ef01316758b0ab581e13e277afc21af2bfcb19d77280414e1a1fd978 SHA512 687bb732a55d18c50aa16aec0b7c1b56712e84556f60c6ea8600f0c2c5cce9404c54f4d7a6b9d193f94202b16e9902045c3e8c3fc0f0347c3a30ff7b21177c27
|
||||||
|
@ -1,44 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
|
||||||
|
|
||||||
inherit distutils-r1 virtualx
|
|
||||||
|
|
||||||
DESCRIPTION="Vispy-based viewers for Glue"
|
|
||||||
HOMEPAGE="https://github.com/glue-viz/glue-3d-viewer"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
DOCS=( README.rst CHANGES.md )
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/astropy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/glueviz[${PYTHON_USEDEP}]
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyopengl[${PYTHON_USEDEP}]
|
|
||||||
dev-python/QtPy[${PYTHON_USEDEP},designer,gui]
|
|
||||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
${RDEPEND}
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
cd "${BUILD_DIR}"/lib || die
|
|
||||||
echo "backend: Agg" > matplotlibrc
|
|
||||||
virtx py.test || die
|
|
||||||
}
|
|
@ -1,69 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
|
||||||
|
|
||||||
inherit distutils-r1 eutils virtualx fdo-mime
|
|
||||||
|
|
||||||
DESCRIPTION="Python library to explore relationships within and among related datasets"
|
|
||||||
HOMEPAGE="http://www.glueviz.org/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
LICENSE="BSD MIT"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
# as of 0.10.0; broken
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DOCS=( README.rst CHANGES.md )
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/astropy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pandas[${PYTHON_USEDEP}]
|
|
||||||
dev-python/QtPy[${PYTHON_USEDEP},designer,gui]
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/ipython[${PYTHON_USEDEP}]
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
dev-python/qtconsole[${PYTHON_USEDEP}]
|
|
||||||
dev-python/QtPy[${PYTHON_USEDEP},designer,gui,testlib]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
virtx esetup.py test
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "Interactive Ipython terminal" \
|
|
||||||
dev-python/ipython \
|
|
||||||
dev-python/ipykernel \
|
|
||||||
dev-python/qtconsole \
|
|
||||||
dev-python/traitlets \
|
|
||||||
dev-python/pygments \
|
|
||||||
dev-python/zmq
|
|
||||||
optfeature "Parse AVM metadata" dev-python/pyavm
|
|
||||||
optfeature "Save ${PN} sessions" dev-python/dill
|
|
||||||
optfeature "Support HDF5 files" dev-python/h5py
|
|
||||||
optfeature "Image processing calculations" sci-libs/scipy
|
|
||||||
optfeature "Read popular image formats" sci-libs/scikits_image
|
|
||||||
optfeature "Interact with Ginga viewer" dev-python/ginga
|
|
||||||
optfeature "Export plots to plot.ly" dev-python/plotly
|
|
||||||
optfeature "Support Excel reading" dev-python/xlrd
|
|
||||||
optfeature "Used to read in spectral cubes" dev-python/spectral-cube
|
|
||||||
optfeature "Support astronomy dendograms" dev-python/astrodendro
|
|
||||||
|
|
||||||
# Update mimedb for the new .desktop file
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
}
|
|
@ -1,63 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
|
||||||
|
|
||||||
inherit distutils-r1 eutils virtualx fdo-mime
|
|
||||||
|
|
||||||
DESCRIPTION="Python library to explore relationships within and among related datasets"
|
|
||||||
HOMEPAGE="http://www.glueviz.org/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
|
|
||||||
LICENSE="BSD MIT"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
# as of 0.9.1; broken
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DOCS=( README.md CHANGES.md )
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/astropy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/matplotlib[${PYTHON_USEDEP}]
|
|
||||||
dev-python/numpy[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pandas[${PYTHON_USEDEP}]
|
|
||||||
dev-python/QtPy[${PYTHON_USEDEP},designer,gui]"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
dev-python/astropy-helpers[${PYTHON_USEDEP}]
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}] )"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
virtx esetup.py test
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "Interactive Ipython terminal" \
|
|
||||||
dev-python/ipython \
|
|
||||||
dev-python/ipykernel \
|
|
||||||
dev-python/qtconsole \
|
|
||||||
dev-python/traitlets \
|
|
||||||
dev-python/pygments \
|
|
||||||
dev-python/zmq
|
|
||||||
optfeature "Parse AVM metadata" dev-python/pyavm
|
|
||||||
optfeature "Save ${PN} sessions" dev-python/dill
|
|
||||||
optfeature "Support HDF5 files" dev-python/h5py
|
|
||||||
optfeature "Image processing calculations" sci-libs/scipy
|
|
||||||
optfeature "Read popular image formats" sci-libs/scikits_image
|
|
||||||
optfeature "Interact with Ginga viewer" dev-python/ginga
|
|
||||||
optfeature "Export plots to plot.ly" dev-python/plotly
|
|
||||||
optfeature "Support Excel reading" dev-python/xlrd
|
|
||||||
optfeature "Used to read in spectral cubes" dev-python/spectral-cube
|
|
||||||
#optfeature "Support astronomy dendograms" dev-python/astrodendro
|
|
||||||
|
|
||||||
# Update mimedb for the new .desktop file
|
|
||||||
fdo-mime_desktop_database_update
|
|
||||||
}
|
|
@ -1,5 +1 @@
|
|||||||
DIST ipykernel-4.2.2.tar.gz 80780 BLAKE2B 217f98899df400778bef8d61ffe75d29fd0ae80572e4fa07c62d0991e9daa3b179c2028afd16d1ba716632702e5818183908a7bca9e335d57b52c2910531e8d0 SHA512 8b7853b5f2602377d696f2c82cc5b2dd4cf2c0b1fb907b3a76aaad034d3f97ace374db86e30b33c83ccaad5ea9ae42229349610789f844ca5b67d9b806df9b4c
|
|
||||||
DIST ipykernel-4.3.1.tar.gz 83268 BLAKE2B 4a754275c0876c3beaa822c188868eb271986d044edff57eb2a4639a2859395ca52af566fe034694a9e7e9759ff5dbc0a119ff3a302febe7b5ab160b8254547a SHA512 0dfa24e75a0cc901b9d522cef60d658c4ac77be3d9372a71c7b3ef7869579fee1201bfb688f90e6a50f04e0ea84f7406c4b1d114311660107ec612ad16a4057b
|
|
||||||
DIST ipykernel-4.4.1.tar.gz 87373 BLAKE2B 3ef933e84cd001d854b789f49b327c2a0f6efd7650ec1ea87abead30edfa00733da2c84f47a36b04d969886752179faae64e4fdb6134bc511e49039b5c4d9f96 SHA512 739eb21deadf678bb4826832905039c353714e7ef5dfdffeca6f43873b4834662741a4a9a8500f5fb83fbd0a580ec0b7a2ebe4519a3d36b521f11a7b5d1e61d6
|
|
||||||
DIST ipykernel-4.5.2.tar.gz 88282 BLAKE2B 0d1110e112ade034b3512b3205c26d1d365357e95b8eb06e18145f0d5afeea76fd450b3c709d6cf5f464a4da25491dccdb5eb823dde93aa0d2ec01ef3e8d7ae5 SHA512 98552dec167b43eff3f57c3ce77d2a3f9ec0993a4df4d70f363a3c8bce0355d79c847aa9974e87926709018f616bd9f044f646b96822843abce6dbe0e48f69c0
|
|
||||||
DIST ipykernel-4.6.1.tar.gz 90591 BLAKE2B 9d66e569e416e30fa0af93e9442326a081638e55e004c751d38b3e995e2e1c6baeba5b61e125ae8484a31344ca541070035154e4453f9eda30f7a2ac436e7f1c SHA512 3124534a8a059056211ac573784c491ba18d6e936292523382a9604af10bc2c911b14f49f7625242e29189b46c673da25244f3c9dfa3148d460ba4e466eef001
|
DIST ipykernel-4.6.1.tar.gz 90591 BLAKE2B 9d66e569e416e30fa0af93e9442326a081638e55e004c751d38b3e995e2e1c6baeba5b61e125ae8484a31344ca541070035154e4453f9eda30f7a2ac436e7f1c SHA512 3124534a8a059056211ac573784c491ba18d6e936292523382a9604af10bc2c911b14f49f7625242e29189b46c673da25244f3c9dfa3148d460ba4e466eef001
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="IPython Kernel for Jupyter"
|
|
||||||
HOMEPAGE="https://github.com/ipython/ipykernel"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/traitlets[${PYTHON_USEDEP}]"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? (
|
|
||||||
>=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2*')
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests --verbose ipykernel || die
|
|
||||||
}
|
|
@ -1,35 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="IPython Kernel for Jupyter"
|
|
||||||
HOMEPAGE="https://github.com/ipython/ipykernel"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2*')
|
|
||||||
dev-python/jupyter_client[${PYTHON_USEDEP}]
|
|
||||||
>=www-servers/tornado-4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/traitlets[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests --verbose ipykernel || die
|
|
||||||
}
|
|
@ -1,38 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="IPython Kernel for Jupyter"
|
|
||||||
HOMEPAGE="https://github.com/ipython/ipykernel"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2*')
|
|
||||||
dev-python/jupyter_client[${PYTHON_USEDEP}]
|
|
||||||
>=www-servers/tornado-4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/traitlets-4.1.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
# nose_warnings_filters not available in portage
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests --verbose ipykernel || die
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="IPython Kernel for Jupyter"
|
|
||||||
HOMEPAGE="https://github.com/ipython/ipykernel"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2*')
|
|
||||||
dev-python/jupyter_client[${PYTHON_USEDEP}]
|
|
||||||
>=www-servers/tornado-4.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/traitlets-4.1.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nose_warnings_filters[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests --verbose ipykernel || die
|
|
||||||
}
|
|
@ -1,5 +1 @@
|
|||||||
DIST ipyparallel-4.1.0.tar.gz 2271608 BLAKE2B 681211fb91af9b7cf2650f7336bb715910937a12fa2d81e4574b716f3ae6216842b127e1d6f756acc6d2e4914660dbadfe96ccc82026dacd29958ba068fe24cd SHA512 19fff1ea57d9fcaec6525ce6e0c72ab63ab1245e32e485174a0691d2b48d8d2512af4055b77df82c7b30a8c071e1b6c5900d37e992f82f1597492e220e83d36f
|
|
||||||
DIST ipyparallel-5.0.1.tar.gz 2350472 BLAKE2B 1ebf9e4794de8f738d101f06b7e1d825c18aaed247fa134bee898f41ad0d96940b5a092fb9e79aacd270f2894fa938d92364cf09417b618e9a087292272a2332 SHA512 b7fa4f2ec5375398a533c92f07e2ab09180e537366c36ff5a7f3245d63072006ebcffc19dda28d08d5cc2e8a9044bf9101c7eeccf2857ed4a78ddd859ce23a2c
|
|
||||||
DIST ipyparallel-5.1.1.tar.gz 2360986 BLAKE2B abb6f14cac196b1b42f6023fba913978385356c20ddcce6e5523069618a9bec3fd03dc81626505f6812f2cac65617d652428edf546971f328177a151a6445d2f SHA512 66edfafeb6ca99b04ad08a61bbe7cbcfd9ba2689d16d19c476685d73f44ec40a4f2cde75e8394dbdc3b9e4da333afdfff8960bc9f37503aa4b28af90c63878db
|
|
||||||
DIST ipyparallel-5.2.0.tar.gz 2362590 BLAKE2B 5cb97310e536bcb4a52867e6c4a4c9c7a783bdefa42ac73b0e45e3f20ec5ccc0029e3424c2f8bc484234cf01131d9f0ae6ec0bcb4a464f3ca1580ca8afb76b61 SHA512 1a3a4be28847ad11d43d96192ded62506380374b96a14cc9a6d6e945ac9592da7543fb5f9626a112068e548ed27f3291894a3cef544c65476c22b397458f60f3
|
|
||||||
DIST ipyparallel-6.0.2.tar.gz 2366627 BLAKE2B 333d6043c1e3635a37ebd464a5eb6bd0d21d0815abf106f8a7dd138128790d89ccb856dd981c281ce023cded589e6352fd6cd48efab61c8955abfbfea157eb35 SHA512 2dab781eac81bb3c2d4eedff9689448ed8d4317b47a1e8110a0b16147f986428f6fefe13acd12ee8604ec7775aee46a5f62c7d6a676bda7f8d3d39d95d90f28d
|
DIST ipyparallel-6.0.2.tar.gz 2366627 BLAKE2B 333d6043c1e3635a37ebd464a5eb6bd0d21d0815abf106f8a7dd138128790d89ccb856dd981c281ce023cded589e6352fd6cd48efab61c8955abfbfea157eb35 SHA512 2dab781eac81bb3c2d4eedff9689448ed8d4317b47a1e8110a0b16147f986428f6fefe13acd12ee8604ec7775aee46a5f62c7d6a676bda7f8d3d39d95d90f28d
|
||||||
|
@ -1,59 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Interactive Parallel Computing with IPython"
|
|
||||||
HOMEPAGE="http://ipython.org/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="doc test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
|
||||||
!<dev-python/ipython-4.0.0[smp]
|
|
||||||
>=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2_7')
|
|
||||||
dev-python/jupyter_client[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
dev-python/coverage[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Prevent un-needed download during build
|
|
||||||
if use doc; then
|
|
||||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
use doc && emake -C docs html
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
iptest --coverage xml ipyparallel.tests || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
use doc && HTML_DOCS=( docs/build/html/. )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Interactive Parallel Computing with IPython"
|
|
||||||
HOMEPAGE="http://ipython.org/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
IUSE="doc test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
|
||||||
!<dev-python/ipython-4.0.0[smp]
|
|
||||||
>=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2_7')
|
|
||||||
dev-python/jupyter_client[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
|
||||||
test? (
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Prevent un-needed download during build
|
|
||||||
if use doc; then
|
|
||||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
use doc && emake -C docs html
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
iptest ipyparallel.tests -- -vsx || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
use doc && HTML_DOCS=( docs/build/html/. )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,61 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Interactive Parallel Computing with IPython"
|
|
||||||
HOMEPAGE="http://ipython.org/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
IUSE="doc test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
|
||||||
!<dev-python/ipython-4.0.0[smp]
|
|
||||||
>=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2_7')
|
|
||||||
dev-python/notebook[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter_client[${PYTHON_USEDEP}]
|
|
||||||
www-servers/tornado[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/requests[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Prevent un-needed download during build
|
|
||||||
if use doc; then
|
|
||||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
use doc && emake -C docs html
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
iptest ipyparallel.tests -- -vsx || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
use doc && HTML_DOCS=( docs/build/html/. )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,63 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Interactive Parallel Computing with IPython"
|
|
||||||
HOMEPAGE="http://ipython.org/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
IUSE="doc test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
|
||||||
!<dev-python/ipython-4.0.0[smp]
|
|
||||||
>=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2_7')
|
|
||||||
dev-python/notebook[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter_client[${PYTHON_USEDEP}]
|
|
||||||
www-servers/tornado[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
$(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' python2_7)
|
|
||||||
>=dev-python/setuptools-18.5[${PYTHON_USEDEP}]
|
|
||||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/testpath[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Prevent un-needed download during build
|
|
||||||
if use doc; then
|
|
||||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
use doc && emake -C docs html
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
iptest --coverage xml ipyparallel.tests -- -vsx || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
use doc && HTML_DOCS=( docs/build/html/. )
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,62 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
|
||||||
PYTHON_REQ_USE="threads(+)"
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Interactive Parallel Computing with IPython"
|
|
||||||
HOMEPAGE="http://ipython.org/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
|
||||||
IUSE="doc test"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
|
||||||
dev-python/decorator[${PYTHON_USEDEP}]
|
|
||||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyzmq-14.4.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
|
||||||
!<dev-python/ipython-4.0.0[smp]
|
|
||||||
>=dev-python/ipython-4.0.0[${PYTHON_USEDEP}]
|
|
||||||
$(python_gen_cond_dep '<dev-python/ipython-6[${PYTHON_USEDEP}]' 'python2_7')
|
|
||||||
dev-python/notebook[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jupyter_client[${PYTHON_USEDEP}]
|
|
||||||
www-servers/tornado[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
$(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' 'python2*')
|
|
||||||
>=dev-python/setuptools-18.5[${PYTHON_USEDEP}]
|
|
||||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
|
||||||
test? (
|
|
||||||
dev-python/mock[${PYTHON_USEDEP}]
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/testpath[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
# Prevent un-needed download during build
|
|
||||||
if use doc; then
|
|
||||||
sed -e "/^ 'sphinx.ext.intersphinx',/d" -i docs/source/conf.py || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
if use doc; then
|
|
||||||
emake -C docs html
|
|
||||||
HTML_DOCS=( docs/build/html/. )
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
iptest --coverage xml ipyparallel.tests -- -vsx || die
|
|
||||||
}
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST ipython-3.2.1.tar.gz 10884249 BLAKE2B eaeb5ad3cb1cfd38c5f81e0d312773e0ba617fc2ef735f5705edafd2e9bc65169302ea8f775843c7da5029bce0dccb541233a7c82faf58a676ac5079f9664734 SHA512 de7723e3b859d21a58a24456c76c8d8ec98c019f290f61269f46270e7647d2b49a98671138fecd75cb6f46384fde7e09618eb5c85c175e0e442c7fae7328d8fe
|
|
||||||
DIST ipython-5.4.1.tar.gz 4973571 BLAKE2B bbda7b5a172ea1e80a9867f036ef68d1d0ec0a7340d77d8b4bbce63c5db7d3aade106ee5a6d59fb7e2b773c37d8263e51e1eaaa81d582849a70de60e93b7205a SHA512 b37dae27a558585ec4f42fa22e86380ac81990207ec680fc7b0e6f97ac81c99d915cfe77488bc0b91a61c34e0c00b323df08aa06b142ce0fc88ce30203102907
|
DIST ipython-5.4.1.tar.gz 4973571 BLAKE2B bbda7b5a172ea1e80a9867f036ef68d1d0ec0a7340d77d8b4bbce63c5db7d3aade106ee5a6d59fb7e2b773c37d8263e51e1eaaa81d582849a70de60e93b7205a SHA512 b37dae27a558585ec4f42fa22e86380ac81990207ec680fc7b0e6f97ac81c99d915cfe77488bc0b91a61c34e0c00b323df08aa06b142ce0fc88ce30203102907
|
||||||
DIST ipython-6.1.0.tar.gz 5066094 BLAKE2B 4f68776ba15f50b2f0fcc1503dd5c62ac464d9d0ace0801f572c9cdc1a0ddd7d840369a3df5940551c848376985cc74848002cef53869014adb2fd9714989acd SHA512 6b1d9713b5e8c3870ac8cd8bea9d3a6f0c0302e3983017516128ede9f0baba21372890873df29fbba3f9d2f47ba16bfadb1c611f9de23b71595c0ab8f917695b
|
DIST ipython-6.1.0.tar.gz 5066094 BLAKE2B 4f68776ba15f50b2f0fcc1503dd5c62ac464d9d0ace0801f572c9cdc1a0ddd7d840369a3df5940551c848376985cc74848002cef53869014adb2fd9714989acd SHA512 6b1d9713b5e8c3870ac8cd8bea9d3a6f0c0302e3983017516128ede9f0baba21372890873df29fbba3f9d2f47ba16bfadb1c611f9de23b71595c0ab8f917695b
|
||||||
|
@ -1,55 +0,0 @@
|
|||||||
Upstream patch to fix
|
|
||||||
"Maliciously crafted text files in IPython/Jupyter editor".
|
|
||||||
|
|
||||||
http://seclists.org/oss-sec/2015/q3/558
|
|
||||||
https://bugs.gentoo.org/show_bug.cgi?id=560708
|
|
||||||
|
|
||||||
|
|
||||||
From 2b835ca6daec2592d9127dc85bf2cdcfb718edf2 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Min RK <benjaminrk@gmail.com>
|
|
||||||
Date: Mon, 20 Jul 2015 12:11:23 -0700
|
|
||||||
Subject: [PATCH 4/4] Don't redirect from /edit/ to /files/
|
|
||||||
|
|
||||||
show failure to decode, instead
|
|
||||||
---
|
|
||||||
IPython/html/static/edit/js/editor.js | 15 +++------------
|
|
||||||
1 file changed, 3 insertions(+), 12 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/IPython/html/static/edit/js/editor.js b/IPython/html/static/edit/js/editor.js
|
|
||||||
index dd12ea4..75d65e0 100644
|
|
||||||
--- a/IPython/html/static/edit/js/editor.js
|
|
||||||
+++ b/IPython/html/static/edit/js/editor.js
|
|
||||||
@@ -90,19 +90,10 @@ function($,
|
|
||||||
}).catch(
|
|
||||||
function(error) {
|
|
||||||
that.events.trigger("file_load_failed.Editor", error);
|
|
||||||
- if (((error.xhr||{}).responseJSON||{}).reason === 'bad format') {
|
|
||||||
- window.location = utils.url_path_join(
|
|
||||||
- that.base_url,
|
|
||||||
- 'files',
|
|
||||||
- that.file_path
|
|
||||||
- );
|
|
||||||
- } else {
|
|
||||||
- console.warn('Error while loading: the error was:')
|
|
||||||
- console.warn(error)
|
|
||||||
- }
|
|
||||||
+ console.warn('Error loading: ', error);
|
|
||||||
cm.setValue("Error! " + error.message +
|
|
||||||
"\nSaving disabled.\nSee Console for more details.");
|
|
||||||
- cm.setOption('readOnly','nocursor')
|
|
||||||
+ cm.setOption('readOnly','nocursor');
|
|
||||||
that.save_enabled = false;
|
|
||||||
}
|
|
||||||
);
|
|
||||||
@@ -186,7 +177,7 @@ function($,
|
|
||||||
Editor.prototype._clean_state = function(){
|
|
||||||
var clean = this.codemirror.isClean(this.generation);
|
|
||||||
if (clean === this.clean){
|
|
||||||
- return
|
|
||||||
+ return;
|
|
||||||
} else {
|
|
||||||
this.clean = clean;
|
|
||||||
}
|
|
||||||
--
|
|
||||||
2.4.6
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue