parent
400bd2fdb9
commit
dc947e1a4a
@ -1,2 +1,3 @@
|
|||||||
|
DIST 3.9.2.tar.gz 80711 SHA256 2de00c65e23fa9d7909cae6594e550b9abe9a7eb1553669ddeaca92d30f97009 SHA512 62c84a98ec3373562a5c0ab0abd68e33620787cbbafbcf442cb5c7bdc1a41a7f673ee5dabc5f905ad4dd3fffebcbee0dab2ea8698f20de04cc13950212aaab33 WHIRLPOOL b77338f2cc88e6bd03310cea40c26cd4d890238455b4d9507f64a3f8de1006bf98e0d3b783f6536da963f3d695ab604ab3f9bb0e6aa1ae9575005a665b497ec1
|
||||||
DIST logrotate-3.8.9.tar.gz 77408 SHA256 700ed7ce9072a1cca324779a74797dfaefdae37ac50a817134b947c4ded1dfa7 SHA512 342533f321a1d77c0ca389fd0a393377ba73f10654aae163cbd35f8d5df25673f1aa6e44d0af42be5419d152a7dae11024d9005076bce0a3b3dad1f0e12b9c0d WHIRLPOOL 005621b5dc7f6954e505876eece76e3adf03b9b89b724e5c28b845c8af3ebb8e978d20e3a82c8a503c32bfd8758517625207e23518d6d08068e237c22fe7212d
|
DIST logrotate-3.8.9.tar.gz 77408 SHA256 700ed7ce9072a1cca324779a74797dfaefdae37ac50a817134b947c4ded1dfa7 SHA512 342533f321a1d77c0ca389fd0a393377ba73f10654aae163cbd35f8d5df25673f1aa6e44d0af42be5419d152a7dae11024d9005076bce0a3b3dad1f0e12b9c0d WHIRLPOOL 005621b5dc7f6954e505876eece76e3adf03b9b89b724e5c28b845c8af3ebb8e978d20e3a82c8a503c32bfd8758517625207e23518d6d08068e237c22fe7212d
|
||||||
DIST logrotate-3.9.1.tar.gz 79061 SHA256 022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545 SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 WHIRLPOOL 9b3558bb03c6c95f8f386ea75ca09bfda802ae4c45b9ef8408692e3aa7a2ee57447cf15ce04d0289946b9cae2266acb5509d8151d15ac6ea0ad9113aeb32dc17
|
DIST logrotate-3.9.1.tar.gz 79061 SHA256 022769e3288c80981559a8421703c88e8438b447235e36dd3c8e97cd94c52545 SHA512 e6da7c7f067befaf2441e9c6ce77e53cf5ddb4f56cc3304c3e50873b6f20c68520f4a0e50ec466cbebcbed20bfd77bf6dfc489975a8131e9573fb19856c0fe28 WHIRLPOOL 9b3558bb03c6c95f8f386ea75ca09bfda802ae4c45b9ef8408692e3aa7a2ee57447cf15ce04d0289946b9cae2266acb5509d8151d15ac6ea0ad9113aeb32dc17
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nuar a/Makefile.am b/Makefile.am
|
||||||
|
--- a/Makefile.am 2016-01-20 10:47:36.000000000 +0100
|
||||||
|
+++ b/Makefile.am 2016-01-25 20:04:28.270050499 +0100
|
||||||
|
@@ -1,7 +1,7 @@
|
||||||
|
MAN = logrotate.8
|
||||||
|
MAN5 = logrotate.conf.5
|
||||||
|
|
||||||
|
-AM_CFLAGS = -Wall -Werror
|
||||||
|
+AM_CFLAGS = -Wall
|
||||||
|
sbin_PROGRAMS = logrotate
|
||||||
|
logrotate_SOURCES = logrotate.c log.c config.c basenames.c
|
||||||
|
|
@ -0,0 +1,42 @@
|
|||||||
|
diff -Nuar a/logrotate.c b/logrotate.c
|
||||||
|
--- a/logrotate.c 2016-01-25 19:55:46.740039999 +0100
|
||||||
|
+++ b/logrotate.c 2016-01-25 20:03:15.290049030 +0100
|
||||||
|
@@ -367,15 +367,18 @@
|
||||||
|
int createOutputFile(char *fileName, int flags, struct stat *sb, acl_type acl, int force_mode)
|
||||||
|
{
|
||||||
|
int fd;
|
||||||
|
- struct stat sb_create;
|
||||||
|
- int acl_set = 0;
|
||||||
|
-
|
||||||
|
- fd = open(fileName, (flags | O_EXCL | O_NOFOLLOW),
|
||||||
|
- (S_IRUSR | S_IWUSR) & sb->st_mode);
|
||||||
|
+ int acl_set = 0;
|
||||||
|
+ struct stat sb_create;
|
||||||
|
+ char template[PATH_MAX + 1];
|
||||||
|
+ mode_t umask_value;
|
||||||
|
+ snprintf(template, PATH_MAX, "%s/logrotate_temp.XXXXXX", ourDirName(fileName));
|
||||||
|
+ umask_value = umask(0000);
|
||||||
|
+ fd = mkostemp(template, (flags | O_EXCL | O_NOFOLLOW));
|
||||||
|
+ umask(umask_value);
|
||||||
|
|
||||||
|
if (fd < 0) {
|
||||||
|
- message(MESS_ERROR, "error creating output file %s: %s\n",
|
||||||
|
- fileName, strerror(errno));
|
||||||
|
+ message(MESS_ERROR, "error creating unique temp file: %s\n",
|
||||||
|
+ strerror(errno));
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
if (fchmod(fd, (S_IRUSR | S_IWUSR) & sb->st_mode)) {
|
||||||
|
@@ -425,6 +428,12 @@
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
+ if (rename(template, fileName)) {
|
||||||
|
+ message(MESS_ERROR, "error renaming temp file to %s: %s\n",
|
||||||
|
+ fileName, strerror(errno));
|
||||||
|
+ close(fd);
|
||||||
|
+ return -1;
|
||||||
|
+ }
|
||||||
|
|
||||||
|
return fd;
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
diff -Nuar a/config.c b/config.c
|
||||||
|
--- a/config.c 2016-01-25 19:50:48.840034001 +0100
|
||||||
|
+++ b/config.c 2016-01-25 19:54:37.170038598 +0100
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
#include "queue.h"
|
||||||
|
/* Alloca is defined in stdlib.h in NetBSD */
|
||||||
|
-#ifndef __NetBSD__
|
||||||
|
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
|
||||||
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
|
#include <limits.h>
|
||||||
|
@@ -24,6 +24,10 @@
|
||||||
|
#include <fnmatch.h>
|
||||||
|
#include <sys/mman.h>
|
||||||
|
|
||||||
|
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
|
||||||
|
+#include <sys/param.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include "basenames.h"
|
||||||
|
#include "log.h"
|
||||||
|
#include "logrotate.h"
|
||||||
|
diff -Nuar a/logrotate.c b/logrotate.c
|
||||||
|
--- a/logrotate.c 2016-01-20 10:47:36.000000000 +0100
|
||||||
|
+++ b/logrotate.c 2016-01-25 19:55:46.740039999 +0100
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
#include "queue.h"
|
||||||
|
/* alloca() is defined in stdlib.h in NetBSD */
|
||||||
|
-#ifndef __NetBSD__
|
||||||
|
+#if !defined(__NetBSD__) && !defined(__FreeBSD__)
|
||||||
|
#include <alloca.h>
|
||||||
|
#endif
|
||||||
|
#include <limits.h>
|
||||||
|
@@ -26,6 +26,10 @@
|
||||||
|
#include <limits.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+#if !defined(PATH_MAX) && defined(__FreeBSD__)
|
||||||
|
+#include <sys/param.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#include "basenames.h"
|
||||||
|
#include "log.h"
|
||||||
|
#include "logrotate.h"
|
||||||
|
diff -Nuar a/Makefile b/Makefile
|
||||||
|
--- a/Makefile 2016-01-20 10:47:36.000000000 +0100
|
||||||
|
+++ b/Makefile 2016-01-25 19:56:43.380041139 +0100
|
||||||
|
@@ -22,7 +22,9 @@
|
||||||
|
|
||||||
|
ifeq ($(WITH_ACL),yes)
|
||||||
|
CFLAGS += -DWITH_ACL
|
||||||
|
+ifneq ($(OS_NAME),FreeBSD)
|
||||||
|
LOADLIBES += -lacl
|
||||||
|
+endif
|
||||||
|
# See pretest
|
||||||
|
TEST_ACL=1
|
||||||
|
else
|
@ -0,0 +1,15 @@
|
|||||||
|
diff -Nuar a/config.c b/config.c
|
||||||
|
--- a/config.c 2016-01-20 10:47:36.000000000 +0100
|
||||||
|
+++ b/config.c 2016-01-25 19:50:48.840034001 +0100
|
||||||
|
@@ -359,7 +359,10 @@
|
||||||
|
char *pattern;
|
||||||
|
|
||||||
|
/* Check if fname is '.' or '..'; if so, return false */
|
||||||
|
- if (fname[0] == '.' && (!fname[1] || (fname[1] == '.' && !fname[2])))
|
||||||
|
+ /* Don't include 'hidden' files either; this breaks Gentoo
|
||||||
|
+ portage config file management http://bugs.gentoo.org/87683 */
|
||||||
|
+ if (fname[0] == '.')
|
||||||
|
+
|
||||||
|
return 0;
|
||||||
|
|
||||||
|
/* Check if fname is ending in a taboo-extension; if so, return false */
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -Nuar a/configure.ac b/configure.ac
|
||||||
|
--- a/configure.ac 2016-01-20 10:47:36.000000000 +0100
|
||||||
|
+++ b/configure.ac 2016-01-25 20:05:49.310052130 +0100
|
||||||
|
@@ -10,6 +10,8 @@
|
||||||
|
AC_STRUCT_ST_BLKSIZE
|
||||||
|
AC_STRUCT_ST_BLOCKS
|
||||||
|
|
||||||
|
+AC_SYS_LARGEFILE
|
||||||
|
+
|
||||||
|
AC_CHECK_LIB([popt],[poptParseArgvString],,
|
||||||
|
AC_MSG_ERROR([libpopt required but not found]))
|
||||||
|
|
@ -0,0 +1,55 @@
|
|||||||
|
diff -Nuar a/config.c b/config.c
|
||||||
|
--- a/config.c 2016-01-25 19:54:37.170038598 +0100
|
||||||
|
+++ b/config.c 2016-01-25 19:58:56.040043810 +0100
|
||||||
|
@@ -49,39 +49,6 @@
|
||||||
|
#include "asprintf.c"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
|
||||||
|
-#include <stdarg.h>
|
||||||
|
-
|
||||||
|
-int asprintf(char **string_ptr, const char *format, ...)
|
||||||
|
-{
|
||||||
|
- va_list arg;
|
||||||
|
- char *str;
|
||||||
|
- int size;
|
||||||
|
- int rv;
|
||||||
|
-
|
||||||
|
- va_start(arg, format);
|
||||||
|
- size = vsnprintf(NULL, 0, format, arg);
|
||||||
|
- size++;
|
||||||
|
- va_start(arg, format);
|
||||||
|
- str = malloc(size);
|
||||||
|
- if (str == NULL) {
|
||||||
|
- va_end(arg);
|
||||||
|
- /*
|
||||||
|
- * Strictly speaking, GNU asprintf doesn't do this,
|
||||||
|
- * but the caller isn't checking the return value.
|
||||||
|
- */
|
||||||
|
- fprintf(stderr, "failed to allocate memory\\n");
|
||||||
|
- exit(1);
|
||||||
|
- }
|
||||||
|
- rv = vsnprintf(str, size, format, arg);
|
||||||
|
- va_end(arg);
|
||||||
|
-
|
||||||
|
- *string_ptr = str;
|
||||||
|
- return (rv);
|
||||||
|
-}
|
||||||
|
-
|
||||||
|
-#endif
|
||||||
|
-
|
||||||
|
#if !defined(strndup)
|
||||||
|
char *strndup(const char *s, size_t n)
|
||||||
|
{
|
||||||
|
diff -Nuar a/logrotate.h b/logrotate.h
|
||||||
|
--- a/logrotate.h 2016-01-20 10:47:36.000000000 +0100
|
||||||
|
+++ b/logrotate.h 2016-01-25 19:59:39.760044690 +0100
|
||||||
|
@@ -80,8 +80,5 @@
|
||||||
|
extern int debug;
|
||||||
|
|
||||||
|
int readAllConfigPaths(const char **paths);
|
||||||
|
-#if !defined(asprintf) && !defined(_FORTIFY_SOURCE)
|
||||||
|
-int asprintf(char **string_ptr, const char *format, ...);
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
#endif
|
@ -0,0 +1,83 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit autotools eutils toolchain-funcs flag-o-matic
|
||||||
|
|
||||||
|
DESCRIPTION="Rotates, compresses, and mails system logs"
|
||||||
|
HOMEPAGE="https://fedorahosted.org/logrotate/"
|
||||||
|
SRC_URI="https://github.com/logrotate/logrotate/archive/${PV}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||||
|
IUSE="acl +cron selinux"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
>=dev-libs/popt-1.5
|
||||||
|
selinux? (
|
||||||
|
sys-libs/libselinux
|
||||||
|
)
|
||||||
|
acl? ( virtual/acl )"
|
||||||
|
|
||||||
|
DEPEND="${CDEPEND}
|
||||||
|
>=sys-apps/sed-4"
|
||||||
|
|
||||||
|
RDEPEND="${CDEPEND}
|
||||||
|
selinux? ( sec-policy/selinux-logrotate )
|
||||||
|
cron? ( virtual/cron )"
|
||||||
|
|
||||||
|
install_cron_file() {
|
||||||
|
exeinto /etc/cron.daily
|
||||||
|
newexe "${S}"/examples/logrotate.cron "${PN}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch \
|
||||||
|
"${FILESDIR}"/${P}-ignore-hidden.patch \
|
||||||
|
"${FILESDIR}"/${P}-fbsd.patch \
|
||||||
|
"${FILESDIR}"/${P}-noasprintf.patch \
|
||||||
|
"${FILESDIR}"/${P}-atomic-create.patch \
|
||||||
|
"${FILESDIR}"/${P}-Werror.patch \
|
||||||
|
"${FILESDIR}"/${P}-lfs.patch
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf $(use_with acl) $(use_with selinux)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake ${myconf} RPM_OPT_FLAGS="${CFLAGS}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr
|
||||||
|
dosbin logrotate
|
||||||
|
doman logrotate.8
|
||||||
|
dodoc CHANGES examples/logrotate*
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
doins "${FILESDIR}"/logrotate.conf
|
||||||
|
|
||||||
|
use cron && install_cron_file
|
||||||
|
|
||||||
|
keepdir /etc/logrotate.d
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ -z ${REPLACING_VERSIONS} ]] ; then
|
||||||
|
elog "If you wish to have logrotate e-mail you updates, please"
|
||||||
|
elog "emerge virtual/mailx and configure logrotate in"
|
||||||
|
elog "/etc/logrotate.conf appropriately"
|
||||||
|
elog
|
||||||
|
elog "Additionally, /etc/logrotate.conf may need to be modified"
|
||||||
|
elog "for your particular needs. See man logrotate for details."
|
||||||
|
fi
|
||||||
|
}
|
@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>zlg@gentoo.org</email>
|
||||||
|
<name>Daniel Campbell</name>
|
||||||
|
</maintainer>
|
||||||
|
<longdescription lang="en">
|
||||||
|
A shell script for burning optical media. Supports data and audio burning,
|
||||||
|
with broad format support including WAV, MP3, Vorbis, and FLAC.
|
||||||
|
</longdescription>
|
||||||
|
<upstream>
|
||||||
|
<maintainer status="inactive" type="person">
|
||||||
|
<email>anders.linden@gmail.com</email>
|
||||||
|
<name>Anders Lindén</name>
|
||||||
|
</maintainer>
|
||||||
|
<doc lang="en">http://bashburn.dose.se/index.php?s=docs</doc>
|
||||||
|
</upstream>
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
DIST magit-1.2.2.tar.gz 111245 SHA256 8ed300887909d0990cf17b1f4a3b902944db2471ca93dbf0202724b3f44e5d0c SHA512 c7817a5231485e593e8f7aab8c01db19f433ff9b77d6635c95eec6beabb45901f1dbd9d02fad718436f9e25516df14714e7ca1b05b53244e8465dcc14a8cee7a WHIRLPOOL 4b7116bf2568f786a859299ed8039bee32fda51322e29f7ddd139a9ee5e3f3a3caa9d245fffed3e6c28f11b0e068c398f424450275de94a4559a9812634639a0
|
DIST magit-1.2.2.tar.gz 111245 SHA256 8ed300887909d0990cf17b1f4a3b902944db2471ca93dbf0202724b3f44e5d0c SHA512 c7817a5231485e593e8f7aab8c01db19f433ff9b77d6635c95eec6beabb45901f1dbd9d02fad718436f9e25516df14714e7ca1b05b53244e8465dcc14a8cee7a WHIRLPOOL 4b7116bf2568f786a859299ed8039bee32fda51322e29f7ddd139a9ee5e3f3a3caa9d245fffed3e6c28f11b0e068c398f424450275de94a4559a9812634639a0
|
||||||
DIST magit-2.2.2.tar.gz 244326 SHA256 08e61898e23dbeb3a152d82e58fc9f6c769fe36d35d87617dcd1e69b2f91b3c6 SHA512 fcb8a27597988fd29b824be58b145f483a492a0d199e505478cf7cab09068a608e5e9d314abda7e8954712c2db3012ee578c8a5bbdfd79e909a8b9d1ef45e0d4 WHIRLPOOL f45d4bfe3942d4203918b8c5309b640efcb9204d7a05f74df746349d9a49ae40df34d744d91388db23e718fc7579e303ea0a704d7f30235efbf63b9da360082a
|
DIST magit-2.2.2.tar.gz 244326 SHA256 08e61898e23dbeb3a152d82e58fc9f6c769fe36d35d87617dcd1e69b2f91b3c6 SHA512 fcb8a27597988fd29b824be58b145f483a492a0d199e505478cf7cab09068a608e5e9d314abda7e8954712c2db3012ee578c8a5bbdfd79e909a8b9d1ef45e0d4 WHIRLPOOL f45d4bfe3942d4203918b8c5309b640efcb9204d7a05f74df746349d9a49ae40df34d744d91388db23e718fc7579e303ea0a704d7f30235efbf63b9da360082a
|
||||||
DIST magit-2.3.1.tar.gz 262976 SHA256 ee9574dc20cd078d62d669dc19caf8ffc29480a01184d6bc5e90cfa6c800ddf2 SHA512 3c640887263dd5284a446b396975495878b33f1f1b2a2d76f657beb921099acb27dd8a036cb38f2b00e21c0d30b3b412bec26921d3d960e8be79b28cd327c713 WHIRLPOOL a8d017f89cfb327e7ca5ef02ca6c0e90b67b6e80e5b403858a3c65d8c25d348f6a21f34a69ad4bdf06b0eaa5b850b0d107029a7915aef51f42a4f5a9c72ced23
|
DIST magit-2.3.1.tar.gz 262976 SHA256 ee9574dc20cd078d62d669dc19caf8ffc29480a01184d6bc5e90cfa6c800ddf2 SHA512 3c640887263dd5284a446b396975495878b33f1f1b2a2d76f657beb921099acb27dd8a036cb38f2b00e21c0d30b3b412bec26921d3d960e8be79b28cd327c713 WHIRLPOOL a8d017f89cfb327e7ca5ef02ca6c0e90b67b6e80e5b403858a3c65d8c25d348f6a21f34a69ad4bdf06b0eaa5b850b0d107029a7915aef51f42a4f5a9c72ced23
|
||||||
|
DIST magit-2.4.0.tar.gz 277515 SHA256 57b7198970d6f10f822964db67661313fed5c9ceff519c8eacc1003328a96af1 SHA512 5e06064c5baa38e279f4fcba7d133bf2e00d3eaed55af101f792f5ef894353aef1d71d0d62e4d5f10f6853f81f4d89daff026518476c465830ac51c221d94ec0 WHIRLPOOL 82f98830a93a3d36288aedfc4f7d30d7b8b26521f2b4c241c5f63acd8ed20fc1996ce4a505ba83cd36426d937dabf779fdc7351353eb4c5710cefdf906b28aa6
|
||||||
|
@ -0,0 +1,24 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
NEED_EMACS=24
|
||||||
|
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="A Git porcelain inside Emacs"
|
||||||
|
HOMEPAGE="http://magit.vc/"
|
||||||
|
SRC_URI="https://github.com/magit/magit/releases/download/${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${P}/lisp"
|
||||||
|
SITEFILE="50${PN}-gentoo.el"
|
||||||
|
ELISP_TEXINFO="../Documentation/*.texi"
|
||||||
|
DOCS="../README.md ../Documentation/AUTHORS.md ../Documentation/${PV}.txt"
|
||||||
|
|
||||||
|
DEPEND=">=app-emacs/dash-2.12.1"
|
||||||
|
RDEPEND="${DEPEND} >=dev-vcs/git-1.9.4"
|
@ -1,2 +1,3 @@
|
|||||||
DIST nxml-gentoo-schemas-20111129.tar.bz2 10795 SHA256 654b72aee0f27c034ff351e5f9549abf4489d8c42590124aa95ea46538f9b8c7 SHA512 5ed86f6d72d8ab91d0473c1104458223f6b7ae9c03331638ee6d802706d18338dcf75a38dc82de237f2810bf3ef228f65f49d322527641618fa6e910e4ee3fbb WHIRLPOOL 5d94fac30df20cc94da0cae29bc631aa8f0364e9cd55b56265ee0cbcab460e3f3850e7247f798282a617ca0ac60b398e20c10310661df02b065b2e79fb7a5aa9
|
DIST nxml-gentoo-schemas-20111129.tar.bz2 10795 SHA256 654b72aee0f27c034ff351e5f9549abf4489d8c42590124aa95ea46538f9b8c7 SHA512 5ed86f6d72d8ab91d0473c1104458223f6b7ae9c03331638ee6d802706d18338dcf75a38dc82de237f2810bf3ef228f65f49d322527641618fa6e910e4ee3fbb WHIRLPOOL 5d94fac30df20cc94da0cae29bc631aa8f0364e9cd55b56265ee0cbcab460e3f3850e7247f798282a617ca0ac60b398e20c10310661df02b065b2e79fb7a5aa9
|
||||||
DIST nxml-gentoo-schemas-20150428.tar.xz 11100 SHA256 79436da79a4e75a2e70855fa9c98410c7dced30525e72c23520c4a6231388b6b SHA512 a43b21f03072f31709499d9d7a5aca578c8c23d1fe9ab9658d973298a471cfd3408072298dfb467a69b50a26a10b86860cd9109e26cb6237b1e50bc943ef54d2 WHIRLPOOL 37cddfbb719982b0d4471aff21d3a2a429c266bec7ce663106a9978482392306622cad4b24108a20253ef21e1523f2cd9d896391ff2d8327d2c1446320c71b6c
|
DIST nxml-gentoo-schemas-20150428.tar.xz 11100 SHA256 79436da79a4e75a2e70855fa9c98410c7dced30525e72c23520c4a6231388b6b SHA512 a43b21f03072f31709499d9d7a5aca578c8c23d1fe9ab9658d973298a471cfd3408072298dfb467a69b50a26a10b86860cd9109e26cb6237b1e50bc943ef54d2 WHIRLPOOL 37cddfbb719982b0d4471aff21d3a2a429c266bec7ce663106a9978482392306622cad4b24108a20253ef21e1523f2cd9d896391ff2d8327d2c1446320c71b6c
|
||||||
|
DIST nxml-gentoo-schemas-20160125.tar.xz 11920 SHA256 2db910f6391663953838bf4acee56b4f28a03abf56089cba0c0f7ea8844cfe4a SHA512 bf1aabc2275e6a4ff9a736385b8cb97ded63ac44a43608991012ea818e4f9e908e451b781f15d32a8dc744e73cadf032637e44ad93a08c6fcad2912c5d755789 WHIRLPOOL 09b6580f2af817db6db6023c901f4f7f50daa1bad228e0e2c619d3a4b99f08d5c717de514ee99beeb26266c631e596e3e1fa985b6b787ec8641fa44035b737b2
|
||||||
|
@ -0,0 +1,26 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit elisp
|
||||||
|
|
||||||
|
DESCRIPTION="Extension for nxml-mode with Gentoo-specific schemas"
|
||||||
|
HOMEPAGE="https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/"
|
||||||
|
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="HPND"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
|
||||||
|
|
||||||
|
SITEFILE="60${PN}-gentoo.el"
|
||||||
|
|
||||||
|
src_compile() { :; }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto "${SITEETC}/${PN}"
|
||||||
|
doins schemas.xml *.rnc
|
||||||
|
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||||
|
dodoc DONATING
|
||||||
|
}
|
@ -1 +1 @@
|
|||||||
DIST blogc-0.7.1.tar.xz 263028 SHA256 b546e583fbeb064f5f4089f83a716dfc259be3bdb24aab1c04cdabd922c2908c SHA512 428e1467c34b4066171229d91505e66ed711cf3b0fddc6e4d28dc2fa92b4811e16d5a6fbaf31908f7d75871a00ba37464e00272a8e8cae9be570ad0cddb9adc5 WHIRLPOOL d3e80b3f4daec5f9048ca2e028feb63525a695d70050cfa6953e47c24947ba28603bab01457e0983034c9bee0b06a33b64d60238461de62c81ffd3b944381b7a
|
DIST blogc-0.7.2.tar.xz 262996 SHA256 1d271eb9f3ad07bd847bebb3ca32687e9c896e669411178c628d8d735df58480 SHA512 a7ac5ae78789d977f1fae7c0fb0f3eee2d882cd672e7f801ebf52729f5b76cabddbaf0ec9698ee29c369fa3bb56b25bd2edeb07047af7b4ef8848c41647c02ba WHIRLPOOL f7ad9f3028d59e095309a93badfbcc30be2555304b2db4e05178b9f414b1f4800b9ab5ad5ed882fed2267d04a49afaa8c475a9585625734fa00564095d5e463d
|
||||||
|
@ -0,0 +1,116 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit autotools eutils flag-o-matic systemd toolchain-funcs user
|
||||||
|
|
||||||
|
DESCRIPTION="A persistent caching system, key-value and data structures database"
|
||||||
|
HOMEPAGE="http://redis.io/"
|
||||||
|
SRC_URI="http://download.redis.io/releases/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x86-solaris"
|
||||||
|
IUSE="+jemalloc tcmalloc test"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-lang/lua-5.1:*
|
||||||
|
tcmalloc? ( dev-util/google-perftools )
|
||||||
|
jemalloc? ( >=dev-libs/jemalloc-3.2 )"
|
||||||
|
DEPEND="virtual/pkgconfig
|
||||||
|
>=sys-devel/autoconf-2.63
|
||||||
|
test? ( dev-lang/tcl:0= )
|
||||||
|
${RDEPEND}"
|
||||||
|
REQUIRED_USE="?? ( tcmalloc jemalloc )"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-${PV/_/-}"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
enewgroup redis 75
|
||||||
|
enewuser redis 75 -1 /var/lib/redis redis
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
epatch "${FILESDIR}"/${PN}-2.8.3-shared.patch
|
||||||
|
epatch "${FILESDIR}"/${PN}-2.8.17-config.patch
|
||||||
|
epatch "${FILESDIR}"/${PN}-3.0.0-sharedlua.patch
|
||||||
|
|
||||||
|
# Copy lua modules into build dir
|
||||||
|
cp "${S}"/deps/lua/src/{fpconv,lua_bit,lua_cjson,lua_cmsgpack,lua_struct,strbuf}.c "${S}"/src || die
|
||||||
|
cp "${S}"/deps/lua/src/{fpconv,strbuf}.h "${S}"/src || die
|
||||||
|
# Append cflag for lua_cjson
|
||||||
|
# https://github.com/antirez/redis/commit/4fdcd213#diff-3ba529ae517f6b57803af0502f52a40bL61
|
||||||
|
append-cflags "-DENABLE_CJSON_GLOBAL"
|
||||||
|
|
||||||
|
# now we will rewrite present Makefiles
|
||||||
|
local makefiles=""
|
||||||
|
for MKF in $(find -name 'Makefile' | cut -b 3-); do
|
||||||
|
mv "${MKF}" "${MKF}.in"
|
||||||
|
sed -i -e 's:$(CC):@CC@:g' \
|
||||||
|
-e 's:$(CFLAGS):@AM_CFLAGS@:g' \
|
||||||
|
-e 's: $(DEBUG)::g' \
|
||||||
|
-e 's:$(OBJARCH)::g' \
|
||||||
|
-e 's:ARCH:TARCH:g' \
|
||||||
|
-e '/^CCOPT=/s:$: $(LDFLAGS):g' \
|
||||||
|
"${MKF}.in" \
|
||||||
|
|| die "Sed failed for ${MKF}"
|
||||||
|
makefiles+=" ${MKF}"
|
||||||
|
done
|
||||||
|
# autodetection of compiler and settings; generates the modified Makefiles
|
||||||
|
cp "${FILESDIR}"/configure.ac-2.2 configure.ac
|
||||||
|
sed -i -e "s:AC_CONFIG_FILES(\[Makefile\]):AC_CONFIG_FILES([${makefiles}]):g" \
|
||||||
|
configure.ac || die "Sed failed for configure.ac"
|
||||||
|
eautoconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
econf
|
||||||
|
|
||||||
|
# Linenoise can't be built with -std=c99, see https://bugs.gentoo.org/451164
|
||||||
|
# also, don't define ANSI/c99 for lua twice
|
||||||
|
sed -i -e "s:-std=c99::g" deps/linenoise/Makefile deps/Makefile || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
tc-export CC AR RANLIB
|
||||||
|
|
||||||
|
local myconf=""
|
||||||
|
|
||||||
|
if use tcmalloc ; then
|
||||||
|
myconf="${myconf} USE_TCMALLOC=yes"
|
||||||
|
elif use jemalloc ; then
|
||||||
|
myconf="${myconf} JEMALLOC_SHARED=yes"
|
||||||
|
else
|
||||||
|
myconf="${myconf} MALLOC=yes"
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake ${myconf} V=1 CC="${CC}" AR="${AR} rcu" RANLIB="${RANLIB}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /etc/
|
||||||
|
doins redis.conf sentinel.conf
|
||||||
|
use prefix || fowners redis:redis /etc/{redis,sentinel}.conf
|
||||||
|
fperms 0644 /etc/{redis,sentinel}.conf
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}/redis.confd" redis
|
||||||
|
newinitd "${FILESDIR}/redis.initd-4" redis
|
||||||
|
|
||||||
|
systemd_newunit "${FILESDIR}/redis.service-2" redis.service
|
||||||
|
systemd_newtmpfilesd "${FILESDIR}/redis.tmpfiles" redis.conf
|
||||||
|
|
||||||
|
dodoc 00-RELEASENOTES BUGS CONTRIBUTING MANIFESTO README
|
||||||
|
|
||||||
|
dobin src/redis-cli
|
||||||
|
dosbin src/redis-benchmark src/redis-server src/redis-check-aof src/redis-check-dump
|
||||||
|
fperms 0750 /usr/sbin/redis-benchmark
|
||||||
|
dosym /usr/sbin/redis-server /usr/sbin/redis-sentinel
|
||||||
|
|
||||||
|
if use prefix; then
|
||||||
|
diropts -m0750
|
||||||
|
else
|
||||||
|
diropts -m0750 -o redis -g redis
|
||||||
|
fi
|
||||||
|
keepdir /var/{log,lib}/redis
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST godep-29.tar.gz 51852 SHA256 ca896c220f2995a50a5d9e63df929fa393c3cd1de9722210b5ef3684981bed2a SHA512 37fcfdbbba62cc942b077551953f45fda495b4db1ee5bafec69e4b3cc63c612785d3e97e8ff073825a532a74889c40b34e99cd592285ad255f64ccd3f8b76eff WHIRLPOOL 39f31d7562e3d8b3748d8958e1105578bbd8d799008d15aa6145eb71e4720985e7e71e0d927b32ba4e20195e2257b11a34748c7652454d1fae2d2df662beb146
|
DIST godep-29.tar.gz 51852 SHA256 ca896c220f2995a50a5d9e63df929fa393c3cd1de9722210b5ef3684981bed2a SHA512 37fcfdbbba62cc942b077551953f45fda495b4db1ee5bafec69e4b3cc63c612785d3e97e8ff073825a532a74889c40b34e99cd592285ad255f64ccd3f8b76eff WHIRLPOOL 39f31d7562e3d8b3748d8958e1105578bbd8d799008d15aa6145eb71e4720985e7e71e0d927b32ba4e20195e2257b11a34748c7652454d1fae2d2df662beb146
|
||||||
DIST godep-49.tar.gz 69944 SHA256 f1b498f585fbc420df8cb7a784edeea2c3993341a9501443de521c292ba67829 SHA512 d934a96a3ed6e69c8a3fdaccaa4f46df33b1e9df5c018c6dc7d22e992c1971d83029edd6172aad2116910c233495022007bcc24e9a30e8c517b2c20bd3d8d457 WHIRLPOOL faef37fa87f47e523ad5467a62490ccbfda98eded3ab6eea370dac416ac88117cf8d759637f8813f7a4c9cdffe873a949ae992c8e65b41f0d8c782293b557ec0
|
DIST godep-49.tar.gz 69944 SHA256 f1b498f585fbc420df8cb7a784edeea2c3993341a9501443de521c292ba67829 SHA512 d934a96a3ed6e69c8a3fdaccaa4f46df33b1e9df5c018c6dc7d22e992c1971d83029edd6172aad2116910c233495022007bcc24e9a30e8c517b2c20bd3d8d457 WHIRLPOOL faef37fa87f47e523ad5467a62490ccbfda98eded3ab6eea370dac416ac88117cf8d759637f8813f7a4c9cdffe873a949ae992c8e65b41f0d8c782293b557ec0
|
||||||
DIST godep-50.tar.gz 70100 SHA256 e474e663e9d696445129201e3d3598a724de9a673ce3ad6652af75a93da2aeed SHA512 b3c114885d7de362c8a3fa3a65f609f37c8610eeb3d9807628f70d49b5b813770a5445c4048bd749df635d9526e5136abcbd2c1d4bd415fd97e86d6599b98438 WHIRLPOOL d4b4e0e2dc3f9ecfd2a1f25cdb56b156b601fc5393527695655769ccb29fa2a45a104b09f95a182df7587e61a5311c1966e5f73ed9bab5cfb891a46fddf35c08
|
DIST godep-50.tar.gz 70100 SHA256 e474e663e9d696445129201e3d3598a724de9a673ce3ad6652af75a93da2aeed SHA512 b3c114885d7de362c8a3fa3a65f609f37c8610eeb3d9807628f70d49b5b813770a5445c4048bd749df635d9526e5136abcbd2c1d4bd415fd97e86d6599b98438 WHIRLPOOL d4b4e0e2dc3f9ecfd2a1f25cdb56b156b601fc5393527695655769ccb29fa2a45a104b09f95a182df7587e61a5311c1966e5f73ed9bab5cfb891a46fddf35c08
|
||||||
|
DIST godep-51.tar.gz 70357 SHA256 7829d6ed805df5ab3b35d74685e2d471869b66cf4e4e408dabf098d2bfaafebe SHA512 0d2500b19ec804c626b16407df3a925d7307b667a90475e0aad26b2b511e1d24e333bc03341aa62879d6538b48d5a12173341bbe1fcd6fbe1116909d21c4f3d5 WHIRLPOOL 5e0a7db6431a15b2c31e405748f2feb86bd169677bd8710dc1f1a35b19fa807719433d0201283e470bdec49dc3c44e4c11b585f623a27b1f965d10ff38110073
|
||||||
|
@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
EGO_PN=github.com/tools/godep
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
inherit golang-vcs
|
||||||
|
else
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
EGIT_COMMIT=v${PV}
|
||||||
|
SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||||
|
inherit golang-vcs-snapshot
|
||||||
|
fi
|
||||||
|
inherit golang-build
|
||||||
|
|
||||||
|
DESCRIPTION="dependency tool for go"
|
||||||
|
HOMEPAGE="https://github.com/tools/godep"
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin godep
|
||||||
|
dodoc src/${EGO_PN}/*.md
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST ekopath-2015-12-13-installer.run 57231316 SHA256 85a3fc7df59373bfef32bf9388fd77c19d7c780dc5e9e52e1e8664f0139a9ac6 SHA512 9454f263c921d26f521e374eb2f346f1e257bf58daf2ce5e54ce1a2cced7291bd9b5ece08cd4da441498f66bcd6a01a45309d4463fe65ea5d094b21612a8d3f8 WHIRLPOOL 3157ed63da3d87912163af2e8927a332640b2682289234b25b5f7b75a698490dc2cf8e0d5f51d82eb0b072654f15040c6b94f94e3cf7a428b793a575d6f71ed0
|
DIST ekopath-2015-12-13-installer.run 57231316 SHA256 85a3fc7df59373bfef32bf9388fd77c19d7c780dc5e9e52e1e8664f0139a9ac6 SHA512 9454f263c921d26f521e374eb2f346f1e257bf58daf2ce5e54ce1a2cced7291bd9b5ece08cd4da441498f66bcd6a01a45309d4463fe65ea5d094b21612a8d3f8 WHIRLPOOL 3157ed63da3d87912163af2e8927a332640b2682289234b25b5f7b75a698490dc2cf8e0d5f51d82eb0b072654f15040c6b94f94e3cf7a428b793a575d6f71ed0
|
||||||
DIST ekopath-2015-12-31-installer.run 57236877 SHA256 f8e5a2910ac001ace7d42254553e27f79b62eb6650d89778eced3ff483854917 SHA512 d191ce829c1c285c848c58f7bca194df72975d0d0685cf70c324831ca9ce67729dbf9fa46f36b4e17cc726fb8144739608fa825d4e2dd447b40dc0b1461f9f9b WHIRLPOOL 7988f8c93522aa38ec18c69979789fda1f64ab647d712da02260961a98e7ee75d90525c76947e6f32c073f289af419154d58072e5edac5093fdeaee7489c096c
|
DIST ekopath-2015-12-31-installer.run 57236877 SHA256 f8e5a2910ac001ace7d42254553e27f79b62eb6650d89778eced3ff483854917 SHA512 d191ce829c1c285c848c58f7bca194df72975d0d0685cf70c324831ca9ce67729dbf9fa46f36b4e17cc726fb8144739608fa825d4e2dd447b40dc0b1461f9f9b WHIRLPOOL 7988f8c93522aa38ec18c69979789fda1f64ab647d712da02260961a98e7ee75d90525c76947e6f32c073f289af419154d58072e5edac5093fdeaee7489c096c
|
||||||
|
DIST ekopath-2016-01-24-installer.run 57266129 SHA256 3ea7471dc29ccfd89b7a7cee788243cd94f0b86cbe4345f7576a4444119b1122 SHA512 514e1a317822ca8edf2bfe2f2d99928717876731fbb3949165ded97fe7ed99acf01eb27f862ba9c84e8a3fd4f0c46aa31734925847351ad0b74a4d0bde8c4240 WHIRLPOOL a9ca485f5196563fd5fe449c3ab745c162492eff6c51b560234338ab0aa96b3128fd44e401eb28e50c47425315447c1b8f2f9a80bb9ce59fdac21232c6262f8d
|
||||||
|
@ -0,0 +1,74 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit versionator multilib pax-utils
|
||||||
|
|
||||||
|
MY_PV=$(get_version_component_range 1-3)
|
||||||
|
DATE=$(get_version_component_range 4)
|
||||||
|
DATE=${DATE#p}
|
||||||
|
DATE=${DATE:0:4}-${DATE:4:2}-${DATE:6}
|
||||||
|
INSTALLER=${PN}-${DATE}-installer.run
|
||||||
|
|
||||||
|
DESCRIPTION="PathScale EKOPath Compiler Suite"
|
||||||
|
HOMEPAGE="http://www.pathscale.com/ekopath-compiler-suite"
|
||||||
|
SRC_URI="http://c591116.r16.cf2.rackcdn.com/${PN}/nightly/Linux/${INSTALLER}"
|
||||||
|
|
||||||
|
LICENSE="all-rights-reserved"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="!!app-arch/rpm"
|
||||||
|
RDEPEND=""
|
||||||
|
|
||||||
|
RESTRICT="bindist mirror"
|
||||||
|
|
||||||
|
QA_PREBUILT="
|
||||||
|
opt/${PN}/lib/${MY_PV}/x8664/*
|
||||||
|
opt/${PN}/bin/*"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
cp "${DISTDIR}/${INSTALLER}" "${S}/" || die
|
||||||
|
chmod +x "${S}/${INSTALLER}" || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cat > 99${PN} <<-EOF || die
|
||||||
|
PATH=${EROOT%/}/opt/${PN}/bin
|
||||||
|
ROOTPATH=${EROOT%/}/opt/${PN}/bin
|
||||||
|
LDPATH=${EROOT%/}/opt/${PN}/lib:${EROOT%/}/opt/${PN}/lib/${MY_PV}/x8664/64
|
||||||
|
MANPATH=${EROOT%/}/opt/${PN}/docs/man
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# EI_PAX marking is obsolete and PT_PAX breaks the binary.
|
||||||
|
# We must use XT_PAX to run the installer.
|
||||||
|
if [[ ${PAX_MARKINGS} == "XT" ]]; then
|
||||||
|
pax-mark m "${INSTALLER}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
./"${INSTALLER}" \
|
||||||
|
--prefix "${ED%/}/opt/${PN}" \
|
||||||
|
--mode unattended || die
|
||||||
|
|
||||||
|
if [[ ! -d ${ED%/}/opt/${PN}/lib/${MY_PV} ]]; then
|
||||||
|
local guess
|
||||||
|
cd "${ED%/}/opt/${PN}/lib" && guess=( * )
|
||||||
|
|
||||||
|
if [[ ${guess[@]} ]]; then
|
||||||
|
die "Incorrect release version in PV, guessing it should be: ${guess[*]}"
|
||||||
|
else
|
||||||
|
die "No libdir installed"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
[[ -x ${ED%}/opt/${PN}/bin/pathcc ]] || die "No pathcc executable was installed, your hardware is unsupported most likely"
|
||||||
|
|
||||||
|
rm -r "${ED}/opt/${PN}"/uninstall* || die
|
||||||
|
doenvd 99${PN}
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PHP_EXT_NAME="apc"
|
||||||
|
PHP_EXT_INI="yes"
|
||||||
|
PHP_EXT_ZENDEXT="no"
|
||||||
|
DOCS="README.md"
|
||||||
|
|
||||||
|
USE_PHP="php7-0"
|
||||||
|
|
||||||
|
inherit php-ext-pecl-r2
|
||||||
|
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
DESCRIPTION="Provides APC backwards compatibility functions via APCu"
|
||||||
|
LICENSE="PHP-3.01"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="dev-php/pecl-apcu[php_targets_php7-0]"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# Refine function to rename the output ini file for this extension
|
||||||
|
# to load in the correct order. Bug 572864
|
||||||
|
php-ext-source-r2_buildinilist() {
|
||||||
|
# Work out the list of <ext>.ini files to edit/add to
|
||||||
|
if [[ -z "${PHPSAPILIST}" ]] ; then
|
||||||
|
PHPSAPILIST="apache2 cli cgi fpm embed phpdbg"
|
||||||
|
fi
|
||||||
|
|
||||||
|
PHPINIFILELIST=""
|
||||||
|
local x
|
||||||
|
for x in ${PHPSAPILIST} ; do
|
||||||
|
if [[ -f "${EPREFIX}/etc/php/${x}-${1}/php.ini" ]] ; then
|
||||||
|
PHPINIFILELIST="${PHPINIFILELIST} etc/php/${x}-${1}/ext/bc_apcu.ini"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
PHPFULLINIFILELIST="${PHPFULLINIFILELIST} ${PHPINIFILELIST}"
|
||||||
|
}
|
||||||
|
|
||||||
|
php-ext-pecl-r2_src_install
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST celery-3.1.17.tar.gz 1297008 SHA256 cfe2b653268bd586e2d08a75e886f7be3be55ba372f72e2f5747aeb76c470362 SHA512 f45f92161c134f528719768ad863df6b49fa69e022b47ea801e590de8579c24c6a5ec9dd88f712e180ed7d23f4510cecf4f17a959c3338d4bad79f8d7d202453 WHIRLPOOL c0f4ddab40eab2afe579c88bc9e47d46a650a73212abb7cb1d343d7ba72c1d96913c1c04a6e9920789bd6f9bf6907c09e6326aa08e6ba3cf68545e44432b95de
|
DIST celery-3.1.17.tar.gz 1297008 SHA256 cfe2b653268bd586e2d08a75e886f7be3be55ba372f72e2f5747aeb76c470362 SHA512 f45f92161c134f528719768ad863df6b49fa69e022b47ea801e590de8579c24c6a5ec9dd88f712e180ed7d23f4510cecf4f17a959c3338d4bad79f8d7d202453 WHIRLPOOL c0f4ddab40eab2afe579c88bc9e47d46a650a73212abb7cb1d343d7ba72c1d96913c1c04a6e9920789bd6f9bf6907c09e6326aa08e6ba3cf68545e44432b95de
|
||||||
DIST celery-3.1.18.tar.gz 1298756 SHA256 0924f94070c6fc57d408b169848c5b38832668fffe060e48b4803fb23e0e3eaf SHA512 219291a64c72a0c95a2b184903e491d5b6b1396b4b519d54503bb059af305c2f118865b71510d5685b8f5946135596c9d80d6ca10162a938ed90baaf4c3c48c3 WHIRLPOOL 0d27eda95fea5b6235afd7d5f90de249eec6d7c58a7563afb0cc73d29b84cb6903eced4b9515fe574206111fc4a304c5f24d3c476b4315416b441f324f2ebfa5
|
DIST celery-3.1.18.tar.gz 1298756 SHA256 0924f94070c6fc57d408b169848c5b38832668fffe060e48b4803fb23e0e3eaf SHA512 219291a64c72a0c95a2b184903e491d5b6b1396b4b519d54503bb059af305c2f118865b71510d5685b8f5946135596c9d80d6ca10162a938ed90baaf4c3c48c3 WHIRLPOOL 0d27eda95fea5b6235afd7d5f90de249eec6d7c58a7563afb0cc73d29b84cb6903eced4b9515fe574206111fc4a304c5f24d3c476b4315416b441f324f2ebfa5
|
||||||
DIST celery-3.1.19.tar.gz 1302241 SHA256 bd6a21290c822ecf78947a7dbc8b2270d88a5fa08a7a2bfcd908bb3d5ed66b71 SHA512 47aef118fb4178a4874608a8e9370d6f81d5594aba6d25e679a78bd530b57f0566a27db4fdb50786a237b1747dfc2b662462f107230d0653da28ac1d4b64b703 WHIRLPOOL 37076e3d414cdd74e4b2d2145189a11380da58f77fe1acd44d190f8de1744b909512d895c00ec2c0252c23d9300b7b011f06b388a45526d9573fa00bc71986d7
|
DIST celery-3.1.19.tar.gz 1302241 SHA256 bd6a21290c822ecf78947a7dbc8b2270d88a5fa08a7a2bfcd908bb3d5ed66b71 SHA512 47aef118fb4178a4874608a8e9370d6f81d5594aba6d25e679a78bd530b57f0566a27db4fdb50786a237b1747dfc2b662462f107230d0653da28ac1d4b64b703 WHIRLPOOL 37076e3d414cdd74e4b2d2145189a11380da58f77fe1acd44d190f8de1744b909512d895c00ec2c0252c23d9300b7b011f06b388a45526d9573fa00bc71986d7
|
||||||
|
DIST celery-3.1.20.tar.gz 1308238 SHA256 d02f191c3d92a851c9d2028e91baf2a0f2734cd3b659743d3624011d1ef7a6d5 SHA512 70fda5336e36bd8a15ac8a7488dd1b86a73256a0290c76c8c04a199b044922fb284129f51d0d1bcea6a0a3503081c89851632e4d44f68625181a61dce373f7db WHIRLPOOL a8f07e8189a14dd7ad9556c4946bf0cc48443ad7145d5a5714a6a726bbcb6af8e1dddf45d9bf2f4ccdc5b50addfff735c7c51a271b95593243fa502824804bbd
|
||||||
|
@ -0,0 +1,109 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{3,4} )
|
||||||
|
|
||||||
|
inherit distutils-r1 bash-completion-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Asynchronous task queue/job queue based on distributed message passing"
|
||||||
|
HOMEPAGE="http://celeryproject.org/ https://pypi.python.org/pypi/celery"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
# There are a number of other optional 'extras' which overlap with those of kombu, however
|
||||||
|
# there has been no apparent expression of interest or demand by users for them. See requires.txt
|
||||||
|
IUSE="doc examples redis sqs test yaml zeromq"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
<dev-python/kombu-3.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/kombu-3.0.33[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/anyjson-0.3.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/billiard-3.3.0.22[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/billiard-3.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
dev-python/greenlet[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
test? ( ${RDEPEND}
|
||||||
|
dev-python/gevent[$(python_gen_usedep python2_7)]
|
||||||
|
>=dev-python/mock-1.0.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/nose-cover3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pymongo-2.6.2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/redis-py[${PYTHON_USEDEP}]
|
||||||
|
>=dev-db/redis-2.8.0
|
||||||
|
>=dev-python/boto-2.13.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyzmq-13.1.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyyaml-3.10[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
doc? (
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/celery-docs.patch
|
||||||
|
"${FILESDIR}"/${P}-test.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
# testsuite needs it own source
|
||||||
|
DISTUTILS_IN_SOURCE_BUILD=1
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
if use doc; then
|
||||||
|
mkdir docs/.build || die
|
||||||
|
emake -C docs html
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
nosetests --verbose || die "Tests failed with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
# Main celeryd init.d and conf.d
|
||||||
|
newinitd "${FILESDIR}/celery.initd-r2" celery
|
||||||
|
newconfd "${FILESDIR}/celery.confd-r2" celery
|
||||||
|
|
||||||
|
use examples && local EXAMPLES=( examples/. )
|
||||||
|
|
||||||
|
use doc && local HTML_DOCS=( docs/.build/html/. )
|
||||||
|
|
||||||
|
newbashcomp extra/bash-completion/celery.bash ${PN}
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "zookeper support" dev-python/kazoo
|
||||||
|
optfeature "msgpack support" dev-python/msgpack
|
||||||
|
#optfeature "rabbitmq support" dev-python/librabbitmq
|
||||||
|
#optfeature "slmq support" dev-python/softlayer_messaging
|
||||||
|
optfeature "eventlet support" dev-python/eventlet
|
||||||
|
#optfeature "couchbase support" dev-python/couchbase
|
||||||
|
optfeature "redis support" dev-db/redis dev-python/redis-py
|
||||||
|
optfeature "couchdb support" dev-db/couchdb dev-python/couchdb-python
|
||||||
|
optfeature "gevent support" dev-python/gevent
|
||||||
|
optfeature "auth support" dev-python/pyopenssl
|
||||||
|
optfeature "pyro support" dev-python/pyro:4
|
||||||
|
optfeature "yaml support" dev-python/pyyaml
|
||||||
|
optfeature "beanstalk support" dev-python/beanstalkc
|
||||||
|
optfeature "memcache support" dev-python/pylibmc
|
||||||
|
#optfeature "threads support" dev-python/threadpool
|
||||||
|
optfeature "mongodb support" dev-python/pymongo
|
||||||
|
optfeature "zeromq support" dev-python/pyzmq
|
||||||
|
optfeature "sqlalchemy support" dev-python/sqlalchemy
|
||||||
|
optfeature "sqs support" dev-python/boto
|
||||||
|
#optfeature "cassandra support" dev-python/pycassa
|
||||||
|
}
|
@ -1,4 +1,2 @@
|
|||||||
DIST pycountry-1.12.tar.gz 18606424 SHA256 dce2893ceac5d5264e7d0b6bf9f0421fb9ff87b7459d1c65a518fbcd826245e9 SHA512 6a9bfb47ce56098bc8f536afc5e671cd65304213df1e3c9754bcaac8e3cdb8293c75ec59649be5df8b974f36be333ed35fe4cd4d274baa183cfd6455d9241702 WHIRLPOOL 531fcfa4caeec4eda11c657e7a374d2668808ee9b94cb5192603049824fbd12a6999682a321d4c577f836acd9106f667f85312ec29e9d78fca74b7b93c297356
|
|
||||||
DIST pycountry-1.13.tar.gz 5007397 SHA256 3b72f2c334e702d463205e510d8d9b3fc8364a2f647074f543a1da2602730918 SHA512 1b32e87630efa8d3b6fbd4f60ce837c4df451fb097402b658d63ba6589b5761c719a80232142d557a7220ad549fcf4cb686b12ab3b3b5f2be51253548d0169ac WHIRLPOOL bc5818ce45c5bb23bb37a4e375acdfcc9419aa602940985a519a1941f28655156d46a0f17b2ace87e92f8f62af6fdf81b89817c69f2f5a4e12d1a026cbb9eefd
|
|
||||||
DIST pycountry-1.14.tar.gz 5009511 SHA256 e5012671e4c1e0280574fff5bce50d892e8b56dea43e867661088c1bf91c2f0c SHA512 93196bed14b616fd696ff993da8b49254c5fd1f9af37f5519e64b27d7e58cee25ace8fcfbe0328fc6e03f1ad5f3be70c390f467643ad9b419b3ec65e03c7adbf WHIRLPOOL 6231af9dc9f63d4b22b10ca0bbbded9a9e3e2d5728825dc84ea86eeee3e8d1c39b7c3331187cbff53cd572cfeb1fa3639c8452d97a6cddc317b06bbeac5e431d
|
|
||||||
DIST pycountry-1.18.tar.gz 5020542 SHA256 23bb173d0281e98eb7b432d8dc6819e5fe6573e505454d228558f61e1f5ae1e6 SHA512 eab2bf1711f514b3842aee6004a904573e974b13757cf3c1a388eb8a292d92e3bdb801265a1c146df5fd510bd830297ddfcc64e41c0ed17c385335837f6721dc WHIRLPOOL c697250bbe13e9b471e0b19857d4afcfdaaf85410a07131727e75c23ac5d7f214682e993f1d799c26417e79ae78b83400e0e3401d2bcbb4afae5d40bf9456346
|
DIST pycountry-1.18.tar.gz 5020542 SHA256 23bb173d0281e98eb7b432d8dc6819e5fe6573e505454d228558f61e1f5ae1e6 SHA512 eab2bf1711f514b3842aee6004a904573e974b13757cf3c1a388eb8a292d92e3bdb801265a1c146df5fd510bd830297ddfcc64e41c0ed17c385335837f6721dc WHIRLPOOL c697250bbe13e9b471e0b19857d4afcfdaaf85410a07131727e75c23ac5d7f214682e993f1d799c26417e79ae78b83400e0e3401d2bcbb4afae5d40bf9456346
|
||||||
|
DIST pycountry-1.19.tar.gz 5022557 SHA256 132ecf3343e4bde8fd0c48a4345a4a8a6144fbdcdaf190a43a7e34c99e91be4d SHA512 850d32504c984d1e2959a909fc367da402b1d1adf4f19914fbbf61784fe30487c5ea92e5579ecfd80bff040cffabc9335d55589df32f54af0de032e042a49c77 WHIRLPOOL c21da359d57573e983db9e9d6c5a556e15c4db1436624b6645af24946338d1728beac8ab7c1cc4e66e8a3571f60c1d5e7b398151a322670c1ad7caa21d6ab19f
|
||||||
|
@ -1,31 +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 pypy3 )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="ISO country, subdivision, language, currency and script definitions and their translations"
|
|
||||||
HOMEPAGE="https://pypi.python.org/pypi/pycountry"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ia64 ~sparc ~ppc ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# https://bitbucket.org/techtonik/pycountry/issue/8/test_locales-pycountry-015-pypy
|
|
||||||
pushd "${BUILD_DIR}"/lib > /dev/null
|
|
||||||
if [[ "${EPYTHON}" == pypy || "${EPYTHON}" == pypy3 ]]; then
|
|
||||||
sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die
|
|
||||||
fi
|
|
||||||
py.test ${PN}/tests/test_general.py || die
|
|
||||||
popd > /dev/null
|
|
||||||
}
|
|
@ -1,31 +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 pypy3 )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="ISO country, subdivision, language, currency and script definitions and their translations"
|
|
||||||
HOMEPAGE="https://pypi.python.org/pypi/pycountry"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ia64 ~sparc ~ppc ~x86"
|
|
||||||
IUSE="test"
|
|
||||||
|
|
||||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# https://bitbucket.org/techtonik/pycountry/issue/8/test_locales-pycountry-015-pypy
|
|
||||||
pushd "${BUILD_DIR}"/lib > /dev/null
|
|
||||||
if [[ "${EPYTHON}" == pypy || "${EPYTHON}" == pypy3 ]]; then
|
|
||||||
sed -e 's:test_locales:_&:' -i pycountry/tests/test_general.py || die
|
|
||||||
fi
|
|
||||||
py.test ${PN}/tests/test_general.py || die
|
|
||||||
popd > /dev/null
|
|
||||||
}
|
|
@ -1,3 +1,4 @@
|
|||||||
DIST pytest-catchlog-1.1.tar.gz 6540 SHA256 7ad18d77b93d70c4ea30ed4593b164be104efc50a9112a5733304a71f2cb1119 SHA512 7a272874f9fb4231a7b3a42742b752f0f9750fb861abfed0411bf8edae5ab3e67a0a33fe166e485d530a1ecf1834d131d3affcfc43a735fc5d28018ba155129a WHIRLPOOL cf04096c01176fc077c45ca26b5002e10cdc145e3d3ea83cc7594eb2cbaa3a7636ba661253b1a8e47e316407e672c5ee424df10d8026bc6adb2c04499d386d3f
|
DIST pytest-catchlog-1.1.tar.gz 6540 SHA256 7ad18d77b93d70c4ea30ed4593b164be104efc50a9112a5733304a71f2cb1119 SHA512 7a272874f9fb4231a7b3a42742b752f0f9750fb861abfed0411bf8edae5ab3e67a0a33fe166e485d530a1ecf1834d131d3affcfc43a735fc5d28018ba155129a WHIRLPOOL cf04096c01176fc077c45ca26b5002e10cdc145e3d3ea83cc7594eb2cbaa3a7636ba661253b1a8e47e316407e672c5ee424df10d8026bc6adb2c04499d386d3f
|
||||||
DIST pytest-catchlog-1.2.0.zip 13620 SHA256 e419a4efc706c948fbac2c5e8a35bb6f16edb3bb0643b86ba28b6bc69e792d32 SHA512 9ab42f5bcec14ab452c1466a7a148270e25c2bda722739101a48802ec61b7cef5099605330c29e46b68d2e7c7452d93b6ca1402e80d083f8e2deec02d38e743a WHIRLPOOL 77a8c24e11ca4da9e42b212b7b022c27f2166a8e559a94f0744dc81aaafd7d3ccfd20b2413cf061bc1c2ea85e540c8a6c7e77a7aff0d1d68587c80ed97e94568
|
DIST pytest-catchlog-1.2.0.zip 13620 SHA256 e419a4efc706c948fbac2c5e8a35bb6f16edb3bb0643b86ba28b6bc69e792d32 SHA512 9ab42f5bcec14ab452c1466a7a148270e25c2bda722739101a48802ec61b7cef5099605330c29e46b68d2e7c7452d93b6ca1402e80d083f8e2deec02d38e743a WHIRLPOOL 77a8c24e11ca4da9e42b212b7b022c27f2166a8e559a94f0744dc81aaafd7d3ccfd20b2413cf061bc1c2ea85e540c8a6c7e77a7aff0d1d68587c80ed97e94568
|
||||||
DIST pytest-catchlog-1.2.1.zip 17263 SHA256 9e9ecdeff56666f8a2fd1bee2f6ca3b1be30f1fcfb17fdf9bbd0e95d53feec83 SHA512 c8589d6050dce214525b19055e1dfa93400d274f5b037177e5545bb9098527b9c4988fb2d1b95f2dc4412b1045ea6dff13ba88553f2f03059560286a8f8712d0 WHIRLPOOL 0b36f5b0c7ca86d8381c3b4fe27d8f757f5d56aa0b2f0da07fe1ad72214e91279014798e7b88b8f76c419b751ae30c652a7cb56270fc8ce31fc6b8418313ce57
|
DIST pytest-catchlog-1.2.1.zip 17263 SHA256 9e9ecdeff56666f8a2fd1bee2f6ca3b1be30f1fcfb17fdf9bbd0e95d53feec83 SHA512 c8589d6050dce214525b19055e1dfa93400d274f5b037177e5545bb9098527b9c4988fb2d1b95f2dc4412b1045ea6dff13ba88553f2f03059560286a8f8712d0 WHIRLPOOL 0b36f5b0c7ca86d8381c3b4fe27d8f757f5d56aa0b2f0da07fe1ad72214e91279014798e7b88b8f76c419b751ae30c652a7cb56270fc8ce31fc6b8418313ce57
|
||||||
|
DIST pytest-catchlog-1.2.2.zip 18028 SHA256 4be15dc5ac1750f83960897f591453040dff044b5966fe24a91c2f7d04ecfcf0 SHA512 bbeeb7213898844a7956712992ddaca1e28c52fc5712339b9730f181a124af5ec90b5460981066638658246da4321840a7583ee14eec7c0482e069e2a824d031 WHIRLPOOL 522f34a6f54f15d1cf1380508517c50f9892553ae8b134c91a399f90c4534762fe88e4b3f7a5608fabf54aee1d53a4eb1e5e5473549bbafe772ba878f4116189
|
||||||
|
@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="py.test plugin to catch log messages, fork of pytest-capturelog"
|
||||||
|
HOMEPAGE="https://pypi.python.org/pypi/pytest-catchlog https://github.com/eisensheng/pytest-catchlog"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="MIT"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-python/py-1.1.1[${PYTHON_USEDEP}]"
|
||||||
|
DEPEND="
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
>=dev-python/pytest-2.7.1[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
PYTEST_PLUGINS=${PN/-/_} py.test -v -v test_pytest_catchlog.py || die
|
||||||
|
}
|
@ -0,0 +1,550 @@
|
|||||||
|
testing/acceptance_test.py | 5 +++++
|
||||||
|
testing/python/collect.py | 3 +++
|
||||||
|
testing/python/fixture.py | 14 ++++++++++++++
|
||||||
|
testing/python/integration.py | 1 +
|
||||||
|
testing/python/metafunc.py | 3 +++
|
||||||
|
testing/test_assertion.py | 5 +++++
|
||||||
|
testing/test_assertrewrite.py | 3 +++
|
||||||
|
testing/test_capture.py | 6 ++++++
|
||||||
|
testing/test_collection.py | 1 +
|
||||||
|
testing/test_config.py | 3 +++
|
||||||
|
testing/test_conftest.py | 3 +++
|
||||||
|
testing/test_helpconfig.py | 1 +
|
||||||
|
testing/test_junitxml.py | 1 +
|
||||||
|
testing/test_mark.py | 1 +
|
||||||
|
testing/test_monkeypatch.py | 1 +
|
||||||
|
testing/test_skipping.py | 3 +++
|
||||||
|
testing/test_terminal.py | 2 ++
|
||||||
|
testing/test_unittest.py | 3 +++
|
||||||
|
18 files changed, 59 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/testing/acceptance_test.py b/testing/acceptance_test.py
|
||||||
|
index b9a3fa3..7875d94 100644
|
||||||
|
--- a/testing/acceptance_test.py
|
||||||
|
+++ b/testing/acceptance_test.py
|
||||||
|
@@ -127,6 +127,7 @@ class TestGeneralUsage:
|
||||||
|
"*ERROR: not found:*%s" %(p2.basename,)
|
||||||
|
])
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_issue486_better_reporting_on_conftest_load_failure(self, testdir):
|
||||||
|
testdir.makepyfile("")
|
||||||
|
testdir.makeconftest("import qwerty")
|
||||||
|
@@ -209,6 +210,8 @@ class TestGeneralUsage:
|
||||||
|
result = testdir.runpython(p)
|
||||||
|
assert not result.ret
|
||||||
|
|
||||||
|
+ # https://github.com/pytest-dev/pytest/issues/1162
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_issue109_sibling_conftests_not_loaded(self, testdir):
|
||||||
|
sub1 = testdir.tmpdir.mkdir("sub1")
|
||||||
|
sub2 = testdir.tmpdir.mkdir("sub2")
|
||||||
|
@@ -350,6 +353,7 @@ class TestGeneralUsage:
|
||||||
|
res = testdir.runpytest(p.basename)
|
||||||
|
assert res.ret == 0
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_unknown_option(self, testdir):
|
||||||
|
result = testdir.runpytest("--qwlkej")
|
||||||
|
result.stderr.fnmatch_lines("""
|
||||||
|
@@ -657,6 +661,7 @@ class TestDurations:
|
||||||
|
])
|
||||||
|
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
class TestDurationWithFixture:
|
||||||
|
source = """
|
||||||
|
import time
|
||||||
|
diff --git a/testing/python/collect.py b/testing/python/collect.py
|
||||||
|
index bebc133..1cf0a80 100644
|
||||||
|
--- a/testing/python/collect.py
|
||||||
|
+++ b/testing/python/collect.py
|
||||||
|
@@ -27,6 +27,7 @@ class TestModule:
|
||||||
|
"*HINT*",
|
||||||
|
])
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_import_prepend_append(self, testdir, monkeypatch):
|
||||||
|
syspath = list(sys.path)
|
||||||
|
monkeypatch.setattr(sys, "path", syspath)
|
||||||
|
@@ -57,6 +58,7 @@ class TestModule:
|
||||||
|
pytest.raises(ImportError, lambda: modcol.obj)
|
||||||
|
|
||||||
|
class TestClass:
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_class_with_init_warning(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
class TestClass1:
|
||||||
|
@@ -659,6 +661,7 @@ class TestConftestCustomization:
|
||||||
|
l = modcol.collect()
|
||||||
|
assert '_hello' not in l
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_setup_only_available_in_subdir(testdir):
|
||||||
|
sub1 = testdir.mkpydir("sub1")
|
||||||
|
sub2 = testdir.mkpydir("sub2")
|
||||||
|
diff --git a/testing/python/fixture.py b/testing/python/fixture.py
|
||||||
|
index 2031764..22e620a 100644
|
||||||
|
--- a/testing/python/fixture.py
|
||||||
|
+++ b/testing/python/fixture.py
|
||||||
|
@@ -83,6 +83,7 @@ class TestFillFixtures:
|
||||||
|
"*1 passed*"
|
||||||
|
])
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_conftest_funcargs_only_available_in_subdir(self, testdir):
|
||||||
|
sub1 = testdir.mkpydir("sub1")
|
||||||
|
sub2 = testdir.mkpydir("sub2")
|
||||||
|
@@ -606,6 +607,7 @@ class TestRequestBasic:
|
||||||
|
reprec = testdir.inline_run("-v")
|
||||||
|
reprec.assertoutcome(passed=3)
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_fixtures_sub_subdir_normalize_sep(self, testdir):
|
||||||
|
# this tests that normalization of nodeids takes place
|
||||||
|
b = testdir.mkdir("tests").mkdir("unit")
|
||||||
|
@@ -953,6 +955,7 @@ class TestFixtureUsages:
|
||||||
|
"*2 passed*"
|
||||||
|
])
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_factory_uses_unknown_funcarg_as_dependency_error(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import pytest
|
||||||
|
@@ -1049,6 +1052,7 @@ class TestFixtureUsages:
|
||||||
|
reprec = testdir.inline_run()
|
||||||
|
reprec.assertoutcome(passed=2)
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_usefixtures_seen_in_showmarkers(self, testdir):
|
||||||
|
result = testdir.runpytest("--markers")
|
||||||
|
result.stdout.fnmatch_lines("""
|
||||||
|
@@ -1157,6 +1161,7 @@ class TestFixtureManagerParseFactories:
|
||||||
|
reprec = testdir.inline_run("-s")
|
||||||
|
reprec.assertoutcome(passed=1)
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_parsefactories_relative_node_ids(self, testdir):
|
||||||
|
# example mostly taken from:
|
||||||
|
# https://mail.python.org/pipermail/pytest-dev/2014-September/002617.html
|
||||||
|
@@ -1305,6 +1310,7 @@ class TestAutouseDiscovery:
|
||||||
|
reprec = testdir.inline_run("-s")
|
||||||
|
reprec.assertoutcome(failed=0, passed=0)
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_autouse_in_conftests(self, testdir):
|
||||||
|
a = testdir.mkdir("a")
|
||||||
|
b = testdir.mkdir("a1")
|
||||||
|
@@ -1890,6 +1896,7 @@ class TestFixtureMarker:
|
||||||
|
l = reprec.getcalls("pytest_runtest_call")[0].item.module.l
|
||||||
|
assert l == [1,1,2,2]
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_module_parametrized_ordering(self, testdir):
|
||||||
|
testdir.makeconftest("""
|
||||||
|
import pytest
|
||||||
|
@@ -1936,6 +1943,7 @@ class TestFixtureMarker:
|
||||||
|
test_mod1.py::test_func1[m2] PASSED
|
||||||
|
""")
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_class_ordering(self, testdir):
|
||||||
|
testdir.makeconftest("""
|
||||||
|
import pytest
|
||||||
|
@@ -1984,6 +1992,7 @@ class TestFixtureMarker:
|
||||||
|
test_class_ordering.py::TestClass::test_3[2-b] PASSED
|
||||||
|
""")
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_parametrize_separated_order_higher_scope_first(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import pytest
|
||||||
|
@@ -2028,6 +2037,7 @@ class TestFixtureMarker:
|
||||||
|
pprint.pprint(list(zip(l, expected)))
|
||||||
|
assert l == expected
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_parametrized_fixture_teardown_order(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import pytest
|
||||||
|
@@ -2065,6 +2075,7 @@ class TestFixtureMarker:
|
||||||
|
""")
|
||||||
|
assert "error" not in result.stdout.str()
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_fixture_finalizer(self, testdir):
|
||||||
|
testdir.makeconftest("""
|
||||||
|
import pytest
|
||||||
|
@@ -2385,6 +2396,7 @@ class TestErrors:
|
||||||
|
"*1 error*",
|
||||||
|
])
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_issue498_fixture_finalizer_failing(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import pytest
|
||||||
|
@@ -2431,6 +2443,7 @@ class TestErrors:
|
||||||
|
"*1 error*",
|
||||||
|
])
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
class TestShowFixtures:
|
||||||
|
def test_funcarg_compat(self, testdir):
|
||||||
|
config = testdir.parseconfigure("--funcargs")
|
||||||
|
@@ -2561,6 +2574,7 @@ class TestShowFixtures:
|
||||||
|
""")
|
||||||
|
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
class TestContextManagerFixtureFuncs:
|
||||||
|
def test_simple(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
diff --git a/testing/python/integration.py b/testing/python/integration.py
|
||||||
|
index 0c436e3..1d0b4ee 100644
|
||||||
|
--- a/testing/python/integration.py
|
||||||
|
+++ b/testing/python/integration.py
|
||||||
|
@@ -202,6 +202,7 @@ class TestMockDecoration:
|
||||||
|
|
||||||
|
|
||||||
|
class TestReRunTests:
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_rerun(self, testdir):
|
||||||
|
testdir.makeconftest("""
|
||||||
|
from _pytest.runner import runtestprotocol
|
||||||
|
diff --git a/testing/python/metafunc.py b/testing/python/metafunc.py
|
||||||
|
index 111ca61..cd2e86d 100644
|
||||||
|
--- a/testing/python/metafunc.py
|
||||||
|
+++ b/testing/python/metafunc.py
|
||||||
|
@@ -475,6 +475,7 @@ class TestMetafunc:
|
||||||
|
reprec = testdir.inline_run()
|
||||||
|
reprec.assertoutcome(passed=2)
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_parametrize_class_scenarios(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
# same as doc/en/example/parametrize scenario example
|
||||||
|
@@ -766,6 +767,7 @@ class TestMetafuncFunctional:
|
||||||
|
"*test_function*advanced*FAILED",
|
||||||
|
])
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_parametrize_without_ids(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import pytest
|
||||||
|
@@ -835,6 +837,7 @@ class TestMetafuncFunctional:
|
||||||
|
reprec = testdir.runpytest()
|
||||||
|
reprec.assert_outcomes(passed=1)
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_generate_tests_only_done_in_subdir(self, testdir):
|
||||||
|
sub1 = testdir.mkpydir("sub1")
|
||||||
|
sub2 = testdir.mkpydir("sub2")
|
||||||
|
diff --git a/testing/test_assertion.py b/testing/test_assertion.py
|
||||||
|
index 914fedd..fb0d0e2 100644
|
||||||
|
--- a/testing/test_assertion.py
|
||||||
|
+++ b/testing/test_assertion.py
|
||||||
|
@@ -120,6 +120,7 @@ class TestAssert_reprcompare:
|
||||||
|
""")
|
||||||
|
]
|
||||||
|
)
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_iterable_full_diff(self, left, right, expected):
|
||||||
|
"""Test the full diff assertion failure explanation.
|
||||||
|
|
||||||
|
@@ -348,6 +349,7 @@ class TestFormatExplanation:
|
||||||
|
assert util.format_explanation(expl) == res
|
||||||
|
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_python25_compile_issue257(testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
def test_rewritten():
|
||||||
|
@@ -559,6 +561,7 @@ def test_warn_missing(testdir):
|
||||||
|
"*WARNING*assert statements are not executed*",
|
||||||
|
])
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_recursion_source_decode(testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
def test_something():
|
||||||
|
@@ -573,6 +576,7 @@ def test_recursion_source_decode(testdir):
|
||||||
|
<Module*>
|
||||||
|
""")
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_AssertionError_message(testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
def test_hello():
|
||||||
|
@@ -587,6 +591,7 @@ def test_AssertionError_message(testdir):
|
||||||
|
""")
|
||||||
|
|
||||||
|
@pytest.mark.skipif(PY3, reason='This bug does not exist on PY3')
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_set_with_unsortable_elements():
|
||||||
|
# issue #718
|
||||||
|
class UnsortableKey(object):
|
||||||
|
diff --git a/testing/test_assertrewrite.py b/testing/test_assertrewrite.py
|
||||||
|
index 544250a..9dad082 100644
|
||||||
|
--- a/testing/test_assertrewrite.py
|
||||||
|
+++ b/testing/test_assertrewrite.py
|
||||||
|
@@ -307,6 +307,7 @@ class TestAssertionRewrite:
|
||||||
|
assert g(**{x : 2})
|
||||||
|
assert getmsg(f, ns) == """assert g(**{'a': 2})"""
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_attribute(self):
|
||||||
|
class X(object):
|
||||||
|
g = 3
|
||||||
|
@@ -343,6 +344,7 @@ class TestAssertionRewrite:
|
||||||
|
assert b < c
|
||||||
|
getmsg(f, must_pass=True)
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_len(self):
|
||||||
|
def f():
|
||||||
|
l = list(range(10))
|
||||||
|
@@ -641,6 +643,7 @@ class TestAssertionRewriteHookDetails(object):
|
||||||
|
|
||||||
|
assert _read_pyc(source, str(pyc)) is None # no error
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_reload_is_same(self, testdir):
|
||||||
|
# A file that will be picked up during collecting.
|
||||||
|
testdir.tmpdir.join("file.py").ensure()
|
||||||
|
diff --git a/testing/test_capture.py b/testing/test_capture.py
|
||||||
|
index 5393335..0d2c238 100644
|
||||||
|
--- a/testing/test_capture.py
|
||||||
|
+++ b/testing/test_capture.py
|
||||||
|
@@ -479,6 +479,8 @@ class TestCaptureFixture:
|
||||||
|
assert 'closed' not in result.stderr.str()
|
||||||
|
|
||||||
|
|
||||||
|
+# https://github.com/pytest-dev/pytest/issues/1162
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_setup_failure_does_not_kill_capturing(testdir):
|
||||||
|
sub1 = testdir.mkpydir("sub1")
|
||||||
|
sub1.join("conftest.py").write(py.code.Source("""
|
||||||
|
@@ -518,6 +520,7 @@ def test_capture_conftest_runtest_setup(testdir):
|
||||||
|
assert 'hello19' not in result.stdout.str()
|
||||||
|
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_capture_badoutput_issue412(testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import os
|
||||||
|
@@ -897,6 +900,7 @@ class TestStdCaptureFD(TestStdCapture):
|
||||||
|
pytestmark = needsosdup
|
||||||
|
captureclass = staticmethod(StdCaptureFD)
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_simple_only_fd(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import os
|
||||||
|
@@ -981,6 +985,7 @@ def test_fdcapture_tmpfile_remains_the_same(tmpfile, use):
|
||||||
|
assert capfile2 == capfile
|
||||||
|
|
||||||
|
@needsosdup
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_close_and_capture_again(testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import os
|
||||||
|
@@ -1001,6 +1006,7 @@ def test_close_and_capture_again(testdir):
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.parametrize('method', ['SysCapture', 'FDCapture'])
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_capturing_and_logging_fundamentals(testdir, method):
|
||||||
|
if method == "StdCaptureFD" and not hasattr(os, 'dup'):
|
||||||
|
pytest.skip("need os.dup")
|
||||||
|
diff --git a/testing/test_collection.py b/testing/test_collection.py
|
||||||
|
index 749c5b7..65370a6 100644
|
||||||
|
--- a/testing/test_collection.py
|
||||||
|
+++ b/testing/test_collection.py
|
||||||
|
@@ -287,6 +287,7 @@ class TestCustomConftests:
|
||||||
|
"*test_x*"
|
||||||
|
])
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_pytest_collect_file_from_sister_dir(self, testdir):
|
||||||
|
sub1 = testdir.mkpydir("sub1")
|
||||||
|
sub2 = testdir.mkpydir("sub2")
|
||||||
|
diff --git a/testing/test_config.py b/testing/test_config.py
|
||||||
|
index d497200..2987072 100644
|
||||||
|
--- a/testing/test_config.py
|
||||||
|
+++ b/testing/test_config.py
|
||||||
|
@@ -47,6 +47,7 @@ class TestParseIni:
|
||||||
|
])
|
||||||
|
|
||||||
|
@pytest.mark.parametrize("name", "setup.cfg tox.ini pytest.ini".split())
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_ini_names(self, testdir, name):
|
||||||
|
testdir.tmpdir.join(name).write(py.std.textwrap.dedent("""
|
||||||
|
[pytest]
|
||||||
|
@@ -55,6 +56,7 @@ class TestParseIni:
|
||||||
|
config = testdir.parseconfig()
|
||||||
|
assert config.getini("minversion") == "1.0"
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_toxini_before_lower_pytestini(self, testdir):
|
||||||
|
sub = testdir.tmpdir.mkdir("sub")
|
||||||
|
sub.join("tox.ini").write(py.std.textwrap.dedent("""
|
||||||
|
@@ -418,6 +420,7 @@ class TestWarning:
|
||||||
|
reprec = testdir.inline_run()
|
||||||
|
reprec.assertoutcome(passed=1)
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_warn_on_test_item_from_request(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import pytest
|
||||||
|
diff --git a/testing/test_conftest.py b/testing/test_conftest.py
|
||||||
|
index a0b77cf..3d07597 100644
|
||||||
|
--- a/testing/test_conftest.py
|
||||||
|
+++ b/testing/test_conftest.py
|
||||||
|
@@ -204,6 +204,7 @@ def test_conftest_import_order(testdir, monkeypatch):
|
||||||
|
assert conftest._getconftestmodules(sub) == [ct1, ct2]
|
||||||
|
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_fixture_dependency(testdir, monkeypatch):
|
||||||
|
ct1 = testdir.makeconftest("")
|
||||||
|
ct1 = testdir.makepyfile("__init__.py")
|
||||||
|
@@ -241,6 +242,7 @@ def test_fixture_dependency(testdir, monkeypatch):
|
||||||
|
result.stdout.fnmatch_lines(["*1 passed*"])
|
||||||
|
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_conftest_found_with_double_dash(testdir):
|
||||||
|
sub = testdir.mkdir("sub")
|
||||||
|
sub.join("conftest.py").write(py.std.textwrap.dedent("""
|
||||||
|
@@ -259,6 +261,7 @@ def test_conftest_found_with_double_dash(testdir):
|
||||||
|
""")
|
||||||
|
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
class TestConftestVisibility:
|
||||||
|
def _setup_tree(self, testdir): # for issue616
|
||||||
|
# example mostly taken from:
|
||||||
|
diff --git a/testing/test_helpconfig.py b/testing/test_helpconfig.py
|
||||||
|
index 9f8d87b..2ecd20d 100644
|
||||||
|
--- a/testing/test_helpconfig.py
|
||||||
|
+++ b/testing/test_helpconfig.py
|
||||||
|
@@ -14,6 +14,7 @@ def test_version(testdir, pytestconfig):
|
||||||
|
"*at*",
|
||||||
|
])
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_help(testdir):
|
||||||
|
result = testdir.runpytest("--help")
|
||||||
|
assert result.ret == 0
|
||||||
|
diff --git a/testing/test_junitxml.py b/testing/test_junitxml.py
|
||||||
|
index e6db810..1180ea7 100644
|
||||||
|
--- a/testing/test_junitxml.py
|
||||||
|
+++ b/testing/test_junitxml.py
|
||||||
|
@@ -175,6 +175,7 @@ class TestPython:
|
||||||
|
classname="test_classname_instance.TestClass",
|
||||||
|
name="test_method")
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_classname_nested_dir(self, testdir):
|
||||||
|
p = testdir.tmpdir.ensure("sub", "test_hello.py")
|
||||||
|
p.write("def test_func(): 0/0")
|
||||||
|
diff --git a/testing/test_mark.py b/testing/test_mark.py
|
||||||
|
index 1aa3361..242a65d 100644
|
||||||
|
--- a/testing/test_mark.py
|
||||||
|
+++ b/testing/test_mark.py
|
||||||
|
@@ -133,6 +133,7 @@ def test_markers_option(testdir):
|
||||||
|
"*a1some*another marker",
|
||||||
|
])
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_markers_option_with_plugin_in_current_dir(testdir):
|
||||||
|
testdir.makeconftest('pytest_plugins = "flip_flop"')
|
||||||
|
testdir.makepyfile(flip_flop="""\
|
||||||
|
diff --git a/testing/test_monkeypatch.py b/testing/test_monkeypatch.py
|
||||||
|
index 048c942..0c87b4e 100644
|
||||||
|
--- a/testing/test_monkeypatch.py
|
||||||
|
+++ b/testing/test_monkeypatch.py
|
||||||
|
@@ -256,6 +256,7 @@ def test_chdir_double_undo(mp, tmpdir):
|
||||||
|
assert os.getcwd() == tmpdir.strpath
|
||||||
|
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_issue185_time_breaks(testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import time
|
||||||
|
diff --git a/testing/test_skipping.py b/testing/test_skipping.py
|
||||||
|
index 1048c94..ea5cf44 100644
|
||||||
|
--- a/testing/test_skipping.py
|
||||||
|
+++ b/testing/test_skipping.py
|
||||||
|
@@ -263,6 +263,7 @@ class TestXFail:
|
||||||
|
result = testdir.runpytest(p, "--runxfail")
|
||||||
|
result.stdout.fnmatch_lines("*1 pass*")
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_xfail_imperative_in_setup_function(self, testdir):
|
||||||
|
p = testdir.makepyfile("""
|
||||||
|
import pytest
|
||||||
|
@@ -671,6 +672,7 @@ def test_xfail_test_setup_exception(testdir):
|
||||||
|
assert 'xfailed' in result.stdout.str()
|
||||||
|
assert 'xpassed' not in result.stdout.str()
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_imperativeskip_on_xfail_test(testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import pytest
|
||||||
|
@@ -694,6 +696,7 @@ def test_imperativeskip_on_xfail_test(testdir):
|
||||||
|
*2 skipped*
|
||||||
|
""")
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
class TestBooleanCondition:
|
||||||
|
def test_skipif(self, testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
diff --git a/testing/test_terminal.py b/testing/test_terminal.py
|
||||||
|
index 305d60a..d503be8 100644
|
||||||
|
--- a/testing/test_terminal.py
|
||||||
|
+++ b/testing/test_terminal.py
|
||||||
|
@@ -264,6 +264,7 @@ class TestCollectonly:
|
||||||
|
"* <Function 'test_method'*>",
|
||||||
|
])
|
||||||
|
|
||||||
|
+ @pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_collectonly_error(self, testdir):
|
||||||
|
p = testdir.makepyfile("import Errlkjqweqwe")
|
||||||
|
result = testdir.runpytest("--collect-only", p)
|
||||||
|
@@ -726,6 +727,7 @@ def test_tbstyle_native_setup_error(testdir):
|
||||||
|
'*File *test_tbstyle_native_setup_error.py", line *, in setup_error_fixture*'
|
||||||
|
])
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_terminal_summary(testdir):
|
||||||
|
testdir.makeconftest("""
|
||||||
|
def pytest_terminal_summary(terminalreporter):
|
||||||
|
diff --git a/testing/test_unittest.py b/testing/test_unittest.py
|
||||||
|
index 53dde6e..52eeae0 100644
|
||||||
|
--- a/testing/test_unittest.py
|
||||||
|
+++ b/testing/test_unittest.py
|
||||||
|
@@ -14,6 +14,7 @@ def test_simple_unittest(testdir):
|
||||||
|
assert reprec.matchreport("testpassing").passed
|
||||||
|
assert reprec.matchreport("test_failing").failed
|
||||||
|
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_runTest_method(testdir):
|
||||||
|
testdir.makepyfile("""
|
||||||
|
import unittest
|
||||||
|
@@ -705,6 +706,7 @@ def test_issue333_result_clearing(testdir):
|
||||||
|
reprec.assertoutcome(failed=1)
|
||||||
|
|
||||||
|
@pytest.mark.skipif("sys.version_info < (2,7)")
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_unittest_raise_skip_issue748(testdir):
|
||||||
|
testdir.makepyfile(test_foo="""
|
||||||
|
import unittest
|
||||||
|
@@ -720,6 +722,7 @@ def test_unittest_raise_skip_issue748(testdir):
|
||||||
|
""")
|
||||||
|
|
||||||
|
@pytest.mark.skipif("sys.version_info < (2,7)")
|
||||||
|
+@pytest.mark.skipif('"__pypy__" in sys.modules')
|
||||||
|
def test_unittest_skip_issue1169(testdir):
|
||||||
|
testdir.makepyfile(test_foo="""
|
||||||
|
import unittest
|
@ -0,0 +1,76 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Simple powerful testing with Python"
|
||||||
|
HOMEPAGE="http://pytest.org/ https://pypi.python.org/pypi/pytest"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||||
|
IUSE="doc test"
|
||||||
|
|
||||||
|
# When bumping, please check setup.py for the proper py version
|
||||||
|
PY_VER="1.4.29"
|
||||||
|
RDEPEND=">=dev-python/py-${PY_VER}[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
# dev-python/pluggy
|
||||||
|
# https://github.com/hpk42/pluggy
|
||||||
|
# See https://github.com/pytest-dev/pytest/issues/944
|
||||||
|
# for why not now
|
||||||
|
|
||||||
|
#pexpect dep based on https://bitbucket.org/hpk42/pytest/issue/386/tests-fail-with-pexpect-30
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
test? ( dev-python/pexpect[${PYTHON_USEDEP}] )
|
||||||
|
doc? (
|
||||||
|
>=dev-python/sphinx-1.2.3[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/regendoc[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/${P}-skip-test-on-pypy.patch )
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
chmod o-w *egg*/* || die
|
||||||
|
# Disable versioning of py.test script to avoid collision with
|
||||||
|
# versioning performed by the eclass.
|
||||||
|
sed -e "s/return points/return {'py.test': target}/" -i setup.py || die "sed failed"
|
||||||
|
grep -qF "py>=${PY_VER}" setup.py || die "Incorrect dev-python/py dependency"
|
||||||
|
|
||||||
|
# Prevent un-needed d'loading
|
||||||
|
sed -e "s/'sphinx.ext.intersphinx', //" -i doc/en/conf.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
if use doc; then
|
||||||
|
mkdir doc/en/.build || die
|
||||||
|
emake -C doc/en html
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# test_nose.py not written to suit py3.2 in pypy3
|
||||||
|
if [[ "${EPYTHON}" == pypy3 ]]; then
|
||||||
|
"${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v \
|
||||||
|
--ignore=testing/BUILD_nose.py \
|
||||||
|
|| die "tests failed with ${EPYTHON}"
|
||||||
|
else
|
||||||
|
"${PYTHON}" "${BUILD_DIR}"/lib/pytest.py -x -v --runpytest=subprocess \
|
||||||
|
|| die "tests failed with ${EPYTHON}"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && HTML_DOCS=( doc/en/_build/html/. )
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
DIST seaborn-0.5.1.tar.gz 104426 SHA256 8c8f7f1036cf6155be3d987ee23d2eeeed8c272b0803b32b7d524614f8526688 SHA512 bbcdf0625e096b8f41d56521f3e319a64d82632131d80ed1e81144362fe881d9b5df4d3b5a5fa09363b1782897d9ac68d3fc647d82da4e0017c5dba21c897b8d WHIRLPOOL 682a32f2d40a742e87659f27a675c437875a4b4dfcfd8195b774c49ae38f5ad73ee4b73aa00dabab33ccb6015e5eb5326605c897c8b1cac341cc9db0d6143f73
|
DIST seaborn-0.5.1.tar.gz 104426 SHA256 8c8f7f1036cf6155be3d987ee23d2eeeed8c272b0803b32b7d524614f8526688 SHA512 bbcdf0625e096b8f41d56521f3e319a64d82632131d80ed1e81144362fe881d9b5df4d3b5a5fa09363b1782897d9ac68d3fc647d82da4e0017c5dba21c897b8d WHIRLPOOL 682a32f2d40a742e87659f27a675c437875a4b4dfcfd8195b774c49ae38f5ad73ee4b73aa00dabab33ccb6015e5eb5326605c897c8b1cac341cc9db0d6143f73
|
||||||
DIST seaborn-0.6.0.tar.gz 145188 SHA256 e078399b56ed0d53a4aa8bd4d6bd4a9a9deebc0b4acad259d0ef81830affdb68 SHA512 3b7e7c1b72bd55aba012f312b43920044ea011648b4d855f4acd813ae644a75b4c60aa56c35ea759dcd7683bb6d9ea3b4f1209215950a5014ad46ebe04088fb1 WHIRLPOOL 66c9834f982f4a27c1a884bd4c8f73bb718fe0948bc7b3bde86f7d9bd354bbf783e36c576b8e2b0ded50cdf63244f463b9419e808ab70f6d5c2a24e89c570e99
|
DIST seaborn-0.6.0.tar.gz 145188 SHA256 e078399b56ed0d53a4aa8bd4d6bd4a9a9deebc0b4acad259d0ef81830affdb68 SHA512 3b7e7c1b72bd55aba012f312b43920044ea011648b4d855f4acd813ae644a75b4c60aa56c35ea759dcd7683bb6d9ea3b4f1209215950a5014ad46ebe04088fb1 WHIRLPOOL 66c9834f982f4a27c1a884bd4c8f73bb718fe0948bc7b3bde86f7d9bd354bbf783e36c576b8e2b0ded50cdf63244f463b9419e808ab70f6d5c2a24e89c570e99
|
||||||
|
DIST seaborn-0.7.0.tar.gz 154263 SHA256 15a8b2747becfdb86cfa60b5fcfa9bb934e42ef0ced660e0d57e8aea741f7145 SHA512 475785b074c154e3f2442450c15926dddbbad6a76a808247aeab42eb5f6a0b92b7e2daf032f4adea62d7c9ef3ac3d6eb1bb9aaf35b152ca75faeaedb748e38be WHIRLPOOL bb15397b33487d3ece614ee35a7c7239d3ad616ea4c074f57672637f9193539a7bd923cb23a8c51cc5543bdb80e0e70a8e0bb4c30c69601b58a4f0ed1fc43809
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_{3,4,5}} )
|
||||||
|
|
||||||
|
inherit distutils-r1 virtualx
|
||||||
|
|
||||||
|
DESCRIPTION="Statistical data visualization"
|
||||||
|
HOMEPAGE="http://stanford.edu/~mwaskom/software/seaborn/ https://github.com/mwaskom/seaborn"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="BSD"
|
||||||
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pandas[${PYTHON_USEDEP}]
|
||||||
|
dev-python/patsy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/statsmodels[${PYTHON_USEDEP}]
|
||||||
|
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? (
|
||||||
|
dev-python/nose[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
cat > matplotlibrc <<- EOF
|
||||||
|
backend : Agg
|
||||||
|
EOF
|
||||||
|
virtx nosetests --verbosity=3
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Collection of extensions to Distutils"
|
||||||
|
HOMEPAGE="https://pypi.python.org/pypi/setuptools"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
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"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/packaging-15.3-r1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? (
|
||||||
|
>=dev-python/pytest-2.8[${PYTHON_USEDEP}]
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
PDEPEND=">=dev-python/certifi-2015.11.20[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
# Force in-source build because build system modifies sources.
|
||||||
|
DISTUTILS_IN_SOURCE_BUILD=1
|
||||||
|
|
||||||
|
DOCS=( README.txt docs/{easy_install.txt,pkg_resources.txt,setuptools.txt} )
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
rm -r ./pkg_resources/_vendor || die
|
||||||
|
# disable tests requiring a network connection
|
||||||
|
rm setuptools/tests/test_packageindex.py || die
|
||||||
|
|
||||||
|
# don't run integration tests
|
||||||
|
rm setuptools/tests/test_integration.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# test_easy_install raises a SandboxViolation due to ${HOME}/.pydistutils.cfg
|
||||||
|
# It tries to sandbox the test in a tempdir
|
||||||
|
HOME="${PWD}" py.test --verbose ${PN} || die "Tests failed under ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install() {
|
||||||
|
export DISTRIBUTE_DISABLE_VERSIONED_EASY_INSTALL_SCRIPT=1
|
||||||
|
distutils-r1_python_install
|
||||||
|
}
|
@ -0,0 +1,136 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy)
|
||||||
|
PYTHON_REQ_USE="threads(+)"
|
||||||
|
|
||||||
|
inherit distutils-r1 eutils versionator
|
||||||
|
|
||||||
|
MY_PN="Sphinx"
|
||||||
|
MY_P="${MY_PN}-${PV}"
|
||||||
|
|
||||||
|
DESCRIPTION="Python documentation generator"
|
||||||
|
HOMEPAGE="http://sphinx.pocoo.org/ https://pypi.python.org/pypi/Sphinx"
|
||||||
|
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||||
|
IUSE="doc latex test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
=dev-python/alabaster-0.7*[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/docutils-0.11[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jinja-2.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pygments-2.0.1-r1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/six-1.4[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/Babel-1.3[${PYTHON_USEDEP}]
|
||||||
|
!=dev-python/Babel-2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/snowballstemmer-1.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sphinx_rtd_theme-0.1[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/sphinx_rtd_theme-2.0[${PYTHON_USEDEP}]
|
||||||
|
latex? (
|
||||||
|
dev-texlive/texlive-latexextra
|
||||||
|
app-text/dvipng
|
||||||
|
)"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/nose[${PYTHON_USEDEP}]
|
||||||
|
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||||
|
)"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
python_compile() {
|
||||||
|
distutils-r1_python_compile
|
||||||
|
|
||||||
|
# Generate the grammar. It will be caught by install somehow.
|
||||||
|
# Note that the tests usually do it for us. However, I don't want
|
||||||
|
# to trust USE=test really running all the tests, especially
|
||||||
|
# with FEATURES=test-fail-continue.
|
||||||
|
pushd "${BUILD_DIR}"/lib > /dev/null || die
|
||||||
|
"${PYTHON}" -m sphinx.pycode.__init__ \
|
||||||
|
|| die "Grammar generation failed."
|
||||||
|
popd > /dev/null || die
|
||||||
|
}
|
||||||
|
|
||||||
|
python_compile_all() {
|
||||||
|
use doc && emake -C doc SPHINXBUILD='"${PYTHON}" "${S}/sphinx-build.py"' html
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
|
||||||
|
export SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
|
||||||
|
cp -r -l tests "${BUILD_DIR}"/ || die
|
||||||
|
|
||||||
|
if $(python_is_python3); then
|
||||||
|
2to3 -w --no-diffs "${BUILD_DIR}"/tests || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
nosetests -w "${BUILD_DIR}"/tests -v \
|
||||||
|
|| die "Tests fail with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
use doc && local HTML_DOCS=( doc/_build/html/. )
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
||||||
|
|
||||||
|
replacing_python_eclass() {
|
||||||
|
local pv
|
||||||
|
for pv in ${REPLACING_VERSIONS}; do
|
||||||
|
if ! version_is_at_least 1.1.3-r4 ${pv}; then
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
return 1
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
if replacing_python_eclass; then
|
||||||
|
# the old python.eclass ebuild will want to remove our pickles...
|
||||||
|
backup_pickle() {
|
||||||
|
# array to enable filename expansion
|
||||||
|
local pickle_name=(
|
||||||
|
"${D}$(python_get_sitedir)"/sphinx/pycode/Grammar*.pickle
|
||||||
|
)
|
||||||
|
|
||||||
|
local dest=${ROOT}${pickle_name[0]#${D}}.backup
|
||||||
|
|
||||||
|
eumask_push 022
|
||||||
|
mkdir -p "${dest%/*}" || die
|
||||||
|
eumask_pop
|
||||||
|
|
||||||
|
cp -p -v "${pickle_name[0]}" "${dest}" \
|
||||||
|
|| die "Unable to backup grammar pickle from overwriting"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_foreach_impl backup_pickle
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if replacing_python_eclass; then
|
||||||
|
local warned
|
||||||
|
|
||||||
|
restore_pickle() {
|
||||||
|
local backup_name=(
|
||||||
|
"${ROOT}$(python_get_sitedir)"/sphinx/pycode/Grammar*.pickle.backup
|
||||||
|
)
|
||||||
|
local dest=${backup_name[0]%.backup}
|
||||||
|
|
||||||
|
mv -v "${backup_name[0]}" "${dest}" \
|
||||||
|
|| die "Unable to restore grammar pickle backup"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_foreach_impl restore_pickle
|
||||||
|
|
||||||
|
[[ ${warned} ]] && ewarn "Please try rebuilding the package."
|
||||||
|
fi
|
||||||
|
}
|
@ -1,6 +1,8 @@
|
|||||||
DIST facter-2.4.1.gem 236544 SHA256 4c8836066378d387c0561e4c3574865fa10d85d7474d472b049ecc7d5e4c67fa SHA512 5690f059961ba981d2e174f45ebdbb4e9b75aad3599cbc896f1c3d25f9b12c36500e09be70c36ebf27aed602c22d811604c344c7ccc71ecb200d4aeb78f28a4b WHIRLPOOL 1b6b4079b0449c646e06e9fd868b1de29a61facdacea956b032fbbef94e8c4c85594f50021b3f78a3668c5a0f6d29c448bd97c34fdb8a215de2ee74b164af6fd
|
DIST facter-2.4.1.gem 236544 SHA256 4c8836066378d387c0561e4c3574865fa10d85d7474d472b049ecc7d5e4c67fa SHA512 5690f059961ba981d2e174f45ebdbb4e9b75aad3599cbc896f1c3d25f9b12c36500e09be70c36ebf27aed602c22d811604c344c7ccc71ecb200d4aeb78f28a4b WHIRLPOOL 1b6b4079b0449c646e06e9fd868b1de29a61facdacea956b032fbbef94e8c4c85594f50021b3f78a3668c5a0f6d29c448bd97c34fdb8a215de2ee74b164af6fd
|
||||||
DIST facter-2.4.3.gem 245760 SHA256 3c1e49c32e6b07c1f802ec120e860f882938a5057c6f3733594b7ff8a80ee58f SHA512 a834c50d0ac14a751ccd0d5da3f8d64a83173e82991e2a3cd70bf47c023ee0b0517baed3726398a1075043b1237a91cc8389d58acbb2bbf79c76b5e2ecd3aedb WHIRLPOOL daa82ef6b2f6eb2f640a106528e67f5631748ee4232fbe9c595146b25ac6ca01048d3fc7a5cf519469bec597b6cc6dc6a4d6b2b779b7c77972fbb8efc952c32b
|
DIST facter-2.4.3.gem 245760 SHA256 3c1e49c32e6b07c1f802ec120e860f882938a5057c6f3733594b7ff8a80ee58f SHA512 a834c50d0ac14a751ccd0d5da3f8d64a83173e82991e2a3cd70bf47c023ee0b0517baed3726398a1075043b1237a91cc8389d58acbb2bbf79c76b5e2ecd3aedb WHIRLPOOL daa82ef6b2f6eb2f640a106528e67f5631748ee4232fbe9c595146b25ac6ca01048d3fc7a5cf519469bec597b6cc6dc6a4d6b2b779b7c77972fbb8efc952c32b
|
||||||
DIST facter-2.4.4.gem 245760 SHA256 4f7b592f9b6bc6ad8a9789e3ca0953fae07e6d06b10a9cb7599eb1e71a03646b SHA512 9d485d147cf726cd4a2943d1ee3475d2593067953102c11487e2916d59464407016a074b6eb31af4da37a3914588937d827d2cf4c64196650baefa2fb097bb89 WHIRLPOOL 574afae52fc7ad3cf8619abcd89eee4ca38e5ecc903e316bfc18aef708fa32e8b3487f315605a21ac9faf0ba66989c8d108d77a9104f74f79fc5e953dd8ccdd7
|
DIST facter-2.4.4.gem 245760 SHA256 4f7b592f9b6bc6ad8a9789e3ca0953fae07e6d06b10a9cb7599eb1e71a03646b SHA512 9d485d147cf726cd4a2943d1ee3475d2593067953102c11487e2916d59464407016a074b6eb31af4da37a3914588937d827d2cf4c64196650baefa2fb097bb89 WHIRLPOOL 574afae52fc7ad3cf8619abcd89eee4ca38e5ecc903e316bfc18aef708fa32e8b3487f315605a21ac9faf0ba66989c8d108d77a9104f74f79fc5e953dd8ccdd7
|
||||||
|
DIST facter-2.4.5.gem 247296 SHA256 582ee6d237ed6e1bfaf07705c04f4c42b8f00435f2e5439c2edbe5f35cfc6f6c SHA512 6be9d0832897f7f93e5d2e6d8f548f430ccd28031bfb3391bd7f2a46c0a0f91594776a36430a02865a932a105e9ad31ebf812c10315db5afa373d7ca819d20b7 WHIRLPOOL b7f0a510649707ee4511079e0609673f28ee496a5f3bb05c44d14e41dfa5a76463fbd4adff88ad8a504bf182c2fac637a8e73524d310093521532096ab99d6f4
|
||||||
DIST facter-3.0.2.tar.gz 508583 SHA256 2fee1ee938196790f24b7b876ff04a5d69c0ac1492ff6935b003ae23500eced7 SHA512 57a5c40d2ad07911a2b9c242b22bcffbbf8eedc88e12d7d6e8f6cf044ef30034cae7230468a7b414c93d6008d8805be1621a8c6b1af2543539d979bd3df7d1e8 WHIRLPOOL 6b89ca76ba7d993e1b87fe840b76dda9b1d8534df06f9f45e3c24752b95b441e471899446018f66bb6db0d490bb4a76cd4ab146a5060755333072ab5a5767bd3
|
DIST facter-3.0.2.tar.gz 508583 SHA256 2fee1ee938196790f24b7b876ff04a5d69c0ac1492ff6935b003ae23500eced7 SHA512 57a5c40d2ad07911a2b9c242b22bcffbbf8eedc88e12d7d6e8f6cf044ef30034cae7230468a7b414c93d6008d8805be1621a8c6b1af2543539d979bd3df7d1e8 WHIRLPOOL 6b89ca76ba7d993e1b87fe840b76dda9b1d8534df06f9f45e3c24752b95b441e471899446018f66bb6db0d490bb4a76cd4ab146a5060755333072ab5a5767bd3
|
||||||
DIST facter-3.1.2.tar.gz 603375 SHA256 9da41388127b7c02f9ac17945dad48332e62d663191bf51b2339c48222641c26 SHA512 f2435bb04d4ca51f65ce54134ff81e7fccb61df3f26ee890580f59b5eb65c6f7ca6db9fcd779baedca297a1456143741777cc9ba46b00e26c8b3965ab3db79e0 WHIRLPOOL e07c743a1025320c364800d3fece9e5d0b72e0f82ac648f459aaaeed44a46b187454ec4fdfcb532c87f6f62025632ebad5985356dbe056329e16eabd8eaec68c
|
DIST facter-3.1.2.tar.gz 603375 SHA256 9da41388127b7c02f9ac17945dad48332e62d663191bf51b2339c48222641c26 SHA512 f2435bb04d4ca51f65ce54134ff81e7fccb61df3f26ee890580f59b5eb65c6f7ca6db9fcd779baedca297a1456143741777cc9ba46b00e26c8b3965ab3db79e0 WHIRLPOOL e07c743a1025320c364800d3fece9e5d0b72e0f82ac648f459aaaeed44a46b187454ec4fdfcb532c87f6f62025632ebad5985356dbe056329e16eabd8eaec68c
|
||||||
DIST facter-3.1.3.tar.gz 603386 SHA256 b27bfeade320331a02a68d3d2b41491d5cfcbb889292a8e9e1a11bd8641ff7d9 SHA512 dff5b1c312590d7fda140a72d87cabe70619d52887bbdd072c9dfd22062115433645b5762e14fd5fdb46f011dc3afeb17e2ffeb569423aac539030bb12f6c3af WHIRLPOOL a9ddbc1e75196d9a40fcb083c16abae8be1dfaa8c0f69e4af8ad9972884188aa572abf96137f34120b4ab5baf788fbddb3aa881eb4ffe085802cd6e7ce46d2b2
|
DIST facter-3.1.3.tar.gz 603386 SHA256 b27bfeade320331a02a68d3d2b41491d5cfcbb889292a8e9e1a11bd8641ff7d9 SHA512 dff5b1c312590d7fda140a72d87cabe70619d52887bbdd072c9dfd22062115433645b5762e14fd5fdb46f011dc3afeb17e2ffeb569423aac539030bb12f6c3af WHIRLPOOL a9ddbc1e75196d9a40fcb083c16abae8be1dfaa8c0f69e4af8ad9972884188aa572abf96137f34120b4ab5baf788fbddb3aa881eb4ffe085802cd6e7ce46d2b2
|
||||||
|
DIST facter-3.1.4.tar.gz 620501 SHA256 7ca1872edbdc5ffcd11dc292e5e0625c9e0d35aa7966d8803859da0d035c7fcf SHA512 2fcc990c8e26349b9fa87cd1f7c43dffd49ffacf03c3467e836ea0bcd7527e1d40b6240646fd7dd6346121ca802fe86e996e209d838db91e8fe55298fdab4e0e WHIRLPOOL 224b17990fc559fce3a7c9b31c14dd45033127b078d68fac024cb6db192573085187163932c9dacd8fd94a281bd8d58ac1c75229a8e3bce4c4f070ebc81ff0f3
|
||||||
|
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
USE_RUBY="ruby20 ruby21 ruby22"
|
||||||
|
RUBY_FAKEGEM_TASK_DOC=""
|
||||||
|
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||||
|
RUBY_FAKEGEM_BINWRAP="facter"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="A cross-platform Ruby library for retrieving facts from operating systems"
|
||||||
|
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="+dmi +pciutils +virt"
|
||||||
|
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
app-emulation/virt-what
|
||||||
|
sys-apps/net-tools
|
||||||
|
sys-apps/lsb-release
|
||||||
|
dmi? ( sys-apps/dmidecode )
|
||||||
|
pciutils? ( sys-apps/pciutils )"
|
||||||
|
|
||||||
|
RDEPEND+=" ${CDEPEND}"
|
||||||
|
DEPEND+=" test? ( ${CDEPEND} )"
|
||||||
|
|
||||||
|
ruby_add_bdepend "test? ( dev-ruby/mocha:1.0 )"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
# Provide explicit path since /sbin is not in the default PATH on
|
||||||
|
# Gentoo.
|
||||||
|
sed -i -e 's:arp -an:/sbin/arp -an:' lib/facter/util/ec2.rb spec/unit/util/ec2_spec.rb || die
|
||||||
|
|
||||||
|
# Ensure the correct version of mocha is used without using bundler.
|
||||||
|
sed -i -e '1igem "mocha", "~>1.0"' spec/spec_helper.rb || die
|
||||||
|
|
||||||
|
# Avoid because tests try to access outside stuff, e.g. /sys/block
|
||||||
|
sed -i -e '/should load facts on the facter search path only once/,/^ end/ s:^:#:' spec/unit/util/loader_spec.rb || die
|
||||||
|
|
||||||
|
# Allow specs to work with newer rspec 2.x versions.
|
||||||
|
sed -i -e '1irequire "rspec-expectations"' spec/puppetlabs_spec/matchers.rb || die
|
||||||
|
|
||||||
|
# Avoid specs specific to macosx requiring cfpropertylist which is
|
||||||
|
# not available anymore.
|
||||||
|
rm spec/unit/util/macosx_spec.rb || die
|
||||||
|
sed -i -e '/macosx/ s:^:#:' \
|
||||||
|
-e '/on Darwin/,/^ end/ s:^:#:' spec/unit/virtual_spec.rb || die
|
||||||
|
sed -i -e '/Facter::Processors::Darwin/,/^end/ s:^:#:' spec/unit/processors/os_spec.rb || die
|
||||||
|
}
|
||||||
|
|
||||||
|
all_ruby_install() {
|
||||||
|
all_fakegem_install
|
||||||
|
|
||||||
|
# Create the directory for custom facts.
|
||||||
|
keepdir /etc/facter/facts.d
|
||||||
|
}
|
@ -0,0 +1,66 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
USE_RUBY="ruby20 ruby21 ruby22"
|
||||||
|
|
||||||
|
inherit cmake-utils ruby-ng
|
||||||
|
|
||||||
|
DESCRIPTION="A cross-platform ruby library for retrieving facts from operating systems"
|
||||||
|
HOMEPAGE="http://www.puppetlabs.com/puppet/related-projects/facter/"
|
||||||
|
SRC_URI="https://downloads.puppetlabs.com/facter/${P}.tar.gz"
|
||||||
|
S="${S}/all/${P}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="debug test"
|
||||||
|
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
|
||||||
|
|
||||||
|
CDEPEND="
|
||||||
|
>=sys-devel/gcc-4.8:*
|
||||||
|
>=dev-libs/boost-1.54[nls]
|
||||||
|
>=dev-cpp/yaml-cpp-0.5.1
|
||||||
|
dev-libs/openssl:*
|
||||||
|
sys-apps/util-linux
|
||||||
|
app-emulation/virt-what
|
||||||
|
net-misc/curl
|
||||||
|
!<app-admin/puppet-4.0.0"
|
||||||
|
|
||||||
|
RDEPEND+=" ${CDEPEND}"
|
||||||
|
DEPEND+=" test? ( ${CDEPEND} )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i 's/\-Werror\ //g' "vendor/leatherman/cmake/cflags.cmake" || die
|
||||||
|
# Remove the code that installs facter.rb to the wrong directory.
|
||||||
|
sed -i 's/if(RUBY_VENDORDIR)/if(False)/g' lib/CMakeLists.txt || die
|
||||||
|
sed -i '/RUBY_VENDORDIR/d' lib/CMakeLists.txt || die
|
||||||
|
# make it support multilib
|
||||||
|
sed -i 's/\ lib)/\ lib${LIB_SUFFIX})/g' lib/CMakeLists.txt || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DCMAKE_VERBOSE_MAKEFILE=ON
|
||||||
|
-DCMAKE_BUILD_TYPE=None
|
||||||
|
-DCMAKE_INSTALL_PREFIX=/usr
|
||||||
|
-DCMAKE_INSTALL_SYSCONFDIR=/etc
|
||||||
|
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
|
||||||
|
-DUSE_JRUBY_SUPPORT=FALSE
|
||||||
|
)
|
||||||
|
if use debug; then
|
||||||
|
mycmakeargs+=(
|
||||||
|
-DCMAKE_BUILD_TYPE=Debug
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
each_ruby_install() {
|
||||||
|
doruby "${BUILD_DIR}"/lib/facter.rb
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake-utils_src_install
|
||||||
|
ruby-ng_src_install
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST sinatra-1.4.6.gem 355840 SHA256 87225b2bc25d5806b24bfac05383d4224109ce073b7ece1d3d55e58018e615c2 SHA512 3b80137a8c31bc60c24b4fb4e5984fc9064f52733f5a7214079a50d1c9acfa3046f06935c7eeb611aa4e3d0979fcd88c8db741a08429000a2fb94956c7648552 WHIRLPOOL 7ae683bc03f355c4e99ea94a6661cf89e2effc857e74c7ec0e4d86572999139460b3cb8f3bfa2db8a36c18e6ac9f2d20347d0163cd0271121ac5bdbff8a33ef6
|
DIST sinatra-1.4.6.gem 355840 SHA256 87225b2bc25d5806b24bfac05383d4224109ce073b7ece1d3d55e58018e615c2 SHA512 3b80137a8c31bc60c24b4fb4e5984fc9064f52733f5a7214079a50d1c9acfa3046f06935c7eeb611aa4e3d0979fcd88c8db741a08429000a2fb94956c7648552 WHIRLPOOL 7ae683bc03f355c4e99ea94a6661cf89e2effc857e74c7ec0e4d86572999139460b3cb8f3bfa2db8a36c18e6ac9f2d20347d0163cd0271121ac5bdbff8a33ef6
|
||||||
|
DIST sinatra-1.4.7.gem 369664 SHA256 b7572e8fd4dba57c4bad6ff68cd2b99e4e6e02f3260bdc58a2acd662f29a01ad SHA512 f13531390af95e0bb42f7c5cc350e3aee7136c1bb81b487ef71cc194ed6675722a1c23ff6b65ac0e3b2c1a0986bfa733c4a0f24cf9bbe0168a18cd4d18d8a13a WHIRLPOOL 20477cde3faba54f103d73d80609ce8dbbf22652f5777656293407849637d7a0445a47297680b2665ab9a189f56022d77bf5c803f188d3ddde56f605d5917fb0
|
||||||
|
@ -0,0 +1,34 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
USE_RUBY="ruby20 ruby21 ruby22"
|
||||||
|
|
||||||
|
# no documentation is generable, it needs hanna, which is broken
|
||||||
|
RUBY_FAKEGEM_TASK_DOC=""
|
||||||
|
|
||||||
|
RUBY_FAKEGEM_EXTRADOC="README.md AUTHORS.md CHANGELOG.md"
|
||||||
|
|
||||||
|
inherit ruby-fakegem
|
||||||
|
|
||||||
|
DESCRIPTION="A DSL for quickly creating web applications in Ruby with minimal effort"
|
||||||
|
HOMEPAGE="http://www.sinatrarb.com/"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
ruby_add_rdepend "=dev-ruby/rack-1*:* >=dev-ruby/rack-1.5:*
|
||||||
|
>=dev-ruby/rack-protection-1.4:1
|
||||||
|
>=dev-ruby/tilt-1.3.4:* <dev-ruby/tilt-3:*"
|
||||||
|
ruby_add_bdepend "test? ( >=dev-ruby/rack-test-0.5.6 dev-ruby/erubis dev-ruby/builder )"
|
||||||
|
|
||||||
|
# haml tests are optional and not yet marked for ruby20.
|
||||||
|
USE_RUBY="ruby20" ruby_add_bdepend "test? ( >=dev-ruby/haml-3.0 )"
|
||||||
|
|
||||||
|
all_ruby_prepare() {
|
||||||
|
# Remove implicit build dependency on git.
|
||||||
|
sed -i -e '/\(s.files\|s.test_files\|s.extra_rdoc_files\)/d' sinatra.gemspec || die
|
||||||
|
}
|
@ -1,35 +1,22 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<longdescription>
|
<maintainer type="person">
|
||||||
From the web page:
|
<email>zlg@gentoo.org</email>
|
||||||
|
<name>Daniel Campbell</name>
|
||||||
Artistic Style is a reindenter and reformatter of C++, C and Java source
|
</maintainer>
|
||||||
code.
|
<longdescription>
|
||||||
|
astyle is a code formatter for C, C++, and Java source code, with many
|
||||||
When indenting source code, we as programmers have a tendency to use both
|
granular formatting options to assist in enforcing code formatting
|
||||||
spaces and tab characters to create the wanted indentation. Moreover, some
|
standards in projects.
|
||||||
editors by default insert spaces instead of tabs when pressing the tab key,
|
</longdescription>
|
||||||
and other editors (Emacs for example) have the ability to "pretty up" lines
|
<upstream>
|
||||||
by automatically setting up the white space before the code on the line,
|
<maintainer status="active" type="person">
|
||||||
possibly inserting spaces in a code that up to now used only tabs for
|
<email>jimp03@email.com</email>
|
||||||
indentation.
|
<name>Jim Pattee</name>
|
||||||
|
</maintainer>
|
||||||
Since the NUMBER of space characters showed on screen for each tab character
|
<remote-id type="sourceforge">astyle</remote-id>
|
||||||
in the source code changes between editors (until the user sets up the
|
<bugs-to>https://sourceforge.net/p/astyle/bugs/</bugs-to>
|
||||||
number to his liking...), one of the standard problems facing programmers
|
<doc>http://astyle.sourceforge.net/astyle.html</doc>
|
||||||
when moving from one source code editor to another is that code containing
|
</upstream>
|
||||||
both spaces and tabs that was up to now perfectly indented, suddenly becomes
|
|
||||||
a mess to look at when changing to another editor. Even if you as a
|
|
||||||
programmer take care to ONLY use spaces or tabs, looking at other peoples
|
|
||||||
source code can still be problematic.
|
|
||||||
|
|
||||||
To address this problem I have created Artistic Style - a series of filters,
|
|
||||||
written in C++, that automatically reindent & reformat C/C++/Java source
|
|
||||||
files. These can be used from a command line, or it can be incorporated as
|
|
||||||
classes in another C++ program.
|
|
||||||
</longdescription>
|
|
||||||
<upstream>
|
|
||||||
<remote-id type="sourceforge">astyle</remote-id>
|
|
||||||
</upstream>
|
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -1,92 +0,0 @@
|
|||||||
# Copyright 1999-2012 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
# Author Olivier Fisette <ribosome@gentoo.org>
|
|
||||||
|
|
||||||
# This eclass is used to install EMBASSY programs (EMBOSS add-ons).
|
|
||||||
|
|
||||||
# The inheriting ebuild should provide a "DESCRIPTION", "KEYWORDS" and, if
|
|
||||||
# necessary, add "(R|P)DEPEND"encies. Additionnaly, the inheriting ebuild's
|
|
||||||
# name must begin by "embassy-". Also, before inheriting, the ebuild should
|
|
||||||
# specify what version of EMBOSS is required by setting EBOV.
|
|
||||||
|
|
||||||
inherit eutils multilib
|
|
||||||
|
|
||||||
# The EMBASSY package name, retrieved from the inheriting ebuild's name
|
|
||||||
EN=${PN:8}
|
|
||||||
# The full name and version of the EMBASSY package (excluding the Gentoo
|
|
||||||
# revision number)
|
|
||||||
EF="$(echo ${EN} | tr "[:lower:]" "[:upper:]")-${PV}"
|
|
||||||
|
|
||||||
HOMEPAGE="http://emboss.sourceforge.net/"
|
|
||||||
LICENSE="LGPL-2 GPL-2"
|
|
||||||
SRC_URI="ftp://emboss.open-bio.org/pub/EMBOSS/EMBOSS-${EBOV}.tar.gz
|
|
||||||
ftp://emboss.open-bio.org/pub/EMBOSS/${EF}.tar.gz"
|
|
||||||
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="X png"
|
|
||||||
|
|
||||||
DEPEND="=sci-biology/emboss-${EBOV}*
|
|
||||||
!<sci-biology/emboss-${EBOV}
|
|
||||||
X? ( x11-libs/libX11 )
|
|
||||||
png? ( sys-libs/zlib
|
|
||||||
media-libs/libpng
|
|
||||||
>=media-libs/gd-1.8
|
|
||||||
)"
|
|
||||||
|
|
||||||
S=${WORKDIR}/EMBOSS-${EBOV}/embassy/${EF}
|
|
||||||
|
|
||||||
embassy_src_unpack() {
|
|
||||||
unpack ${A}
|
|
||||||
mkdir EMBOSS-${EBOV}/embassy
|
|
||||||
mv ${EF} EMBOSS-${EBOV}/embassy/
|
|
||||||
cp /usr/$(get_libdir)/libplplot.la EMBOSS-${EBOV}/plplot/
|
|
||||||
cp /usr/$(get_libdir)/libeplplot.la EMBOSS-${EBOV}/plplot/
|
|
||||||
cp /usr/$(get_libdir)/libajax.la EMBOSS-${EBOV}/ajax/
|
|
||||||
cp /usr/$(get_libdir)/libajaxg.la EMBOSS-${EBOV}/ajax/
|
|
||||||
cp /usr/$(get_libdir)/libnucleus.la EMBOSS-${EBOV}/nucleus/
|
|
||||||
if [ -e "${FILESDIR}"/${PF}.patch ]; then
|
|
||||||
cd "${S}"
|
|
||||||
epatch "${FILESDIR}"/${PF}.patch
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
embassy_src_compile() {
|
|
||||||
local PREFIX="${ROOT}/usr"
|
|
||||||
local EXTRA_CONF
|
|
||||||
! use X && EXTRA_CONF="${EXTRA_CONF} --without-x"
|
|
||||||
! use png && EXTRA_CONF="${EXTRA_CONF} --without-pngdriver"
|
|
||||||
./configure \
|
|
||||||
"--bindir=${PREFIX}/bin" \
|
|
||||||
"--sbindir=${PREFIX}/sbin" \
|
|
||||||
"--libexecdir=${PREFIX}/libexec" \
|
|
||||||
"--sysconfdir=${ROOT}/etc" \
|
|
||||||
"--sharedstatedir=${ROOT}/var" \
|
|
||||||
"--localstatedir=${ROOT}/var" \
|
|
||||||
"--libdir=${PREFIX}/$(get_libdir)" \
|
|
||||||
"--includedir=${PREFIX}/include" \
|
|
||||||
"--datarootdir=${PREFIX}/share" \
|
|
||||||
"--datadir=${PREFIX}/share" \
|
|
||||||
"--infodir=${PREFIX}/share/info" \
|
|
||||||
"--localedir=${PREFIX}/share/locale" \
|
|
||||||
"--mandir=${PREFIX}/share/man" \
|
|
||||||
${EXTRA_CONF} || die
|
|
||||||
emake || die "Before reporting this error as a bug, please make sure you compiled
|
|
||||||
EMBOSS and the EMBASSY packages with the same \"USE\" flags. Failure to
|
|
||||||
do so may prevent the compilation of some EMBASSY packages, or cause
|
|
||||||
runtime problems with some EMBASSY programs. For example, if you
|
|
||||||
compile EMBOSS with \"png\" support and then try to build DOMAINATRIX
|
|
||||||
without \"png\" support, compilation will fail when linking the binaries."
|
|
||||||
}
|
|
||||||
|
|
||||||
embassy_src_install() {
|
|
||||||
emake DESTDIR="${D}" install || die "Install failed"
|
|
||||||
dodoc AUTHORS ChangeLog NEWS README
|
|
||||||
dodir /usr/share
|
|
||||||
mv "${D}"/usr/local/share/* "${D}"/usr/share/
|
|
||||||
rmdir "${D}"/usr/local/share
|
|
||||||
rmdir "${D}"/usr/local
|
|
||||||
}
|
|
||||||
|
|
||||||
EXPORT_FUNCTIONS src_unpack src_compile src_install
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST warzone2100-3.1.2.tar.xz 86232636 SHA256 e33b0c89b981acda4ca2b473e105510caaecd0a0c6648ae22262f4b561566f1b SHA512 55046ebb661ccc948b426dd07b116173bce70221a94c55fbe0897b3ad2137e22af6163476a72c4f1a7e00eed3a04f53eb1f2243d64491b48467c67928992ae87 WHIRLPOOL 0d2cc9a09e1118a9afad6fae88682a93fc0622df22f30cedb097cff670329b1a820d04df65538585e92bc0017e3790b1026bf228ad77a8fbb69c423f85d7eb64
|
DIST warzone2100-3.1.2.tar.xz 86232636 SHA256 e33b0c89b981acda4ca2b473e105510caaecd0a0c6648ae22262f4b561566f1b SHA512 55046ebb661ccc948b426dd07b116173bce70221a94c55fbe0897b3ad2137e22af6163476a72c4f1a7e00eed3a04f53eb1f2243d64491b48467c67928992ae87 WHIRLPOOL 0d2cc9a09e1118a9afad6fae88682a93fc0622df22f30cedb097cff670329b1a820d04df65538585e92bc0017e3790b1026bf228ad77a8fbb69c423f85d7eb64
|
||||||
|
DIST warzone2100-3.1.3.tar.xz 86234856 SHA256 b8389036070eb7eb15b4649ba7dc6b7c27ded46323115b07d987815e8d33ffb2 SHA512 f16d7ad26ac9af3d31e2995917fbe93e40dfcad071824bf23e78d4d3599c692e1009c5e4e4e424a41350aa382ca0a27094b654b521757e43c6c9ece61a2f3d19 WHIRLPOOL 59156961286d8bb1a59fccff92410256548a685be3ee5ca980da49775d3161c315189eadd0b7a6aa6d62ee5dcf036db2c49f0c6d4934ec22dd2b214f66428287
|
||||||
DIST warzone2100-videos-2.2.wz 571937134 SHA256 142ae905be288cca33357a49f42b884c190e828fc0b1b1773ded5dff774f41a3 SHA512 ca1a1af51296afdaca137114821508c5783f077090e665eae0f6df895855f57c43f84434706309e819417f5f35d1c649bd14e96dc9fbbb1252d30a4f9a223cf6 WHIRLPOOL 167e39a896081d75415810cdaa9c00ce3fa4062db1ef2b4f6f164beb9c1a1d3fd34cd474880521b75e4580f4496b246586d9270219e1cfe8e7740d1f7af35ebe
|
DIST warzone2100-videos-2.2.wz 571937134 SHA256 142ae905be288cca33357a49f42b884c190e828fc0b1b1773ded5dff774f41a3 SHA512 ca1a1af51296afdaca137114821508c5783f077090e665eae0f6df895855f57c43f84434706309e819417f5f35d1c649bd14e96dc9fbbb1252d30a4f9a223cf6 WHIRLPOOL 167e39a896081d75415810cdaa9c00ce3fa4062db1ef2b4f6f164beb9c1a1d3fd34cd474880521b75e4580f4496b246586d9270219e1cfe8e7740d1f7af35ebe
|
||||||
|
@ -0,0 +1,101 @@
|
|||||||
|
# Copyright 1999-2015 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
inherit toolchain-funcs eutils versionator gnome2-utils games
|
||||||
|
|
||||||
|
MY_PV=$(get_version_component_range -2)
|
||||||
|
VIDEOS_PV=2.2
|
||||||
|
VIDEOS_P=${PN}-videos-${VIDEOS_PV}.wz
|
||||||
|
DESCRIPTION="3D real-time strategy game"
|
||||||
|
HOMEPAGE="http://wz2100.net/"
|
||||||
|
SRC_URI="mirror://sourceforge/warzone2100/${P}.tar.xz
|
||||||
|
videos? ( mirror://sourceforge/warzone2100/warzone2100/Videos/${VIDEOS_PV}/high-quality-en/sequences.wz -> ${VIDEOS_P} )"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ CC-BY-SA-3.0 public-domain"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
# upstream requested debug support
|
||||||
|
IUSE="debug nls qt4 videos"
|
||||||
|
|
||||||
|
# TODO: unbundle miniupnpc and quesoglc
|
||||||
|
RDEPEND=">=dev-games/physfs-2[zip]
|
||||||
|
dev-libs/fribidi
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype:2
|
||||||
|
media-libs/glew:=
|
||||||
|
media-libs/libogg
|
||||||
|
media-libs/libpng:0
|
||||||
|
media-libs/libtheora
|
||||||
|
media-libs/libvorbis
|
||||||
|
media-libs/openal
|
||||||
|
sys-libs/zlib
|
||||||
|
virtual/glu
|
||||||
|
virtual/opengl
|
||||||
|
x11-libs/libX11
|
||||||
|
x11-libs/libXrandr
|
||||||
|
dev-qt/qtcore:4
|
||||||
|
dev-qt/qtscript:4
|
||||||
|
nls? ( virtual/libintl )
|
||||||
|
qt4? (
|
||||||
|
dev-qt/qtgui:4
|
||||||
|
dev-qt/qtopengl:4
|
||||||
|
)
|
||||||
|
!qt4? ( media-libs/libsdl[opengl,video] )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-arch/zip
|
||||||
|
virtual/pkgconfig
|
||||||
|
nls? ( sys-devel/gettext )"
|
||||||
|
RDEPEND="${RDEPEND}
|
||||||
|
media-fonts/dejavu"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -i -e 's/#top_builddir/top_builddir/' po/Makevars || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
egamesconf \
|
||||||
|
--docdir=/usr/share/doc/${PF} \
|
||||||
|
--localedir=/usr/share/locale \
|
||||||
|
--with-distributor="Gentoo ${PF}" \
|
||||||
|
--with-icondir=/usr/share/icons/hicolor/128x128/apps \
|
||||||
|
--with-applicationdir=/usr/share/applications \
|
||||||
|
$(use_enable debug debug relaxed) \
|
||||||
|
$(use_enable nls) \
|
||||||
|
--with-backend=$(usex qt4 "qt" "sdl")
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake AR="$(tc-getAR)"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
rm -f "${D}"/usr/share/doc/${PF}/COPYING*
|
||||||
|
if use videos ; then
|
||||||
|
insinto "${GAMES_DATADIR}"/${PN}
|
||||||
|
newins "${DISTDIR}"/${VIDEOS_P} sequences.wz
|
||||||
|
fi
|
||||||
|
doman doc/warzone2100.6
|
||||||
|
dodoc doc/quickstartguide.pdf
|
||||||
|
|
||||||
|
elog "If you are using opensource drivers you should consider installing: "
|
||||||
|
elog " media-libs/libtxc_dxtn"
|
||||||
|
|
||||||
|
prepgamesdirs
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_preinst() {
|
||||||
|
games_pkg_preinst
|
||||||
|
gnome2_icon_savelist
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
games_pkg_postinst
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
@ -1,8 +1,6 @@
|
|||||||
DIST google-musicmanager-beta_1.0.129.6633-r0_amd64.deb 4040482 SHA256 79af991409d69b0759d75b90b0c754a5e1bd71ec291adc48b368ff1ac4b902bb SHA512 c3e605078ecff45804e1e7b9019ed8cadd108f7a4a6101ea197116fb0d783014cd9d74e883d88808bc841b64fc2495ad16ba2617d165415e6f1fda706e39cc34 WHIRLPOOL dbb3e23d0872dbcee4895f560b351a9dfda214d42760d808c09a6108f9281b85e13785c2efe652e7398112896c8a931032da52708192a93593a42c5e88c4d28e
|
DIST google-musicmanager-beta_1.0.129.6633-r0_amd64.deb 4040482 SHA256 79af991409d69b0759d75b90b0c754a5e1bd71ec291adc48b368ff1ac4b902bb SHA512 c3e605078ecff45804e1e7b9019ed8cadd108f7a4a6101ea197116fb0d783014cd9d74e883d88808bc841b64fc2495ad16ba2617d165415e6f1fda706e39cc34 WHIRLPOOL dbb3e23d0872dbcee4895f560b351a9dfda214d42760d808c09a6108f9281b85e13785c2efe652e7398112896c8a931032da52708192a93593a42c5e88c4d28e
|
||||||
DIST google-musicmanager-beta_1.0.129.6633-r0_i386.deb 3977534 SHA256 7914e3e6e2adb2e952ebaf383db5e04727c29cfa83401007f29977f6c5ff6873 SHA512 3e7ad72477dae3ad63aaf0bc6def013049d6c0dabc7c3f063c567d9b69dbffcb75d24dd0fad21752e587629fa96bc57302cf79b17979ed281ef603df1e2c7c5e WHIRLPOOL b7635a00a5c736f13940cecfd7c98bc2fca64da89f0aca24f72aa5ee4edeba1bcebd6e2f11c758b039b01bf5313290dd0499b88eb2e2912a612bd4e2fc4c627d
|
DIST google-musicmanager-beta_1.0.129.6633-r0_i386.deb 3977534 SHA256 7914e3e6e2adb2e952ebaf383db5e04727c29cfa83401007f29977f6c5ff6873 SHA512 3e7ad72477dae3ad63aaf0bc6def013049d6c0dabc7c3f063c567d9b69dbffcb75d24dd0fad21752e587629fa96bc57302cf79b17979ed281ef603df1e2c7c5e WHIRLPOOL b7635a00a5c736f13940cecfd7c98bc2fca64da89f0aca24f72aa5ee4edeba1bcebd6e2f11c758b039b01bf5313290dd0499b88eb2e2912a612bd4e2fc4c627d
|
||||||
DIST google-musicmanager-beta_1.0.182.3607-r0_amd64.deb 3976548 SHA256 a463d614b92231a577d348fbd0d494288987c1cf17c1f7c4c9e375050d4a3d90 SHA512 f08e2843f82b3bdb15372ce856b7523a7cc04ac3063c9d73806e4281b581d15dda33fcfa36790be60052a2a12d6733da4d221b2da20a5e712180f21acf986970 WHIRLPOOL 49588479c1f35376e833211694fbf4fe318b56ff15107e85b573229e6beee935a9c81369d13ba3008a8917575031c8803f514e988e71d0aab6f676acd6cc7cbf
|
|
||||||
DIST google-musicmanager-beta_1.0.182.3607-r0_i386.deb 3923342 SHA256 346ce6ed2b045c8e02156fef98987cff61529d4c509547615848c27e8f52d11c SHA512 f111507af3ac4c99b30c5f7ece746ac256a6b9982651083afae82b5037e72eb0e1a3dd3db3e7c03a86618a781d1734d0966fd3473e8ba72a31855450c2804522 WHIRLPOOL 89fed2558d5cab3b3194304483c8c6fc69dac6c68c5bc16e514583f699dac9b7965a30ce2bdb14704da561dcbd6cbfb347c4e3d54638105c9b7b495077246237
|
|
||||||
DIST google-musicmanager-beta_1.0.196.8837-r0_amd64.deb 4334448 SHA256 1b46d257a93cea3c209a6e9b0e2985e31b6990b9de778459ad78b086d3f6d2b0 SHA512 70c144b446c1a6cca7725e2d8bb494f5175a50cbe9ba1a5d0a18867fb9d821e3d302cafdca83c78d1e27971f41b9d5848c15c5643ccba2f984b87136d9233789 WHIRLPOOL 38be4761e48975dbc3ea484260aa343b913a09bbb88724c1ca6caee758b849552a83583b248da6c2adba96de00f8add17888baeed6faf6a6b1a63d0a7efe80bb
|
|
||||||
DIST google-musicmanager-beta_1.0.196.8837-r0_i386.deb 4196444 SHA256 7005a06a921040eafd9afa0f15d63fba014c59ae150c89099f0a6be2deecdae7 SHA512 b9d237be61249e5cd27b48a0ed25426e59cd01660d57e900e692bec5ac2a1ff915da39f9837f61d558380b208a23990289c7191fa806bc0747c4926947f8ae6d WHIRLPOOL a054ea29e91bb059ebec01a8dc2b2d5a60fc98691df3bf24b303625852af0a3bcdc89f5eb984eff79b7cb82e0db709d5dd9ee8a4ac87e1031ed3aa66c154302b
|
|
||||||
DIST google-musicmanager-beta_1.0.221.5230-r0_amd64.deb 4330938 SHA256 67e063d58508a4b8df37ea0b87c9a33e54143be3653daabe16b1276ffed21ac0 SHA512 cf093c2f8e3010432ce5fcd0614fbece0d02c082cfad1d82c39a5b7498d92f9cfc3f275c0dec8a1090841ce296169adce3353111aeb2bf5990f242be78ccc04d WHIRLPOOL 4d24fa84422ab280be018b07ab79c9ece627f4f00d2d800d3b817dc0f1cd77222505ceda0071a3ef1b8792aa73eb7c0e2bae3ec17cb4951e4e533a3ee71b3a81
|
DIST google-musicmanager-beta_1.0.221.5230-r0_amd64.deb 4330938 SHA256 67e063d58508a4b8df37ea0b87c9a33e54143be3653daabe16b1276ffed21ac0 SHA512 cf093c2f8e3010432ce5fcd0614fbece0d02c082cfad1d82c39a5b7498d92f9cfc3f275c0dec8a1090841ce296169adce3353111aeb2bf5990f242be78ccc04d WHIRLPOOL 4d24fa84422ab280be018b07ab79c9ece627f4f00d2d800d3b817dc0f1cd77222505ceda0071a3ef1b8792aa73eb7c0e2bae3ec17cb4951e4e533a3ee71b3a81
|
||||||
DIST google-musicmanager-beta_1.0.221.5230-r0_i386.deb 4189032 SHA256 31b48b6df317dec41ec5d3c5b6e19ea89ac6eb200d90bb28beab087dfab70c61 SHA512 276071acecc143b65dd5a14a60b7dfb1245818e6c3bb569883d1dab83841f228d6537b161446cf0bb2c115f95844da21951d94bb88e60e6494d0f5e8d0c3f19a WHIRLPOOL 6a0a38732ac301a6130d978f1b7bdcfd1b8949aa8954a47ea09c0dfc4298dfbcc029c3f6ef7ccd5a126feeedaf546e0729f79275f18496472177853ef85d931d
|
DIST google-musicmanager-beta_1.0.221.5230-r0_i386.deb 4189032 SHA256 31b48b6df317dec41ec5d3c5b6e19ea89ac6eb200d90bb28beab087dfab70c61 SHA512 276071acecc143b65dd5a14a60b7dfb1245818e6c3bb569883d1dab83841f228d6537b161446cf0bb2c115f95844da21951d94bb88e60e6494d0f5e8d0c3f19a WHIRLPOOL 6a0a38732ac301a6130d978f1b7bdcfd1b8949aa8954a47ea09c0dfc4298dfbcc029c3f6ef7ccd5a126feeedaf546e0729f79275f18496472177853ef85d931d
|
||||||
|
DIST google-musicmanager-beta_1.0.243.1116-r0_amd64.deb 4361868 SHA256 54f97f449136e173492d36084f2c01244b84f02d6e223fb8a40661093e0bec7c SHA512 7af9d085b819be630bfa9e5f8668721c64cecd2052f4eaab4d1b15be25be2b0e442ac33a5e790c80ed68f27d4ece16d64aaef85c2bb97cf3fe24a084aec48d55 WHIRLPOOL 5a088ca30995e0231f2bed0effeb954c49435f4ee92d714b64339c6212e05c33aab8af21f6f90d5c0994cd7252ab7bf0a831d0c6ee931a51140a1b07bbddf83f
|
||||||
|
DIST google-musicmanager-beta_1.0.243.1116-r0_i386.deb 4221330 SHA256 121a7939015e2270afa3f1c73554102e2b4f2e6a31482ff7be5e7c28dd101d3c SHA512 e579fddc34d0ae1633310e5deabc815d3e8a64bec1754c0d6ce2dd829fb7eece41e43cab862047f88469eec3190d1829e9968765ae12e4da8cd28ebe6f7688f5 WHIRLPOOL 1a9c385c9a94519fb9490eef1b6b99ba4ef48b4b52f8b06c2a6aea88e482ccb216d122da7327c905ef98d791abdce574de0f7a82f52dc037787666b6a73dc74a
|
||||||
|
@ -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 unpacker
|
|
||||||
|
|
||||||
#https://dl.google.com/linux/musicmanager/deb/dists/stable/main/binary-i386/Packages
|
|
||||||
MY_URL="https://dl.google.com/linux/musicmanager/deb/pool/main/${P:0:1}/${PN}-beta"
|
|
||||||
MY_PKG="${PN}-beta_${PV/_beta}-r0_i386.deb"
|
|
||||||
|
|
||||||
DESCRIPTION="Google Music Manager is a application for adding music to your Google Music library"
|
|
||||||
HOMEPAGE="https://music.google.com"
|
|
||||||
SRC_URI="x86? ( ${MY_URL}/${MY_PKG} )
|
|
||||||
amd64? ( ${MY_URL}/${MY_PKG/i386/amd64} )"
|
|
||||||
|
|
||||||
LICENSE="Google-TOS Apache-2.0 MIT LGPL-2.1 gSOAP BSD FDL-1.2 MPL-1.1 openssl ZLIB libtiff"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="-* ~amd64 ~x86"
|
|
||||||
IUSE="log"
|
|
||||||
|
|
||||||
OBSOLETE="yes"
|
|
||||||
[[ $OBSOLETE = yes ]] && RESTRICT="fetch strip" || RESTRICT="strip mirror"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
dev-libs/expat
|
|
||||||
dev-qt/qtcore:4
|
|
||||||
dev-qt/qtgui:4
|
|
||||||
dev-qt/qtwebkit:4
|
|
||||||
media-libs/flac
|
|
||||||
media-libs/libvorbis
|
|
||||||
net-dns/libidn
|
|
||||||
sys-libs/glibc
|
|
||||||
log? ( dev-libs/log4cxx )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="app-arch/xz-utils
|
|
||||||
app-admin/chrpath"
|
|
||||||
|
|
||||||
INSTALL_BASE="opt/google/musicmanager"
|
|
||||||
|
|
||||||
QA_TEXTRELS="${INSTALL_BASE}/libmpgdec.so.0"
|
|
||||||
|
|
||||||
QA_FLAGS_IGNORED="${INSTALL_BASE}/.*"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${INSTALL_BASE}"
|
|
||||||
|
|
||||||
pkg_nofetch() {
|
|
||||||
if [[ ${OBSOLETE} = yes ]]; then
|
|
||||||
elog "This version is no longer available from Google and the license prevents mirroring."
|
|
||||||
elog "This ebuild is intended for users who already downloaded it previously and have problems"
|
|
||||||
elog "with ${PV}+. If you can get the distfile from e.g. another computer of yours, or search"
|
|
||||||
use amd64 && MY_PKG="${MY_PKG/i386/amd64}"
|
|
||||||
elog "it with google: https://www.google.com/search?q=intitle:%22index+of%22+${MY_PKG}"
|
|
||||||
elog "and copy the file ${MY_PKG} to ${DISTDIR}."
|
|
||||||
else
|
|
||||||
einfo "This version is no longer available from Google."
|
|
||||||
einfo "Note that Gentoo cannot mirror the distfiles due to license reasons, so we have to follow the bump."
|
|
||||||
einfo "Please file a version bump bug on https://bugs.gentoo.org (search existing bugs for ${PN} first!)."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
insinto "/${INSTALL_BASE}"
|
|
||||||
doins config.json product_logo* lang.*.qm
|
|
||||||
|
|
||||||
exeinto "/${INSTALL_BASE}"
|
|
||||||
chrpath -d MusicManager || die
|
|
||||||
doexe MusicManager google-musicmanager minidump_upload
|
|
||||||
#TODO unbundle this
|
|
||||||
doexe libaacdec.so libaudioenc.so.0 libmpgdec.so.0 libid3tag.so
|
|
||||||
|
|
||||||
dosym /"${INSTALL_BASE}"/google-musicmanager /opt/bin/google-musicmanager
|
|
||||||
|
|
||||||
local icon size
|
|
||||||
for icon in product_logo_*.png; do
|
|
||||||
size=${icon#product_logo_}
|
|
||||||
size=${size%.png}
|
|
||||||
newicon -s "${size}" "${icon}" ${PN}.png
|
|
||||||
done
|
|
||||||
domenu ${PN}.desktop
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST yoshimi-1.3.2.tar.bz2 3160607 SHA256 b44a58c7750f4119abd6646b5ec6460082e5cf671242a75f50efeeaf2be38c38 SHA512 a0d9df925dae58aa5ddcbf6da649f0979715c49a8844f6176de819306d6e9b67fc471bc13a1f3ebf5b511afa0bf453c7b64fd2fc6fe2e249d52ecaa94f27b1a7 WHIRLPOOL 891812521641e7646bdf44a6c0e89f8db33485e021a974cbc3d89fd29c5bc089dda1b1ea2fbd752cb4851980b1879e210c044081f30a5e153a48dda7b879ca41
|
DIST yoshimi-1.3.2.tar.bz2 3160607 SHA256 b44a58c7750f4119abd6646b5ec6460082e5cf671242a75f50efeeaf2be38c38 SHA512 a0d9df925dae58aa5ddcbf6da649f0979715c49a8844f6176de819306d6e9b67fc471bc13a1f3ebf5b511afa0bf453c7b64fd2fc6fe2e249d52ecaa94f27b1a7 WHIRLPOOL 891812521641e7646bdf44a6c0e89f8db33485e021a974cbc3d89fd29c5bc089dda1b1ea2fbd752cb4851980b1879e210c044081f30a5e153a48dda7b879ca41
|
||||||
DIST yoshimi-1.3.5.2.tar.bz2 3442791 SHA256 198f820bfd3979d9dd13d32f7e976c689de25e33ee7cbe69d93a546d27df3d00 SHA512 0b78064e1efe85480e7960766d320e3e1cab194978ba3d10a35f97a73a181aa21993cfe1e58fab799dfe17ea134b158dfc4f6dbe0b4ac2fd4022fa62736dba40 WHIRLPOOL 84dc83ca99e2d1953f5c2d7513e547b101e4edb30bd723eafb22c7f69d8a48b6fc15b8fd7e59d3a85349a9087cefbd01d2770a1a265d13bfcd7b67e4338a0feb
|
DIST yoshimi-1.3.5.2.tar.bz2 3442791 SHA256 198f820bfd3979d9dd13d32f7e976c689de25e33ee7cbe69d93a546d27df3d00 SHA512 0b78064e1efe85480e7960766d320e3e1cab194978ba3d10a35f97a73a181aa21993cfe1e58fab799dfe17ea134b158dfc4f6dbe0b4ac2fd4022fa62736dba40 WHIRLPOOL 84dc83ca99e2d1953f5c2d7513e547b101e4edb30bd723eafb22c7f69d8a48b6fc15b8fd7e59d3a85349a9087cefbd01d2770a1a265d13bfcd7b67e4338a0feb
|
||||||
|
DIST yoshimi-1.3.8.2.tar.bz2 3576344 SHA256 28778202d1840120347802c591e216eac1ec211b022a374de973dab08da58472 SHA512 2149d113953c2962f5ad9b5148324f1586ec9f8522905735fe940fb2a0ea0307258a1788879efa6a599eab06e246254a92d520ad1f50723e993fcf879bddc15b WHIRLPOOL 58be64c3725127d0c9112eea83431d0f2498390a4adbc0cecc4719953f06b5cf94cf29ddb13e808ef8da3f0724ddb8704c14fab99215611f77c97874c8bc4839
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
Search for ncurses properly via pkg-config, in order to avoid breakage due to
|
||||||
|
recent internal ncurses linking shuffling.
|
||||||
|
|
||||||
|
* /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/yoshimi.dir/Misc/CmdInterface.cpp.o: undefined reference to symbol 'LINES'
|
||||||
|
* /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
|
||||||
|
|
||||||
|
--- yoshimi-1.3.8.2/src/CMakeLists.txt
|
||||||
|
+++ yoshimi-1.3.8.2/src/CMakeLists.txt
|
||||||
|
@@ -196,6 +196,8 @@
|
||||||
|
HINTS ${Readline_ROOT_DIR}/lib
|
||||||
|
)
|
||||||
|
|
||||||
|
+find_package(PkgConfig REQUIRED)
|
||||||
|
+pkg_search_module(NCURSES REQUIRED ncurses)
|
||||||
|
if(Readline_INCLUDE_DIR AND Readline_LIBRARY AND Ncurses_LIBRARY)
|
||||||
|
set(READLINE_FOUND TRUE)
|
||||||
|
else(Readline_INCLUDE_DIR AND Readline_LIBRARY AND Ncurses_LIBRARY)
|
||||||
|
@@ -462,7 +464,7 @@
|
||||||
|
|
||||||
|
add_executable (yoshimi ${ProgSources} main.cpp)
|
||||||
|
|
||||||
|
-target_link_libraries (yoshimi ${ExternLibraries})
|
||||||
|
+target_link_libraries (yoshimi ${ExternLibraries} ${NCURSES_LIBRARIES})
|
||||||
|
|
||||||
|
install (TARGETS yoshimi RUNTIME DESTINATION bin)
|
||||||
|
|
||||||
|
--- yoshimi-1.3.8.2/src/UI/WidgetPDialUI.fl
|
||||||
|
+++ yoshimi-1.3.8.2/src/UI/WidgetPDialUI.fl
|
||||||
|
@@ -40,8 +40,8 @@
|
||||||
|
\#include <FL/Fl_Tooltip.H>
|
||||||
|
\#include <FL/Fl_Group.H>
|
||||||
|
\#include <FL/x.H>
|
||||||
|
- \#include <cairo/cairo.h>
|
||||||
|
- \#include <cairo/cairo-xlib.h>} {private global
|
||||||
|
+ \#include <cairo.h>
|
||||||
|
+ \#include <cairo-xlib.h>} {private global
|
||||||
|
}
|
||||||
|
|
||||||
|
class TipWin {open : {public Fl_Menu_Window, MiscFuncs}
|
@ -0,0 +1,59 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
inherit cmake-utils
|
||||||
|
|
||||||
|
DESCRIPTION="A software synthesizer based on ZynAddSubFX"
|
||||||
|
HOMEPAGE="http://yoshimi.sourceforge.net/"
|
||||||
|
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+lv2"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/mini-xml-2.5
|
||||||
|
>=media-libs/alsa-lib-1.0.17
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/libsndfile
|
||||||
|
>=media-sound/jack-audio-connection-kit-0.115.6
|
||||||
|
sci-libs/fftw:3.0
|
||||||
|
sys-libs/ncurses:0=
|
||||||
|
sys-libs/zlib
|
||||||
|
x11-libs/cairo[X]
|
||||||
|
x11-libs/fltk:1[opengl]
|
||||||
|
lv2? ( media-libs/lv2 )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-libs/boost
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${P}-underlinking.patch"
|
||||||
|
"${FILESDIR}/${PN}-1.1.0-desktop-version.patch"
|
||||||
|
)
|
||||||
|
DOCS="../Changelog"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${P}/src
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
cd .. || die
|
||||||
|
default
|
||||||
|
|
||||||
|
sed -i \
|
||||||
|
-e '/set (CMAKE_CXX_FLAGS_RELEASE/d' \
|
||||||
|
-e "s:lib/lv2:$(get_libdir)/lv2:" \
|
||||||
|
src/CMakeLists.txt || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DBuildLV2Plugin=$(usex lv2 ON OFF)
|
||||||
|
)
|
||||||
|
cmake-utils_src_configure
|
||||||
|
}
|
@ -1,8 +1,7 @@
|
|||||||
DIST 0001-x86-Put-COPY3_IF_LT-under-HAVE_6REGS.patch.gz 736 SHA256 3df88fc60ad15116c03fd3f70d41f1a18db98b095add0fb937309116d7cf7201 SHA512 dbdfdf7fc1d42ebd93b0853e85ba0c07d816035c126a9303e6a5656bb9faeea16f16068d7e4aa67c7c4ade8ca09f64669e67f52d7d0a2a65518fa3897d586311 WHIRLPOOL 3038214bd498a195f405a0ce6eece3b04004802f50e05cb1ed081bd0345f93a7a00663902f50207061998a33cb4f5f8fcc1f63c8056233e79a3ad43d9823e9c5
|
DIST 0001-x86-Put-COPY3_IF_LT-under-HAVE_6REGS.patch.gz 736 SHA256 3df88fc60ad15116c03fd3f70d41f1a18db98b095add0fb937309116d7cf7201 SHA512 dbdfdf7fc1d42ebd93b0853e85ba0c07d816035c126a9303e6a5656bb9faeea16f16068d7e4aa67c7c4ade8ca09f64669e67f52d7d0a2a65518fa3897d586311 WHIRLPOOL 3038214bd498a195f405a0ce6eece3b04004802f50e05cb1ed081bd0345f93a7a00663902f50207061998a33cb4f5f8fcc1f63c8056233e79a3ad43d9823e9c5
|
||||||
DIST fate-10.tar.xz 558524508 SHA256 65779319ff75a5d93f20132a7c348db2ff6f0f0275fb64a23f81fbda6e44c1cb SHA512 5e569b899961d82c579d974eb13b8a5263ae7a83dc788119d6abf923c9c133029fd861960a85c316e0b0a0bd61722cc3bcb393a65d9d2c551084c0b1103cc582 WHIRLPOOL d9e0bb01ae809ca57a566ae804b9e30ff0239e43047a7f93d07ab0d31e95c7f06cadd651dd3badc2b906f34ffa12669cff87910ffe115f34c3279615f8afaddb
|
|
||||||
DIST fate-11.tar.xz 691009480 SHA256 4de446ae8c665e9410475c58f6294720f34cfdb1f20d29bbc0ee2576f810d597 SHA512 f9dc152964e3f19cf32d5d4cbc923a2bd05ba3b0f8f3880122df79d32852ee9d4795a0bfd66d7a2925299e9e9533888df6103e212ea3e5cbfe799d17ffa2b433 WHIRLPOOL 11034760105d1028330712f5ead087dffc9edc119945d618f6b02b37f4599db4c575a04c72f77cd5c6f180dc8e8ac2c9c1786d748b759aef2efd38191fcc6361
|
DIST fate-11.tar.xz 691009480 SHA256 4de446ae8c665e9410475c58f6294720f34cfdb1f20d29bbc0ee2576f810d597 SHA512 f9dc152964e3f19cf32d5d4cbc923a2bd05ba3b0f8f3880122df79d32852ee9d4795a0bfd66d7a2925299e9e9533888df6103e212ea3e5cbfe799d17ffa2b433 WHIRLPOOL 11034760105d1028330712f5ead087dffc9edc119945d618f6b02b37f4599db4c575a04c72f77cd5c6f180dc8e8ac2c9c1786d748b759aef2efd38191fcc6361
|
||||||
DIST fate-9.tar.xz 467671500 SHA256 27d10fd49267452ac787c3f43501a4a21d0ccaccc5ddd6d79d8a6150ee276532 SHA512 8e45539f2512ef915b37c857226c0243940259f269b8f99393b9defa3352d7b8c1fcc5078f4f0d40dc0509737f0c915e179cedcc77f71fe5d96b1b956169a202 WHIRLPOOL d280ac32c6d84f121be8d733774e72a4df3f2e84d71051aea509ef5ca3289c94fd548bf03ff12215e045bf20c83426c547e6b5eb446429d167f38af7c7aa9803
|
DIST fate-9.tar.xz 467671500 SHA256 27d10fd49267452ac787c3f43501a4a21d0ccaccc5ddd6d79d8a6150ee276532 SHA512 8e45539f2512ef915b37c857226c0243940259f269b8f99393b9defa3352d7b8c1fcc5078f4f0d40dc0509737f0c915e179cedcc77f71fe5d96b1b956169a202 WHIRLPOOL d280ac32c6d84f121be8d733774e72a4df3f2e84d71051aea509ef5ca3289c94fd548bf03ff12215e045bf20c83426c547e6b5eb446429d167f38af7c7aa9803
|
||||||
DIST libav-10.5.tar.xz 4650900 SHA256 c7a57042a5e4720152d27a0beea961ae52a3ae1d916a88c78c1e192e9e0d5f86 SHA512 fa4837daa3bf40f05902ac2d849179d104b1f9881b63b460363e577849cd55b0795e6e41aadec817eac89d1eaca88ce4a9ad0eb2dbf1dd789496dd9cd2637c59 WHIRLPOOL 03ba4cb4dbe8da4dee4a242dc14333ed6b1a2198783f687d143d65cd9c25a5f05aa7b30e49b784309af04045d4726ee3a702159da72ed00d76eaa1be01b7c4d3
|
|
||||||
DIST libav-11.3.tar.xz 4858864 SHA256 12ae6c051967765ae5faeddf94c4584129ac0b18edb884afffc5fcedcdb5e030 SHA512 f25b9fb7392d5bb4df35937f79beae26bd8f6606f0ad7cdebf16963834eb9b423d882f6a3a44b5120a5d5d853c7c31bb8c3420a427cd2b360f41a48a6d5df284 WHIRLPOOL 721c4cbe7ee3f7307d24c0e4f1cc1f8ab8b0ccd50ddf88b77ecf1cae05f06fc80d7527e9f7a0a098a6d95d0e7fed50082aaffa07935eab6e9131f7c9be6e696c
|
DIST libav-11.3.tar.xz 4858864 SHA256 12ae6c051967765ae5faeddf94c4584129ac0b18edb884afffc5fcedcdb5e030 SHA512 f25b9fb7392d5bb4df35937f79beae26bd8f6606f0ad7cdebf16963834eb9b423d882f6a3a44b5120a5d5d853c7c31bb8c3420a427cd2b360f41a48a6d5df284 WHIRLPOOL 721c4cbe7ee3f7307d24c0e4f1cc1f8ab8b0ccd50ddf88b77ecf1cae05f06fc80d7527e9f7a0a098a6d95d0e7fed50082aaffa07935eab6e9131f7c9be6e696c
|
||||||
|
DIST libav-11.4.tar.xz 4860264 SHA256 0b7dabc2605f3a254ee410bb4b1a857945696aab495fe21b34c3b6544ff5d525 SHA512 82ffe6aaccb1a19782dfcb0de641c8255531ce34ee5f49f9b8ec7f5a11c81713432aafc3a6b7c4de927eb8141ddea41f28e4e3a1ab715b943774193050fb02e7 WHIRLPOOL c2e14e06fd7632852feea45f468803929cb1c1688d77ac8641c56d77523da455ccdf4cc6bf52b3dba9b387af9ad15ea9efd82b11ce365c3a84440fb2998f06aa
|
||||||
DIST libav-9.14.tar.xz 4077424 SHA256 e4baf0c2adbd941a827854794dd6af9c29cd2042b23501c5828e9b8e1725f61d SHA512 fa8e83cb92a5a565cd23c63467c64972a69a4cbd652b946c7891b73180b609890f67a6f89f009ed263fb9e2c769236f3a8f7f70b0fce4c4373fa93a49470c04d WHIRLPOOL 178ba6c6ad0ecd8ad59eb3bf7a0d4289a3c253d82981cf3ad454e3b222848ae4f875e37cfd280be43faa25a9614c445106555c9f3b5ee4497aec9d71f39ac1af
|
DIST libav-9.14.tar.xz 4077424 SHA256 e4baf0c2adbd941a827854794dd6af9c29cd2042b23501c5828e9b8e1725f61d SHA512 fa8e83cb92a5a565cd23c63467c64972a69a4cbd652b946c7891b73180b609890f67a6f89f009ed263fb9e2c769236f3a8f7f70b0fce4c4373fa93a49470c04d WHIRLPOOL 178ba6c6ad0ecd8ad59eb3bf7a0d4289a3c253d82981cf3ad454e3b222848ae4f875e37cfd280be43faa25a9614c445106555c9f3b5ee4497aec9d71f39ac1af
|
||||||
DIST libav-9.17.tar.xz 4080028 SHA256 e32d5f152bce1de283c002a35eb6e71f265877633dee8a40db4d16381dd5d17c SHA512 20af83d4b6a23c159c2386b6592ba6a6acf3f2c54e8aeb16dd0c8a64d637fbde24f37b864698b1143c6802b64a7b5e8ddfe0e7601b35c35686a789e2b3232f5a WHIRLPOOL ec07b5dd116e87416a9841044e09a6ef9b124fe4882f53e88711a32813d3d3a1d71f5067854bbd553ecdadec401dbbb8b504bfc1c6966bfd5e2db79459fb9995
|
DIST libav-9.17.tar.xz 4080028 SHA256 e32d5f152bce1de283c002a35eb6e71f265877633dee8a40db4d16381dd5d17c SHA512 20af83d4b6a23c159c2386b6592ba6a6acf3f2c54e8aeb16dd0c8a64d637fbde24f37b864698b1143c6802b64a7b5e8ddfe0e7601b35c35686a789e2b3232f5a WHIRLPOOL ec07b5dd116e87416a9841044e09a6ef9b124fe4882f53e88711a32813d3d3a1d71f5067854bbd553ecdadec401dbbb8b504bfc1c6966bfd5e2db79459fb9995
|
||||||
|
@ -1,325 +0,0 @@
|
|||||||
# Copyright 1999-2015 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Id$
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999 ]] ; then
|
|
||||||
SCM="git-2"
|
|
||||||
EGIT_REPO_URI="git://git.libav.org/libav.git"
|
|
||||||
[[ ${PV%9999} != "" ]] && EGIT_BRANCH="release/${PV%.9999}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit eutils flag-o-matic multilib multilib-minimal toolchain-funcs ${SCM}
|
|
||||||
|
|
||||||
DESCRIPTION="Complete solution to record, convert and stream audio and video"
|
|
||||||
HOMEPAGE="http://libav.org/"
|
|
||||||
if [[ ${PV} == *9999 ]] ; then
|
|
||||||
SRC_URI=""
|
|
||||||
elif [[ ${PV%_p*} != ${PV} ]] ; then # Gentoo snapshot
|
|
||||||
SRC_URI="https://dev.gentoo.org/~lu_zero/libav/${P}.tar.xz"
|
|
||||||
else # Official release
|
|
||||||
SRC_URI="http://${PN}.org/releases/${P}.tar.xz"
|
|
||||||
fi
|
|
||||||
|
|
||||||
SRC_URI+=" test? ( https://dev.gentoo.org/~lu_zero/libav/fate-10.tar.xz )"
|
|
||||||
|
|
||||||
LICENSE="LGPL-2.1 gpl? ( GPL-3 )"
|
|
||||||
SLOT="0/10"
|
|
||||||
[[ ${PV} == *9999 ]] || KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64
|
|
||||||
~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos
|
|
||||||
~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="aac alsa amr +bzip2 cdio cpudetection custom-cflags debug doc +encode
|
|
||||||
faac fdk frei0r +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k mp3
|
|
||||||
+network openssl opus oss pic pulseaudio rtmp schroedinger sdl speex ssl
|
|
||||||
static-libs test theora threads tools truetype v4l vaapi vdpau vorbis vpx X
|
|
||||||
wavpack webp x264 xvid +zlib"
|
|
||||||
|
|
||||||
# String for CPU features in the useflag[:configure_option] form
|
|
||||||
# if :configure_option isn't set, it will use 'useflag' as configure option
|
|
||||||
CPU_FEATURES="cpu_flags_x86_3dnow:amd3dnow cpu_flags_x86_3dnowext:amd3dnowext altivec cpu_flags_x86_avx:avx cpu_flags_x86_mmx:mmx cpu_flags_x86_mmxext:mmxext neon cpu_flags_x86_ssse3:ssse3 vis cpu_flags_x86_avx2:avx2"
|
|
||||||
for i in ${CPU_FEATURES} ; do
|
|
||||||
IUSE+=" ${i%:*}"
|
|
||||||
done
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
!media-video/ffmpeg:0
|
|
||||||
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
|
|
||||||
amr? ( >=media-libs/opencore-amr-0.1.3-r1[${MULTILIB_USEDEP}] )
|
|
||||||
bzip2? ( >=app-arch/bzip2-1.0.6-r4[${MULTILIB_USEDEP}] )
|
|
||||||
cdio? (
|
|
||||||
|| (
|
|
||||||
>=dev-libs/libcdio-paranoia-0.90_p1-r1[${MULTILIB_USEDEP}]
|
|
||||||
<dev-libs/libcdio-0.90[-minimal,${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
)
|
|
||||||
encode? (
|
|
||||||
aac? ( >=media-libs/vo-aacenc-0.1.3[${MULTILIB_USEDEP}] )
|
|
||||||
amr? ( >=media-libs/vo-amrwbenc-0.1.2-r1[${MULTILIB_USEDEP}] )
|
|
||||||
faac? ( >=media-libs/faac-1.28-r3[${MULTILIB_USEDEP}] )
|
|
||||||
fdk? ( >=media-libs/fdk-aac-0.1.2[${MULTILIB_USEDEP}] )
|
|
||||||
mp3? ( >=media-sound/lame-3.99.5-r1[${MULTILIB_USEDEP}] )
|
|
||||||
theora? (
|
|
||||||
>=media-libs/libtheora-1.1.1[encode,${MULTILIB_USEDEP}]
|
|
||||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
vorbis? (
|
|
||||||
>=media-libs/libvorbis-1.3.3-r1[${MULTILIB_USEDEP}]
|
|
||||||
>=media-libs/libogg-1.3.0[${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )
|
|
||||||
wavpack? ( >=media-sound/wavpack-4.60.1-r1[${MULTILIB_USEDEP}] )
|
|
||||||
x264? ( >=media-libs/x264-0.0.20130506:=[${MULTILIB_USEDEP}] )
|
|
||||||
xvid? ( >=media-libs/xvid-1.3.2-r1[${MULTILIB_USEDEP}] )
|
|
||||||
)
|
|
||||||
frei0r? ( media-plugins/frei0r-plugins )
|
|
||||||
gsm? ( >=media-sound/gsm-1.0.13-r1[${MULTILIB_USEDEP}] )
|
|
||||||
ieee1394? (
|
|
||||||
>=media-libs/libdc1394-2.2.1[${MULTILIB_USEDEP}]
|
|
||||||
>=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
jack? ( >=media-sound/jack-audio-connection-kit-0.121.3-r1[${MULTILIB_USEDEP}] )
|
|
||||||
jpeg2k? ( >=media-libs/openjpeg-1.5.0:0[${MULTILIB_USEDEP}] )
|
|
||||||
opus? ( >=media-libs/opus-1.0.2-r2[${MULTILIB_USEDEP}] )
|
|
||||||
pulseaudio? ( >=media-sound/pulseaudio-2.1-r1[${MULTILIB_USEDEP}] )
|
|
||||||
rtmp? ( >=media-video/rtmpdump-2.4_p20131018[${MULTILIB_USEDEP}] )
|
|
||||||
ssl? (
|
|
||||||
openssl? ( >=dev-libs/openssl-1.0.1h-r2[${MULTILIB_USEDEP}] )
|
|
||||||
!openssl? ( >=net-libs/gnutls-2.12.23-r6[${MULTILIB_USEDEP}] )
|
|
||||||
)
|
|
||||||
sdl? ( >=media-libs/libsdl-1.2.15-r4[sound,video,${MULTILIB_USEDEP}] )
|
|
||||||
schroedinger? ( >=media-libs/schroedinger-1.0.11-r1[${MULTILIB_USEDEP}] )
|
|
||||||
speex? ( >=media-libs/speex-1.2_rc1-r1[${MULTILIB_USEDEP}] )
|
|
||||||
truetype? ( >=media-libs/freetype-2.5.0.1:2[${MULTILIB_USEDEP}] )
|
|
||||||
vaapi? ( >=x11-libs/libva-1.2.1-r1[${MULTILIB_USEDEP}] )
|
|
||||||
vdpau? ( >=x11-libs/libvdpau-0.7[${MULTILIB_USEDEP}] )
|
|
||||||
vpx? ( >=media-libs/libvpx-1.2.0_pre20130625[${MULTILIB_USEDEP}] )
|
|
||||||
X? (
|
|
||||||
>=x11-libs/libX11-1.6.2[${MULTILIB_USEDEP}]
|
|
||||||
>=x11-libs/libXext-1.3.2[${MULTILIB_USEDEP}]
|
|
||||||
>=x11-libs/libXfixes-5.0.1[${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )
|
|
||||||
"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
>=sys-devel/make-3.81
|
|
||||||
doc? ( app-text/texi2html )
|
|
||||||
ieee1394? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
|
||||||
cpu_flags_x86_mmx? ( dev-lang/yasm )
|
|
||||||
rtmp? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
|
||||||
schroedinger? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
|
||||||
ssl? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
|
||||||
test? ( sys-devel/bc )
|
|
||||||
truetype? ( >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] )
|
|
||||||
v4l? ( sys-kernel/linux-headers )
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPEND="${RDEPEND}
|
|
||||||
abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20140508-r3
|
|
||||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
|
||||||
|
|
||||||
# faac can't be binary distributed
|
|
||||||
# openssl support marked as nonfree
|
|
||||||
# faac and aac are concurent implementations
|
|
||||||
# amr and aac require at least lgpl3
|
|
||||||
# x264 requires gpl2
|
|
||||||
REQUIRED_USE="rtmp? ( network )
|
|
||||||
amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) cdio? ( gpl )
|
|
||||||
test? ( encode zlib )
|
|
||||||
"
|
|
||||||
|
|
||||||
# Test on live ebuild are not possible as they require trunk fate
|
|
||||||
RESTRICT="test faac? ( bindist ) fdk? ( bindist ) openssl? ( bindist )"
|
|
||||||
|
|
||||||
MULTILIB_WRAPPED_HEADERS=(
|
|
||||||
/usr/include/libavutil/avconfig.h
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch_user
|
|
||||||
|
|
||||||
# if we have snapshot then we need to hardcode the version
|
|
||||||
if [[ ${PV%_p*} != ${PV} ]]; then
|
|
||||||
sed -i -e "s/UNKNOWN/DATE-${PV#*_pre}/" "${S}/version.sh" || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
TOOLS=( aviocat graph2dot ismindex pktdumper qt-faststart trasher )
|
|
||||||
use zlib && TOOLS+=( cws2fws )
|
|
||||||
|
|
||||||
MAKEOPTS+=" V=1"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
local myconf=( ${EXTRA_LIBAV_CONF} )
|
|
||||||
local uses i
|
|
||||||
|
|
||||||
myconf+=(
|
|
||||||
$(use_enable gpl)
|
|
||||||
$(use_enable gpl version3)
|
|
||||||
--enable-avfilter
|
|
||||||
)
|
|
||||||
|
|
||||||
# enabled by default
|
|
||||||
uses="debug doc network zlib"
|
|
||||||
for i in ${uses}; do
|
|
||||||
use ${i} || myconf+=( --disable-${i} )
|
|
||||||
done
|
|
||||||
use bzip2 || myconf+=( --disable-bzlib )
|
|
||||||
use sdl || myconf+=( --disable-avplay )
|
|
||||||
|
|
||||||
if use ssl; then
|
|
||||||
use openssl && myconf+=( --enable-openssl --enable-nonfree ) \
|
|
||||||
|| myconf+=( --enable-gnutls )
|
|
||||||
fi
|
|
||||||
|
|
||||||
use custom-cflags && myconf+=( --disable-optimizations )
|
|
||||||
use cpudetection && myconf+=( --enable-runtime-cpudetect )
|
|
||||||
|
|
||||||
use vdpau || myconf+=( --disable-vdpau )
|
|
||||||
|
|
||||||
use vaapi && myconf+=( --enable-vaapi )
|
|
||||||
|
|
||||||
# Encoders
|
|
||||||
if use encode; then
|
|
||||||
use faac && myconf+=( --enable-nonfree )
|
|
||||||
use fdk && myconf+=( --enable-nonfree --enable-libfdk-aac )
|
|
||||||
use mp3 && myconf+=( --enable-libmp3lame )
|
|
||||||
use amr && myconf+=( --enable-libvo-amrwbenc )
|
|
||||||
use aac && myconf+=( --enable-libvo-aacenc )
|
|
||||||
uses="faac theora vorbis wavpack webp x264 xvid"
|
|
||||||
for i in ${uses}; do
|
|
||||||
use ${i} && myconf+=( --enable-lib${i} )
|
|
||||||
done
|
|
||||||
else
|
|
||||||
myconf+=( --disable-encoders )
|
|
||||||
fi
|
|
||||||
|
|
||||||
# libavdevice options
|
|
||||||
use cdio && myconf+=( --enable-libcdio )
|
|
||||||
use ieee1394 && myconf+=( --enable-libdc1394 )
|
|
||||||
use pulseaudio && myconf+=( --enable-libpulse )
|
|
||||||
|
|
||||||
# Indevs
|
|
||||||
# v4l1 is gone since linux-headers-2.6.38
|
|
||||||
myconf+=( --disable-indev=v4l )
|
|
||||||
use v4l || myconf+=( --disable-indev=v4l2 )
|
|
||||||
for i in alsa oss jack; do
|
|
||||||
use ${i} || myconf+=( --disable-indev=${i} )
|
|
||||||
done
|
|
||||||
use X && myconf+=( --enable-x11grab )
|
|
||||||
# Outdevs
|
|
||||||
for i in alsa oss ; do
|
|
||||||
use ${i} || myconf+=( --disable-outdev=${i} )
|
|
||||||
done
|
|
||||||
# libavfilter options
|
|
||||||
multilib_is_native_abi && use frei0r && myconf+=( --enable-frei0r )
|
|
||||||
use truetype && myconf+=( --enable-libfreetype )
|
|
||||||
|
|
||||||
# Threads; we only support pthread for now
|
|
||||||
use threads && myconf+=( --enable-pthreads )
|
|
||||||
|
|
||||||
# Decoders
|
|
||||||
use amr && myconf+=( --enable-libopencore-amrwb --enable-libopencore-amrnb )
|
|
||||||
uses="gsm opus rtmp schroedinger speex vpx"
|
|
||||||
for i in ${uses}; do
|
|
||||||
use ${i} && myconf+=( --enable-lib${i} )
|
|
||||||
done
|
|
||||||
use jpeg2k && myconf+=( --enable-libopenjpeg )
|
|
||||||
|
|
||||||
# CPU features
|
|
||||||
for i in ${CPU_FEATURES}; do
|
|
||||||
use ${i%:*} || myconf+=( --disable-${i#*:} )
|
|
||||||
done
|
|
||||||
|
|
||||||
# pass the right -mfpu as extra
|
|
||||||
use neon && myconf+=( --extra-cflags=-mfpu=neon )
|
|
||||||
|
|
||||||
# disable mmx accelerated code if PIC is required
|
|
||||||
# as the provided asm decidedly is not PIC for x86.
|
|
||||||
if use pic && [[ ${ABI} == x86 ]]; then
|
|
||||||
myconf+=( --disable-mmx --disable-mmxext )
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Option to force building pic
|
|
||||||
use pic && myconf+=( --enable-pic )
|
|
||||||
|
|
||||||
# cross compile support
|
|
||||||
if tc-is-cross-compiler ; then
|
|
||||||
myconf+=( --enable-cross-compile --arch=$(tc-arch-kernel) --cross-prefix=${CHOST}- )
|
|
||||||
case ${CHOST} in
|
|
||||||
*freebsd*)
|
|
||||||
myconf+=( --target-os=freebsd )
|
|
||||||
;;
|
|
||||||
mingw32*)
|
|
||||||
myconf+=( --target-os=mingw32 )
|
|
||||||
;;
|
|
||||||
*linux*)
|
|
||||||
myconf+=( --target-os=linux )
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Misc stuff
|
|
||||||
use hardcoded-tables && myconf+=( --enable-hardcoded-tables )
|
|
||||||
|
|
||||||
# Specific workarounds for too-few-registers arch...
|
|
||||||
if [[ ${ABI} == x86 ]]; then
|
|
||||||
local CFLAGS=${CFLAGS} CXXFLAGS=${CXXFLAGS}
|
|
||||||
filter-flags -fforce-addr -momit-leaf-frame-pointer
|
|
||||||
append-flags -fomit-frame-pointer
|
|
||||||
is-flag -O? || append-flags -O2
|
|
||||||
if use debug; then
|
|
||||||
# no need to warn about debug if not using debug flag
|
|
||||||
ewarn ""
|
|
||||||
ewarn "Debug information will be almost useless as the frame pointer is omitted."
|
|
||||||
ewarn "This makes debugging harder, so crashes that has no fixed behavior are"
|
|
||||||
ewarn "difficult to fix. Please have that in mind."
|
|
||||||
ewarn ""
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
set -- "${S}"/configure \
|
|
||||||
--prefix="${EPREFIX}"/usr \
|
|
||||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
|
||||||
--shlibdir="${EPREFIX}"/usr/$(get_libdir) \
|
|
||||||
--mandir="${EPREFIX}"/usr/share/man \
|
|
||||||
--enable-shared \
|
|
||||||
--cc="$(tc-getCC)" \
|
|
||||||
--ar="$(tc-getAR)" \
|
|
||||||
--optflags="${CFLAGS}" \
|
|
||||||
--extra-cflags="${CFLAGS}" \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
"${myconf[@]}"
|
|
||||||
echo "${@}"
|
|
||||||
"${@}" || die
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake
|
|
||||||
|
|
||||||
if use tools; then
|
|
||||||
tc-export CC
|
|
||||||
|
|
||||||
emake ${TOOLS[@]/#/tools/}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake DESTDIR="${D}" install install-man
|
|
||||||
|
|
||||||
if use tools; then
|
|
||||||
dobin ${TOOLS[@]/#/tools/}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
dodoc Changelog README INSTALL
|
|
||||||
dodoc doc/*.txt
|
|
||||||
use doc && dodoc doc/*.html
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
LD_LIBRARY_PATH="${BUILD_DIR}/libavcore:${BUILD_DIR}/libswscale:${BUILD_DIR}/libavcodec:${BUILD_DIR}/libavdevice:${BUILD_DIR}/libavfilter:${BUILD_DIR}/libavformat:${BUILD_DIR}/libavutil" \
|
|
||||||
emake -j1 fate
|
|
||||||
}
|
|
@ -1 +1 @@
|
|||||||
Mon, 25 Jan 2016 12:43:54 +0000
|
Tue, 26 Jan 2016 05:13:57 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Mon, 25 Jan 2016 12:43:54 +0000
|
Tue, 26 Jan 2016 05:13:58 +0000
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue