parent
fb8f0a2bd2
commit
99eda59b8f
@ -1,5 +1,6 @@
|
||||
DIST dar-2.4.20.tar.gz 1804634 SHA256 f0f66108692de8b27e76b1832d9013d9d1dbf45d2aaaaf5c222dde3c6f1b308d SHA512 1ed2e43df05082c01f6a53aa8c1c7328cb27fc3d84115d3f4a07de943fc814b614155f673464cd1a455e3b8c21e30f95da03ed9f72883b58ae005e3696de8143 WHIRLPOOL b3ce8c59efe2f9f988133613b73fe1ec14af39746e7c5fff0c83fa2146218fad3e912f586e9b677af809696105fa9d72dc35122ec3b3ca3ad63b2cdd75fce954
|
||||
DIST dar-2.4.22.tar.gz 1802561 SHA256 19a977e3ca7ed15e4406bb3e08ff2b8225d291a5c4189a6d5b7b3d75eea50f2b SHA512 1eb809e6388be7e0c11961b1cd84712e5a94ff5fcbfd4fb66ed5a9aa23e01e7b99ba7300491ea383517b99af289c2d2bb9eab904c0511f23610bbb8feee4575c WHIRLPOOL 6156344a471ae23afae6b58e9bbb030a1d829425c086561843a388873cb5003ea09ec1fdd11245bad2e12a40cc10155e490bef1ef68de5ad9915a5f51f98f93a
|
||||
DIST dar-2.4.23.tar.gz 1819248 SHA256 2338b5bdd17168db10aed75a2cf6abb99e8058a4e67eba3bfaaec457c04725b1 SHA512 c9c737f9310eb84aaf0743139b9bacc07dab853a6cc0572882f54a80b6e15aac41af6151b6ca38db61b131fdb05d5cd0e9e6269cdf5bdd3698ce0df754a152c8 WHIRLPOOL 35a6e80d7f0dfa8dd7f5385c33ee0ee375f284223a0f268c1eb3a77f8ef2f222a7ae8a5e2d78e60ff5b2d59d9aa106f0b14449e61d3166564a8ca23cfbf3e5e4
|
||||
DIST dar-2.4.9.tar.gz 1751738 SHA256 3d11159a290886dde968e16d36f32fa8640029708457bc87cc0da6d0eac71643 SHA512 9a9b972599747493694fd838bafaa690e70490b5c500f084f0d0225e93a54ce40d61bc495827519c88f6a94542b88a1be5d11e5a98e672abe8659364d1b4c51f WHIRLPOOL f700bf7bd393e6dc2cce11e7bc56af0f130ea3fb714de04617a940ec15d6174c06b7a1051eb9c6ffa7a0ec686b1f13c288af1b541d49b332932743d0d617b56b
|
||||
DIST dar-2.5.5.tar.gz 1861378 SHA256 aa77d6778206b00ad7b37d5f615aafff3ea770b35d96625429c14ff67b78466d SHA512 202f1b35a4b74d60215768deffe24b745bba699b880dd4228dff3a983cbfdcd6e5f739cf81073d937d793f188f44339cfeb712e2874533b01cce49b0a451c306 WHIRLPOOL fccac49a2f52adafb226c77f3ba0418fbcbe913fb80646e873a206f5d44cd693bd2be5f4dc1839957019ee500d70cd5a272e86a21ce1774d6d17ceeb3d7cd5e0
|
||||
DIST dar-2.5.6.tar.gz 1879556 SHA256 47db04275d9f10f3a074e226d6fe760184e9694f1811a98f0b41e4f1dee30815 SHA512 cb707e7f95917de6eb0d221effe380d75abf49cd28bd97dd4a9056032f465aba5ee02eca08554fd5154bc4664946564723a6defa7d5d9cc4d9e62fe690e2095e WHIRLPOOL e9930b21b2d319b3df6e5f0bd1b19e4900b5863232a682b62c4324f13eafdb74e530ca8dc3b92801758f7facb1d20a21706cbbaa4436ac5a2a8ff163d582660c
|
||||
DIST dar-2.5.7.tar.gz 1881075 SHA256 f4fa3b5d8d38a299e4463dbf77e104c572be669838e16a3d507dce7173d1561d SHA512 b8b81e31c63713fbacb79a1da17c5b2be4506e44b64667fe32ffbd5e5720798c7d34b000a6c78cb3ae482c77da00bd0f4169827c030b441a93861171dc73e98a WHIRLPOOL 5ef24ef7c4913474e5c6746e821f6d979fee118e1757a228742b444155998a280fccb32d108c777d1cf01904a9b38a07850e9d35bff43626217accee611f2f31
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="A full featured backup tool, aimed for disks (floppy,CDR(W),DVDR(W),zip,jazz etc.)"
|
||||
HOMEPAGE="http://dar.linux.free.fr/"
|
||||
SRC_URI="mirror://sourceforge/dar/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux"
|
||||
IUSE="acl dar32 dar64 doc gcrypt lzo nls static static-libs"
|
||||
|
||||
RESTRICT="test" # need to be run as root
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.3:=
|
||||
!static? ( app-arch/bzip2:= )
|
||||
acl? ( !static? ( sys-apps/attr:= ) )
|
||||
gcrypt? ( dev-libs/libgcrypt:0= )
|
||||
lzo? ( !static? ( dev-libs/lzo:= ) )
|
||||
nls? ( virtual/libintl )"
|
||||
DEPEND="${RDEPEND}
|
||||
static? ( app-arch/bzip2[static-libs] )
|
||||
static? ( sys-libs/zlib[static-libs] )
|
||||
acl? ( static? ( sys-apps/attr[static-libs] ) )
|
||||
lzo? ( static? ( dev-libs/lzo[static-libs] ) )
|
||||
nls? ( sys-devel/gettext )
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
REQUIRED_USE="?? ( dar32 dar64 )"
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README THANKS TODO"
|
||||
|
||||
src_configure() {
|
||||
local myconf="--disable-upx"
|
||||
|
||||
# Bug 103741
|
||||
filter-flags -fomit-frame-pointer
|
||||
|
||||
use acl || myconf="${myconf} --disable-ea-support"
|
||||
use dar32 && myconf="${myconf} --enable-mode=32"
|
||||
use dar64 && myconf="${myconf} --enable-mode=64"
|
||||
use doc || myconf="${myconf} --disable-build-html"
|
||||
# use examples && myconf="${myconf} --enable-examples"
|
||||
use gcrypt || myconf="${myconf} --disable-libgcrypt-linking"
|
||||
use lzo || myconf="${myconf} --disable-liblzo2-linking"
|
||||
use nls || myconf="${myconf} --disable-nls"
|
||||
if ! use static ; then
|
||||
myconf="${myconf} --disable-dar-static"
|
||||
if ! use static-libs ; then
|
||||
myconf="${myconf} --disable-static"
|
||||
fi
|
||||
fi
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install
|
||||
|
||||
einstalldocs
|
||||
|
||||
if ! use static-libs ; then
|
||||
prune_libtool_files --all
|
||||
fi
|
||||
}
|
@ -1,5 +1,4 @@
|
||||
DIST nano-2.4.3.tar.gz 1878096 SHA256 32d627072b6026678e4f4095c047adec92ac7ec542dd6d91cf27f49b601768f2 SHA512 53c9f93b0f001a3d6c292a6995d66b6bcca033407b6b69995c62b9e9f721fd5566fbd0e22ece1b2561a47e56ef19c3f1ee196e23edfe832289704e0ebef45de9 WHIRLPOOL cd2e4d7175521835c71f0338a2115d2d9fec4da1d4eb2abbb633cfef907fde69fb12acd5e0db343d1f90945f05d60abb85daa5a045d9b97ef8cd19fb9b226607
|
||||
DIST nano-2.5.3.tar.gz 1967760 SHA256 b2b060129b9feff2d4870d803a441178c96531de9aed144ec0b83bd63ccb12ee SHA512 1d859f0bd88b9d907cfcaa84edc212bcaea4335c203922eb5b7378c2b45d88dffe1f3e4cb499a824d33781485834ef564997c58cf1fd92610d08f6ce8dcb67d5 WHIRLPOOL a2ca1c41d3cb26756cc9aba5b5fa0aeaea220626b98d0abfa1c5c4d4d57c3a5ef688d5edf00a6a00849ee25a67b2bbab93c4d454f6eb5a204b10fa01de3e298f
|
||||
DIST nano-2.6.1.tar.gz 1999439 SHA256 56f2ba1c532647bee36abd5f87a714400af0be084cf857a65bc8f41a0dc28fe5 SHA512 224d643ce08b4c031263c1926d767c671d41e58b182b7ad32f9de2a8ed606c5b39da924cbe62052455584e087a8966285da17cb1fbf235680639351c390aec90 WHIRLPOOL da902989aceac4b15438c58603a56e1cc02b61ff0972f56032130af25d40b0d40344b063feb1aa2f1fd3f5bacbb325505865d0d0daf2e215aafbac0527ee41d6
|
||||
DIST nano-2.6.3.tar.gz 2019354 SHA256 4f4054e12f2181c8e436163e931a0a565612242ff9e566c4d1adeda0f91fd503 SHA512 5079c0da976e3cfef9f3980e37c2501837bc66bb98fadd6fe7f02b061b83c99454678833fd43c74e6796cdc4ee9028ccba7a8a05e0f86e7a6517ba4d4c6bc95e WHIRLPOOL 94520ca9c7a11342133adfd3a1e9e9c77a6c07ab18b1b51bf39918b331abc6bd7ebeb937c2ec8ed3e59b8d0468e40f4e5811e66a8aecd469ad42c595c1b61fe4
|
||||
DIST nano-2.7.0.tar.gz 2019889 SHA256 5dd1e9cf8e3de676c141a0b23f312e68380ef049926e2913e2114bbe32fbeac3 SHA512 d70719b9623e3b3c5f43dbf4dd1d53be5d498b28416d1c6bc4459887d34531222827dfb23bc6932a6304fe59df8d278810de813b4bc08b38c03f1badeddad12f WHIRLPOOL 5470eb106671d8b483fd7349d01d52c107082bf8bd67d03ff9cec3f656a9e280d1eda97befcf42067dc8732009fe9fcaaadbfa00af98be3ddbe073bd133d6386
|
||||
DIST nano-2.7.1.tar.gz 2032955 SHA256 81547310d3ab7a220426c9c2f2435a372fb43d4b27818f016de25698862ae118 SHA512 4cd87ad4c19ac6dad6894b35f15ae6794da488a075a374687ae7e950194c355dbf2c120744af9185bd10f722ecf0780525be2525c3e396113ed61f2e64af7d26 WHIRLPOOL 2be75c370c98d1f0b659ef73b37f553d5546eb08b72c6b0e539c43d971fa20c880ef81697ed5c6c74eba14393518e905f1aa1449ca7423e8242287b513c1e408
|
||||
|
@ -1,83 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano"
|
||||
inherit subversion autotools
|
||||
else
|
||||
MY_P=${PN}-${PV/_}
|
||||
SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
fi
|
||||
|
||||
DESCRIPTION="GNU GPL'd Pico clone with more functionality"
|
||||
HOMEPAGE="http://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
|
||||
|
||||
LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
magic? ( sys-apps/file[static-libs(+)] )
|
||||
nls? ( virtual/libintl )
|
||||
!ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )"
|
||||
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )"
|
||||
DEPEND="${RDEPEND}
|
||||
nls? ( sys-devel/gettext )
|
||||
virtual/pkgconfig
|
||||
static? ( ${LIB_DEPEND} )"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
eautoreconf
|
||||
fi
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use static && append-ldflags -static
|
||||
local myconf=()
|
||||
case ${CHOST} in
|
||||
*-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848
|
||||
esac
|
||||
econf \
|
||||
--bindir="${EPREFIX}"/bin \
|
||||
--htmldir=/trash \
|
||||
$(use_enable !minimal color) \
|
||||
$(use_enable !minimal multibuffer) \
|
||||
$(use_enable !minimal nanorc) \
|
||||
--disable-wrapping-as-root \
|
||||
$(use_enable magic libmagic) \
|
||||
$(use_enable spell speller) \
|
||||
$(use_enable justify) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable nls) \
|
||||
$(use_enable unicode utf8) \
|
||||
$(use_enable minimal tiny) \
|
||||
$(usex ncurses --without-slang $(use_with slang)) \
|
||||
"${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
rm -rf "${D}"/trash
|
||||
|
||||
dodoc doc/nanorc.sample
|
||||
dohtml doc/faq.html
|
||||
insinto /etc
|
||||
newins doc/nanorc.sample nanorc
|
||||
if ! use minimal ; then
|
||||
# Enable colorization by default.
|
||||
sed -i \
|
||||
-e '/^# include /s:# *::' \
|
||||
"${ED}"/etc/nanorc || die
|
||||
fi
|
||||
|
||||
dodir /usr/bin
|
||||
dosym /bin/nano /usr/bin/nano
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST geoip-1.1.0.tgz 12714 SHA256 82c6deb7264d2ff7c4d6c45a7d27cff7ab097be965795e317e04a9c5b7be98b9 SHA512 8a0fc698a234d3b2c01f2a0c05c28025d98a5d3dce509ba19ee462abae0fd0f5631d96d3e8bba4fce6c23b278ec3875da5e8535971c7d880e2e307a097dc30a1 WHIRLPOOL f8ccf90958bdc0eee41f24b6ad04907884fed2efe2bca483fa816aceb46d15311325175b07f27d85085afdb5651fd071fd20b046ba42e30da26eea56a14912d6
|
||||
DIST geoip-1.1.1.tgz 13004 SHA256 b2d05c03019d46135c249b5a7fa0dbd43ca5ee98aea8ed807bc7aa90ac8c0f06 SHA512 395715297726aa8e7ed71297d403bea9cb08417a03adfca29dc6ea68bbc738c176f71ea621f9026109e07cd5a2adc647e2af8e140e18a6af1c8f0fe4ed1a9c6b WHIRLPOOL 2792b1c03efa7963b1d113133e21979ebe95ca0fc179192101cd515c77914c6c040bef744a81cbb7f36583c30dfa7b45123c2fca9c214314d9ab88429496bb24
|
||||
|
@ -1,446 +0,0 @@
|
||||
--- a/geoip.c 2015/02/15 15:08:09 335947
|
||||
+++ b/geoip.c 2015/02/15 17:56:49 335948
|
||||
@@ -129,11 +129,19 @@
|
||||
{
|
||||
if (stage == PHP_INI_STAGE_RUNTIME || stage == PHP_INI_STAGE_HTACCESS) {
|
||||
GEOIP_G(set_runtime_custom_directory) = 1;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ geoip_change_custom_directory(new_value->val);
|
||||
+#else
|
||||
geoip_change_custom_directory(new_value);
|
||||
+#endif
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
|
||||
+#else
|
||||
return OnUpdateString(entry, new_value, new_value_length, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC);
|
||||
+#endif
|
||||
}
|
||||
/* }}} */
|
||||
#endif
|
||||
@@ -251,7 +259,7 @@
|
||||
/* {{{ proto boolean geoip_db_avail( [ int database ] ) */
|
||||
PHP_FUNCTION(geoip_db_avail)
|
||||
{
|
||||
- long edition;
|
||||
+ zend_long edition;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) {
|
||||
return;
|
||||
@@ -270,7 +278,7 @@
|
||||
/* {{{ proto string geoip_db_filename( [ int database ] ) */
|
||||
PHP_FUNCTION(geoip_db_filename)
|
||||
{
|
||||
- long edition;
|
||||
+ zend_long edition;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) {
|
||||
return;
|
||||
@@ -283,7 +291,11 @@
|
||||
}
|
||||
|
||||
if (NULL != GeoIPDBFileName[edition])
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ RETURN_STRING(GeoIPDBFileName[edition]);
|
||||
+#else
|
||||
RETURN_STRING(GeoIPDBFileName[edition], 1);
|
||||
+#endif
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
@@ -298,16 +310,31 @@
|
||||
{
|
||||
if (NULL != GeoIPDBDescription[i])
|
||||
{
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ zval real_row;
|
||||
+ zval *row = &real_row;
|
||||
+
|
||||
+ array_init(row);
|
||||
+#else
|
||||
zval *row;
|
||||
ALLOC_INIT_ZVAL(row);
|
||||
array_init(row);
|
||||
+#endif
|
||||
|
||||
add_assoc_bool(row, "available", GeoIP_db_avail(i));
|
||||
if (GeoIPDBDescription[i]) {
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ add_assoc_string(row, "description", (char *)GeoIPDBDescription[i]);
|
||||
+#else
|
||||
add_assoc_string(row, "description", (char *)GeoIPDBDescription[i], 1);
|
||||
+#endif
|
||||
}
|
||||
if (GeoIPDBFileName[i]) {
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ add_assoc_string(row, "filename", GeoIPDBFileName[i]);
|
||||
+#else
|
||||
add_assoc_string(row, "filename", GeoIPDBFileName[i], 1);
|
||||
+#endif
|
||||
}
|
||||
|
||||
add_index_zval(return_value, i, row);
|
||||
@@ -322,7 +349,7 @@
|
||||
{
|
||||
GeoIP * gi;
|
||||
char * db_info;
|
||||
- long edition = GEOIP_COUNTRY_EDITION;
|
||||
+ zend_long edition = GEOIP_COUNTRY_EDITION;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &edition) == FAILURE) {
|
||||
return;
|
||||
@@ -347,12 +374,45 @@
|
||||
db_info = GeoIP_database_info(gi);
|
||||
GeoIP_delete(gi);
|
||||
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ RETVAL_STRING(db_info);
|
||||
+#else
|
||||
RETVAL_STRING(db_info, 1);
|
||||
+#endif
|
||||
free(db_info);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
/* {{{ */
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+#define GEOIPDEF(php_func, c_func, db_type) \
|
||||
+ PHP_FUNCTION(php_func) \
|
||||
+ { \
|
||||
+ GeoIP * gi; \
|
||||
+ char * hostname = NULL; \
|
||||
+ const char * return_code; \
|
||||
+ size_t arglen; \
|
||||
+ \
|
||||
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \
|
||||
+ return; \
|
||||
+ } \
|
||||
+ \
|
||||
+ if (GeoIP_db_avail(db_type)) { \
|
||||
+ gi = GeoIP_open_type(db_type, GEOIP_STANDARD); \
|
||||
+ } else { \
|
||||
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \
|
||||
+ return; \
|
||||
+ } \
|
||||
+ \
|
||||
+ return_code = c_func(gi, hostname); \
|
||||
+ GeoIP_delete(gi); \
|
||||
+ if (return_code == NULL) { \
|
||||
+ RETURN_FALSE; \
|
||||
+ } \
|
||||
+ RETURN_STRING((char*)return_code); \
|
||||
+ \
|
||||
+ }
|
||||
+#else
|
||||
#define GEOIPDEF(php_func, c_func, db_type) \
|
||||
PHP_FUNCTION(php_func) \
|
||||
{ \
|
||||
@@ -380,6 +440,7 @@
|
||||
RETURN_STRING((char*)return_code, 1); \
|
||||
\
|
||||
}
|
||||
+#endif
|
||||
#include "geoip.def"
|
||||
#undef GEOIPDEF
|
||||
/* }}} */
|
||||
@@ -391,7 +452,11 @@
|
||||
GeoIP * gi;
|
||||
char * hostname = NULL;
|
||||
int id;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t arglen;
|
||||
+#else
|
||||
int arglen;
|
||||
+#endif
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
|
||||
return;
|
||||
@@ -409,7 +474,11 @@
|
||||
if (id == 0) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ RETURN_STRING((char *)GeoIP_country_continent[id]);
|
||||
+#else
|
||||
RETURN_STRING((char *)GeoIP_country_continent[id], 1);
|
||||
+#endif
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
@@ -420,7 +489,11 @@
|
||||
GeoIP * gi;
|
||||
char * hostname = NULL;
|
||||
char * org;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t arglen;
|
||||
+#else
|
||||
int arglen;
|
||||
+#endif
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
|
||||
return;
|
||||
@@ -438,7 +511,11 @@
|
||||
if (org == NULL) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ RETVAL_STRING(org);
|
||||
+#else
|
||||
RETVAL_STRING(org, 1);
|
||||
+#endif
|
||||
free(org);
|
||||
}
|
||||
/* }}} */
|
||||
@@ -450,7 +527,11 @@
|
||||
GeoIP * gi;
|
||||
char * hostname = NULL;
|
||||
char * org;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t arglen;
|
||||
+#else
|
||||
int arglen;
|
||||
+#endif
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
|
||||
return;
|
||||
@@ -468,7 +549,11 @@
|
||||
if (org == NULL) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ RETVAL_STRING(org);
|
||||
+#else
|
||||
RETVAL_STRING(org, 1);
|
||||
+#endif
|
||||
free(org);
|
||||
}
|
||||
/* }}} */
|
||||
@@ -480,7 +565,11 @@
|
||||
GeoIP * gi;
|
||||
char * hostname = NULL;
|
||||
char * org;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t arglen;
|
||||
+#else
|
||||
int arglen;
|
||||
+#endif
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
|
||||
return;
|
||||
@@ -498,7 +587,11 @@
|
||||
if (org == NULL) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ RETVAL_STRING(org);
|
||||
+#else
|
||||
RETVAL_STRING(org, 1);
|
||||
+#endif
|
||||
free(org);
|
||||
}
|
||||
/* }}} */
|
||||
@@ -511,7 +604,11 @@
|
||||
GeoIP * gi;
|
||||
char * hostname = NULL;
|
||||
char * org;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t arglen;
|
||||
+#else
|
||||
int arglen;
|
||||
+#endif
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
|
||||
return;
|
||||
@@ -529,7 +626,11 @@
|
||||
if (org == NULL) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ RETVAL_STRING(org);
|
||||
+#else
|
||||
RETVAL_STRING(org, 1);
|
||||
+#endif
|
||||
free(org);
|
||||
}
|
||||
/* }}} */
|
||||
@@ -541,7 +642,11 @@
|
||||
{
|
||||
GeoIP * gi;
|
||||
char * hostname = NULL;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t arglen;
|
||||
+#else
|
||||
int arglen;
|
||||
+#endif
|
||||
GeoIPRecord * gir;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
|
||||
@@ -567,15 +672,27 @@
|
||||
}
|
||||
|
||||
array_init(return_value);
|
||||
-#if LIBGEOIP_VERSION >= 1004003
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+# if LIBGEOIP_VERSION >= 1004003
|
||||
+ add_assoc_string(return_value, "continent_code", (gir->continent_code == NULL) ? "" : gir->continent_code);
|
||||
+# endif
|
||||
+ add_assoc_string(return_value, "country_code", (gir->country_code == NULL) ? "" : gir->country_code);
|
||||
+ add_assoc_string(return_value, "country_code3", (gir->country_code3 == NULL) ? "" : gir->country_code3);
|
||||
+ add_assoc_string(return_value, "country_name", (gir->country_name == NULL) ? "" : gir->country_name);
|
||||
+ add_assoc_string(return_value, "region", (gir->region == NULL) ? "" : gir->region);
|
||||
+ add_assoc_string(return_value, "city", (gir->city == NULL) ? "" : gir->city);
|
||||
+ add_assoc_string(return_value, "postal_code", (gir->postal_code == NULL) ? "" : gir->postal_code);
|
||||
+#else
|
||||
+# if LIBGEOIP_VERSION >= 1004003
|
||||
add_assoc_string(return_value, "continent_code", (gir->continent_code == NULL) ? "" : gir->continent_code, 1);
|
||||
-#endif
|
||||
+# endif
|
||||
add_assoc_string(return_value, "country_code", (gir->country_code == NULL) ? "" : gir->country_code, 1);
|
||||
add_assoc_string(return_value, "country_code3", (gir->country_code3 == NULL) ? "" : gir->country_code3, 1);
|
||||
add_assoc_string(return_value, "country_name", (gir->country_name == NULL) ? "" : gir->country_name, 1);
|
||||
add_assoc_string(return_value, "region", (gir->region == NULL) ? "" : gir->region, 1);
|
||||
add_assoc_string(return_value, "city", (gir->city == NULL) ? "" : gir->city, 1);
|
||||
add_assoc_string(return_value, "postal_code", (gir->postal_code == NULL) ? "" : gir->postal_code, 1);
|
||||
+#endif
|
||||
add_assoc_double(return_value, "latitude", gir->latitude);
|
||||
add_assoc_double(return_value, "longitude", gir->longitude);
|
||||
#if LIBGEOIP_VERSION >= 1004005
|
||||
@@ -595,7 +712,11 @@
|
||||
{
|
||||
GeoIP * gi;
|
||||
char * hostname = NULL;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t arglen;
|
||||
+#else
|
||||
int arglen;
|
||||
+#endif
|
||||
int netspeed;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
|
||||
@@ -621,7 +742,11 @@
|
||||
{
|
||||
GeoIP * gi;
|
||||
char * hostname = NULL;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t arglen;
|
||||
+#else
|
||||
int arglen;
|
||||
+#endif
|
||||
GeoIPRegion * region;
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
|
||||
@@ -647,9 +772,14 @@
|
||||
}
|
||||
|
||||
array_init(return_value);
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ add_assoc_string(return_value, "country_code", region->country_code);
|
||||
+ add_assoc_string(return_value, "region", region->region);
|
||||
+#else
|
||||
add_assoc_string(return_value, "country_code", region->country_code, 1);
|
||||
add_assoc_string(return_value, "region", region->region, 1);
|
||||
-
|
||||
+#endif
|
||||
+
|
||||
GeoIPRegion_delete(region);
|
||||
}
|
||||
/* }}} */
|
||||
@@ -661,7 +791,11 @@
|
||||
GeoIP * gi;
|
||||
char * hostname = NULL;
|
||||
char * isp;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t arglen;
|
||||
+#else
|
||||
int arglen;
|
||||
+#endif
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) {
|
||||
return;
|
||||
@@ -679,7 +813,11 @@
|
||||
if (isp == NULL) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ RETVAL_STRING(isp);
|
||||
+#else
|
||||
RETVAL_STRING(isp, 1);
|
||||
+#endif
|
||||
free(isp);
|
||||
}
|
||||
|
||||
@@ -691,7 +829,11 @@
|
||||
char * country_code = NULL;
|
||||
char * region_code = NULL;
|
||||
const char * region_name;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t countrylen, regionlen;
|
||||
+#else
|
||||
int countrylen, regionlen;
|
||||
+#endif
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &country_code, &countrylen, ®ion_code, ®ionlen) == FAILURE) {
|
||||
return;
|
||||
@@ -706,7 +848,11 @@
|
||||
if (region_name == NULL) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ RETURN_STRING((char*)region_name);
|
||||
+#else
|
||||
RETURN_STRING((char*)region_name, 1);
|
||||
+#endif
|
||||
}
|
||||
/* }}} */
|
||||
#endif
|
||||
@@ -719,7 +865,11 @@
|
||||
char * country = NULL;
|
||||
char * region = NULL;
|
||||
const char * timezone;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t countrylen, arg2len;
|
||||
+#else
|
||||
int countrylen, arg2len;
|
||||
+#endif
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &country, &countrylen, ®ion, &arg2len) == FAILURE) {
|
||||
return;
|
||||
@@ -734,7 +884,11 @@
|
||||
if (timezone == NULL) {
|
||||
RETURN_FALSE;
|
||||
}
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ RETURN_STRING((char*)timezone);
|
||||
+#else
|
||||
RETURN_STRING((char*)timezone, 1);
|
||||
+#endif
|
||||
}
|
||||
/* }}} */
|
||||
#endif
|
||||
@@ -745,7 +899,11 @@
|
||||
PHP_FUNCTION(geoip_setup_custom_directory)
|
||||
{
|
||||
char * dir = NULL;
|
||||
+#if PHP_MAJOR_VERSION >= 7
|
||||
+ size_t dirlen;
|
||||
+#else
|
||||
int dirlen;
|
||||
+#endif
|
||||
|
||||
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &dir, &dirlen) == FAILURE) {
|
||||
return;
|
||||
--- a/php_geoip.h 2015/02/15 15:08:09 335947
|
||||
+++ b/php_geoip.h 2015/02/15 17:56:49 335948
|
||||
@@ -26,6 +26,10 @@
|
||||
|
||||
#define PHP_GEOIP_VERSION "1.1.1-dev"
|
||||
|
||||
+#if PHP_MAJOR_VERSION < 7
|
||||
+typedef long zend_long;
|
||||
+#endif
|
||||
+
|
||||
#ifdef PHP_WIN32
|
||||
#define PHP_GEOIP_API __declspec(dllexport)
|
||||
#else
|
@ -1,21 +0,0 @@
|
||||
--- a/geoip.c 2014/05/06 12:11:37 333484
|
||||
+++ b/geoip.c 2014/05/06 12:52:25 333485
|
||||
@@ -117,7 +117,7 @@
|
||||
#endif
|
||||
|
||||
GeoIP_setup_custom_directory(value);
|
||||
- _GeoIP_setup_dbfilename();
|
||||
+ GeoIP_db_avail(GEOIP_COUNTRY_EDITION);
|
||||
}
|
||||
/* }}} */
|
||||
#endif
|
||||
@@ -168,7 +168,8 @@
|
||||
#ifdef HAVE_CUSTOM_DIRECTORY
|
||||
GeoIP_setup_custom_directory(GEOIP_G(custom_directory));
|
||||
#endif
|
||||
- _GeoIP_setup_dbfilename();
|
||||
+ /* This will initialize file structure */
|
||||
+ GeoIP_db_avail(GEOIP_COUNTRY_EDITION);
|
||||
|
||||
/* For database type constants */
|
||||
REGISTER_LONG_CONSTANT("GEOIP_COUNTRY_EDITION", GEOIP_COUNTRY_EDITION, CONST_CS | CONST_PERSISTENT);
|
@ -0,0 +1,46 @@
|
||||
On Gentoo, we require users to download the GeoIP databases
|
||||
themselves. As a result, the databases may not be there when
|
||||
installing pecl-geoip. The first patch below skips a test if the
|
||||
database it uses is not present. The second patch disables 019.phpt
|
||||
completely, because I can't make it pass.
|
||||
|
||||
PHP-Bug: 73416
|
||||
|
||||
diff --git a/tests/001.phpt b/tests/001.phpt
|
||||
index a548d6e..c0e4972 100644
|
||||
--- a/tests/001.phpt
|
||||
+++ b/tests/001.phpt
|
||||
@@ -1,7 +1,10 @@
|
||||
--TEST--
|
||||
Checking Country (Free) DB availability
|
||||
--SKIPIF--
|
||||
-<?php if (!extension_loaded("geoip")) print "skip"; ?>
|
||||
+<?php
|
||||
+if (!extension_loaded("geoip")) print "skip";
|
||||
+if (!file_exists(geoip_db_filename(GEOIP_COUNTRY_EDITION))) print "skip";
|
||||
+?>
|
||||
--POST--
|
||||
--GET--
|
||||
--FILE--
|
||||
diff --git a/tests/019.phpt b/tests/019.phpt
|
||||
deleted file mode 100644
|
||||
index 4630354..0000000
|
||||
--- a/tests/019.phpt
|
||||
+++ /dev/null
|
||||
@@ -1,15 +0,0 @@
|
||||
---TEST--
|
||||
-Checking geoip_setup_custom_directory() (with trailing slash)
|
||||
---SKIPIF--
|
||||
-<?php if (!extension_loaded("geoip")) print "skip"; ?>
|
||||
---INI--
|
||||
-geoip.custom_directory="/test/"
|
||||
---FILE--
|
||||
-<?php
|
||||
-
|
||||
-var_dump( geoip_country_name_by_name_v6('0000:0000:0000:0000') );
|
||||
-
|
||||
-?>
|
||||
---EXPECT--
|
||||
-string(27) "/some/other/place/GeoIP.dat"
|
||||
-string(6) "/test/"
|
||||
\ No newline at end of file
|
@ -0,0 +1 @@
|
||||
DIST arrow-0.8.0.tar.gz 81664 SHA256 b210c17d6bb850011700b9f54c1ca0eaf8cbbd441f156f0cd292e1fbda84e7af SHA512 b6c01970d408e1169d042f593859577eef9961a2e7d6e0d5d01ddbdc001f806ca191cf152bd2d4060a877aeabee6754f06c3b91fbca53ee0a135a9355d08b347 WHIRLPOOL 60d6045ccc229cdf9f8a71f2622a6529eadde6bc58277c74bf81b38c8057f5bdab112ba46e04ca9765a34cf2b2a3de9eee0c86d650ff286f4d0bde09668c4e16
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Better dates and times for Python"
|
||||
HOMEPAGE="https://github.com/crsmithdev/arrow/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/python-dateutil[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/chai[${PYTHON_USEDEP}]
|
||||
dev-python/simplejson[${PYTHON_USEDEP}]
|
||||
${RDEPEND} )"
|
||||
|
||||
python_prepare() {
|
||||
sed -i -e "/with-coverage/d" setup.cfg || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v || die
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST binaryornot-0.4.0.tar.gz 371339 SHA256 2d2fa466cf6755638af0295b6ad048543e31332b40e905bbf546e28f63eeb9be SHA512 b63123a1496168142aa7d9119ac6d910682b8fe28bde1624f933b2368f884d8a6552608238e2dd64779fb035a20ecd8d16d7777f3f0eaf48674750eae2f3ef10 WHIRLPOOL 5434ba25f29dee39399c58d62d7a776194740b25a54592b8002d4687117d9748b129314e559c7fb5ad846dfe4ab3d1b253f72c2bc0f7a424b165eee500a3a881
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Ultra-lightweight pure Python package to guess whether a file is binary or text"
|
||||
HOMEPAGE="https://github.com/audreyr/binaryornot"
|
||||
SRC_URI="https://github.com/audreyr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND=">=dev-python/chardet-2.0.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( ${RDEPEND}
|
||||
dev-python/hypothesis[${PYTHON_USEDEP}] )"
|
||||
|
||||
DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst )
|
||||
|
||||
python_test() {
|
||||
esetup.py test || die
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST chai-1.1.1.tar.gz 81684 SHA256 7489a1124c780972ef383b2930fc9307afe8667d009fcaf69d97b29ce370d304 SHA512 f51406258327d9a49e820f0489d60e87f576c72232c701e99f96945932ed300582e6dd81608e5b262e2645c4e9c5216ec8f52e98d454c994beac8d1d8137dc87 WHIRLPOOL d9d8468745be52dff15194440b8f32cef7832d5bffe0453ac3d15e4c7e1948344936c467d9832ed2db441a74b6d5d32ad2792d9735976ce18eaf37a913abdca8
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easy to use mocking, stubbing and spying framework"
|
||||
HOMEPAGE="https://github.com/agoragames/chai"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
nosetests -v tests || die
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1 @@
|
||||
DIST jinja2-time-0.2.0.tar.gz 5701 SHA256 d14eaa4d315e7688daa4969f616f226614350c48730bfa1692d2caebd8c90d40 SHA512 8ac4686312cde689f7a431001833d5d477030c4f5e9470d949bd07a40fcb9521f6ddcde37a72468093121ff9451e352a0bb43d20a796d7a204cf94e8a7545f2c WHIRLPOOL c92da86a03bbbe44f2a0b98bd4895c18c99e2a05c91d129b4cb2e9810a79827a8cbd1bca656277dbd5c07597ebcba44746f541a327b408e8d348635ded63e3e2
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Jinja2 Extension for Dates and Times"
|
||||
HOMEPAGE="https://github.com/hackebrot/jinja2-time"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/arrow[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]"
|
||||
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
${RDEPEND} )"
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,8 +1,2 @@
|
||||
DIST kombu-3.0.24.tar.gz 374539 SHA256 b9ff0437607113aea701fd5122c2afa40c05dff6f1da4f58b2f1ea18d9f2bf8d SHA512 fdc42073d37c0888f564ae3feec517212e3cadd534cae2a0893f799c6fea7c217aa979617ec73b63466a7b5a3dbb836b57422ce514087d4e4821e88eec5e4ffa WHIRLPOOL 8513cbe9df4337fe3545cc2a2ff3cec3c9f28b60f200aff5395b2acb484c6b75fe710b5227df6eb3fd41a6faeb49a0aaf968618e66594e9e87c20c448475d27c
|
||||
DIST kombu-3.0.26.tar.gz 375553 SHA256 1f565abd44c4b7dfaa4dd543d52f982d2f006aba0a2b3830542b4d25a801fe09 SHA512 71656cc8f44101700c5489e0b0a66918a00cf8ff39e65feab1090865e3c8d50b6dd2458f95d48fb58cc4387de954530fe27a5713838509d51123bac7009631a2 WHIRLPOOL d706dcd752e24eebc3a1091a8a2ba91a0b6adf30fa9be4d9d1a95b5c008f8036eb518f03ccb1d3393502488120c9ad2ad2f2e01c41b59beb3576389b3f9c000f
|
||||
DIST kombu-3.0.29.tar.gz 378270 SHA256 970a55ec65e668403c3e6ef4aa2213362568387885f5cc0ff8429abd44a6dca8 SHA512 1093826ec4ba8234f8f8a1082252df20e600f0b58fc46c5c5b3ee6ef3b2582e2c986f997edfa13d4c85b9473236f3cca902375109266a809d33fd76c6eb45c35 WHIRLPOOL 9e4909c02ed2be14235861d2838278d71ab90da20f59c4b02123d9ce84212c0e93cc8b162e2ef8df45d224ed0166c022fca849a6cb39143fd6554e6a00b71893
|
||||
DIST kombu-3.0.30.tar.gz 380706 SHA256 b902fe768ea49173c7c26b117bf6c51d258f822d00d753e543b7e2285540f85a SHA512 91d43c7bf9902fe58b2a06f81286be81945c751ca4677a7ab9c78287e006726908b143510efcb4abf91b584f2fa0be7828df5631f552665fb3bbd9806f703075 WHIRLPOOL 75d62e8e395205157e1d018b6e20cc7f2b5ba0a7dd7ec40cfc21e0341aa9108eafd811277a0a9ed0fa6f1f41b9e96b7d1e8e4c32674e6db601b418afe6e70e3e
|
||||
DIST kombu-3.0.32.tar.gz 380958 SHA256 d3edda02076ae04fa62d128007756f4c4298fe479119ca070a47a22afe867660 SHA512 ffdccbdb9ddde28b5eb159dcc9697d48dddfbb1b74f9f9ced8eed92a25e53d21b5e2aa3a770b014397c73a92102a9d8dc9839bcdd1f49e1700fdfd79c5fcf022 WHIRLPOOL e7af358e76088039c8a407a2ea383208be4e4b5e37965dd88fae690dd7b7117829ac2d5c49f22374d8425f92a6c651520955526b1342dd7b5ed407d50f0d56d2
|
||||
DIST kombu-3.0.33.tar.gz 379423 SHA256 853d18ca958a598787ceb8c297a369745b82965bf28276861272f14745977999 SHA512 1f2772b79087038f5ec802fc8c1d511dc5e1de9bb663fb36878b5af4b0f925f83961e80a34f8a71af6d78fd45c719dfc62275923353ff38d06af5dae361f2059 WHIRLPOOL e55cdcaa550e1829b0d7cd00e03c63983f9a5525a6587428eabac6bc3379c1ba85e47173ffd14047edfc54f10391145c19fc0621074798fa7bb1e34b400f6fce
|
||||
DIST kombu-3.0.34.tar.gz 380374 SHA256 8878ff19b09d86b2689682a4a3eb163d70115ef4ebd974966079a0edd80075da SHA512 9de5d9e4784d814f8c40633bfac08a4e9279d55d2122d1cfdee6418066ba61e0ef7dcaba9cf21d2b0b99989ba292125bbe4b38be90ecc288cb038aea638d1508 WHIRLPOOL d0dfe755af559f4c1d0e8fb6bbe3c7767874a34db57f4958196b853147061e078fac9d5ab31957ab88707220e738a05248afa5d86d9fbdd1a5619aab80d9711a
|
||||
DIST kombu-3.0.37.tar.gz 411790 SHA256 e064a00c66b4d1058cd2b0523fb8d98c82c18450244177b6c0f7913016642650 SHA512 ba9bb00e23ce2d3da87eb07aacff8d63ef9879e6ca9f3fe82653cc2ee91610199fe8fc778d7c2e00df05b46130ecda0bdeceda48192b8af1fb0eca41fbb44712 WHIRLPOOL 1e3344eb25024e94d341a3928bd04a9fd13bb41fefd7254e5f2dd70a8b235ae48b93d9b003b21d9ccde4ebdb8d1f349d9af6d54b51c74d6c6b1ee7913ee06919
|
||||
|
@ -1,95 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="amqplib doc examples msgpack sqs test"
|
||||
|
||||
PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
|
||||
PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
|
||||
RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-amqp-1.4.6[${PYTHON_USEDEP}]
|
||||
<dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyro:4[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
|
||||
amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
|
||||
sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
|
||||
msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-py-2.8.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymongo-2.6.2[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/beanstalkc[${PY27_GEN_USEDEP}]
|
||||
dev-python/couchdb-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
|
||||
|
||||
# kazoo and sqlalchemy are optional packages for tests.
|
||||
# Refrain for now, no established demand for it from users
|
||||
|
||||
# Req'd for test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PY27_REQUSE="$(python_gen_useflags 'python2.7')"
|
||||
REQUIRED_USE="sqs? ( ${PY27_REQUSE} )
|
||||
doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are only py2 capable
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-NA-tests-fix.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
https://github.com/celery/kombu/issues/246
|
||||
sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# Doc build must be done by py2.7
|
||||
# Doc build misses and skips only content re librabbitmq which is not in portage
|
||||
if use doc; then
|
||||
emake -C docs html || die "kombu docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
if python_is_python3; then
|
||||
2to3 --no-diffs -w build/lib/kombu/transport/
|
||||
nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
else
|
||||
nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
# funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
|
||||
# https://github.com/celery/kombu/issues/411
|
||||
if [[ "${EPYTHON}" == python2.7 ]]; then
|
||||
pushd funtests > /dev/null
|
||||
esetup.py test
|
||||
popd > /dev/null
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,102 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="amqplib doc examples msgpack sqs test"
|
||||
|
||||
# couchdb backend support possible via dev-python/couchdb-python
|
||||
# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc
|
||||
PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
|
||||
PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
|
||||
RDEPEND=">=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-amqp-1.4.6[${PYTHON_USEDEP}]
|
||||
<dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyro:4[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
|
||||
amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
|
||||
sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
|
||||
msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
|
||||
# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/beanstalkc[${PY27_GEN_USEDEP}]
|
||||
dev-python/couchdb-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
|
||||
|
||||
# kazoo and sqlalchemy are optional packages for tests.
|
||||
# Refrain for now, no established demand for it from users
|
||||
|
||||
# Req'd for test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PY27_REQUSE="$(python_gen_useflags 'python2.7')"
|
||||
REQUIRED_USE="sqs? ( ${PY27_REQUSE} )
|
||||
doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-NA-tests-fix.patch \
|
||||
"${FILESDIR}"/${P}-pymongo-test-fix.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# https://github.com/celery/kombu/issues/246
|
||||
sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# Doc build must be done by py2.7
|
||||
# Doc build misses and skips only content re librabbitmq which is not in portage
|
||||
if use doc; then
|
||||
emake -C docs html || die "kombu docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
# https://github.com/celery/kombu/issues/474
|
||||
# tests need </pymongo-3.0; known to cause some breakage
|
||||
if python_is_python3; then
|
||||
2to3 --no-diffs -w build/lib/kombu/transport/
|
||||
nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
else
|
||||
nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
# funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
|
||||
# https://github.com/celery/kombu/issues/411
|
||||
# Fix to https://github.com/celery/kombu/issues/474 breaks the
|
||||
# funtests under >=dev-python/pymongo-3.0.2
|
||||
# if [[ "${EPYTHON}" == python2.7 ]]; then
|
||||
# pushd funtests > /dev/null
|
||||
# esetup.py test
|
||||
# popd > /dev/null
|
||||
# fi
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,107 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="amqplib doc examples msgpack sqs test"
|
||||
|
||||
# couchdb backend support possible via dev-python/couchdb-python
|
||||
# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc
|
||||
PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
|
||||
PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
|
||||
RDEPEND="
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-amqp-1.4.7[${PYTHON_USEDEP}]
|
||||
<dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyro:4[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
|
||||
amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
|
||||
sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
|
||||
msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
|
||||
# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/beanstalkc[${PY27_GEN_USEDEP}]
|
||||
dev-python/couchdb-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
|
||||
|
||||
# kazoo and sqlalchemy are optional packages for tests.
|
||||
# Refrain for now, no established demand for it from users
|
||||
|
||||
# Req'd for test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PY27_REQUSE="$(python_gen_useflags 'python2.7')"
|
||||
REQUIRED_USE="
|
||||
sqs? ( ${PY27_REQUSE} )
|
||||
doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-NA-tests-fix.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
# https://github.com/celery/kombu/issues/246
|
||||
sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# Doc build must be done by py2.7
|
||||
# Doc build misses and skips only content re librabbitmq which is not in portage
|
||||
if use doc; then
|
||||
emake -C docs html || die "kombu docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
# https://github.com/celery/kombu/issues/474
|
||||
# tests need </pymongo-3.0; known to cause some breakage
|
||||
if python_is_python3; then
|
||||
2to3 --no-diffs -w build/lib/kombu/transport/
|
||||
nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
else
|
||||
nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
# funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
|
||||
# https://github.com/celery/kombu/issues/411
|
||||
# Fix to https://github.com/celery/kombu/issues/474 breaks the
|
||||
# funtests under >=dev-python/pymongo-3.0.2
|
||||
# if [[ "${EPYTHON}" == python2.7 ]]; then
|
||||
# pushd funtests > /dev/null
|
||||
# esetup.py test
|
||||
# popd > /dev/null
|
||||
# fi
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
IUSE="amqplib doc examples msgpack sqs test"
|
||||
|
||||
# couchdb backend support possible via dev-python/couchdb-python
|
||||
# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc
|
||||
PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
|
||||
PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
|
||||
RDEPEND="
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-amqp-1.4.7[${PYTHON_USEDEP}]
|
||||
<dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyro:4[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
|
||||
amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
|
||||
sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
|
||||
msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
|
||||
# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/beanstalkc[${PY27_GEN_USEDEP}]
|
||||
dev-python/couchdb-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
|
||||
|
||||
# kazoo and sqlalchemy are optional packages for tests.
|
||||
# Refrain for now, no established demand for it from users
|
||||
|
||||
# Req'd for test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PY27_REQUSE="$(python_gen_useflags 'python2.7')"
|
||||
REQUIRED_USE="
|
||||
sqs? ( ${PY27_REQUSE} )
|
||||
doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-NA-tests-fix.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# https://github.com/celery/kombu/issues/246
|
||||
sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# Doc build must be done by py2.7
|
||||
# Doc build misses and skips only content re librabbitmq which is not in portage
|
||||
if use doc; then
|
||||
emake -C docs html || die "kombu docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
# https://github.com/celery/kombu/issues/474
|
||||
# tests need </pymongo-3.0; known to cause some breakage
|
||||
if python_is_python3; then
|
||||
2to3 --no-diffs -w build/lib/kombu/transport/
|
||||
nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
else
|
||||
nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
# funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
|
||||
# https://github.com/celery/kombu/issues/411
|
||||
# Fix to https://github.com/celery/kombu/issues/474 breaks the
|
||||
# funtests under >=dev-python/pymongo-3.0.2
|
||||
# if [[ "${EPYTHON}" == python2.7 ]]; then
|
||||
# pushd funtests > /dev/null
|
||||
# esetup.py test
|
||||
# popd > /dev/null
|
||||
# fi
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="amqplib doc examples msgpack sqs test"
|
||||
|
||||
# couchdb backend support possible via dev-python/couchdb-python
|
||||
# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc
|
||||
PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
|
||||
PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
|
||||
RDEPEND="
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-amqp-1.4.7[${PYTHON_USEDEP}]
|
||||
<dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyro:4[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' python2_7 python{3_3,3_4})
|
||||
amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
|
||||
sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
|
||||
msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
|
||||
# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/beanstalkc[${PY27_GEN_USEDEP}]
|
||||
dev-python/couchdb-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
|
||||
|
||||
# kazoo and sqlalchemy are optional packages for tests.
|
||||
# Refrain for now, no established demand for it from users
|
||||
|
||||
# Req'd for test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PY27_REQUSE="$(python_gen_useflags 'python2.7')"
|
||||
REQUIRED_USE="
|
||||
sqs? ( ${PY27_REQUSE} )
|
||||
doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-NA-tests-fix.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# https://github.com/celery/kombu/issues/246
|
||||
sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# Doc build must be done by py2.7
|
||||
# Doc build misses and skips only content re librabbitmq which is not in portage
|
||||
if use doc; then
|
||||
emake -C docs html || die "kombu docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
# https://github.com/celery/kombu/issues/474
|
||||
# tests need </pymongo-3.0; known to cause some breakage
|
||||
if python_is_python3; then
|
||||
2to3 --no-diffs -w build/lib/kombu/transport/
|
||||
nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
else
|
||||
nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
# funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
|
||||
# https://github.com/celery/kombu/issues/411
|
||||
# Fix to https://github.com/celery/kombu/issues/474 breaks the
|
||||
# funtests under >=dev-python/pymongo-3.0.2
|
||||
# if [[ "${EPYTHON}" == python2.7 ]]; then
|
||||
# pushd funtests > /dev/null
|
||||
# esetup.py test
|
||||
# popd > /dev/null
|
||||
# fi
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="AMQP Messaging Framework for Python"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/kombu https://github.com/celery/kombu"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="amqplib doc examples msgpack sqs test"
|
||||
|
||||
# couchdb backend support possible via dev-python/couchdb-python
|
||||
# ditto dev-python/kazoo(>=1.3.1) and dev-python/beanstalkc
|
||||
PY27_GEN_USEDEP=$(python_gen_usedep python2_7)
|
||||
PYPY_GEN_USEDEP=$(python_gen_usedep python2_7 pypy)
|
||||
RDEPEND="
|
||||
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-amqp-1.4.9[${PYTHON_USEDEP}]
|
||||
<dev-python/py-amqp-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyro:4[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]' 'python*')
|
||||
amqplib? ( >=dev-python/amqplib-1.0.2[${PYTHON_USEDEP}] )
|
||||
sqs? ( >=dev-python/boto-2.13.3[${PY27_GEN_USEDEP}] )
|
||||
msgpack? ( >=dev-python/msgpack-0.3.0[${PYTHON_USEDEP}] )"
|
||||
# Fix to https://github.com/celery/kombu/issues/474 obliges dev-python/pymongo to >=-3.0.2
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-python/setuptools-0.7[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/unittest2-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-0.7.0[${PYPY_GEN_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
>=dev-python/redis-py-2.10.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymongo-3.0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}] )
|
||||
doc? (
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/django[${PYTHON_USEDEP}]
|
||||
dev-python/beanstalkc[${PY27_GEN_USEDEP}]
|
||||
dev-python/couchdb-python[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )"
|
||||
|
||||
# kazoo and sqlalchemy are optional packages for tests.
|
||||
# Refrain for now, no established demand for it from users
|
||||
|
||||
# Req'd for test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
PY27_REQUSE="$(python_gen_useflags 'python2.7')"
|
||||
REQUIRED_USE="
|
||||
sqs? ( ${PY27_REQUSE} )
|
||||
doc? ( ${PY27_REQUSE} amqplib sqs )" # 2 deps in doc build are py2 capable only
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-NA-tests-fix.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( python2.7 )
|
||||
}
|
||||
|
||||
python_prepare_all() {
|
||||
# https://github.com/celery/kombu/issues/246
|
||||
sed -e 's:kombu.transports:kombu.transport:' -i funtests/tests/test_django.py
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# Doc build must be done by py2.7
|
||||
# Doc build misses and skips only content re librabbitmq which is not in portage
|
||||
if use doc; then
|
||||
emake -C docs html || die "kombu docs failed installation"
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
export DJANGO_SETTINGS_MODULE="django.conf"
|
||||
# https://github.com/celery/kombu/issues/474
|
||||
# tests need </pymongo-3.0; known to cause some breakage
|
||||
if python_is_python3; then
|
||||
2to3 --no-diffs -w build/lib/kombu/transport/
|
||||
nosetests --py3where=build/lib kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
else
|
||||
nosetests "${S}"/kombu/tests || die "Tests failed under ${EPYTHON}"
|
||||
# funtests appears to be coded only for py2, a kind of 2nd tier. pypy fails 6.
|
||||
# https://github.com/celery/kombu/issues/411
|
||||
# Fix to https://github.com/celery/kombu/issues/474 breaks the
|
||||
# funtests under >=dev-python/pymongo-3.0.2
|
||||
# if [[ "${EPYTHON}" == python2.7 ]]; then
|
||||
# pushd funtests > /dev/null
|
||||
# esetup.py test
|
||||
# popd > /dev/null
|
||||
# fi
|
||||
fi
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( examples/. )
|
||||
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST poyo-0.4.0.tar.gz 10722 SHA256 8a95d95193eb0838117cc8847257bf17248ef6d157aaa55ea5c20509a87388b8 SHA512 19ab8e8f7bb6e376494516ac455eec36f57f64c59c1f5f3bc2a9ee1dd2faefdccab2755a4875f85553e4f2fbdcb3a13db0f591fc65c005354cc20d10ce2a0d6c WHIRLPOOL 3e42f5e78c9cc2bc310f085b264305221d416da145af9503eb1b37cb5b9cd3a4b3852eeeac880e07be7078acebae6b8ba3a351caeda77a2d5db49c7757e74801
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A lightweight YAML Parser for Python"
|
||||
HOMEPAGE="https://github.com/hackebrot/poyo"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
py.test || die
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST whichcraft-0.4.0.tar.gz 8008 SHA256 0b3567c56fb224a418cafbec6115cb5ed1002b256a203f87f1361e9cfce3dd87 SHA512 ed077a0b8eddc720c3db251ebaaf2695e4f2ed827c941d6979533944a03d8efcfe7aabb9be0c34ba3f016c98921b519c2907e3510f255fb4f5067f1844e68d8f WHIRLPOOL a9785e848e195090efb1e9053f60f158070f5b55271cc5a56903ef10cdbe7be29eef94740971b1284da0a41cd9158e84c5b9c26b6deecc65041f3f29e48b3994
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="This package provides cross-platform cross-python shutil.which functionality"
|
||||
HOMEPAGE="https://github.com/pydanny/whichcraft"
|
||||
SRC_URI="https://github.com/pydanny/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst )
|
||||
|
||||
DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} test_whichcraft.py || die
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="HTTP/REST API client library with pluggable components"
|
||||
HOMEPAGE="https://github.com/lostisland/faraday"
|
||||
SRC_URI="https://github.com/lostisland/faraday/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND+=" test? ( sys-process/lsof )"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/multipart-post-1.2.0 <dev-ruby/multipart-post-3"
|
||||
ruby_add_bdepend "test? (
|
||||
>=dev-ruby/test-unit-2.4
|
||||
dev-ruby/httpclient
|
||||
dev-ruby/rack-test
|
||||
dev-ruby/sinatra
|
||||
dev-ruby/net-http-persistent
|
||||
dev-ruby/patron
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler support.
|
||||
rm Gemfile || die
|
||||
sed -i -e '/[Bb]undler/d' Rakefile test/helper.rb || die
|
||||
sed -i -e '/bundler/,/^fi/ s:^:#:' script/test || die
|
||||
|
||||
# Remove simplecov and coveralls support, not needed to run tests.
|
||||
sed -i -e '/simplecov/,/^ end/ s:^:#:' test/helper.rb || die
|
||||
|
||||
# Remove tests for adapters that are not packaged for Gentoo.
|
||||
rm test/adapters/em_http_test.rb test/adapters/em_synchrony_test.rb test/adapters/excon_test.rb test/adapters/typhoeus_test.rb || die
|
||||
|
||||
# The proxy server is already killed, may be OS X vs Linux issue.
|
||||
sed -i -e '138 s/^/#/' script/test || die
|
||||
|
||||
sed -i -e '/git ls-files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
# Make sure the test scripts use the right ruby interpreter
|
||||
sed -i -e 's:ruby:'${RUBY}':' script/* || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
each_fakegem_test
|
||||
|
||||
# Sleep some time to allow the sinatra test server to die
|
||||
einfo "Waiting for test server to stop"
|
||||
sleep 10
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST rjb-1.5.4.gem 73216 SHA256 81df90c028dccd758e8b38c8b7d80620d23ebb5c355233b82c4cacfe85cb4851 SHA512 add7268f3320e4627b8b92103f420cd5be03319c54cdf0478980631ab57523ed9dd190f7a535b5bc9892d42b049712c18b406bacb36212f8cfb6ce5f3c74766d WHIRLPOOL bc0feabe46b63b4a1ccd0e2f88c72e24068737ba96ed3e52482921318e5fed8453a798bca5e5001eb815c4e74d3870f70343ce792764bef03f43350062214103
|
||||
DIST rjb-1.5.5.gem 73216 SHA256 8a81557cccf06e06435202cedffe3dcda780a9abe3b803a1057c48165746f2de SHA512 a1a8f6e6b75555ce228fe8d58b467f783e55ddb12371485d45ad32597ea7ec60d30e3870671455e4e22fd680b5aa21bd952b8abfa36531c030747573e5d43cea WHIRLPOOL cb146672bc02838fa8ef3f14f972abc0566bbdf25543fddd82569c67bc3835c4b681258b7303392a53315f73b6cfadac7ee40cb69281096ea47310af2b2b8b6e
|
||||
|
@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="readme.txt ChangeLog"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit java-pkg-2 ruby-ng ruby-fakegem
|
||||
|
||||
DESCRIPTION="Rjb is a Ruby-Java software bridge"
|
||||
HOMEPAGE="https://github.com/arton/rjb"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples hardened"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.5
|
||||
hardened? ( sys-apps/paxctl )"
|
||||
RDEPEND="virtual/jre"
|
||||
|
||||
pkg_setup() {
|
||||
ruby-ng_pkg_setup
|
||||
java-pkg-2_pkg_setup
|
||||
}
|
||||
|
||||
all_ruby_prepare() {
|
||||
# The console is not available for testing.
|
||||
sed -i -e '/test_noarg_sinvoke/,/end/ s:^:#:' test/test.rb || die
|
||||
|
||||
# Avoid encoding tests since not all locales may be available.
|
||||
sed -i -e '/test_kjconv/,/^ end/ s:^:#:' test/test.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
#dev-lang/ruby might need the "hardened" flag to enforce the following:
|
||||
if use hardened; then
|
||||
paxctl -v /usr/bin/ruby 2>/dev/null | grep MPROTECT | grep disabled || ewarn '!!! rjb will only work if ruby is MPROTECT disabled\n please disable it if required using paxctl -m /usr/bin/ruby'
|
||||
fi
|
||||
# force compilation of class file for our JVM
|
||||
rm -rf data
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -C ext extconf.rb || die "extconf.rb failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -C ext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
each_fakegem_install
|
||||
|
||||
# currently no elegant way to do this (bug #352765)
|
||||
ruby_fakegem_newins ext/rjbcore.so lib/rjbcore.so
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r samples
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
if use hardened; then
|
||||
paxctl -v ${RUBY} 2>/dev/null | grep MPROTECT | grep -q disabled
|
||||
if [ $? = 0 ]; then
|
||||
${RUBY} -C test -I../lib:.:../ext test.rb || die
|
||||
else
|
||||
ewarn "${RUBY} has MPROTECT enabled, rjb will not work until it is disabled, skipping tests."
|
||||
fi
|
||||
else
|
||||
${RUBY} -C test -I../lib:.:../ext test.rb || die
|
||||
fi
|
||||
}
|
@ -0,0 +1,71 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit eutils pax-utils
|
||||
|
||||
DESCRIPTION="General purpose, multi-paradigm programming language in the Lisp-Scheme family."
|
||||
HOMEPAGE="http://racket-lang.org/"
|
||||
SRC_URI="minimal? ( http://download.racket-lang.org/installers/${PV}/${PN}-minimal-${PV}-src-builtpkgs.tgz ) !minimal? ( http://download.racket-lang.org/installers/${PV}/${P}-src-builtpkgs.tgz )"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc +futures +jit minimal +places +threads +X"
|
||||
REQUIRED_USE="futures? ( jit )"
|
||||
|
||||
# see bug 426316: racket/draw (which depends on cairo) is sometimes used in compile-time code or when rendering documentation
|
||||
RDEPEND="dev-db/sqlite:3
|
||||
x11-libs/cairo[X?]
|
||||
virtual/libffi"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
#remove bundled libraries
|
||||
rm -rf foreign/libffi/ || die "Bundled libraries libffi was not removed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# according to vapier, we should use the bundled libtool
|
||||
# such that we don't preclude cross-compile. Thus don't use
|
||||
# --enable-lt=/usr/bin/libtool
|
||||
econf \
|
||||
$(use_enable X gracket) \
|
||||
$(use_enable doc docs) \
|
||||
--enable-shared \
|
||||
$(use_enable jit) \
|
||||
--enable-foreign \
|
||||
$(use_enable places) \
|
||||
$(use_enable futures) \
|
||||
--enable-float \
|
||||
--enable-libffi \
|
||||
$(use_enable threads pthread)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use jit; then
|
||||
pushd racket
|
||||
emake cgc
|
||||
pax-mark m .libs/racketcgc
|
||||
emake 3m
|
||||
pax-mark m .libs/racket3m
|
||||
popd
|
||||
fi
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
|
||||
if ! use minimal; then
|
||||
#racket now comes with desktop files, but DESTDIR is mishandled
|
||||
for f in /usr/share/applications/{drracket,slideshow}.desktop; do
|
||||
sed -e "s|${D}||g" \
|
||||
-i "${D}/${f}" || die "Failed to patch '${f}'"
|
||||
done
|
||||
fi
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST manaplus-1.5.11.21.tar.xz 9556540 SHA256 57b6e0d8a730f56060062aa0d6e6baafc100860aa2cc4ba5120d21772410aae6 SHA512 145479b9b6912064356f842910c2a5bbb16bacc7372b898d98f237514722bbac4c6f3fe49ee30942b6e38820cfe9d3508ba5ac64b858a6003e27569327729d7d WHIRLPOOL 628009c082219c63f42892881060dff3784ae419d3d6dab95357272774d0d0545a97cf0d7190157e3338ac38e7f821fe9e3a893f24ee10be71ec6ac83c097722
|
||||
DIST manaplus-1.6.10.22.tar.xz 11749908 SHA256 dde06c2cf3c7f7d132f3d5ff74f2eafeb17f987115f3625fa2a4dc3d83428b50 SHA512 f335a57ef643a0bd61681182e1d9bf2c6b16d3766b629c8a45904b7e118e6b435d47abacc0804fba03a65ee0a335535d37b589eb78d22bef2e7477d9df7321de WHIRLPOOL 055ccc4a80d21bddd7824d6c122dcb7587eab9eb806c7c47efb4612517ae8b556a6ea3afe57692292959f504804c3015e30a51ae2213648655310a3de6b1f4b6
|
||||
DIST manaplus-1.6.3.26.tar.xz 9721160 SHA256 87aee4fdaec09337fe711ee85e515470374ea9387e45622caa712a6414f5b253 SHA512 f84718c40799c619a2a320e5589dffa05f52ebd7e4710c640947f4083c59146bb2b7c10a429f68f9963086f1a07c92b8a049c0a0092659108cf52c767d834566 WHIRLPOOL 4887d9699378e3fad95f48268234c1279bbfed66138cdbd9875227e9ebc8c598ac6aa530230537cfc79d1d100216f4b3049e5c4b55ae34545ea09c5fdec284dc
|
||||
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit games
|
||||
|
||||
DESCRIPTION="OpenSource 2D MMORPG client for Evol Online and The Mana World"
|
||||
HOMEPAGE="http://manaplus.evolonline.org"
|
||||
SRC_URI="http://download.evolonline.org/manaplus/download/${PV}/manaplus-${PV}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="nls opengl"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-games/physfs-1.0.0
|
||||
dev-libs/libxml2
|
||||
media-libs/libpng:0=
|
||||
media-libs/libsdl2[X,opengl?,video]
|
||||
media-libs/sdl2-gfx
|
||||
media-libs/sdl2-image[png]
|
||||
media-libs/sdl2-mixer[vorbis]
|
||||
media-libs/sdl2-net
|
||||
media-libs/sdl2-ttf
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
x11-libs/libX11
|
||||
x11-misc/xdg-utils
|
||||
x11-apps/xmessage
|
||||
media-fonts/dejavu
|
||||
media-fonts/wqy-microhei
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/mplus-outline-fonts
|
||||
nls? ( virtual/libintl )
|
||||
opengl? ( virtual/opengl )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_configure() {
|
||||
CONFIG_SHELL=/bin/bash \
|
||||
egamesconf \
|
||||
--with-sdl2 \
|
||||
--without-internalsdlgfx \
|
||||
--localedir=/usr/share/locale \
|
||||
--prefix="/usr" \
|
||||
--bindir="${GAMES_BINDIR}" \
|
||||
$(use_with opengl) \
|
||||
$(use_enable nls)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans-bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusans.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusansmono-bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavusansmono.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSerifCondensed-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavuserifcondensed-bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSerifCondensed.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/dejavuserifcondensed.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationMono-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsansmono-bold.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsansmono.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationSans-Bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsans-bold.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/liberationsans.ttf
|
||||
dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-bold.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/mplus-1p-bold.ttf
|
||||
dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-regular.ttf "${GAMES_DATADIR}"/${PN}/data/fonts/mplus-1p-regular.ttf
|
||||
dosym /usr/share/fonts/wqy-microhei/wqy-microhei.ttc "${GAMES_DATADIR}"/${PN}/data/fonts/wqy-microhei.ttf
|
||||
|
||||
prepgamesdirs
|
||||
}
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
[[ ${PV} == 9999 ]] && inherit autotools git-r3
|
||||
|
||||
DESCRIPTION="OpenSource 2D MMORPG client for Evol Online and The Mana World"
|
||||
HOMEPAGE="http://manaplus.evolonline.org"
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/ManaPlus/ManaPlus.git"
|
||||
else
|
||||
SRC_URI="http://download.evolonline.org/manaplus/download/${PV}/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="mumble nls opengl pugixml +sdl2 test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-games/physfs-1.0.0
|
||||
media-fonts/dejavu
|
||||
media-fonts/liberation-fonts
|
||||
media-fonts/mplus-outline-fonts
|
||||
media-fonts/wqy-microhei
|
||||
media-libs/libpng:0=
|
||||
net-misc/curl
|
||||
sys-libs/zlib
|
||||
x11-apps/xmessage
|
||||
x11-libs/libX11
|
||||
x11-misc/xdg-utils
|
||||
mumble? ( media-sound/mumble )
|
||||
nls? ( virtual/libintl )
|
||||
opengl? ( virtual/opengl )
|
||||
pugixml? ( dev-libs/pugixml )
|
||||
!pugixml? ( dev-libs/libxml2 )
|
||||
sdl2? (
|
||||
media-libs/libsdl2[X,opengl?,video]
|
||||
media-libs/sdl2-gfx
|
||||
media-libs/sdl2-image[png]
|
||||
media-libs/sdl2-mixer[vorbis]
|
||||
media-libs/sdl2-net
|
||||
media-libs/sdl2-ttf
|
||||
)
|
||||
!sdl2? (
|
||||
media-libs/libsdl[X,opengl?,video]
|
||||
media-libs/sdl-gfx
|
||||
media-libs/sdl-image[png]
|
||||
media-libs/sdl-mixer[vorbis]
|
||||
media-libs/sdl-net
|
||||
media-libs/sdl-ttf
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if [[ ${PV} == 9999 ]] ; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
CONFIG_SHELL=/bin/bash \
|
||||
econf \
|
||||
--localedir=/usr/share/locale \
|
||||
--without-internalsdlgfx \
|
||||
$(use_with mumble) \
|
||||
$(use_enable nls) \
|
||||
$(use_with opengl) \
|
||||
--enable-libxml=$(usex pugixml pugixml libxml) \
|
||||
$(use_with sdl2) \
|
||||
$(use_enable test unittests)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
local destpath="/usr/share/${PN}"
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf "${destpath}"/data/fonts/dejavusans-bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSans.ttf "${destpath}"/data/fonts/dejavusans.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSansMono-Bold.ttf "${destpath}"/data/fonts/dejavusansmono-bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSansMono.ttf "${destpath}"/data/fonts/dejavusansmono.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSerifCondensed-Bold.ttf "${destpath}"/data/fonts/dejavuserifcondensed-bold.ttf
|
||||
dosym /usr/share/fonts/dejavu/DejaVuSerifCondensed.ttf "${destpath}"/data/fonts/dejavuserifcondensed.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationMono-Bold.ttf "${destpath}"/data/fonts/liberationsansmono-bold.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationMono-Regular.ttf "${destpath}"/data/fonts/liberationsansmono.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationSans-Bold.ttf "${destpath}"/data/fonts/liberationsans-bold.ttf
|
||||
dosym /usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf "${destpath}"/data/fonts/liberationsans.ttf
|
||||
dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-bold.ttf "${destpath}"/data/fonts/mplus-1p-bold.ttf
|
||||
dosym /usr/share/fonts/mplus-outline-fonts/mplus-1p-regular.ttf "${destpath}"/data/fonts/mplus-1p-regular.ttf
|
||||
dosym /usr/share/fonts/wqy-microhei/wqy-microhei.ttc "${destpath}"/data/fonts/wqy-microhei.ttf
|
||||
}
|
||||
|
||||
src_test() {
|
||||
make check
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST unifont-8.0.01.tar.gz 19157156 SHA256 4b20bfc6412bce9302cd321f39d7c0185c3c69f9deaf9ab7ea89c4e105fbcb9c SHA512 171b8caff9d2f821fa0759a55d102edcaf23be592c0619c8148c95aac353834bf096591710e9dedf18aa6c1dde051d1caee5c7b2b3a0d302ae9ab64bcfd731a5 WHIRLPOOL c72637d4549ce476a6327160e589137a9e9c24bdabd3a341a08b7d91bdee2208bc49b0cedc11ca43a0cdef50123b09148f9fde2b1c073b12005140cc091e9c0a
|
||||
DIST unifont-9.0.01.tar.gz 18287287 SHA256 2bd54b92aa31e1bf9d6a03023150fc3d5989ff6b9aa650c7892429ad4ca7e493 SHA512 ff9de0293c7ee6394b9de5c41b43cfe797051222f27010871d44aa7a626d7db880f253679b7ff88c2b3621de42b67c3b1f0c97db37e7cf13ad72855acb55192a WHIRLPOOL f3091bf7785d3dbed0fd198ef683f3e07f0f854f71f92928193f212df6387a3486866d15982b2df9cdfd989a9cfd0617b42ba235df1a062ca786a3fdd8662507
|
||||
DIST unifont-9.0.02.tar.gz 14727178 SHA256 1513d2403e1ea338a6df2d89c6a40cab39790e8ab52e89e5f8bf22bdc46546eb SHA512 74693fb9e7fdf6cbdb8b71cfeeb8106ea1d52b663def9c29f5b8c62660badd30d624be4b85bc9ca39c47d9d13cef19b1e40c76af361b82fbf3092895d0d48050 WHIRLPOOL a0cffe0edf9e5b184eac3c190434c81c70205951ed8593a90f9c3c4ab040536a2335f338a9f2ccdbef7d622b5a6c4005e9bbe90a0baf9a6920add37f9afb69b2
|
||||
DIST unifont-9.0.04.tar.gz 14787042 SHA256 9a7672fb132f4143b43fe60ae7eee028a8c6c27a10c2155cffb22661a3d6939b SHA512 1ddf232572e7e53838fbd9c9e28ef6573e29641ea47372ee7b0057d2df3c9d0eaf3c57478f5a8972ea439f7ce423e767208764676bbf34f7b026e60809b73fd4 WHIRLPOOL a6fa253661745cee71e9c56984667c3462a79e60b4fd22913f76e8be7b97cdf992992b9e554fb1a0807010b9eccc67e806368e71461e5ee4cb0b30eed808bc15
|
||||
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit font toolchain-funcs
|
||||
|
||||
DESCRIPTION="GNU Unifont - a Pan-Unicode X11 bitmap iso10646 font"
|
||||
HOMEPAGE="http://unifoundry.com/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
|
||||
IUSE="fontforge utils"
|
||||
|
||||
DEPEND="
|
||||
fontforge? (
|
||||
app-text/bdf2psf
|
||||
dev-lang/perl
|
||||
dev-perl/GD[png(-)]
|
||||
media-gfx/fontforge
|
||||
x11-apps/bdftopcf
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
utils? (
|
||||
dev-lang/perl
|
||||
dev-perl/GD[png(-)]
|
||||
)
|
||||
"
|
||||
|
||||
S=${WORKDIR}/${PN}-${PV%.*}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's/install -s/install/' src/Makefile || die
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use fontforge || use utils; then
|
||||
tc-export CC
|
||||
makeargs=(
|
||||
CFLAGS="${CFLAGS}"
|
||||
BUILDFONT=$(usex fontforge 1 '')
|
||||
)
|
||||
emake -j1 "${makeargs[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
makeargs+=(
|
||||
DESTDIR="${ED%/}"
|
||||
PCFDEST="${ED%/}${FONTDIR}"
|
||||
TTFDEST="${ED%/}${FONTDIR}"
|
||||
USRDIR=usr
|
||||
)
|
||||
use utils || makeargs+=( -C font )
|
||||
emake -j1 "${makeargs[@]}" install
|
||||
font_xfont_config
|
||||
font_fontconfig
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST CImg-1.5.2.zip 12824193 SHA256 4c6939d7d3c57752bb347362eca26eafb497571246d0d4c5f22d49721f8bc63f SHA512 a6927cecb524da128a58de9d655c2bb948bb61f654d6f95c7fe2690d39a521fea5313326610c2b56b370f76139f753469b7e4366196dd83db18c5a0c3b307b52 WHIRLPOOL f5141eac762a2e6124fd6f88d0c54da4398321b043640d83665bd0e66af51067846d2d61be309b45efbddc111ffa79c61d4569268d504cb10ffa60b96acffb82
|
||||
DIST cimg-1.7.8.tar.gz 17805881 SHA256 1033ad0816c79f067453120f358c27aa7392c138bc1a47d36397f8f9dd421220 SHA512 6d8f29ba5a98e340d2b0957775459778c811c028a2b0e59cb0d1fad46f1477ad21c7ff565fb71b12d38c67ede307d84c787cad35c28eeec0cec9e68f5b454798 WHIRLPOOL 5051102c7a41a86bc4c07add5c48b1922c0bc2df946558cdda0b5e8313d8d969f1dde17f7116fdefbaff3166e6030c46f245bc52a682b5c178b620d0a241c042
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_PV=${PV//./}
|
||||
MY_P="CImg-v.${MY_PV}"
|
||||
|
||||
DESCRIPTION="C++ template image processing toolkit"
|
||||
HOMEPAGE="http://cimg.eu/ https://github.com/dtschump/CImg"
|
||||
SRC_URI="https://github.com/dtschump/CImg/archive/v.${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="CeCILL-2 CeCILL-C"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_install() {
|
||||
dodoc README.txt
|
||||
doheader CImg.h
|
||||
use doc && dodoc -r html
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="project">
|
||||
<email>graphics@gentoo.org</email>
|
||||
<name>Gentoo Graphics Project</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">cimg</remote-id>
|
||||
<bugs-to>https://sourceforge.net/tracker/?group_id=96492</bugs-to>
|
||||
<remote-id type="github">dtschump/CImg</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1 @@
|
||||
Sat, 29 Oct 2016 20:14:12 +0000
|
||||
Sun, 30 Oct 2016 07:43:14 +0000
|
||||
|
@ -1 +1 @@
|
||||
Sat, 29 Oct 2016 20:14:12 +0000
|
||||
Sun, 30 Oct 2016 07:43:15 +0000
|
||||
|
@ -0,0 +1,15 @@
|
||||
DEFINED_PHASES=configure install
|
||||
DEPEND=>=sys-libs/zlib-1.2.3:= !static? ( app-arch/bzip2:= ) acl? ( !static? ( sys-apps/attr:= ) ) gcrypt? ( dev-libs/libgcrypt:0= ) lzo? ( !static? ( dev-libs/lzo:= ) ) nls? ( virtual/libintl ) static? ( app-arch/bzip2[static-libs] ) static? ( sys-libs/zlib[static-libs] ) acl? ( static? ( sys-apps/attr[static-libs] ) ) lzo? ( static? ( dev-libs/lzo[static-libs] ) ) nls? ( sys-devel/gettext ) doc? ( app-doc/doxygen )
|
||||
DESCRIPTION=A full featured backup tool, aimed for disks (floppy,CDR(W),DVDR(W),zip,jazz etc.)
|
||||
EAPI=6
|
||||
HOMEPAGE=http://dar.linux.free.fr/
|
||||
IUSE=acl dar32 dar64 doc gcrypt lzo nls static static-libs
|
||||
KEYWORDS=~amd64 ~ppc ~sparc ~x86 ~amd64-linux
|
||||
LICENSE=GPL-2
|
||||
RDEPEND=>=sys-libs/zlib-1.2.3:= !static? ( app-arch/bzip2:= ) acl? ( !static? ( sys-apps/attr:= ) ) gcrypt? ( dev-libs/libgcrypt:0= ) lzo? ( !static? ( dev-libs/lzo:= ) ) nls? ( virtual/libintl )
|
||||
REQUIRED_USE=?? ( dar32 dar64 )
|
||||
RESTRICT=test
|
||||
SLOT=0
|
||||
SRC_URI=mirror://sourceforge/dar/dar-2.4.23.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=ba4768113ea7fbb520f682908ded021b
|
@ -1,13 +0,0 @@
|
||||
DEFINED_PHASES=configure install prepare
|
||||
DEPEND=!static? ( >=sys-libs/ncurses-5.9-r1:0=[unicode?] sys-libs/ncurses:0= magic? ( sys-apps/file ) nls? ( virtual/libintl ) !ncurses? ( slang? ( sys-libs/slang ) ) ) nls? ( sys-devel/gettext ) virtual/pkgconfig static? ( >=sys-libs/ncurses-5.9-r1:0=[unicode?] sys-libs/ncurses:0=[static-libs(+)] magic? ( sys-apps/file[static-libs(+)] ) nls? ( virtual/libintl ) !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) ) )
|
||||
DESCRIPTION=GNU GPL'd Pico clone with more functionality
|
||||
EAPI=5
|
||||
HOMEPAGE=http://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide
|
||||
IUSE=debug justify +magic minimal ncurses nls slang +spell static unicode
|
||||
KEYWORDS=alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=!static? ( >=sys-libs/ncurses-5.9-r1:0=[unicode?] sys-libs/ncurses:0= magic? ( sys-apps/file ) nls? ( virtual/libintl ) !ncurses? ( slang? ( sys-libs/slang ) ) )
|
||||
SLOT=0
|
||||
SRC_URI=http://www.nano-editor.org/dist/v2.4/nano-2.4.3.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=7be92d14fb8c14d3feeddc40a9c61a25
|
@ -1,13 +1,13 @@
|
||||
DEFINED_PHASES=configure install prepare
|
||||
DEPEND=!static? ( >=sys-libs/ncurses-5.9-r1:0=[unicode?] sys-libs/ncurses:0= magic? ( sys-apps/file ) nls? ( virtual/libintl ) !ncurses? ( slang? ( sys-libs/slang ) ) ) nls? ( sys-devel/gettext ) virtual/pkgconfig static? ( >=sys-libs/ncurses-5.9-r1:0=[unicode?] sys-libs/ncurses:0=[static-libs(+)] magic? ( sys-apps/file[static-libs(+)] ) nls? ( virtual/libintl ) !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) ) )
|
||||
DESCRIPTION=GNU GPL'd Pico clone with more functionality
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
HOMEPAGE=https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide
|
||||
IUSE=debug justify +magic minimal ncurses nls slang +spell static unicode
|
||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris
|
||||
LICENSE=GPL-3
|
||||
RDEPEND=!static? ( >=sys-libs/ncurses-5.9-r1:0=[unicode?] sys-libs/ncurses:0= magic? ( sys-apps/file ) nls? ( virtual/libintl ) !ncurses? ( slang? ( sys-libs/slang ) ) )
|
||||
SLOT=0
|
||||
SRC_URI=https://www.nano-editor.org/dist/v2.6/nano-2.6.1.tar.gz
|
||||
SRC_URI=https://www.nano-editor.org/dist/v2.7/nano-2.7.1.tar.gz
|
||||
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||
_md5_=ddfe055fda31409229e983c1c9293954
|
||||
_md5_=89882e8eccef417d5d449800cb5c0a0b
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue