parent
f353ff5485
commit
2b0aa8b49a
@ -1,70 +0,0 @@
|
||||
From 28d0350070c6120a83287f0846c59f50814bc37a Mon Sep 17 00:00:00 2001
|
||||
From: "Mark J. Washenberger" <mark.washenberger@markwash.net>
|
||||
Date: Wed, 26 Jun 2013 15:41:25 -0700
|
||||
Subject: [PATCH] Don't rely on prog.Name for paste app
|
||||
|
||||
Relying on the name of the program breaks packagers who need to move
|
||||
glance executables around to other locations on the file system.
|
||||
|
||||
Fixes bug 1194987
|
||||
|
||||
Change-Id: I7721c5181b17b1f34adc279c055dfff5d17b57e5
|
||||
---
|
||||
bin/glance-api.py | 2 +-
|
||||
bin/glance-registry.py | 3 ++-
|
||||
glance/common/config.py | 5 +----
|
||||
3 files changed, 4 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/bin/glance-api b/bin/glance-api
|
||||
index a82261e..5244b84 100755
|
||||
--- a/bin/glance-api
|
||||
+++ b/bin/glance-api
|
||||
@@ -61,7 +61,7 @@ if __name__ == '__main__':
|
||||
glance.store.verify_default_store()
|
||||
|
||||
server = wsgi.Server()
|
||||
- server.start(config.load_paste_app(), default_port=9292)
|
||||
+ server.start(config.load_paste_app('glance-api'), default_port=9292)
|
||||
server.wait()
|
||||
except exception.WorkerCreationFailure as e:
|
||||
fail(2, e)
|
||||
diff --git a/bin/glance-registry b/bin/glance-registry
|
||||
index 678bcd1..39bc3ee 100755
|
||||
--- a/bin/glance-registry
|
||||
+++ b/bin/glance-registry
|
||||
@@ -51,7 +51,8 @@ if __name__ == '__main__':
|
||||
log.setup('glance')
|
||||
|
||||
server = wsgi.Server()
|
||||
- server.start(config.load_paste_app(), default_port=9191)
|
||||
+ server.start(config.load_paste_app('glance-registry'),
|
||||
+ default_port=9191)
|
||||
server.wait()
|
||||
except RuntimeError as e:
|
||||
sys.exit("ERROR: %s" % e)
|
||||
diff --git a/glance/common/config.py b/glance/common/config.py
|
||||
index 45cea5d..cd4feba 100644
|
||||
--- a/glance/common/config.py
|
||||
+++ b/glance/common/config.py
|
||||
@@ -183,7 +183,7 @@ def _get_deployment_config_file():
|
||||
return os.path.abspath(path)
|
||||
|
||||
|
||||
-def load_paste_app(app_name=None):
|
||||
+def load_paste_app(app_name):
|
||||
"""
|
||||
Builds and returns a WSGI app from a paste config file.
|
||||
|
||||
@@ -195,9 +195,6 @@ def load_paste_app(app_name=None):
|
||||
:raises RuntimeError when config file cannot be located or application
|
||||
cannot be loaded from config file
|
||||
"""
|
||||
- if app_name is None:
|
||||
- app_name = CONF.prog
|
||||
-
|
||||
# append the deployment flavor to the application name,
|
||||
# in order to identify the appropriate paste pipeline
|
||||
app_name += _get_deployment_flavor()
|
||||
--
|
||||
1.8.1.5
|
||||
|
@ -1,140 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2014.1.2.ebuild,v 1.1 2014/08/21 20:40:15 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 user
|
||||
|
||||
DESCRIPTION="Provides services for discovering, registering, and retrieving
|
||||
virtual machine images with Openstack"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
SRC_URI="http://launchpad.net/${PN}/icehouse/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc mysql postgres +sqlite +swift test"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.6.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-1.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg[${PYTHON_USEDEP}]
|
||||
~dev-python/pysendfile-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/qpid-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyxattr-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/oslo-sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
#note to self, wsgiref is a python builtin, no need to package it
|
||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
||||
|
||||
RDEPEND=">=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
|
||||
sqlite? (
|
||||
>=dev-python/sqlalchemy-0.8.0[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-0.9.5[sqlite,${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
mysql? (
|
||||
dev-python/mysql-python
|
||||
>=dev-python/sqlalchemy-0.8.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-0.9.5[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
postgres? (
|
||||
dev-python/psycopg:2
|
||||
>=dev-python/sqlalchemy-0.8.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-0.9.5[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.12.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/boto-2.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}]
|
||||
swift? (
|
||||
>=dev-python/python-swiftclient-1.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-cinderclient-1.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.5.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}]
|
||||
dev-python/oslo-vmware[${PYTHON_USEDEP}] "
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-2013.2-sphinx_mapping.patch" )
|
||||
PATCHES=( "${FILESDIR}/2014.1.2-CVE-2014-5356.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup glance
|
||||
enewuser glance -1 -1 /var/lib/glance glance
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && "${PYTHON}" setup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://bugs.launchpad.net/glance/+bug/1251105
|
||||
# https://bugs.launchpad.net/glance/+bug/1242501
|
||||
nosetests glance/ || die "tests failed under python2.7"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
for svc in api registry scrubber; do
|
||||
newinitd "${FILESDIR}/glance.initd" glance-${svc}
|
||||
done
|
||||
|
||||
diropts -m 0750 -o glance -g glance
|
||||
dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
|
||||
insinto /etc/glance
|
||||
insopts -m 0640 -o glance -g glance
|
||||
doins "etc/glance-api-paste.ini"
|
||||
doins "etc/glance-api.conf"
|
||||
doins "etc/glance-cache.conf"
|
||||
doins "etc/glance-registry-paste.ini"
|
||||
doins "etc/glance-registry.conf"
|
||||
doins "etc/glance-scrubber.conf"
|
||||
doins "etc/logging.cnf.sample"
|
||||
doins "etc/policy.json"
|
||||
doins "etc/schema-image.json"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,141 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2014.1.3.ebuild,v 1.1 2014/10/11 22:25:23 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 user
|
||||
|
||||
DESCRIPTION="Provides services for discovering, registering, and retrieving
|
||||
virtual machine images with Openstack"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
SRC_URI="http://launchpad.net/${PN}/icehouse/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc mysql postgres +sqlite +swift test"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.6.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.1.9999[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-1.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg[${PYTHON_USEDEP}]
|
||||
~dev-python/pysendfile-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/qpid-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyxattr-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/oslo-sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
#note to self, wsgiref is a python builtin, no need to package it
|
||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
||||
|
||||
RDEPEND=">=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
|
||||
sqlite? (
|
||||
>=dev-python/sqlalchemy-0.8.0[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-0.9.5[sqlite,${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
mysql? (
|
||||
dev-python/mysql-python
|
||||
>=dev-python/sqlalchemy-0.8.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-0.9.5[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
postgres? (
|
||||
dev-python/psycopg:2
|
||||
>=dev-python/sqlalchemy-0.8.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-0.9.5[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
|
||||
!~dev-python/routes-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.12.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/boto-2.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-migrate-0.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}]
|
||||
swift? (
|
||||
>=dev-python/python-swiftclient-1.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-cinderclient-1.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-vmware-0.2[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-2013.2-sphinx_mapping.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup glance
|
||||
enewuser glance -1 -1 /var/lib/glance glance
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && "${PYTHON}" setup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://bugs.launchpad.net/glance/+bug/1251105
|
||||
# https://bugs.launchpad.net/glance/+bug/1242501
|
||||
nosetests glance/ || die "tests failed under python2.7"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
for svc in api registry scrubber; do
|
||||
newinitd "${FILESDIR}/glance.initd" glance-${svc}
|
||||
done
|
||||
|
||||
diropts -m 0750 -o glance -g glance
|
||||
dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
|
||||
insinto /etc/glance
|
||||
insopts -m 0640 -o glance -g glance
|
||||
doins "etc/glance-api-paste.ini"
|
||||
doins "etc/glance-api.conf"
|
||||
doins "etc/glance-cache.conf"
|
||||
doins "etc/glance-registry-paste.ini"
|
||||
doins "etc/glance-registry.conf"
|
||||
doins "etc/glance-scrubber.conf"
|
||||
doins "etc/logging.cnf.sample"
|
||||
doins "etc/policy.json"
|
||||
doins "etc/schema-image.json"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,142 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2014.1.9999.ebuild,v 1.5 2014/10/11 22:25:23 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit git-2 distutils-r1 user
|
||||
|
||||
DESCRIPTION="Provides services for discovering, registering, and retrieving
|
||||
virtual machine images with Openstack"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
EGIT_REPO_URI="https://github.com/openstack/glance.git"
|
||||
EGIT_BRANCH="stable/icehouse"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="doc mysql postgres +sqlite +swift test"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.6.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.1.9999[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-1.1.1[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg[${PYTHON_USEDEP}]
|
||||
~dev-python/pysendfile-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/qpid-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyxattr-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/oslo-sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
#note to self, wsgiref is a python builtin, no need to package it
|
||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
||||
|
||||
RDEPEND=">=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
|
||||
sqlite? (
|
||||
>=dev-python/sqlalchemy-0.8.0[sqlite,${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-0.9.5[sqlite,${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
mysql? (
|
||||
dev-python/mysql-python
|
||||
>=dev-python/sqlalchemy-0.8.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-0.9.5[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
postgres? (
|
||||
dev-python/psycopg:2
|
||||
>=dev-python/sqlalchemy-0.8.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-0.9.5[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
|
||||
!~dev-python/routes-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.12.0[${PYTHON_USEDEP}]
|
||||
!~dev-python/boto-2.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.9[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-migrate-0.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-2.4.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}]
|
||||
swift? (
|
||||
>=dev-python/python-swiftclient-1.6[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-cinderclient-1.0.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.6.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-vmware-0.2[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-2013.2-sphinx_mapping.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup glance
|
||||
enewuser glance -1 -1 /var/lib/glance glance
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && "${PYTHON}" setup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://bugs.launchpad.net/glance/+bug/1251105
|
||||
# https://bugs.launchpad.net/glance/+bug/1242501
|
||||
nosetests glance/ || die "tests failed under python2.7"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
for svc in api registry scrubber; do
|
||||
newinitd "${FILESDIR}/glance.initd" glance-${svc}
|
||||
done
|
||||
|
||||
diropts -m 0750 -o glance -g glance
|
||||
dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
|
||||
insinto /etc/glance
|
||||
insopts -m 0640 -o glance -g glance
|
||||
doins "etc/glance-api-paste.ini"
|
||||
doins "etc/glance-api.conf"
|
||||
doins "etc/glance-cache.conf"
|
||||
doins "etc/glance-registry-paste.ini"
|
||||
doins "etc/glance-registry.conf"
|
||||
doins "etc/glance-scrubber.conf"
|
||||
doins "etc/logging.cnf.sample"
|
||||
doins "etc/policy.json"
|
||||
doins "etc/schema-image.json"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,176 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/glance/glance-2014.2.ebuild,v 1.3 2014/11/21 00:05:34 prometheanfire Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 user
|
||||
|
||||
DESCRIPTION="Provides services for discovering, registering, and retrieving
|
||||
virtual machine images with Openstack"
|
||||
HOMEPAGE="https://launchpad.net/glance"
|
||||
SRC_URI="http://launchpad.net/${PN}/juno/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc mysql postgres +sqlite +swift test"
|
||||
REQUIRED_USE="|| ( mysql postgres sqlite )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/hacking-0.8.0[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox-0.5.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-1.2.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/requests-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
|
||||
>=dev-python/psutil-1.1.1[${PYTHON_USEDEP}]
|
||||
<dev-python/psutil-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/mysql-python[${PYTHON_USEDEP}]
|
||||
dev-python/psycopg[${PYTHON_USEDEP}]
|
||||
~dev-python/pysendfile-2.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/qpid-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyxattr-0.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}] )"
|
||||
|
||||
#note to self, wsgiref is a python builtin, no need to package it
|
||||
#>=dev-python/wsgiref-0.1.2[${PYTHON_USEDEP}]
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/greenlet-0.3.2[${PYTHON_USEDEP}]
|
||||
sqlite? (
|
||||
|| (
|
||||
(
|
||||
>=dev-python/sqlalchemy-0.8.4[sqlite,${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.8.99[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
(
|
||||
>=dev-python/sqlalchemy-0.9.7[sqlite,${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[sqlite,${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
)
|
||||
mysql? (
|
||||
dev-python/mysql-python
|
||||
|| (
|
||||
(
|
||||
>=dev-python/sqlalchemy-0.8.4[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.8.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
(
|
||||
>=dev-python/sqlalchemy-0.9.7[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
)
|
||||
postgres? (
|
||||
dev-python/psycopg:2
|
||||
|| (
|
||||
(
|
||||
>=dev-python/sqlalchemy-0.8.4[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.8.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
(
|
||||
>=dev-python/sqlalchemy-0.9.7[${PYTHON_USEDEP}]
|
||||
<=dev-python/sqlalchemy-0.9.99[${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
)
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/eventlet-0.15.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pastedeploy-1.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/routes-1.12.3[${PYTHON_USEDEP}]
|
||||
!~dev-python/routes-2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/webob-1.2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-migrate-0.9.1[${PYTHON_USEDEP}]
|
||||
!~dev-python/sqlalchemy-migrate-0.9.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/httplib2-0.7.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/kombu-2.5.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pycrypto-2.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/iso8601-0.1.9[${PYTHON_USEDEP}]
|
||||
dev-python/ordereddict[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-config-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-0.7.12[${PYTHON_USEDEP}]
|
||||
>=dev-python/keystonemiddleware-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/WSME-0.6[${PYTHON_USEDEP}]
|
||||
dev-python/posix_ipc[${PYTHON_USEDEP}]
|
||||
swift? (
|
||||
>=dev-python/python-swiftclient-2.2.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
>=dev-python/oslo-vmware-0.6.0[${PYTHON_USEDEP}]
|
||||
dev-python/paste[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsonschema-2.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/jsonschema-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-cinderclient-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-keystoneclient-0.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyopenssl-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-db-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-i18n-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-messaging-1.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/retrying-1.2.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/retrying-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/osprofiler-0.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/glance_store-0.1.1[${PYTHON_USEDEP}]"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-2013.2-sphinx_mapping.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup glance
|
||||
enewuser glance -1 -1 /var/lib/glance glance
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && "${PYTHON}" setup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# https://bugs.launchpad.net/glance/+bug/1251105
|
||||
# https://bugs.launchpad.net/glance/+bug/1242501
|
||||
nosetests glance/ || die "tests failed under python2.7"
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
for svc in api registry scrubber; do
|
||||
newinitd "${FILESDIR}/glance.initd" glance-${svc}
|
||||
done
|
||||
|
||||
diropts -m 0750 -o glance -g glance
|
||||
dodir /var/log/glance /var/lib/glance/images /var/lib/glance/scrubber
|
||||
keepdir /etc/glance
|
||||
keepdir /var/log/glance
|
||||
keepdir /var/lib/glance/images
|
||||
keepdir /var/lib/glance/scrubber
|
||||
|
||||
insinto /etc/glance
|
||||
insopts -m 0640 -o glance -g glance
|
||||
doins "etc/glance-api-paste.ini"
|
||||
doins "etc/glance-api.conf"
|
||||
doins "etc/glance-cache.conf"
|
||||
doins "etc/glance-registry-paste.ini"
|
||||
doins "etc/glance-registry.conf"
|
||||
doins "etc/glance-scrubber.conf"
|
||||
doins "etc/logging.cnf.sample"
|
||||
doins "etc/policy.json"
|
||||
doins "etc/schema-image.json"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST email2trac-2.6.0.tar.gz 104415 SHA256 5cb2b9fd8843be3a8e928e7e2b72248cbc855f1a5977133d8e0cf11362cf8e6c SHA512 f5a16e2712fa966f629e4a7a2d7da5d09e1c76ed86e41244be786bffea46dd1155c92f3abec0dfc3dedeceffef2f98c4fa9cc8a3c860ee0aa5501838ef3ec805 WHIRLPOOL 1f428e424da76dfa8167146754e2b4b754fe48cea8c730c6b56f48cb1003249da83d234a8c9e38a0c24313b7e114de00f486d813446272c39cb13f9ca41f1c13
|
||||
DIST email2trac-2.6.2.tar.gz 104732 SHA256 4d1ccd12e18a303d3700eeb5449eb330ddbc13ed66103df79fffed950fd9243f SHA512 69b596b4c60ccc40b53ddfce5c13d5d7f27ac1fc5674e1cb3fbf84b083c2abc77d36879d665924a62b826e7d3a52d0ead1e1d693a55aae5edfc092998e01a0df WHIRLPOOL ac92802ab7fc0c0b6e0daddd3f723f1b21b2772f63dc9a6194db78572fc039c0d4f3602f1dc55caf5cc9387d481c9bf2aabb7961fb91147060ecce48926e13d5
|
||||
DIST email2trac-2.8.4.tar.gz 107791 SHA256 2673ea60f355c812d890346c1eaa9d0a65c791d214bf545b171ed66a8feceafb SHA512 f0bfd00442d50090f9cc582849026b08bb091bc72223b4569597c2ffdb57759206500da65390dc1609a24e521e137aee072d1ee3412391bf0e4b778933ff2165 WHIRLPOOL 18b35e889fc52e488dc88b7ef73302d8497961bf2710e3353b3d21c3514191bfdc4ec7d99ff9ad2c92cb9626d2db2f5dbca92e03963fe4b90e29d35f308118f4
|
||||
|
@ -0,0 +1,38 @@
|
||||
From 81f1545f1371931d560492e8b323096d4befc775 Mon Sep 17 00:00:00 2001
|
||||
From: Brian Dolbec <dolsen@gentoo.org>
|
||||
Date: Fri, 17 Oct 2014 19:40:38 -0700
|
||||
Subject: [PATCH] remotedb.py: Change for upstream ssl-fetch change
|
||||
|
||||
---
|
||||
layman/remotedb.py | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/layman/remotedb.py b/layman/remotedb.py
|
||||
index f0f7ea9..b866bd7 100644
|
||||
--- a/layman/remotedb.py
|
||||
+++ b/layman/remotedb.py
|
||||
@@ -57,7 +57,7 @@ class RemoteDB(DbBase):
|
||||
self.detached_urls = []
|
||||
self.signed_urls = []
|
||||
self.proxies = config.proxies
|
||||
-
|
||||
+
|
||||
self.urls = [i.strip()
|
||||
for i in config['overlays'].split('\n') if len(i)]
|
||||
|
||||
@@ -116,9 +116,11 @@ class RemoteDB(DbBase):
|
||||
need_gpg = [False, True, True]
|
||||
# setup the ssl-fetch output map
|
||||
connector_output = {
|
||||
- 'info': self.output.debug,
|
||||
+ 'info': self.output.info,
|
||||
+ 'debug': self.output.debug,
|
||||
'error': self.output.error,
|
||||
'kwargs-info': {'level': 2},
|
||||
+ 'kwargs-debug': {'level': 2},
|
||||
'kwargs-error':{'level': None},
|
||||
}
|
||||
fetcher = Connector(connector_output, self.proxies, USERAGENT)
|
||||
--
|
||||
2.0.5
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-db/hyperdex/hyperdex-1.6.0.ebuild,v 1.1 2015/01/13 02:48:45 patrick Exp $
|
||||
EAPI=5
|
||||
|
||||
# Tests fail, again
|
||||
RESTRICT="test"
|
||||
|
||||
PYTHON_COMPAT=( python2_7)
|
||||
inherit eutils python-r1 autotools
|
||||
|
||||
DESCRIPTION="A searchable distributed Key-Value Store"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz
|
||||
http://dev.gentooexperimental.org/~patrick/autotools-java.tar"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="test +python"
|
||||
# need to add ruby and java useflags too
|
||||
|
||||
DEPEND="dev-cpp/glog
|
||||
dev-cpp/sparsehash
|
||||
dev-libs/cityhash
|
||||
dev-libs/libpo6
|
||||
dev-libs/libe
|
||||
dev-libs/busybee
|
||||
dev-libs/popt
|
||||
dev-libs/replicant
|
||||
dev-libs/libmacaroons
|
||||
dev-libs/libtreadstone
|
||||
dev-libs/json-c"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
REQUIRED_USE="test? ( python )"
|
||||
|
||||
src_prepare() {
|
||||
cp "${WORKDIR}/"*.m4 m4/
|
||||
sed -i -e 's~json/json.h~json-c/json.h~' configure.ac common/datatype_document.cc daemon/index_document.cc || die "Blergh!"
|
||||
eautoreconf
|
||||
}
|
||||
src_configure() {
|
||||
econf --disable-static \
|
||||
$(use_enable python python-bindings)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "Failed to install"
|
||||
newinitd "${FILESDIR}/hyperdex.initd" hyperdex || die "Failed to install init script"
|
||||
newconfd "${FILESDIR}/hyperdex.confd" hyperdex || die "Failed to install config file"
|
||||
find "${D}" -name '*.la' -exec rm {} \; # bad buildsystem! bad!
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST ispc-1.7.0.tar.gz 19075360 SHA256 74ac6a14512a523c2c9fb73f95682f841b54115d801065b343d415118014879e SHA512 a30475c561183c950bdbe50c127f122d344221381711f928e1c3dc8dd824d18e44492831581bed03b684fe04420b9fe5663e1874973a069bb99c9556e4539cdf WHIRLPOOL 0416ddc0292d6e56ded9694505f266af8306df8aa58772110191289582f323269ece5858ec975edb1f7b78fe6113d98b3b0961c9b64e7517c48bc20a35ef8a50
|
||||
DIST ispc-1.8.0.tar.gz 19218018 SHA256 381451854a301ad63744a391864f6ff86f59e46defb2329b52d22fc1878ea1aa SHA512 25d5574530836afcb9b39671cc748e88609b772f22c5c458b242ed1d8128114e2642465935a57ffbf375929998719aceabb696a7b41454fe645f0affba091419 WHIRLPOOL 5af531a8e2ac07724a23872db2225929e40275de91cc5fd830c99bddbd27969492ad7f4c47de54c6e92a63379608adddfd9c5c0e60d6522c5ade9490c74f7429
|
||||
DIST ispc-1.8.1.tar.gz 19222737 SHA256 adef83008bf9e2eb1947f0fbc38670d8bf801ddb36b1f22c4429a1c394e31f60 SHA512 515fd08d416f2f94444ae8771d1f5922b06c87fbebb552ab4003bf961307c1637eab35c46dcd9c356ce6ec159b441ff001edb4488c3dd6629496960a92bafe75 WHIRLPOOL ace2600866156e11a8cf90bb9e6c73a6cdcd1992d72761d9f3c64b16c6a34055410ac3172d6fb746a2a057704d6531e03f91bdbc7f7f480fa4884cbf91d75c3a
|
||||
|
@ -1,13 +0,0 @@
|
||||
diff --git a/Makefile b/Makefile
|
||||
index de0aa1a..abf042f 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -86,7 +86,7 @@ endif
|
||||
ARCH_TYPE = $(shell arch)
|
||||
|
||||
LLVM_CXXFLAGS=$(shell $(LLVM_CONFIG) --cppflags)
|
||||
-LLVM_VERSION=LLVM_$(shell $(LLVM_CONFIG) --version | sed -e s/\\./_/ -e s/svn// -e s/\.0//)
|
||||
+LLVM_VERSION=LLVM_$(shell $(LLVM_CONFIG) --version | sed -e 's/svn//' -e 's/\./_/' -e 's/\..*//')
|
||||
LLVM_VERSION_DEF=-D$(LLVM_VERSION)
|
||||
|
||||
LLVM_COMPONENTS = engine ipo bitreader bitwriter instrumentation linker
|
@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-lang/ispc/ispc-1.7.0.ebuild,v 1.2 2014/06/26 05:53:00 ottxor Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_6,2_7} )
|
||||
|
||||
inherit eutils toolchain-funcs python-any-r1
|
||||
|
||||
DESCRIPTION="Intel SPMD Program Compiler"
|
||||
HOMEPAGE="http://ispc.github.com/"
|
||||
|
||||
if [[ ${PV} = *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://github.com/ispc/ispc.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="BSD BSD-2 UoI-NCSA"
|
||||
SLOT="0"
|
||||
IUSE="examples"
|
||||
|
||||
RDEPEND="
|
||||
>=sys-devel/clang-3.0
|
||||
>=sys-devel/llvm-3.0
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${P}-llvm-version.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake LDFLAGS="${LDFLAGS}" OPT="${CXXFLAGS}" CXX="$(tc-getCXX)" CPP="$(tc-getCPP)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ispc
|
||||
dodoc README.rst
|
||||
|
||||
if use examples; then
|
||||
insinto "/usr/share/doc/${PF}/examples"
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
doins -r examples/*
|
||||
fi
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libe/libe-0.9.0.ebuild,v 1.1 2015/01/13 02:35:00 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
inherit eutils
|
||||
|
||||
# bit messy at the moment, next release should fix it I hope
|
||||
RESTRICT="test"
|
||||
|
||||
DESCRIPTION="Hyperdex libe support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/libpo6-0.6.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/_strtoui64/strtoul/' e/convert.h || die
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libpo6/libpo6-0.6.0.ebuild,v 1.1 2015/01/13 02:29:11 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Hyperdex libpo6 support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1 @@
|
||||
DIST libtreadstone-0.1.0.tar.gz 361686 SHA256 7be1504de3213ac6afa1f8b55ad6aafdef2889dcb2251288cbbbfcbed270d8e2 SHA512 72aec4b03d3824bb88c6d09cc8f5a32058ea3e1da8878af6987e656464c929c136003d37d6fb87a76980642f8af2d9cfc902946d5b523cf642368fc080c70a97 WHIRLPOOL 25e9a2988d8e62fbe37550a5142c61aa77d574da6189f1adc75954caafb038971e9d577acd328f855eb30cde2ee68aadb3f3f8d7ce16dc5b0b7e18035c63ee92
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtreadstone/libtreadstone-0.1.0.ebuild,v 1.1 2015/01/13 02:38:17 patrick Exp $
|
||||
EAPI=4
|
||||
|
||||
DESCRIPTION="Hyperdex libtreadstone support library"
|
||||
|
||||
HOMEPAGE="http://hyperdex.org"
|
||||
SRC_URI="http://hyperdex.org/src/${P}.tar.gz"
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/libpo6-0.6.0
|
||||
>=dev-libs/libe-0.9.0"
|
||||
RDEPEND="${DEPEND}"
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer>
|
||||
<email>patrick@gentoo.org</email>
|
||||
<name>Patrick Lauer</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,2 +1 @@
|
||||
DIST 1.0.4.tgz 2022880 SHA256 8d840e845b34a870f64da02600f8e448815828a4472753020bd584ac5f826ebd SHA512 86f15cee47fcce1d3c3b76a012303f9516478e20390546c9993d576eeae58143b1c4cfd8f6840d6b648adabdbf9421a2b35e4b10b764449ad5ffce0bd76f9521 WHIRLPOOL e6a28ac24de227aaba3bea7e729a7b70a03562142b74e13f3e3ebec56a8f59eee80a8c379767eaf5314b5b3a80552b98609b30d1a337e6180a1074d94db73622
|
||||
DIST 1.0.7.tgz 2064782 SHA256 46cb0f9a4f9381ec06e0b82b11683930ac732140188b2e841d3e73d2574173f7 SHA512 157d1213b8279a4edd1706f66334bc60889b51b1e71c6d398b74272c72ff47f540f7c7eaf3b1c57c0d6e4397c647f80264a74fa5929d5521ec67799aa9f58156 WHIRLPOOL 999d7275a3a42dd1abdec017597015c6c500abdf80a9b0d40ff1fab3ff19694225f9f080eae7389e7fedf97ef46c96587f95e78b9793c7ec53c1561d5beee9ff
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/agavi/agavi-1.0.4.ebuild,v 1.3 2014/08/10 20:59:21 slyfox Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit php-pear-lib-r1
|
||||
|
||||
DESCRIPTION="PHP5 MVC Application Framework"
|
||||
HOMEPAGE="http://www.agavi.org/"
|
||||
SRC_URI="http://www.agavi.org/download/${PV}.tgz"
|
||||
|
||||
LICENSE="LGPL-2.1+ icu unicode ZLIB public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# currently fails to install with dev-php/PEAR-PEAR_PackageFileManager-1.7.0
|
||||
DEPEND="
|
||||
>=dev-lang/php-5[xml]
|
||||
|| ( <dev-lang/php-5.3[pcre,reflection,spl] >=dev-lang/php-5.3 )
|
||||
>=dev-php/PEAR-PEAR-1.6.2-r1
|
||||
>=dev-php/phing-2.2.0[-minimal]
|
||||
<dev-php/PEAR-PEAR_PackageFileManager-1.7.0
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-php/phing-2.2.0
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
cd "${WORKDIR}/${PV}"
|
||||
phing package-pear || die "failed to build pear package"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cd "${WORKDIR}"/${PV}
|
||||
cp -pPR pear-build/ "${WORKDIR}"/${P} || die "failed to copy pear package"
|
||||
cp pear-build/package.xml "${WORKDIR}" || die "failed to copy package.xml"
|
||||
cd "${S}"
|
||||
php-pear-lib-r1_src_install
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/smarty-3.1.21-r1.ebuild,v 1.1 2015/01/13 02:03:51 mjo Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_P="Smarty-${PV}"
|
||||
DOC_PV="3.1.14"
|
||||
|
||||
DESCRIPTION="A template engine for PHP"
|
||||
HOMEPAGE="http://www.smarty.net/"
|
||||
SRC_URI="http://www.smarty.net/files/${MY_P}.tar.gz
|
||||
doc? ( http://www.smarty.net/files/docs/manual-en.${DOC_PV}.zip )"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="doc? ( app-arch/unzip )"
|
||||
|
||||
# PHP unicode support is detected at runtime, and the cached templates
|
||||
# that smarty generates depend on it. If, later on, PHP is reinstalled
|
||||
# without unicode support, all of the previously-generated cached
|
||||
# templates will begin to throw 500 errrors for missing mb_foo
|
||||
# functions. See bug #532618.
|
||||
RDEPEND="dev-lang/php[unicode]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/${PN}"
|
||||
doins -r libs/*
|
||||
|
||||
dodoc *.txt README
|
||||
use doc && dohtml -r "${WORKDIR}/manual-en/"*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${PN} has been installed in /usr/share/php/${PN}/."
|
||||
elog
|
||||
elog 'To use it in your scripts, include the Smarty.class.php file'
|
||||
elog "from the \"${PN}\" directory; for example,"
|
||||
elog
|
||||
elog " require('${PN}/Smarty.class.php');"
|
||||
elog
|
||||
elog 'After that, the Smarty class will be available to you.'
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/smarty-3.1.21.ebuild,v 1.1 2014/10/29 13:56:37 grknight Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
MY_P="Smarty-${PV}"
|
||||
DOC_PV="3.1.14"
|
||||
|
||||
DESCRIPTION="A template engine for PHP"
|
||||
HOMEPAGE="http://www.smarty.net/"
|
||||
SRC_URI="http://www.smarty.net/files/${MY_P}.tar.gz
|
||||
doc? ( http://www.smarty.net/files/docs/manual-en.${DOC_PV}.zip )"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND="doc? ( app-arch/unzip )"
|
||||
RDEPEND="dev-lang/php"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/${PN}"
|
||||
doins -r libs/*
|
||||
|
||||
dodoc *.txt README
|
||||
use doc && dohtml -r "${WORKDIR}/manual-en/"*
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${PN} has been installed in /usr/share/php/${PN}/."
|
||||
elog "To use it in your scripts, either"
|
||||
elog "1. define('SMARTY_DIR', \"/usr/share/php/${PN}/\") in your scripts, or"
|
||||
elog "2. add '/usr/share/php/${PN}/' to the 'include_path' variable in your"
|
||||
elog "php.ini file under /etc/php/SAPI (where SAPI is e.g apache2-php5.3,"
|
||||
elog "cgi-php5.3, etc)."
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST Twig-1.0.0.tgz 44192 SHA256 2b2108f9a645dc4e52ed8f318f7705e0590f02d1bca3644039d561a96ace4db8 SHA512 e02ea518d714207718090eab7bd14778f49d8400cd15befd3c80a1f30a8b56ae74210eff9e8bb949800163cfd50372ec4bd29c7d87fa1a5458a467165c444555 WHIRLPOOL a0d597eda31f2ba36bd21c5c139d802d483054abc270fbf23825b48aa4a6cb00453f11881f5fa8b37594180b35710525901e0df394e82e1a2b0dca744882e9b3
|
||||
DIST Twig-1.10.0.tgz 74464 SHA256 7263b50090403e26972d8d33ce88143059b2d821fd1ecacc0bfe3e2b58790b1e SHA512 4a8555a616caf9176a92bf5335726c2fec1d4bd5ea3d116656da69d9ba7b27967b295af26bc2e4c7e2e21a48b2f3ba98beb91d62ab7103503676eaaacafda557 WHIRLPOOL 4d3647fd563b36038cf68afbd2ed6ebabbecc480b7cfc1f7db8dabde09d12a1e81c20ae4e9558fe25b0623e8c41507ab31bdb7130e59259c7f825d1c6d465e37
|
||||
DIST Twig-1.12.3.tgz 81967 SHA256 1aafe50c3f4c1a16064ff0dd7352edaa732c6dc2bd5a5db704e2a91807ed0922 SHA512 42887a367ac1ab1b8a201083ef09ba88372a764644c990b19d9ec26bd5edf2032347ca77b6be35d368cb7dcc5fbf8be57286ec1fe2804c22235aeb4aec97a83d WHIRLPOOL 2fe4e331a34e4eade4917695c368e8425dae06fd12fc954815d2791e66f970aad652c1f95a0de2bff84d7b9173a579e92be82b760005b8ebc455cc59ce2bfd49
|
||||
DIST Twig-1.16.3.tgz 87723 SHA256 f5ff9fadf10529e658a2d23abe19301cc799304c7ac85d0d572a341e28767b1f SHA512 36cf2c01d7550f3e9021d516ba905c34d8759c22ecef2c8a242dede43970af87d7145de22b27a06d077cdee01edbdd8e9d6a9f2f44fa53ed6b53d3e0da9d7abc WHIRLPOOL 36553498fe8aebb10965192b5e346e51ec0aaafee2db6bc1cb7bfa101c2276a20d5cf8970f73daae6c00e52292e0e152fa4938a1074cb0e57ed5cb5ac17f11fa
|
||||
|
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-php/twig/twig-1.0.0.ebuild,v 1.2 2011/04/16 12:32:46 olemarkus Exp $
|
||||
|
||||
EAPI="2"
|
||||
PHP_PEAR_CHANNEL="${FILESDIR}/channel.xml"
|
||||
PHP_PEAR_PN="Twig"
|
||||
inherit php-pear-lib-r1
|
||||
|
||||
DESCRIPTION="PHP templating engine with syntax similar to Django"
|
||||
HOMEPAGE="http://www.phing.info/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
#Docs folder does not really contain anything interesting
|
||||
dodoc AUTHORS README.markdown
|
||||
rm AUTHORS README.markdown
|
||||
php-pear-lib-r1_src_install
|
||||
rm -r "${D}"/usr/share/php/docs
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST cryptography_vectors-0.5.4.tar.gz 19093455 SHA256 3537837ef31814fb25c082274a64042bf2c52b6108b99374d1eee505097ccf36 SHA512 b548130a4566928c9103b57c1b441fb8a52ced337d358126b6ce9e8bc9566690f321b6f83ed7858a5d6171465ec862f654624bebc9874bb6990502bab5f629d2 WHIRLPOOL c1e03779a72332bea7f41eb53e60a7eb41ca93201fe184434f51bc6e71333752c61dd15e503dbbd65862159a662a7115f8bc44eef59265abd74350b50cb01e6c
|
||||
DIST cryptography_vectors-0.6.1.tar.gz 19348556 SHA256 79d0cd0a4ae89e013f0a9e8df7a4bedc2ecdf3dc8ee1df64c5e4381756eb41cf SHA512 00a802cf8ee3a56236b67b1405f593300141e63f5354182ea5e229516b52ab870f3164009aa47bb75d2294d5587f4b0ad531f3cef867e70bcce87eadd1743cc0 WHIRLPOOL c37ace825f40664890fdcf600fc9213741f2abc168fc5794a80f9224d940bd980bffd4a3c0333f379d238247e97ea3f098a94632cbc2a5ee59e6a32bae8f9cb0
|
||||
DIST cryptography_vectors-0.7.1.tar.gz 21377829 SHA256 2b7592b7d8f2ff3a7e288a6fecda5129a4ec4067d6d7ce3ce061a5d2024ea676 SHA512 98a3b8138ab2754f9f6eb6ba06118718b7f1b30af99d00c205a33b435fe8e432af84328b5b26ec531c920f7c3091bf3189d1d884e543fc9e5b4bea93f6d5b94b WHIRLPOOL 2d041fb9908e2991562bd2b90781082b99a03440fcdd5727e2aff69b20abe3534119acd069a3459c4fd4c67bc2222ab01738ba36468494c111be713884ab27a7
|
||||
DIST cryptography_vectors-0.7.tar.gz 21375413 SHA256 73c84276e5932a4d6b28394c31393350f27b61f66619e5ef5b6932fa835ea084 SHA512 5cb54bb32822d454fa449dc8c5add75efb430722d62ea0c7b591b27d681db5384522d9892bfdd088d00e2ec933564566302ca7b14d94b9e79f11151b2b816f08 WHIRLPOOL 10f14c934d08289dca26a398ce58e4b7b262bf802bc3491831424b769922ddbd63957083da8a66646c74425aaa4234e6b8a1b8b9671213bebba1a607c1a33f01
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cryptography-vectors/cryptography-vectors-0.7.1.ebuild,v 1.1 2015/01/13 03:18:55 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=${PN/-/_}
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="Test vectors for the cryptography package"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/cryptography-vectors/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
@ -1,2 +1,3 @@
|
||||
DIST cryptography-0.5.4.tar.gz 320104 SHA256 5675999f3744cbc32a60cb0bba64de21405abced32ce19655212612262dd270d SHA512 bdfaed6271e21d8b5cef4e8d0cdb7fd4bfb5b607c0f14c7b33888301f9922035f337120c3252d2df16f1844129d4b18dd97abe566bccc18c829faa752af2b4a7 WHIRLPOOL 5522d40bef251b5005e17fa2f43c4f015a7422c2aa9a09cfed8f84365506a1c8d9a97d956d97a3130a46aa7a0d0e90258f9c365ffb196ad0df2be4f6548e3b10
|
||||
DIST cryptography-0.6.1.tar.gz 236721 SHA256 024910130a01eda0ce969764d893d2e397168ebb94181ca1ea3e23e19912329e SHA512 b99338bbbeb70f37e0bfcc6ef33ddff5beb74f7876a30d34deb3a433ddd77f821e5cc5dde228f792362ae7a261d4ceb3b702fb1a8c30ce15a1e6e4de98ef1afa WHIRLPOOL a641342fe13f584ee657aa917172810117416cd426746af30499e43174041c8031598c223398dace1ad1385e3905a27c9f6e5ac5def88a8b87e2ed3bfd95b9ce
|
||||
DIST cryptography-0.7.1.tar.gz 247309 SHA256 9ee59090b242ad0d6abcedebb9ab54358d5efd1a45706195f6e5928f7725bb76 SHA512 ae552fcb8005c98ded32b47edf61d4bf2b495c63b9ac744545d3d1ada7f6f64b1b23a5d9f396bf2a998fcc58370307c893f324806e0c825b9c63fe78698bdc4b WHIRLPOOL dfdb3ff90291c7f3dca3835532608b742c9768311b204bb4a41c62ed6d4ed48b812898a482d86ced10887daebe2b57b1451df51f297f9a19a7ce80a05446f938
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cryptography/cryptography-0.7.1.ebuild,v 1.1 2015/01/13 03:21:41 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# drop pypy so that keywording on not-x86 doesn't get in the way
|
||||
# temporarily drop py3.4 until someone stabs setup.py into submission
|
||||
PYTHON_COMPAT=( python{2_7,3_3} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Library providing cryptographic recipes and primitives"
|
||||
HOMEPAGE="https://github.com/pyca/cryptography/ https://pypi.python.org/pypi/cryptography/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~mips ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-libs/openssl:0
|
||||
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/cffi-0.8:=[${PYTHON_USEDEP}]' 'python*')
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python{2_7,3_3} )
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
~dev-python/cryptography-vectors-${PV}[${PYTHON_USEDEP}]
|
||||
dev-python/iso8601[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-2.4.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS.rst CONTRIBUTING.rst README.rst )
|
||||
|
||||
# Restricted until cffi fixes its compile on import issues
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/python-ldap/python-ldap-2.4.19.ebuild,v 1.1 2015/01/13 04:09:59 patrick Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# setup.py is written only for py2, which suits pypy
|
||||
PYTHON_COMPAT=( python2_7 pypy )
|
||||
|
||||
inherit distutils-r1 multilib
|
||||
|
||||
DESCRIPTION="Various LDAP-related Python modules"
|
||||
HOMEPAGE="http://www.python-ldap.org http://pypi.python.org/pypi/python-ldap"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-solaris"
|
||||
IUSE="doc examples sasl ssl"
|
||||
|
||||
# If you need support for openldap-2.3.x, please use python-ldap-2.3.9.
|
||||
# python team: Please do not remove python-ldap-2.3.9 from the tree.
|
||||
# OpenSSL is an optional runtime dep.
|
||||
# setup.py incorrectly sets setuptools and misses pyasn1 and pyasn1-modules in install_requires
|
||||
RDEPEND=">net-nds/openldap-2.4.11
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1-modules[${PYTHON_USEDEP}]
|
||||
sasl? ( >=dev-libs/cyrus-sasl-2.1 )"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_prepare_all() {
|
||||
sed -e "s:^library_dirs =.*:library_dirs = /usr/$(get_libdir) /usr/$(get_libdir)/sasl2:" \
|
||||
-e "s:^include_dirs =.*:include_dirs = ${EPREFIX}/usr/include ${EPREFIX}/usr/include/sasl:" \
|
||||
-i setup.cfg || die "error fixing setup.cfg"
|
||||
|
||||
local mylibs="ldap"
|
||||
if use sasl; then
|
||||
use ssl && mylibs="ldap_r"
|
||||
mylibs="${mylibs} sasl2"
|
||||
else
|
||||
sed -e 's/HAVE_SASL//g' -i setup.cfg || die
|
||||
fi
|
||||
use ssl && mylibs="${mylibs} ssl crypto"
|
||||
use elibc_glibc && mylibs="${mylibs} resolv"
|
||||
|
||||
sed -e "s:^libs = .*:libs = lber ${mylibs}:" \
|
||||
-i setup.cfg || die "error setting up libs in setup.cfg"
|
||||
|
||||
# set test expected to fail to expectedFailure
|
||||
sed -e "s:^ def test_bad_urls: @unittest.expectedFailure\n def test_bad_urls:" \
|
||||
-i Tests/t_ldapurl.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C Doc html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# XXX: the tests supposedly can start local slapd
|
||||
# but it requires some manual config, it seems.
|
||||
|
||||
"${PYTHON}" Tests/t_ldapurl.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( Demo/. )
|
||||
use doc && local HTML_DOCS=( Doc/.build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/reportlab/reportlab-3.1.8-r2.ebuild,v 1.2 2015/01/13 03:16:42 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
# Tests crash with pypy
|
||||
|
||||
inherit distutils-r1 flag-o-matic prefix
|
||||
|
||||
DESCRIPTION="Tools for generating printable PDF documents from any data source"
|
||||
HOMEPAGE="http://www.reportlab.com/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz
|
||||
http://www.reportlab.com/ftp/fonts/pfbfer-20070710.zip"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/pillow-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pip-1.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-2.2[${PYTHON_USEDEP}]
|
||||
media-fonts/dejavu
|
||||
media-libs/libart_lgpl
|
||||
sys-libs/zlib
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
DISTUTILS_NO_PARALLEL_BUILD=1
|
||||
|
||||
src_unpack() {
|
||||
unpack ${P}.tar.gz
|
||||
cd ${P}/src/reportlab/fonts || die
|
||||
unpack pfbfer-20070710.zip
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
sed -i \
|
||||
-e "s|/usr/lib/X11/fonts/TrueType/|${EPREFIX}/usr/share/fonts/dejavu/|" \
|
||||
-e 's|/usr/local/Acrobat|/opt/Acrobat|g' \
|
||||
-e 's|%(HOME)s/fonts|%(HOME)s/.fonts|g' \
|
||||
src/reportlab/rl_config.py || die
|
||||
|
||||
eprefixify setup.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_compile() {
|
||||
if ! python_is_python3; then
|
||||
local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
|
||||
fi
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
pushd tests > /dev/null || die
|
||||
"${PYTHON}" runAll.py || die "Testing failed with ${EPYTHON}"
|
||||
popd > /dev/null || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/html/. )
|
||||
use examples && local EXAMPLES=( demos/. tools/pythonpoint/demos )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- configure
|
||||
+++ configure
|
||||
@@ -10835,7 +10835,7 @@
|
||||
if ${lt_cv_with_aix_soname+:} false; then :
|
||||
$as_echo_n "(cached) " >&6
|
||||
else
|
||||
- lt_cv_with_aix_soname=aix
|
||||
+ lt_cv_with_aix_soname=svr4
|
||||
fi
|
||||
|
||||
with_aix_soname=$lt_cv_with_aix_soname
|
@ -1 +1 @@
|
||||
Mon, 12 Jan 2015 18:36:55 +0000
|
||||
Tue, 13 Jan 2015 06:36:52 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 12 Jan 2015 18:36:55 +0000
|
||||
Tue, 13 Jan 2015 06:36:52 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue