parent
8b705e8727
commit
118e9e63c1
@ -1,20 +0,0 @@
|
||||
# /etc/conf.d/chef-solr-indexer: config file for /etc/init.d/chef-solr-indexer
|
||||
|
||||
# The configuration file to use.
|
||||
#CONFIGFILE="/etc/chef/solr.rb"
|
||||
|
||||
# The user and group to set privilege to.
|
||||
#CHEF_USER="chef"
|
||||
#CHEF_GROUP="chef"
|
||||
|
||||
# Log file location.
|
||||
#CHEF_SOLR_INDEXER_LOGFILE="/var/log/chef/solr-indexer.log"
|
||||
|
||||
# Any radom options you want to pass to chef-solr-indexer.
|
||||
#CHEF_SOLR_INDEXER_OPTS=""
|
||||
|
||||
# Path to the chef solr indexer binary.
|
||||
#CHEF_SOLR_INDEXER_BINARY="/usr/bin/chef-solr-indexer"
|
||||
|
||||
# PID file location.
|
||||
#CHEF_SOLR_INDEXER_PIDFILE="/var/run/chef/solr-indexer.pid"
|
@ -1,39 +0,0 @@
|
||||
#!/sbin/runscript
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
depend() {
|
||||
need net chef-solr
|
||||
}
|
||||
|
||||
CHEF_SOLR_INDEXER_BINARY=${CHEF_SOLR_INDEXER_BINARY:-/usr/bin/chef-solr-indexer}
|
||||
CHEF_SOLR_INDEXER_PIDFILE=${CHEF_SOLR_INDEXER_PIDFILE:-/var/run/chef/solr-indexer.pid}
|
||||
CHEF_SOLR_INDEXER_LOGFILE=${CHEF_SOLR_INDEXER_LOGFILE:-/var/log/chef/solr-indexer.log}
|
||||
CONFIGFILE=${CONFIGFILE:-/etc/chef/solr.rb}
|
||||
CHEF_USER=${CHEF_USER:-chef}
|
||||
CHEF_GROUP=${CHEF_GROUP:-chef}
|
||||
|
||||
CHEF_DIRS=( /etc/chef /var/lib/chef /var/log/chef /var/run/chef )
|
||||
|
||||
fix_owners() {
|
||||
for i in ${CHEF_DIRS[@]} ${CONFIGFILE}; do
|
||||
chown ${CHEF_USER}:${CHEF_GROUP} ${i}
|
||||
done
|
||||
chmod 0600 ${CONFIGFILE}
|
||||
}
|
||||
|
||||
start() {
|
||||
ebegin "Starting Chef SOLR indexer"
|
||||
fix_owners
|
||||
start-stop-daemon --start --quiet --user ${CHEF_USER} --group ${CHEF_GROUP} \
|
||||
--pidfile ${CHEF_SOLR_INDEXER_PIDFILE} --exec ${CHEF_SOLR_INDEXER_BINARY} \
|
||||
-- -d -P ${CHEF_SOLR_INDEXER_PIDFILE} -L ${CHEF_SOLR_INDEXER_LOGFILE} \
|
||||
-c ${CONFIGFILE} ${CHEF_SOLR_INDEXER_OPTS}
|
||||
eend $?
|
||||
}
|
||||
|
||||
stop() {
|
||||
ebegin "Shutting down Chef SOLR indexer"
|
||||
start-stop-daemon --stop --quiet --pidfile ${CHEF_SOLR_INDEXER_PIDFILE}
|
||||
eend $?
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
--- a/src/slave/kprop.c
|
||||
+++ b/src/slave/kprop.c
|
||||
@@ -91,7 +91,7 @@ main(argc, argv)
|
||||
int argc;
|
||||
char **argv;
|
||||
{
|
||||
- int fd, database_fd, database_size;
|
||||
+ int fd = -1, database_fd, database_size;
|
||||
krb5_error_code retval;
|
||||
krb5_context context;
|
||||
krb5_creds *my_creds;
|
||||
--- a/src/kadmin/ktutil/ktutil_funcs.c
|
||||
+++ b/src/kadmin/ktutil/ktutil_funcs.c
|
||||
@@ -64,7 +64,7 @@
|
||||
krb5_kt_list *list;
|
||||
int idx;
|
||||
{
|
||||
- krb5_kt_list lp, prev;
|
||||
+ krb5_kt_list lp, prev = NULL;
|
||||
int i;
|
||||
|
||||
for (lp = *list, i = 1; lp; prev = lp, lp = lp->next, i++) {
|
||||
--- a/src/lib/kadm5/alt_prof.c
|
||||
+++ b/src/lib/kadm5/alt_prof.c
|
||||
@@ -164,7 +164,7 @@
|
||||
char **values;
|
||||
char *valp;
|
||||
int idx;
|
||||
- krb5_boolean val;
|
||||
+ krb5_boolean val = 0;
|
||||
|
||||
kret = krb5_aprof_getvals (acontext, hierarchy, &values);
|
||||
if (kret)
|
||||
--- a/src/lib/krb5/unicode/ucstr.c
|
||||
+++ b/src/lib/krb5/unicode/ucstr.c
|
||||
@@ -109,7 +109,7 @@
|
||||
krb5_data ** newdataptr,
|
||||
unsigned flags)
|
||||
{
|
||||
- int i, j, len, clen, outpos, ucsoutlen, outsize;
|
||||
+ int i, j, len, clen, outpos = 0, ucsoutlen, outsize;
|
||||
char *out = NULL, *outtmp, *s;
|
||||
krb5_ucs4 *ucs = NULL, *p, *ucsout = NULL;
|
||||
krb5_data *newdata;
|
||||
diff --git a/src/util/profile/prof_init.c b/src/util/profile/prof_init.c
|
||||
index 7dc5b47..cd90db8 100644
|
||||
--- a/src/util/profile/prof_init.c
|
||||
+++ b/src/util/profile/prof_init.c
|
||||
@@ -255,7 +255,7 @@ copy_vtable_profile(profile_t profile, profile_t *ret_new_profile)
|
||||
{
|
||||
errcode_t err;
|
||||
void *cbdata;
|
||||
- profile_t new_profile;
|
||||
+ profile_t new_profile = NULL;
|
||||
|
||||
*ret_new_profile = NULL;
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST httplib2-0.6.0.tar.gz 53800 SHA256 58de068e5af5661c566abb871a75133cc8297e6473ff3f15e98079d57da3978c SHA512 5f90ad3423fcdf087288c9ad299c200d8855416c916b5d6d25fbf3d6f5769ec8df98e3a4b80705df5344a4143fcd20931b852f255c4dae70be0c4cc8210e7bbf WHIRLPOOL 51ca950eabfed081d6d8b05c95e26fc1f1fa9a988920d507f3934023a71adde5b0385f29473dc4fa19e7482faf5305f517a77b3ae63b0195e0cdfb90f82db7b3
|
||||
DIST httplib2-0.7.1.tar.gz 84611 SHA256 140016f5d520b916df5d98af7f424ba8866ffe4cccd9b9c2804b57c61445ded7 SHA512 aab20558042fb110a564df1ef83f388ef98c565352e02817cbd31f668e04add77b6ed44b6fb1dd74b8a17dcbbe25b4280e6d35d44bdddc4faa4f8587f9d3b98b WHIRLPOOL 963f92be976e2c4abceb4c4b8c44d94257e56595f1a3df3170035e49c03687b8167c3d400508e988a51a2704d2bad85eb2d4b0304bf75228596168491b84e757
|
||||
DIST httplib2-0.7.2.tar.gz 87310 SHA256 050e54bd4e406c7b7951ca9812a3ee6eb242666368e325fed5a295280482966b SHA512 ea7000d0203f48378295817a0adf50a9dcce3bb27b18e32ad81623b64792d490a7d45ce513cecdd00b508b6c7fa94b59458628275509d59d97da503f273d5afd WHIRLPOOL 5b83065791739b83829c1032f3fb917387326bfd5c6fddf962e5dc2175dde6edbfa1377e5ccfeb98577a2ead2062d579e2d86a7a5cf08d0b950cadb1c5086797
|
||||
DIST httplib2-0.7.4.tar.gz 110136 SHA256 d268909d2df54098ec426fafc93a933adac7b713a4edb99113ba706a43882a91 SHA512 ad269ab4851b5b5dfa3e54a4886452a2cc81b1472343e2ac0fdf00eca1f71e6d658875ca7d30f092f448330df83cd8ecc05634d0c2b4a3ac2992d9c77fbe30aa WHIRLPOOL d89eb22135483876bcab53ecc26e5ad3a76f8d7275d91a27668bfc412e508c2d554d02aee37315a22ebf8cb94d46e04e16b224b9bf9b88945af578d4501ca8fb
|
||||
DIST httplib2-0.7.6.tar.gz 141916 SHA256 baa7bf431fa9d3c1016562de717e1ebb322a99df72a2918f6b5b8f65fa65bc2e SHA512 024898922a77780184ba454f80cb2ab05a10ca75cddc1d1b5b86aae83a47ad1daa23dd3aacaea1d50d70de18ae3f776977ccc5cff1ab7d48a959d47ded554eae WHIRLPOOL 93827c86efb78fa6082b220b36dcb61b003f33292c6ecffadf99f477d565bdc25b53f82a1111e1877aea6522fce6b9864d1841d125d1a215ad1e20f1fb62cc74
|
||||
DIST httplib2-0.7.7.tar.gz 144020 SHA256 2e2ce18092c32d1ec54f8a447e14e33585e30f240b883bfeeca65f12b3bcfaf6 SHA512 686400092bdc3f5aa1ee809ebb1c3ea52995523eb58926c26401dcdadef3de6bd17241531e1fdc01f649a07b92071bd3d136e50aa9f9c8aa6fa4fdd8cdc31ab4 WHIRLPOOL 4217917e358c982a88e41b60ace246730ffb925cfa21099879bf92013456f5feb46f33d9e6b20398e828369507069f903b3d84038bd95688310f1fb861326925
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/httplib2/httplib2-0.7.1.ebuild,v 1.2 2011/09/24 13:38:21 grobian Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A comprehensive HTTP client library"
|
||||
HOMEPAGE="http://code.google.com/p/httplib2/ http://pypi.python.org/pypi/httplib2"
|
||||
SRC_URI="http://httplib2.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
src_prepare() {
|
||||
distutils_src_prepare
|
||||
|
||||
# cacerts.txt and other_cacerts.txt are missing in python3/httplib2 directory
|
||||
cp python2/httplib2/cacerts.txt python3/httplib2
|
||||
mkdir python3/httplib2/test
|
||||
cp python2/httplib2/test/other_cacerts.txt python3/httplib2/test
|
||||
}
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
pushd "python$(python_get_version --major)" > /dev/null
|
||||
"$(PYTHON)" httplib2test.py
|
||||
popd > /dev/null
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils_src_install
|
||||
|
||||
dodoc README
|
||||
newdoc python3/README README-python3
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/httplib2/httplib2-0.7.2.ebuild,v 1.1 2011/11/30 15:56:32 neurogeek Exp $
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="A comprehensive HTTP client library"
|
||||
HOMEPAGE="http://code.google.com/p/httplib2/ http://pypi.python.org/pypi/httplib2"
|
||||
SRC_URI="http://httplib2.googlecode.com/files/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
#Restrict Python 3 support until upstream
|
||||
#issue #189 is solved
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
pushd "python$(python_get_version --major)" > /dev/null
|
||||
"$(PYTHON)" httplib2test.py
|
||||
popd > /dev/null
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pypy-1.8.tar.bz2 14927806 SHA256 ac98ad6d884207f8325ff4c783104ebea57a3fcddfef32abcdf97fd4307b6287 SHA512 d4360c3ece1860ec37171be7135e62552faf957cf51c259cb98572c1c3de321edc99b378319187b766bd3729536efe721c1d1a94783794228b1c22567addc7a8 WHIRLPOOL c1ee6381db9424c1d56028264eeb15310a8b1bbda26217526ecde7d2b2e80989fd61178b31aa31a03c7d7dc2843cdecb5fe8b47d702d6e4d820a09ad817e27f0
|
||||
DIST pypy-1.9.tar.bz2 13466551 SHA256 9fd599acade49ef98017bbce4f179f19cf2680489ff15235d3bad5b20bde0d68 SHA512 1e02f1f1ac493be35272212f2be62db17a01a95c56ffbd8c00a043587e38131e779928fef1383c61575ecb48bf4dc407b62726d30d5b5728221a612fe67ec8c3 WHIRLPOOL 5b601f31f695623c2e5f6d48ae902e07c5cdccafe415ae89878e5cf71408b31fc44fb1c173a93e66d81188503651000de219533e69071495b87d80a8d217274f
|
||||
DIST pypy-2.0_beta1.tar.bz2 13654084 SHA256 492fcdd8f37990e7364eb5f2c4b5c2b0f61b44b2603207b200fc2d4e44b413ce SHA512 50b8a26433fc04bb35c9a0669f7da94621eddb3e303c6eaf624b663e7b2f3656a80b238227204938fc22ef3c15fbabf1d04e09d3ddc0377be008f7f40d4c0721 WHIRLPOOL 07e2e430a1d01401a0bfbddb775652acaf09ab05d8d038a644454c9802a463cdb83287620ac8bb3af6f235d21228d1e462e3a041e5770773cb50786740ae259f
|
||||
|
@ -0,0 +1,323 @@
|
||||
http://bugs.python.org/issue1222585
|
||||
|
||||
--- lib-python/2.7/distutils/cygwinccompiler.py
|
||||
+++ lib-python/2.7/distutils/cygwinccompiler.py
|
||||
@@ -132,9 +132,13 @@
|
||||
self.set_executables(compiler='gcc -mcygwin -O -Wall',
|
||||
compiler_so='gcc -mcygwin -mdll -O -Wall',
|
||||
compiler_cxx='g++ -mcygwin -O -Wall',
|
||||
+ compiler_so_cxx='g++ -mcygwin -mdll -O -Wall',
|
||||
linker_exe='gcc -mcygwin',
|
||||
linker_so=('%s -mcygwin %s' %
|
||||
- (self.linker_dll, shared_option)))
|
||||
+ (self.linker_dll, shared_option)),
|
||||
+ linker_exe_cxx='g++ -mcygwin',
|
||||
+ linker_so_cxx=('%s -mcygwin %s' %
|
||||
+ (self.linker_dll, shared_option)))
|
||||
|
||||
# cygwin and mingw32 need different sets of libraries
|
||||
if self.gcc_version == "2.91.57":
|
||||
@@ -160,8 +164,12 @@
|
||||
raise CompileError, msg
|
||||
else: # for other files use the C-compiler
|
||||
try:
|
||||
- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
||||
- extra_postargs)
|
||||
+ if self.detect_language(src) == 'c++':
|
||||
+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] +
|
||||
+ extra_postargs)
|
||||
+ else:
|
||||
+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
||||
+ extra_postargs)
|
||||
except DistutilsExecError, msg:
|
||||
raise CompileError, msg
|
||||
|
||||
@@ -322,10 +330,15 @@
|
||||
self.set_executables(compiler='gcc -mno-cygwin -O -Wall',
|
||||
compiler_so='gcc -mno-cygwin -mdll -O -Wall',
|
||||
compiler_cxx='g++ -mno-cygwin -O -Wall',
|
||||
+ compiler_so_cxx='g++ -mno-cygwin -mdll -O -Wall',
|
||||
linker_exe='gcc -mno-cygwin',
|
||||
linker_so='%s -mno-cygwin %s %s'
|
||||
% (self.linker_dll, shared_option,
|
||||
- entry_point))
|
||||
+ entry_point),
|
||||
+ linker_exe_cxx='g++ -mno-cygwin',
|
||||
+ linker_so_cxx='%s -mno-cygwin %s %s'
|
||||
+ % (self.linker_dll, shared_option,
|
||||
+ entry_point))
|
||||
# Maybe we should also append -mthreads, but then the finished
|
||||
# dlls need another dll (mingwm10.dll see Mingw32 docs)
|
||||
# (-mthreads: Support thread-safe exception handling on `Mingw32')
|
||||
--- lib-python/2.7/distutils/emxccompiler.py
|
||||
+++ lib-python/2.7/distutils/emxccompiler.py
|
||||
@@ -65,8 +65,12 @@
|
||||
# XXX optimization, warnings etc. should be customizable.
|
||||
self.set_executables(compiler='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
||||
compiler_so='gcc -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
||||
+ compiler_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
||||
+ compiler_so_cxx='g++ -Zomf -Zmt -O3 -fomit-frame-pointer -mprobe -Wall',
|
||||
linker_exe='gcc -Zomf -Zmt -Zcrtdll',
|
||||
- linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll')
|
||||
+ linker_so='gcc -Zomf -Zmt -Zcrtdll -Zdll',
|
||||
+ linker_exe_cxx='g++ -Zomf -Zmt -Zcrtdll',
|
||||
+ linker_so_cxx='g++ -Zomf -Zmt -Zcrtdll -Zdll')
|
||||
|
||||
# want the gcc library statically linked (so that we don't have
|
||||
# to distribute a version dependent on the compiler we have)
|
||||
@@ -83,8 +87,12 @@
|
||||
raise CompileError, msg
|
||||
else: # for other files use the C-compiler
|
||||
try:
|
||||
- self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
||||
- extra_postargs)
|
||||
+ if self.detect_language(src) == 'c++':
|
||||
+ self.spawn(self.compiler_so_cxx + cc_args + [src, '-o', obj] +
|
||||
+ extra_postargs)
|
||||
+ else:
|
||||
+ self.spawn(self.compiler_so + cc_args + [src, '-o', obj] +
|
||||
+ extra_postargs)
|
||||
except DistutilsExecError, msg:
|
||||
raise CompileError, msg
|
||||
|
||||
--- lib-python/2.7/distutils/sysconfig_cpython.py
|
||||
+++ lib-python/2.7/distutils/sysconfig_cpython.py
|
||||
@@ -150,10 +150,12 @@
|
||||
varies across Unices and is stored in Python's Makefile.
|
||||
"""
|
||||
if compiler.compiler_type == "unix":
|
||||
- (cc, cxx, opt, cflags, ccshared, ldshared, so_ext, ar, ar_flags) = \
|
||||
- get_config_vars('CC', 'CXX', 'OPT', 'CFLAGS',
|
||||
- 'CCSHARED', 'LDSHARED', 'SO', 'AR',
|
||||
- 'ARFLAGS')
|
||||
+ (cc, cxx, ccshared, ldshared, ldcxxshared, so_ext, ar, ar_flags) = \
|
||||
+ get_config_vars('CC', 'CXX', 'CCSHARED', 'LDSHARED', 'LDCXXSHARED',
|
||||
+ 'SO', 'AR', 'ARFLAGS')
|
||||
+
|
||||
+ cflags = ''
|
||||
+ cxxflags = ''
|
||||
|
||||
newcc = None
|
||||
if 'CC' in os.environ:
|
||||
@@ -191,19 +193,27 @@
|
||||
cxx = os.environ['CXX']
|
||||
if 'LDSHARED' in os.environ:
|
||||
ldshared = os.environ['LDSHARED']
|
||||
+ if 'LDCXXSHARED' in os.environ:
|
||||
+ ldcxxshared = os.environ['LDCXXSHARED']
|
||||
if 'CPP' in os.environ:
|
||||
cpp = os.environ['CPP']
|
||||
else:
|
||||
cpp = cc + " -E" # not always
|
||||
if 'LDFLAGS' in os.environ:
|
||||
ldshared = ldshared + ' ' + os.environ['LDFLAGS']
|
||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS']
|
||||
if 'CFLAGS' in os.environ:
|
||||
- cflags = opt + ' ' + os.environ['CFLAGS']
|
||||
+ cflags = os.environ['CFLAGS']
|
||||
ldshared = ldshared + ' ' + os.environ['CFLAGS']
|
||||
+ if 'CXXFLAGS' in os.environ:
|
||||
+ cxxflags = os.environ['CXXFLAGS']
|
||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS']
|
||||
if 'CPPFLAGS' in os.environ:
|
||||
cpp = cpp + ' ' + os.environ['CPPFLAGS']
|
||||
cflags = cflags + ' ' + os.environ['CPPFLAGS']
|
||||
+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS']
|
||||
ldshared = ldshared + ' ' + os.environ['CPPFLAGS']
|
||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS']
|
||||
if 'AR' in os.environ:
|
||||
ar = os.environ['AR']
|
||||
if 'ARFLAGS' in os.environ:
|
||||
@@ -212,13 +222,17 @@
|
||||
archiver = ar + ' ' + ar_flags
|
||||
|
||||
cc_cmd = cc + ' ' + cflags
|
||||
+ cxx_cmd = cxx + ' ' + cxxflags
|
||||
compiler.set_executables(
|
||||
preprocessor=cpp,
|
||||
compiler=cc_cmd,
|
||||
compiler_so=cc_cmd + ' ' + ccshared,
|
||||
- compiler_cxx=cxx,
|
||||
+ compiler_cxx=cxx_cmd,
|
||||
+ compiler_so_cxx=cxx_cmd + ' ' + ccshared,
|
||||
linker_so=ldshared,
|
||||
linker_exe=cc,
|
||||
+ linker_so_cxx=ldcxxshared,
|
||||
+ linker_exe_cxx=cxx,
|
||||
archiver=archiver)
|
||||
|
||||
compiler.shared_lib_extension = so_ext
|
||||
@@ -530,7 +544,7 @@
|
||||
for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED',
|
||||
# a number of derived variables. These need to be
|
||||
# patched up as well.
|
||||
- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'):
|
||||
+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'):
|
||||
flags = _config_vars[key]
|
||||
flags = re.sub('-arch\s+\w+\s', ' ', flags)
|
||||
flags = re.sub('-isysroot [^ \t]*', ' ', flags)
|
||||
@@ -549,7 +563,7 @@
|
||||
for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED',
|
||||
# a number of derived variables. These need to be
|
||||
# patched up as well.
|
||||
- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'):
|
||||
+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'):
|
||||
|
||||
flags = _config_vars[key]
|
||||
flags = re.sub('-arch\s+\w+\s', ' ', flags)
|
||||
@@ -573,7 +587,7 @@
|
||||
for key in ('LDFLAGS', 'BASECFLAGS', 'LDSHARED',
|
||||
# a number of derived variables. These need to be
|
||||
# patched up as well.
|
||||
- 'CFLAGS', 'PY_CFLAGS', 'BLDSHARED'):
|
||||
+ 'CFLAGS', 'CXXFLAGS', 'PY_CFLAGS', 'BLDSHARED'):
|
||||
|
||||
flags = _config_vars[key]
|
||||
flags = re.sub('-isysroot\s+\S+(\s|$)', ' ', flags)
|
||||
--- lib-python/2.7/distutils/sysconfig_pypy.py
|
||||
+++ lib-python/2.7/distutils/sysconfig_pypy.py
|
||||
@@ -114,13 +114,56 @@
|
||||
optional C speedup components.
|
||||
"""
|
||||
if compiler.compiler_type == "unix":
|
||||
- compiler.compiler_so.extend(['-fPIC', '-Wimplicit'])
|
||||
+ cc = ' '.join(compiler.compiler)
|
||||
+ cxx = ' '.join(compiler.compiler_cxx)
|
||||
+ ldshared = ' '.join(compiler.linker_so)
|
||||
+ ldcxxshared = ' '.join(compiler.linker_so_cxx)
|
||||
+
|
||||
+ cflags = ''
|
||||
+ cxxflags = ''
|
||||
+ ccshared = '-fPIC'
|
||||
+
|
||||
+ if 'CC' in os.environ:
|
||||
+ cc = os.environ['CC']
|
||||
+ if 'CXX' in os.environ:
|
||||
+ cxx = os.environ['CXX']
|
||||
+ if 'LDSHARED' in os.environ:
|
||||
+ ldshared = os.environ['LDSHARED']
|
||||
+ if 'LDCXXSHARED' in os.environ:
|
||||
+ ldcxxshared = os.environ['LDCXXSHARED']
|
||||
+ if 'CPP' in os.environ:
|
||||
+ cpp = os.environ['CPP']
|
||||
+ else:
|
||||
+ cpp = cc + " -E" # not always
|
||||
+ if 'LDFLAGS' in os.environ:
|
||||
+ ldshared = ldshared + ' ' + os.environ['LDFLAGS']
|
||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['LDFLAGS']
|
||||
+ if 'CFLAGS' in os.environ:
|
||||
+ cflags = os.environ['CFLAGS']
|
||||
+ ldshared = ldshared + ' ' + os.environ['CFLAGS']
|
||||
+ if 'CXXFLAGS' in os.environ:
|
||||
+ cxxflags = os.environ['CXXFLAGS']
|
||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CXXFLAGS']
|
||||
+ if 'CPPFLAGS' in os.environ:
|
||||
+ cpp = cpp + ' ' + os.environ['CPPFLAGS']
|
||||
+ cflags = cflags + ' ' + os.environ['CPPFLAGS']
|
||||
+ cxxflags = cxxflags + ' ' + os.environ['CPPFLAGS']
|
||||
+ ldshared = ldshared + ' ' + os.environ['CPPFLAGS']
|
||||
+ ldcxxshared = ldcxxshared + ' ' + os.environ['CPPFLAGS']
|
||||
+
|
||||
+ cc_cmd = cc + ' ' + cflags
|
||||
+ cxx_cmd = cxx + ' ' + cxxflags
|
||||
+ compiler.set_executables(
|
||||
+ preprocessor=cpp,
|
||||
+ compiler=cc_cmd,
|
||||
+ compiler_so=cc_cmd + ' ' + ccshared,
|
||||
+ compiler_cxx=cxx_cmd,
|
||||
+ compiler_so_cxx=cxx_cmd + ' ' + ccshared,
|
||||
+ linker_so=ldshared,
|
||||
+ linker_exe=cc,
|
||||
+ linker_so_cxx=ldcxxshared,
|
||||
+ linker_exe_cxx=cxx)
|
||||
compiler.shared_lib_extension = get_config_var('SO')
|
||||
- if "CFLAGS" in os.environ:
|
||||
- cflags = os.environ["CFLAGS"]
|
||||
- compiler.compiler.append(cflags)
|
||||
- compiler.compiler_so.append(cflags)
|
||||
- compiler.linker_so.append(cflags)
|
||||
|
||||
|
||||
from sysconfig_cpython import (
|
||||
--- lib-python/2.7/distutils/unixccompiler.py
|
||||
+++ lib-python/2.7/distutils/unixccompiler.py
|
||||
@@ -114,14 +114,17 @@
|
||||
# are pretty generic; they will probably have to be set by an outsider
|
||||
# (eg. using information discovered by the sysconfig about building
|
||||
# Python extensions).
|
||||
- executables = {'preprocessor' : None,
|
||||
- 'compiler' : ["cc"],
|
||||
- 'compiler_so' : ["cc"],
|
||||
- 'compiler_cxx' : ["cc"],
|
||||
- 'linker_so' : ["cc", "-shared"],
|
||||
- 'linker_exe' : ["cc"],
|
||||
- 'archiver' : ["ar", "-cr"],
|
||||
- 'ranlib' : None,
|
||||
+ executables = {'preprocessor' : None,
|
||||
+ 'compiler' : ["cc"],
|
||||
+ 'compiler_so' : ["cc"],
|
||||
+ 'compiler_cxx' : ["c++"],
|
||||
+ 'compiler_so_cxx' : ["c++"],
|
||||
+ 'linker_so' : ["cc", "-shared"],
|
||||
+ 'linker_exe' : ["cc"],
|
||||
+ 'linker_so_cxx' : ["c++", "-shared"],
|
||||
+ 'linker_exe_cxx' : ["c++"],
|
||||
+ 'archiver' : ["ar", "-cr"],
|
||||
+ 'ranlib' : None,
|
||||
}
|
||||
|
||||
if sys.platform[:6] == "darwin":
|
||||
@@ -171,11 +174,18 @@
|
||||
|
||||
def _compile(self, obj, src, ext, cc_args, extra_postargs, pp_opts):
|
||||
compiler_so = self.compiler_so
|
||||
+ compiler_so_cxx = self.compiler_so_cxx
|
||||
if sys.platform == 'darwin':
|
||||
compiler_so = _darwin_compiler_fixup(compiler_so, cc_args + extra_postargs)
|
||||
+ compiler_so_cxx = _darwin_compiler_fixup(compiler_so_cxx, cc_args +
|
||||
+ extra_postargs)
|
||||
try:
|
||||
- self.spawn(compiler_so + cc_args + [src, '-o', obj] +
|
||||
- extra_postargs)
|
||||
+ if self.detect_language(src) == 'c++':
|
||||
+ self.spawn(compiler_so_cxx + cc_args + [src, '-o', obj] +
|
||||
+ extra_postargs)
|
||||
+ else:
|
||||
+ self.spawn(compiler_so + cc_args + [src, '-o', obj] +
|
||||
+ extra_postargs)
|
||||
except DistutilsExecError, msg:
|
||||
raise CompileError, msg
|
||||
|
||||
@@ -232,23 +242,16 @@
|
||||
ld_args.extend(extra_postargs)
|
||||
self.mkpath(os.path.dirname(output_filename))
|
||||
try:
|
||||
- if target_desc == CCompiler.EXECUTABLE:
|
||||
- linker = self.linker_exe[:]
|
||||
+ if target_lang == "c++":
|
||||
+ if target_desc == CCompiler.EXECUTABLE:
|
||||
+ linker = self.linker_exe_cxx[:]
|
||||
+ else:
|
||||
+ linker = self.linker_so_cxx[:]
|
||||
else:
|
||||
- linker = self.linker_so[:]
|
||||
- if target_lang == "c++" and self.compiler_cxx:
|
||||
- # skip over environment variable settings if /usr/bin/env
|
||||
- # is used to set up the linker's environment.
|
||||
- # This is needed on OSX. Note: this assumes that the
|
||||
- # normal and C++ compiler have the same environment
|
||||
- # settings.
|
||||
- i = 0
|
||||
- if os.path.basename(linker[0]) == "env":
|
||||
- i = 1
|
||||
- while '=' in linker[i]:
|
||||
- i = i + 1
|
||||
-
|
||||
- linker[i] = self.compiler_cxx[i]
|
||||
+ if target_desc == CCompiler.EXECUTABLE:
|
||||
+ linker = self.linker_exe[:]
|
||||
+ else:
|
||||
+ linker = self.linker_so[:]
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
linker = _darwin_compiler_fixup(linker, ld_args)
|
@ -0,0 +1,39 @@
|
||||
Remove logic that links to libssl and libcrypto statically if
|
||||
possible. Just always link dynamically: Gentoo is expected to have
|
||||
sane dynamic libraries for us to use, and our users are not expected
|
||||
to copy their pypy binary to a system with an incompatible
|
||||
libssl/libcrypto and expect it to work.
|
||||
|
||||
Based on patch contributed by XU Benda <heroxbd@gentoo.org>.
|
||||
|
||||
--- pypy/rlib/ropenssl.py
|
||||
+++ pypy/rlib/ropenssl.py
|
||||
@@ -20,27 +20,8 @@
|
||||
# so that openssl/ssl.h can repair this nonsense.
|
||||
'wincrypt.h']
|
||||
else:
|
||||
- libraries = ['z']
|
||||
+ libraries = ['z','ssl','crypto']
|
||||
includes = []
|
||||
- if (sys.platform.startswith('linux') and
|
||||
- os.path.exists('/usr/lib/libssl.a') and
|
||||
- os.path.exists('/usr/lib/libcrypto.a')):
|
||||
- # use static linking to avoid the infinite
|
||||
- # amount of troubles due to symbol versions
|
||||
- # and 0.9.8/1.0.0
|
||||
- link_files += ['/usr/lib/libssl.a', '/usr/lib/libcrypto.a']
|
||||
- testonly_libraries += ['ssl', 'crypto']
|
||||
- elif (sys.platform.startswith('linux') and
|
||||
- os.path.exists('/usr/local/ssl/lib/libssl.a') and
|
||||
- os.path.exists('/usr/local/ssl/lib/libcrypto.a')):
|
||||
- # use static linking, 2nd version
|
||||
- include_dirs += ['/usr/local/ssl/include']
|
||||
- link_files += ['/usr/local/ssl/lib/libssl.a',
|
||||
- '/usr/local/ssl/lib/libcrypto.a',
|
||||
- '-ldl']
|
||||
- testonly_libraries += ['ssl', 'crypto']
|
||||
- else:
|
||||
- libraries += ['ssl', 'crypto']
|
||||
|
||||
includes += [
|
||||
'openssl/ssl.h',
|
@ -0,0 +1,118 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/pypy-2.0_beta1.ebuild,v 1.1 2012/12/20 05:46:52 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# XXX: test other implementations
|
||||
PYTHON_COMPAT=( python2_7 pypy{1_8,1_9} )
|
||||
inherit check-reqs eutils multilib multiprocessing python-any-r1 toolchain-funcs vcs-snapshot versionator
|
||||
|
||||
DESCRIPTION="A fast, compliant alternative implementation of the Python language"
|
||||
HOMEPAGE="http://pypy.org/"
|
||||
SRC_URI="https://bitbucket.org/pypy/pypy/get/release-${PV/_beta/-beta-}.tar.bz2 -> ${P}.tar.bz2"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT=$(get_version_component_range 1-2 ${PV})
|
||||
KEYWORDS=""
|
||||
IUSE="bzip2 doc examples +jit ncurses sandbox shadowstack sqlite ssl +xml"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.1.3
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
dev-libs/expat
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
ncurses? ( sys-libs/ncurses )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
ssl? ( dev-libs/openssl )"
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}"
|
||||
PDEPEND="app-admin/python-updater"
|
||||
|
||||
pkg_pretend() {
|
||||
CHECKREQS_MEMORY="2G"
|
||||
use amd64 && CHECKREQS_MEMORY="4G"
|
||||
check-reqs_pkg_pretend
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
pkg_pretend
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/1.9-scripts-location.patch"
|
||||
epatch "${FILESDIR}/1.9-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch"
|
||||
epatch "${FILESDIR}/2.0-distutils-fix_handling_of_executables_and_flags.patch"
|
||||
|
||||
# The following is Gentoo-specific.
|
||||
epatch "${FILESDIR}/2.0-no-static-hack.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local args=(
|
||||
$(usex jit -Ojit -O2)
|
||||
$(usex shadowstack --gcrootfinder=shadowstack '')
|
||||
$(usex sandbox --sandbox '')
|
||||
|
||||
--make-jobs=$(makeopts_jobs)
|
||||
|
||||
./pypy/translator/goal/targetpypystandalone.py
|
||||
)
|
||||
|
||||
# Avoid linking against libraries disabled by use flags
|
||||
local opts=(
|
||||
bzip2:bz2
|
||||
ncurses:_minimal_curses
|
||||
ssl:_ssl
|
||||
)
|
||||
|
||||
local opt
|
||||
for opt in "${opts[@]}"; do
|
||||
local flag=${opt%:*}
|
||||
local mod=${opt#*:}
|
||||
|
||||
args+=(
|
||||
$(usex ${flag} --withmod --withoutmod)-${mod}
|
||||
)
|
||||
done
|
||||
|
||||
set -- "${PYTHON}" ./pypy/translator/goal/translate.py --batch "${args[@]}"
|
||||
echo -e "\033[1m${@}\033[0m"
|
||||
"${@}" || die "compile error"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local INSDESTTREE=/usr/$(get_libdir)/pypy${SLOT}
|
||||
doins -r include lib_pypy lib-python pypy-c
|
||||
fperms a+x ${INSDESTTREE}/pypy-c
|
||||
dosym ../$(get_libdir)/pypy${SLOT}/pypy-c /usr/bin/pypy-c${SLOT}
|
||||
dodoc README
|
||||
|
||||
if ! use sqlite; then
|
||||
rm -fr "${ED}${INSDESTTREE}"/lib-python/{2.7,modified-2.7}/sqlite3
|
||||
rm -f "${ED}${INSDESTTREE}"/lib_pypy/_sqlite3.py
|
||||
fi
|
||||
|
||||
python_export pypy-c${SLOT} EPYTHON PYTHON PYTHON_SITEDIR
|
||||
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local PYTHON=${ED}${INSDESTTREE}/pypy-c
|
||||
fi
|
||||
|
||||
# Generate Grammar and PatternGrammar pickles.
|
||||
PYTHONPATH="${ED}${INSDESTTREE}/lib-python/2.7" \
|
||||
"${PYTHON}" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" \
|
||||
|| die "Generation of Grammar and PatternGrammar pickles failed"
|
||||
|
||||
# compile the installed modules
|
||||
python_optimize "${ED}${INSDESTTREE}"
|
||||
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py
|
||||
python_domodule epython.py
|
||||
}
|
||||
|
||||
src_test() {
|
||||
"${PYTHON}" ./pypy/test_all.py --pypy=./pypy-c lib-python
|
||||
}
|
@ -1,7 +1,3 @@
|
||||
DIST requests-0.13.1.tar.gz 68474 SHA256 31f3ae96787fe74a78c7dd9626bf997fd4eabacc040b7b33fbd8632d2c2a97f6 SHA512 97472d56a2da10216e735b575610d9aa7f97f1d4705fb20e72a79f520090dec59b91d5b5059e9966bc2fd05982b6b8f3e2a1c794e9cf9042713ae8d481162df8 WHIRLPOOL f50251d2d71262118f208da14c4f3067ff904893416e22a8b3cbc1817d53709efef79e23a6c05b63b497f0cd105f1e106fa8eb751a4cd78d4733be027a663966
|
||||
DIST requests-0.13.6.tar.gz 520031 SHA256 3cca63908f1b941d2da61ef0e8baf7bf014cc0df6512e172b8d2ac87be82b916 SHA512 26eac9522220002f45e97b3ee3fbbc072e6e58402bab723c7e3b2f70e9ec7e80b0fd4f12a05cde50745f574836a62ef2b7bad0dd1d92944f4d6da47425d08938 WHIRLPOOL 2041f5d32b705d5ca4eda8d312d226fa1ff553563b68f500099fa037f1b35cb2d566a4d2e9665704ee6c21415a00101291d70edf8559597404163740311a7940
|
||||
DIST requests-0.13.9.tar.gz 522477 SHA256 d887bb1c06948a8930d6e73a1f942f9febe9157a299a984994c20c84b2c21e20 SHA512 6c83e5c82b4b737db1fee63dbb5997a2cf28d79445b2c5d3ca11a43221a3e79f20731c120960a90d144cfd138c110cab024aacd76c7d6ba9299b5da99a2c95d1 WHIRLPOOL fdcf06724b753d4537778aab811421c60fc8d6279e730ead1b4b3f75fa16c33426e0629cbbcad413d8585b078ed069b3c5b7fe89482ead8eeaf167c53c812707
|
||||
DIST requests-0.14.0.tar.gz 523133 SHA256 4e690ba0275ab4a8c9a5c7a6eb14e79e1adad0f84331fc638a18d7751f41ac3b SHA512 e7133e1d465f53dc5817b1dba5199f6e0bf1ca55a6280796630c8eddd73a04932d89d257803bcba5a0bf49b965dc70b170769a17825061dafac41be13ca37b00 WHIRLPOOL cbc55c151aa6e46331babec5693e8605c1864a7b7d91c263bbe682060c56d94db5a3d07308eaf466da9eecc6976a204d771df4c96d88b7750b9bd8dcd054631f
|
||||
DIST requests-0.14.1.tar.gz 523254 SHA256 4f563b907782b2c95dd2cbaf882a96133e567d46290a0e7aafa0c6f3efad19ba SHA512 84b1828e5e7d597cb308a53fb6df6e133e80aeecae53224ed578f01fbfc2f06d0e015d3bd0e2fe9efb443222bd1bfc07c147dfbce2250d69e49e34ed02738714 WHIRLPOOL 5194f63da07c69c04e819e7d5a8d6a3a1b9828b057967af35aed7df3d0ba7a2b7184d13a798a880db7c4aac3221416d2ae1cdfa38b2fa885e1615d21170a531a
|
||||
DIST requests-0.14.2.tar.gz 361488 SHA256 0e3345a8ac0d712bf17bd9d3276415050c5f972265ab62993cd4540a3a1aaaef SHA512 d791f68b2fdc46ad6abaf2bcd49a038a335fddb476f89c6b7023370c716f0165a8ad09e8d0d1f3d145255d604c2d10f810e4090facd2381515b43f2306ca0365 WHIRLPOOL ed71a4a4db8279e1587d32dfb3dc2c219a87267e484bf23915db158c8843eea4d396d439e12919c29cb37677bb0b2615c87cabbd602a7de25a0273aca302c6ba
|
||||
DIST requests-1.0.0.tar.gz 335548 SHA256 f10d8fbcc02a58056ab44f79ff9b3f9fe78e410296527885250bbb36d15be8c6 SHA512 282e692f2687d621dd386ef362152bb41b546e2234c1560d33f3dddd04314ce7ea198580e6bb34009e52dec2ed61804eb4809e400a879bd97c6e54913ebf1daf WHIRLPOOL 647af622b755d90199c36709f9b0c214235dd61491ee188067236ca2071a63b51dec3334e361b2dbd4d32d0e855d0a4801440ac5aa01b652ecf1130eb47c407c
|
||||
DIST requests-1.0.3.tar.gz 335757 SHA256 c7b50dc01b751e5ef8785951a74d0c2373bb0f87b45dca75dc2c5477b7e30f44 SHA512 9570e3fda1a1a9cf05af75f352fffc323974b19e4c12af0197dca6e13b77fd692752cc6c79c0b8965ec9013a27caa890ca7df2ac89006b3ecf2ed8bdf8186b6a WHIRLPOOL 26d3be62cef5888d394970a08521318ad9eca6907324430478f121746ff1dba84fda43446a3f417c9ae616f11d26e48e89ec6479756643c43e0d32181fe28fd2
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-0.13.6.ebuild,v 1.1 2012/08/17 19:54:27 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES=1
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/${PN}-0.13-python2.6.patch"
|
||||
|
||||
# Different packages are installed depending on the python version.
|
||||
# Need to remove stale egg-info data and build in separate directories.
|
||||
rm -r requests.egg-info || die
|
||||
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echoit() { echo "$@"; "$@"; }
|
||||
testing() {
|
||||
echoit nosetests --verbosity=1 tests/*.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-0.13.9.ebuild,v 1.1 2012/09/02 20:10:41 radhermit Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES=1
|
||||
|
||||
src_prepare() {
|
||||
# Different packages are installed depending on the python version.
|
||||
# Need to remove stale egg-info data and build in separate directories.
|
||||
rm -r requests.egg-info || die
|
||||
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echoit() { echo "$@"; "$@"; }
|
||||
testing() {
|
||||
echoit nosetests --verbosity=1 tests/*.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-0.14.0.ebuild,v 1.1 2012/09/07 18:47:02 floppym Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES=1
|
||||
|
||||
src_prepare() {
|
||||
# Different packages are installed depending on the python version.
|
||||
# Need to remove stale egg-info data and build in separate directories.
|
||||
rm -r requests.egg-info || die
|
||||
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echoit() { echo "$@"; "$@"; }
|
||||
testing() {
|
||||
echoit nosetests --verbosity=1 tests/*.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests/requests-0.14.1.ebuild,v 1.2 2012/10/06 02:03:36 blueness Exp $
|
||||
|
||||
EAPI="4"
|
||||
PYTHON_DEPEND="*:2.6"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.4 2.5"
|
||||
DISTUTILS_SRC_TEST="nosetests"
|
||||
|
||||
inherit distutils eutils
|
||||
|
||||
DESCRIPTION="HTTP library for human beings"
|
||||
HOMEPAGE="http://python-requests.org/ http://pypi.python.org/pypi/requests"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="app-misc/ca-certificates
|
||||
dev-python/chardet
|
||||
dev-python/oauthlib
|
||||
dev-python/urllib3"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools"
|
||||
|
||||
DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES=1
|
||||
|
||||
# tests connect to various remote sites
|
||||
RESTRICT="test"
|
||||
|
||||
src_prepare() {
|
||||
# use system libs for chardet, oauthlib, and urllib3
|
||||
rm -r requests/packages || die
|
||||
epatch "${FILESDIR}"/${P}-system-libs.patch
|
||||
|
||||
# use system ca-certificates
|
||||
rm requests/cacert.pem || die
|
||||
epatch "${FILESDIR}"/${P}-system-cacerts.patch
|
||||
|
||||
# Different packages are installed depending on the python version.
|
||||
# Need to remove stale egg-info data and build in separate directories.
|
||||
rm -r requests.egg-info || die
|
||||
|
||||
distutils_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echoit() { echo "$@"; "$@"; }
|
||||
testing() {
|
||||
echoit nosetests --verbosity=1 tests/*.py
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST fast_gettext-0.6.10.gem 84480 SHA256 c7b32b5f22ce588814e2f5cccf11a7fdc3315fe8078a15cbf3e7e8390c5493aa SHA512 f0be57c73dbe8062e59f5bd2ac478037f5ae7f2db04addbc351cb4bd312c303df62c3694776f5f404c759e32d0c6798e3b99b88c6b6de94f8cdd533fc21e77b8 WHIRLPOOL 00ac590cecce04fcb4d339c1dd2fa45c786bcd91baffac00b418a0c4282abede289ff67b117bc0b2afeb595204898bab41d5210629bc3086756f350615755070
|
||||
DIST fast_gettext-0.6.12.gem 85504 SHA256 9c8e3077f05b42e642035424e5e55ed0bd95fef23217eab8325e110b2f8608ad SHA512 88a1da0cc935139cdf82e45e3d1ea7c8dc041ffa40d59535a81070f9d8ec8a102a8ccef49b802f226c25f4e3b8c5e641895b293e9df34cf1fcfe7aa61c8752cf WHIRLPOOL 29cde9a783c655a70461aac2d1d4740f5785e9d21ff3c8c6e78f72f1a83d736d6ea8efb60e40256cdc0d4e365c9bef8be2a961eadcb710444bfe65380f779936
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/fast_gettext/fast_gettext-0.6.12.ebuild,v 1.1 2012/12/20 07:11:41 graaff Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
# jruby support requires sqlite3 support for jruby.
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG Readme.md"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="GetText but 3.5 x faster, 560 x less memory, simple, clean namespace (7 vs 34) and threadsave!"
|
||||
HOMEPAGE="https://github.com/grosser/fast_gettext"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/activerecord dev-ruby/bundler )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
rm Gemfile.lock || die
|
||||
|
||||
# Remove jeweler and bump from Gemfile since they are not needed for tests.
|
||||
sed -i -e '/jeweler/d' -e '/bump/d' -e '/appraisal/d' Gemfile || die
|
||||
|
||||
# Avoid unneeded dependency on git.
|
||||
sed -i -e '/git ls-files/ s:^:#:' fast_gettext.gemspec || die
|
||||
|
||||
# Don't run a test that requires safe mode which we can't provide
|
||||
# due to insecure directory settings for the portage dir. This spec
|
||||
# also calls out to ruby which won't work with different ruby
|
||||
# implementations.
|
||||
sed -i -e '/can work in SAFE mode/,/end/ s:^:#:' spec/fast_gettext/translation_repository/mo_spec.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Make sure the right ruby interpreter is used
|
||||
sed -i -e "s:bundle exec ruby:bundle exec ${RUBY}:" spec/fast_gettext/vendor/*spec.rb || die
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ferret-0.11.8.4.gem 628224 SHA256 456a3703dd0be1b82d3d8605947b0f8950135247767521ef30b6fa2e4d1602bd SHA512 66d6bec9767a8c5a14c652e2500c5e2077c33a83d36fb15b13f0ae6d4705323c31e2920d903e1c76161ac20005757dff61ee0242b02f7f34db05743ba66aad00 WHIRLPOOL 2cc8c385f0c52fc6828b65db6a56a1c595b08afbeef719669c9ccd8700c34f441dfedd24010edb318e4ea14c287bc19b12fec1f513b747e7c8ec6f231449d2b3
|
||||
DIST ferret-0.11.8.5.gem 627712 SHA256 cc925797c7f85fe55ec86e511b27ec36f3b842e2bdcd89ebbc8e7c90cb1e515b SHA512 3478784437d7787517f3c928485f507ee90e78bb8e7155714798b83bc0e29996275e6e55f6fcc245777d1ec49eee421b048ddda3089ef7602c7fe2dc62e91c49 WHIRLPOOL 57ef977105948fe09dd8417394947462b82941299d979b76ce4f9043548f4ca781f898580cb27feaabc365b5552f5e8c4043f3fef8b03cbd88b6891864b82bcd
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ferret/ferret-0.11.8.5.ebuild,v 1.1 2012/12/20 07:26:20 graaff Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
# ruby19 fails tests
|
||||
USE_RUBY="ruby18 ruby19 ree18"
|
||||
|
||||
RUBY_FAKEGEM_NAME="ferret"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="doc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc/api"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG RELEASE_CHANGES RELEASE_NOTES README TODO TUTORIAL"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
MY_P="${P/ruby-/}"
|
||||
DESCRIPTION="A ruby indexing/searching library"
|
||||
HOMEPAGE="http://ferret.davebalmain.com/trac/"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}"
|
||||
cp ext/ferret_ext$(get_modname) lib/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib test/test_all.rb || die
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST nokogiri-1.4.4.gem 198656 SHA256 3d1ed8cc4b6caf1f1cdb7b53be26e72ab70b7111d463d76f898f1f32d998a7b2 SHA512 bcf760ce63ef5b2b759ceef05323709537936a785984238be6d3289a3787c3d449d810144709a18fa14359e2c075ac085376c2cd42afb999984e1d3d2004e671 WHIRLPOOL 18551eacd081f4fee25c0417c9e99c6d5147b6705a4aff7a532e93e25b91f9f847f297f8b1b4d43d10f2e6482bfc4d8581454312d094cd43f8acec41f3e8f5d1
|
||||
DIST nokogiri-1.5.2.tgz 1988760 SHA256 d977baa45baa700c107a25eefea6e4b4b2771dd05204d734eee2dab9d69b1dbc SHA512 d8be36176a9d10defaa0593b92c2fcbdb7314e068864ed4749bebca851c9a3811a2985f0804141260be51b549001fbe8e2e071bc05b00399b522123ecc6cedaf WHIRLPOOL 8e125e119d21e6be25e96b6872249f241126a89c8fb606406a9f205e241ad6f490dc86f048528bdf65c25b192fffe4f9d5b348d788532fbefb0ac8bea6f77dc2
|
||||
DIST nokogiri-1.5.5.tgz 2003354 SHA256 18c1dd504596e9f60267f48d9b9b28901bf1ba66be53b64ac78b32f5d277c685 SHA512 d70ea5975cd769f6b6d6e4cfae0daa5ddb430258e19ad70ac8caca6185a5a9dd08d4178ae39fa93dae09141508f754ff4166d7b6c4130eeabe081e2f653b99f9 WHIRLPOOL d8c9a60849056323eb9b2569d589358001623467af6e7926bbdfb842f2af46bacb75c6257289ab07803c9dda3cf48a971ad4e09617beb2d0a3d6fdf9cd9ae702
|
||||
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/nokogiri-1.4.4-r1.ebuild,v 1.10 2012/10/28 17:46:30 armin76 Exp $
|
||||
|
||||
EAPI=2
|
||||
|
||||
USE_RUBY="ruby18 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.rdoc README.ja.rdoc"
|
||||
|
||||
inherit ruby-fakegem eutils multilib
|
||||
|
||||
DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser."
|
||||
HOMEPAGE="http://nokogiri.rubyforge.org/"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE="ffi"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
DEPEND="${DEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
|
||||
# The tests require _minitest_, not the virtual; what is shipped with
|
||||
# Ruby 1.9 is *not* enough, unfortunately
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake-compiler
|
||||
dev-ruby/rexical
|
||||
dev-ruby/hoe
|
||||
dev-ruby/racc
|
||||
doc? ( dev-ruby/rdoc )
|
||||
test? ( dev-ruby/minitest )"
|
||||
|
||||
ruby_add_rdepend "ffi? ( virtual/ruby-ffi )"
|
||||
|
||||
USE_RUBY=jruby ruby_add_rdepend "dev-ruby/weakling"
|
||||
|
||||
all_ruby_prepare() {
|
||||
epatch "${FILESDIR}/${P}-libxml-2.7.8.patch"
|
||||
|
||||
sed -i \
|
||||
-e '/tasks\/cross_compile/s:^:#:' \
|
||||
-e '/:test.*prerequisites/s:^:#:' \
|
||||
Rakefile || die
|
||||
}
|
||||
|
||||
nokogiri_ffi() {
|
||||
[[ $(basename ${RUBY}) == "jruby" ]] || use ffi
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
nokogiri_ffi && return
|
||||
${RUBY} -Cext/${PN} extconf.rb || die "extconf.rb failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
if ! [[ -f lib/nokogiri/css/generated_tokenizer.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/generated_tokenizer.rb || die "rexical failed"
|
||||
fi
|
||||
|
||||
nokogiri_ffi && return
|
||||
emake -Cext/${PN} \
|
||||
CFLAGS="${CFLAGS} -fPIC" \
|
||||
archflag="${LDFLAGS}" || die "make extension failed"
|
||||
cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
nokogiri_ffi && export NOKOGIRI_FFI=yes
|
||||
each_fakegem_test
|
||||
}
|
@ -1,103 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/nokogiri/nokogiri-1.5.2.ebuild,v 1.9 2012/11/06 17:06:59 jer Exp $
|
||||
|
||||
EAPI=4
|
||||
|
||||
USE_RUBY="ruby18 ruby19 ree18 jruby"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="docs"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc CHANGELOG.ja.rdoc README.rdoc README.ja.rdoc"
|
||||
|
||||
inherit ruby-fakegem eutils multilib
|
||||
|
||||
DESCRIPTION="Nokogiri is an HTML, XML, SAX, and Reader parser."
|
||||
HOMEPAGE="http://nokogiri.rubyforge.org/"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="https://github.com/tenderlove/nokogiri/tarball/v${PV} -> ${P}.tgz"
|
||||
RUBY_S="tenderlove-nokogiri-*"
|
||||
|
||||
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
DEPEND="${DEPEND}
|
||||
dev-libs/libxml2
|
||||
dev-libs/libxslt"
|
||||
|
||||
# The tests require _minitest_, not the virtual; what is shipped with
|
||||
# Ruby 1.9 is *not* enough, unfortunately
|
||||
ruby_add_bdepend "
|
||||
dev-ruby/rake-compiler
|
||||
dev-ruby/rexical
|
||||
dev-ruby/hoe
|
||||
dev-ruby/rdoc
|
||||
dev-ruby/racc
|
||||
test? ( dev-ruby/minitest )"
|
||||
|
||||
# tests currently work only with Ruby 1.9; there is a small issue with
|
||||
# JRuby, but it's insignificant, while 1.8 and EE 1.8 are failing due to
|
||||
# the hashing order changes.
|
||||
RESTRICT="ruby_targets_ruby18? ( test )
|
||||
ruby_targets_ree18? ( test )
|
||||
ruby_targets_jruby? ( test )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i \
|
||||
-e '/tasks\/cross_compile/s:^:#:' \
|
||||
-e '/:test.*prerequisites/s:^:#:' \
|
||||
Rakefile || die
|
||||
# Remove the cross compilation options since they interfere with
|
||||
# native building.
|
||||
sed -i -e 's/cross_compile = true/cross_compile = false/' Rakefile || die
|
||||
sed -i -e '/cross_config_options/d' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
;;
|
||||
*)
|
||||
${RUBY} -Cext/${PN} extconf.rb \
|
||||
--with-zlib-include="${EPREFIX}"/usr/include \
|
||||
--with-zlib-lib="${EPREFIX}"/$(get_libdir) \
|
||||
--with-iconv-include="${EPREFIX}"/usr/include \
|
||||
--with-iconv-lib="${EPREFIX}"/$(get_libdir) \
|
||||
--with-xml2-include="${EPREFIX}"/usr/include/libxml2 \
|
||||
--with-xml2-lib="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--with-xslt-dir="${EPREFIX}"/usr \
|
||||
--with-iconvlib=iconv \
|
||||
|| die "extconf.rb failed"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
case ${RUBY} in
|
||||
*jruby)
|
||||
if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
|
||||
fi
|
||||
|
||||
${RUBY} -S rake compile || die
|
||||
;;
|
||||
*)
|
||||
if ! [[ -f lib/nokogiri/css/tokenizer.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/tokenizer.rb || die "rexical failed"
|
||||
fi
|
||||
|
||||
if ! [[ -f lib/nokogiri/css/parser.rb ]]; then
|
||||
${RUBY} -S rake lib/nokogiri/css/parser.rb || die "racc failed"
|
||||
fi
|
||||
|
||||
emake -Cext/${PN} \
|
||||
CFLAGS="${CFLAGS} -fPIC" \
|
||||
archflag="${LDFLAGS}" || die "make extension failed"
|
||||
cp -l ext/${PN}/${PN}$(get_modname) lib/${PN}/ || die
|
||||
;;
|
||||
esac
|
||||
}
|
@ -1 +1 @@
|
||||
DIST defcon-v1.42.tar.gz 63093946 RMD160 0de1cd9daf80269c47a27387e326461ab6657cff SHA1 2385fbaff4c772ea7b9c6c4e125748112ba44cc4 SHA256 5973c32ef55d245b9adfbce33bb7c503d3f0ad7bf5deb55eba8754f9850cdf40
|
||||
DIST defcon-v1.42.tar.gz 63093946 SHA256 5973c32ef55d245b9adfbce33bb7c503d3f0ad7bf5deb55eba8754f9850cdf40 SHA512 1072a2c7fb9c7694b4fab9e7475222f9eb3f6f41fa4cac18f6fc9d1bee23678c236eb6ec5dafaeeba87ddc4b07c51fca51d49d8489a6c3268b9f8c87765a2635 WHIRLPOOL c6cfaaba5f19f0b11b02094c9730a9fa1d491700332cc69017cee2fa4407db502a5027c4a823a5679a4a3114aceeffa36574c923adc518adbdd924732b043369
|
||||
|
@ -1,4 +1,3 @@
|
||||
DIST simple-scan-2.32.0.2.tar.gz 321317 SHA256 fa1ed81aa8e2343b3b70f2028dbfa44e1d9626e582936612c630d167b752206a SHA512 427dc2d20a1c955027f5f5ea7270d30d438e4987e4dd0ae48b145ec1be19ef4cf5587742965ecac112176c67b73c0784515d3de6eb19789b800a957e460f7406 WHIRLPOOL b5a2cac5bdc880129b28a7fbd7c398c7022d1af8814d0ea790bf7006e91c47a5dba6744b393909f91bdb55db5a8c28ecbf0d505ee586c99550be71d206959b31
|
||||
DIST simple-scan-3.2.1.tar.bz2 370176 SHA256 d7d189b2a144368204285f995409d5a36c69c050759c2827b17a6850cfc64feb SHA512 4700fc7863444dbd3ed827d184ded6e4cc0e37099a09b5a5e4d805a8e98c18bae6cecf85e5aee72ba83578454703f4b8d54074c6472f91cfdf0f0515234540f9 WHIRLPOOL 3c09fee64e2f72e7e89a43c7906cea69efb73422eb1b94ee85f89189a4345d1406409cc37e9c36f4428c80e2804b23fe9d702af4afc2a1703a758f6f178e739e
|
||||
DIST simple-scan-3.4.2.tar.gz 461152 SHA256 b26230ede0a94c6048788553603d5bdbe918843c06c3e57a7432154f8e28e9b8 SHA512 cce71bef795be6e3f21168f38523b8b1edb3164f6eff9fc787a566cd65ef3e17e9fcc599943e9d33c52b1f5afcc63b13b48ad2bf05cb18e086d4acf38774fd1c WHIRLPOOL f5a51298dc848d0280f728a7944bac6419752ae9fc6ecf951fd06bffc59d5f0ed3c02a7cc3aade0c3144a60c1a6c876bd82934ee98f4f9bebc10a505bd208445
|
||||
DIST simple-scan-3.6.0.tar.gz 467028 SHA256 d00684d4697de6753b6633d7c87b9c067fdbf99b732da9007ea2bb6cbdad1cde SHA512 738c01401133f8716731d3167e118abd4c4f8fd7ff5ec83aa18b29de9388987454da8bdd7a7473d579876d67a57b954ec71e2872ffd0e4abd2b31baf96b9538c WHIRLPOOL 65081ba2511f0a66f969291997b87e5061cc8dc39857464faa4dd347330b22e7f9ca9acbaacf11f04baafb0f35764be7081320ba397de60760d1dca2f9f782d1
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-gfx/simple-scan/simple-scan-3.2.1.ebuild,v 1.7 2012/12/11 11:14:21 ssuominen Exp $
|
||||
|
||||
EAPI="4"
|
||||
|
||||
GCONF_DEBUG="no"
|
||||
|
||||
inherit gnome2
|
||||
|
||||
DESCRIPTION="Simple document scanning utility"
|
||||
HOMEPAGE="https://launchpad.net/simple-scan"
|
||||
SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.28:2
|
||||
>=media-gfx/sane-backends-1.0.20
|
||||
virtual/jpeg
|
||||
virtual/udev[gudev]
|
||||
>=sys-libs/zlib-1.2.3.1
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gtk+-3:3
|
||||
x11-misc/colord[scanner]
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
x11-misc/xdg-utils
|
||||
x11-themes/gnome-icon-theme"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-text/gnome-doc-utils
|
||||
dev-lang/vala:0.14
|
||||
>=dev-util/intltool-0.35.0
|
||||
virtual/pkgconfig"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="AUTHORS ChangeLog NEWS README"
|
||||
G2CONF="${G2CONF} VALAC=$(type -p valac-0.14)"
|
||||
}
|
@ -1 +1 @@
|
||||
Thu, 20 Dec 2012 05:06:52 +0000
|
||||
Thu, 20 Dec 2012 10:36:51 +0000
|
||||
|
@ -1 +1 @@
|
||||
Thu, 20 Dec 2012 05:06:52 +0000
|
||||
Thu, 20 Dec 2012 10:36:51 +0000
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue