parent
5dc7f7b2f1
commit
03c931e8c3
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,59 @@
|
||||
Add configuration option to enable SSE2.
|
||||
Add -ffloat-store flag on x86 without SSE2.
|
||||
|
||||
Gentoo bug: https://bugs.gentoo.org/631852
|
||||
Gentoo bug: https://bugs.gentoo.org/641716
|
||||
Upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=101033
|
||||
|
||||
This patch is an aggregation of the following upstream commits:
|
||||
5996bbd995aed5045cc22e4d1fab08c989377983
|
||||
77bf71ea365a19ac55c59cf10399b566a02d82c1
|
||||
939482ab2b5a6585bdd2e5251f3f2f113d64686f
|
||||
cd617d181de03a7a13c2020e6c73cd14585e24b6
|
||||
f136d434f0809e064ac195b5bc4e0b50484a474c
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index e9a699e..d140a24 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,5 +1,6 @@
|
||||
######## Project settings
|
||||
cmake_minimum_required(VERSION 2.8.5)
|
||||
+include(CheckCCompilerFlag)
|
||||
set (PACKAGE_NAME uchardet)
|
||||
project (${PACKAGE_NAME} CXX C)
|
||||
enable_testing()
|
||||
@@ -33,13 +34,31 @@ include(GNUInstallDirs)
|
||||
|
||||
######## Configuration
|
||||
|
||||
-option(BUILD_BINARY "Build executable" ON)
|
||||
-option(BUILD_SHARED_LIBS "Build shared library and link executable to it" ON)
|
||||
+option(BUILD_BINARY "Build the CLI tool." ON)
|
||||
+option(BUILD_SHARED_LIBS "Build shared library and link executable to it." ON)
|
||||
+option(CHECK_SSE2 "Check and enable SSE2 extensions if supported. Disabling SSE on platforms which support it may decrease performances." ON)
|
||||
+set(TARGET_ARCHITECTURE "" CACHE STRING "Target CPU architecture. It is autodetected if not specified.")
|
||||
|
||||
if (BUILD_SHARED_LIBS)
|
||||
option(BUILD_STATIC "Build static library" ON)
|
||||
endif (BUILD_SHARED_LIBS)
|
||||
|
||||
+if (TARGET_ARCHITECTURE STREQUAL "")
|
||||
+ string(TOLOWER ${CMAKE_SYSTEM_PROCESSOR} TARGET_ARCHITECTURE)
|
||||
+endif (TARGET_ARCHITECTURE STREQUAL "")
|
||||
+
|
||||
+if (TARGET_ARCHITECTURE MATCHES ".*(x86)|(amd).*")
|
||||
+ CHECK_C_COMPILER_FLAG(-msse2 SUPPORTS_CFLAG_SSE2)
|
||||
+ CHECK_C_COMPILER_FLAG(-mfpmath=sse SUPPORTS_CFLAG_SSE_MATH)
|
||||
+ if (CHECK_SSE2 AND SUPPORTS_CFLAG_SSE2 AND SUPPORTS_CFLAG_SSE_MATH)
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -msse2 -mfpmath=sse")
|
||||
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse2 -mfpmath=sse")
|
||||
+ else (CHECK_SSE2 AND SUPPORTS_CFLAG_SSE2 AND SUPPORTS_CFLAG_SSE_MATH)
|
||||
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -ffloat-store")
|
||||
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ffloat-store")
|
||||
+ endif (CHECK_SSE2 AND SUPPORTS_CFLAG_SSE2 AND SUPPORTS_CFLAG_SSE_MATH)
|
||||
+endif (TARGET_ARCHITECTURE MATCHES ".*(x86)|(amd).*")
|
||||
+
|
||||
configure_file(
|
||||
uchardet.pc.in
|
||||
uchardet.pc
|
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="An encoding detector library"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/uchardet/"
|
||||
SRC_URI="https://www.freedesktop.org/software/uchardet/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ppc ppc64 x86"
|
||||
IUSE="cpu_flags_x86_sse2 static-libs test"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-enforce-IEEE-float-precision-r1.patch" )
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
use test || cmake_comment_add_subdirectory test
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DTARGET_ARCHITECTURE="${ARCH}"
|
||||
-DBUILD_STATIC=$(usex static-libs)
|
||||
-DCHECK_SSE2=$(usex cpu_flags_x86_sse2)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST recoll-1.23.3.tar.gz 2590148 BLAKE2B ec058bac500aa61b4e395720bffcc2bfbcaded954c986e8e1fe69720456267c33b5e34eb3e28de47f57d9af207c60b138c521792882b093120b988b682600b2a SHA512 bfad118dd9561c8d18e194b11d8014e2f9ea74f6aaf50f91704087775e6f72d5f3574a3eafe470dab7658cb4a7233817a672af939f21b3e69c719e599bc5cd06
|
||||
DIST recoll-1.23.6.tar.gz 2601494 BLAKE2B e64ed422a1ac1a816091f9ee00ee23b551690f5038cf3378a00ebf39c9e4f4e22436105ed01a1aa2bc21b633c85a73ba2847a265e4d199109a8b0c03ec53421e SHA512 ae6f6dfe5e63faf2310b32bd0ffd90f08b12de7452ded9e5bd58a45690797caa9f5c66ea94ef94ed7a4ee3e55083cc191fbecfc112dbce42415d0af1300fe8fd
|
||||
|
@ -0,0 +1,17 @@
|
||||
--- a/filters/recoll-we-move-files.py
|
||||
+++ b/filters/recoll-we-move-files.py
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python3
|
||||
+#!/usr/bin/env python2
|
||||
# Copyright (C) 2017 J.F.Dockes
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@@ -42,6 +42,8 @@ try:
|
||||
except:
|
||||
import rclconfig
|
||||
|
||||
+from __future__ import print_function
|
||||
+
|
||||
verbosity = 0
|
||||
def logdeb(s):
|
||||
if verbosity >= 4:
|
@ -0,0 +1,122 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils linux-info python-single-r1 qmake-utils
|
||||
|
||||
DESCRIPTION="A personal full text search package"
|
||||
HOMEPAGE="http://www.lesbonscomptes.com/recoll/"
|
||||
SRC_URI="http://www.lesbonscomptes.com/recoll/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="camelcase doc +inotify qt5 session +spell"
|
||||
REQUIRED_USE="session? ( inotify ) ${PYTHON_REQUIRED_USE}"
|
||||
|
||||
CDEPEND="
|
||||
dev-libs/xapian:=
|
||||
sys-libs/zlib:=
|
||||
virtual/libiconv
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtprintsupport:5
|
||||
dev-qt/qtwebkit:5
|
||||
)
|
||||
session? (
|
||||
inotify? (
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
x11-libs/libX11
|
||||
)
|
||||
)
|
||||
spell? ( app-text/aspell )
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
qt5? ( dev-qt/linguist-tools:5 )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/recoll-python3.patch" )
|
||||
|
||||
pkg_setup() {
|
||||
if has_version "<app-misc/recoll-1.20"; then
|
||||
einfo "Installing ${PV} over an 1.19 index is possible,"
|
||||
einfo "but there have been small changes in the way"
|
||||
einfo "compound words are indexed. So it is best to reset"
|
||||
einfo "the index. The best method to reset the index is to"
|
||||
einfo "quit all recoll programs and delete the index directory"
|
||||
einfo "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
|
||||
fi
|
||||
if use inotify; then
|
||||
CONFIG_CHECK="~INOTIFY_USER"
|
||||
check_extra_config
|
||||
fi
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang filters
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use qt5 && export QMAKE="$(qt5_get_bindir)/qmake"
|
||||
|
||||
econf \
|
||||
$(use_enable camelcase) \
|
||||
$(use_enable session x11mon) \
|
||||
$(use_enable qt5 qtgui) \
|
||||
$(use_enable qt5 webkit) \
|
||||
$(use_with inotify) \
|
||||
$(use_with spell aspell) \
|
||||
--without-fam \
|
||||
--enable-recollq
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake STRIP="$(type -P true)" DESTDIR="${D}" install
|
||||
|
||||
# html docs should be placed in /usr/share/doc/${PN}/html
|
||||
use doc && dodoc -r "${ED}"/usr/share/recoll/doc/.
|
||||
rm -r "${ED}/usr/share/recoll/doc" || die
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "In order to extract the full functionality of "
|
||||
einfo "recoll, the following packages should be installed "
|
||||
einfo "to get the corresponding document support."
|
||||
|
||||
optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
|
||||
optfeature "PDF files support" app-text/poppler
|
||||
optfeature "PDF files with OCR support" app-text/tesseract
|
||||
optfeature "MS Word files support" app-text/antiword
|
||||
optfeature "Wordperfect files support" "app-text/libwpd[tools]"
|
||||
optfeature "Lyx files support" app-office/lyx
|
||||
optfeature "CHM files support" dev-python/pychm
|
||||
optfeature "GNU Info files support" sys-apps/texinfo
|
||||
optfeature "RAR archives support" dev-python/rarfile
|
||||
optfeature "7zip archives support" dev-python/pylzma
|
||||
optfeature "iCalendar files support" dev-python/icalendar
|
||||
optfeature "Postscript files support" app-text/pstotext
|
||||
optfeature "RTF files support" app-text/unrtf
|
||||
optfeature "TeX files support" dev-text/detex
|
||||
optfeature "DVI files support" virtual/tex-base
|
||||
optfeature "DJVU files support" app-text/djvu
|
||||
optfeature "tags in audio files support" media-libs/mutagen
|
||||
optfeature "tags in image files support" media-libs/exiftool
|
||||
optfeature "Midi karaoke files support" dev-python/chardet
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST freetds-0.91.tar.gz 2136329 BLAKE2B 99dee4ae4d61a8d5c5340f220df9bef711c7da6f4f20ee293100e2f7c0c74821eb67aadc5814df8e82c2fc4d79f68457dae20a4f99b04dd9c043375c0a51b218 SHA512 4dadafe49848ab5505b0fa5bd650e19e7652c3e1181d3c49f087c50ed055f395eaf5917a99744ed3594e4af9032c4e18f397af58fb1010e695ac2c0bc601b5e3
|
||||
DIST freetds-1.00.41.tar.gz 2904915 BLAKE2B d92789c9a08dc9f7f04e8efc828841c3cace0e5a3affd11d8751a785db70db79fedffb3745a681b960d30a11efbb4fa457805eb4f72444eecc20eb65d46e2d82 SHA512 dec3197a6478fc59b7386f9a7a562df8b581bba7184210c42f26827e957b9746e6820d687a9c6cbcd7c825fc5d4f556547c0483d06c786a064d5c4859db4daa1
|
||||
DIST freetds-1.00.54.tar.gz 2907015 BLAKE2B 332888565c2890657ca6440e4bbe92e0324daf6c6e67f3fa2243bd2d5746e7e9aa100a7838d33cc8fa93e71e5d6a650976ce5164317f3147b192ceb915362534 SHA512 a2a5034705fe06ee38b085f980f6ddf086789abc9485331fdaf829e7243f7ba95a5f0c612d7e3ec9e10f28a5c8b3a3fd8e7853d66f67110bd860afce949c798c
|
||||
DIST freetds-dev.1.00.341.tar.gz 3002134 BLAKE2B c9396c1f205e13c9f3449bef19830cf3b6c2fa72539555ebd6bc1532c014472c862ba2ac7f495bee8f53d640d628c6b15bb50183585d43cf3dbbea4e314636d2 SHA512 fd691535dfa5c97463ff72056cfa5721557b71e41b6186ffcb08e193e51214cf966a33ee55b8e538a6f035aeeef14ac5b15fe8758f1afea9e1252a3b8951ba58
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
# This is from the "current" release series, because the "stable" series
|
||||
# is a little too stable for us (missing bug fixes, and so on).
|
||||
MY_PN="${PN}-dev"
|
||||
|
||||
DESCRIPTION="Tabular Datastream Library"
|
||||
HOMEPAGE="http://www.freetds.org/"
|
||||
SRC_URI="ftp://ftp.freetds.org/pub/${PN}/current/${MY_PN}.${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64
|
||||
~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos"
|
||||
IUSE="gnutls iconv kerberos libressl mssql iodbc odbc ssl"
|
||||
RESTRICT="test"
|
||||
|
||||
# sed, grep, and awk are used by the build system and the osql script.
|
||||
COMMON_DEPEND="sys-apps/sed
|
||||
sys-apps/grep
|
||||
virtual/awk
|
||||
gnutls? ( net-libs/gnutls )
|
||||
iconv? ( virtual/libiconv )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}"
|
||||
|
||||
# bind-tools is needed because the osql script calls "host".
|
||||
# binutils is for "strings".
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-devel/binutils
|
||||
net-dns/bind-tools"
|
||||
|
||||
# iODBC and unixODBC are mutually-exclusive choices for
|
||||
# the ODBC driver manager. Future versions of FreeTDS
|
||||
# will throw an error if you specify both.
|
||||
REQUIRED_USE="?? ( iodbc odbc )"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}.${PV}"
|
||||
|
||||
src_configure() {
|
||||
local myconf=( $(use_with iodbc) )
|
||||
myconf+=( $(use_with odbc unixodbc "${EPREFIX}/usr") )
|
||||
myconf+=( $(use_enable iconv libiconv) )
|
||||
myconf+=( $(use_with iconv libiconv-prefix "${EPREFIX}/usr") )
|
||||
myconf+=( $(use_enable kerberos krb5) )
|
||||
myconf+=( $(use_enable mssql msdblib) )
|
||||
myconf+=( $(use_with gnutls) )
|
||||
myconf+=( $(use_with ssl openssl "${EPREFIX}/usr") )
|
||||
myconf+=( --docdir="/usr/share/doc/${PF}" )
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST deviceatlas-enterprise-c-2.1.2_1.tgz 184432 SHA256 984e1ae3147459a4ed0a8d5053d83dd05ce8c5127cd3cb055be35a74e9217372 SHA512 4ff269c55e74688dc1c954a1d9b0fc28aa135eccd20089f4da390522644bd1c08e2bc38e4ad15a64308a0e91b007a820dcdc3998c262fa5a7cfe1038e9f0e969 WHIRLPOOL 73c1c7eec0daed7632e8a5a7ceda956ec91cc603fe45df2fdbf2b54ecc950bd72ff59fdd85ff6a0ee70d54b2099ecc3219ef55f4aecb308f254851f93fe57738
|
||||
DIST deviceatlas-enterprise-c-2.1.2_2.tgz 184368 SHA256 feaa9198a5d6bed125b34742bd626ad0a0fcb862803916cd7d974413f8bdfdce SHA512 46c021b3430c6900f9172c13cdeb26931634345485c2fe0fe7b6911f7c6f6bee46ab3551e4fe11ef5b5caabe66c786c72b51db6875aa9d44aab673056b9debee WHIRLPOOL d85161010cf195eab5ef9c4e83404ad08cc10d607ace5bc6424ffb170ca09a26d5410534279eab1d721615db943f3a447ff908f62f76311ec80c3d95abbb49d4
|
||||
DIST deviceatlas-enterprise-c-2.1.zip 504286 SHA256 a02fc29486d245b1c8d946c663b71ba981e88fee8d037f5bc1bf255deb287974 SHA512 99a8e89f3d1c084a93b184685108ea65d1fd925e0c8b52599a42dbe70af3126103da0a9fd284b14ddf59b996204334d360a12651025413bc4d7f76054779275b WHIRLPOOL 939733a58f352cbeee852ccfea3f2f022310ceb7363a15889d9a6366532102ee700271b6008e0a57ae4d86cafe6354409f9520105e46eaabb5c41f1a7827f1b4
|
||||
DIST deviceatlas-enterprise-c-2.1.3.tgz 183663 BLAKE2B e190aa8e9a4b9bc90af76e21eb425c0f040ef70e605c8f9e588bd0c859520a82807aaafddd24402d3365e94bcf3b7a875a65804f2b1b3bed6f0703f28a841440 SHA512 364811d42b2c0d937a12f2bbfee760701a1dee4e93bcc84423c8b236d59257a3440111ffc6072a7822b9694ea65986572550f67d0b1e5d68a784d1339b2b70aa
|
||||
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-multilib
|
||||
|
||||
MY_P="deviceatlas-enterprise-c-${PV/_p/_}"
|
||||
|
||||
DESCRIPTION="API to detect devices based on the User-Agent HTTP header"
|
||||
HOMEPAGE="https://deviceatlas.com"
|
||||
SRC_URI="${MY_P}.tgz"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]"
|
||||
DEPEND="
|
||||
${RDEPEND}"
|
||||
|
||||
RESTRICT="fetch mirror bindist"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PV}-src-cmakelists.patch"
|
||||
)
|
||||
|
||||
pkg_nofetch() {
|
||||
eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module"
|
||||
eerror "And download DeviceAtlas C API"
|
||||
eerror "Then place the file in ${DISTDIR}/${MY_P}.zip"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use doc ; then
|
||||
local -a HTML_DOCS=( Documentation )
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${P}/examples
|
||||
doins examples/daexutil.h
|
||||
doins examples/example{0,1,2,3}.c
|
||||
doins examples/util.c
|
||||
doins examples/EXAMPLES.USAGE
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,50 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit unpacker cmake-multilib
|
||||
|
||||
MY_P="deviceatlas-enterprise-c-${PV}"
|
||||
|
||||
DESCRIPTION="API to detect devices based on the User-Agent HTTP header"
|
||||
HOMEPAGE="https://deviceatlas.com"
|
||||
SRC_URI="${MY_P}.zip"
|
||||
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ppc x86"
|
||||
IUSE="doc examples"
|
||||
|
||||
RDEPEND="dev-libs/libpcre[${MULTILIB_USEDEP}]"
|
||||
DEPEND="app-arch/unzip
|
||||
${RDEPEND}"
|
||||
|
||||
RESTRICT="fetch mirror bindist"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PV}-cmake-install.patch"
|
||||
)
|
||||
|
||||
pkg_nofetch() {
|
||||
eerror "Please go to https://deviceatlas.com/deviceatlas-haproxy-module"
|
||||
eerror "And download DeviceAtlas C API"
|
||||
eerror "Then place the file in ${DISTDIR}/${MY_P}.zip"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use doc ; then
|
||||
local -a HTML_DOCS=( Documentation )
|
||||
fi
|
||||
|
||||
if use examples ; then
|
||||
insinto /usr/share/doc/${P}/examples
|
||||
doins examples/daexutil.h
|
||||
doins examples/example{0,1,2,3}.c
|
||||
doins examples/util.c
|
||||
doins examples/EXAMPLES.USAGE
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
--- ./CMakeLists.txt 2016-11-08 22:54:33.351677837 +0000
|
||||
+++ ./CMakeLists.txt 2016-11-08 23:04:26.737184360 +0000
|
||||
@@ -16,6 +16,7 @@
|
||||
set(MODEL 64)
|
||||
endif()
|
||||
|
||||
+include(GNUInstallDirs)
|
||||
message(STATUS "${CMAKE_BUILD_TYPE} version")
|
||||
|
||||
include_directories(${PCRE_INCLUDE_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
@@ -31,6 +32,9 @@
|
||||
|
||||
add_subdirectory(examples)
|
||||
|
||||
+install(TARGETS da DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||
+install(FILES dac.h dac_json.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||
+
|
||||
if (EXISTS "${PROJECT_SOURCE_DIR}/tests")
|
||||
subdirs(tests)
|
||||
endif()
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,2 @@
|
||||
DIST py2cairo-1.10.0.tar.bz2 402070 BLAKE2B 77a0c85d687f286bc77d6c8f05b50d534c7d2569cdd34fc3455c3d1e46580ba10131253ee94f3c5bf8bdcef433b09e75dd7d5f35f0c344cce571ed64979d6c35 SHA512 cb3d54de9af4134460ce731da8166a3127a642c8a2e6184109437ddec115cd55b8dd2413a5c81700277bfe2f22fcfe268db4f3ba0f7649751e85bb34295f79fc
|
||||
DIST pycairo-1.10.0-gentoo-patchset.tar.bz2 9669 BLAKE2B c2e0797e60b17bb8a871607abe51ebeb49a34de2036d5fde062abee532f5589156a80c8b6bd8d8906d2ff694a5736e28c6566db4d472a824aaaabd2c006dc297 SHA512 c367a7d8fa771ac900ca3363cb7dfd50de045cf67c73c6e552d05018c6933b13dd5660b033be59e1acf8af79f16253a8e56aaa3f135a262a8148711ae8b7a587
|
||||
DIST pycairo-1.10.0.tar.bz2 246556 BLAKE2B fd04135ef5c4591641cd3ec29aad4de70946962cb0473e737b7cb4ab1d88295cbd920a598923e0c28af44175a69ecfa194a7a64ca27dcc109b93f1571cdf2fac SHA512 a03db6f04cea504985f390b0734042390f491f32ae2bee1299dabbafd369fde36bb506ebb941d22bbc11b0d008c4f758baeacf309a7336880529455092db829f
|
||||
DIST pycairo-1.15.3.tar.gz 177056 BLAKE2B cba4a212c3537d5718a73742468444b01372902d86f88558cf63ab2ec1999dac036b349d84dff0bdcae5126998c5e921f05bab54b708a29ca2381b8d1371ac44 SHA512 1fc75d193eacb976f2e5a594aa07409a0f80ccb21921065c1794961143785eed48be1966d2d2d3e2d0428f9b4e956994dd851d21f3c3cb91fbc27b007a901ce8
|
||||
DIST pycairo-1.15.4.tar.gz 178436 BLAKE2B 23c5064f537b8d8be12bb64df375c1d5be8962f80adf2437115dde59c18c3755a693b0cb8b3bee248ce8c906f23acfa264f2da6e02770bc59d823beba1bc9e7b SHA512 7e785d23393a8d0c5aca9a4440eb64b0eca9a60c1a18b0dc8452edd6de9422c743d082530387bcbedd34d52377d0892ad395998e9467ba08e22c318684cbee34
|
||||
|
@ -1,149 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
PYTHON_REQ_USE='threads(+)'
|
||||
|
||||
inherit eutils python-r1 waf-utils toolchain-funcs
|
||||
|
||||
PYCAIRO_PYTHON2_VERSION="${PV}"
|
||||
PYCAIRO_PYTHON3_VERSION="${PV}"
|
||||
|
||||
DESCRIPTION="Python bindings for the cairo library"
|
||||
HOMEPAGE="http://cairographics.org/pycairo/ https://pypi.python.org/pypi/pycairo"
|
||||
SRC_URI="
|
||||
http://cairographics.org/releases/py2cairo-${PYCAIRO_PYTHON2_VERSION}.tar.bz2
|
||||
http://cairographics.org/releases/pycairo-${PYCAIRO_PYTHON3_VERSION}.tar.bz2
|
||||
https://dev.gentoo.org/~mgorny/dist/${P}-gentoo-patchset.tar.bz2"
|
||||
|
||||
# LGPL-3 for pycairo 1.10.0.
|
||||
# || ( LGPL-2.1 MPL-1.1 ) for pycairo 1.8.10.
|
||||
LICENSE="LGPL-3 || ( LGPL-2.1 MPL-1.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="doc examples +svg test xcb"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
# Note: xpyb is used as the C header, not Python modules
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=x11-libs/cairo-1.10.0[svg?,xcb?]
|
||||
xcb? ( x11-libs/xpyb )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
pushd "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" > /dev/null || die
|
||||
rm -f src/config.h || die
|
||||
epatch \
|
||||
"${WORKDIR}/${P}-gentoo-patchset/${PN}-1.10.0-svg_check.patch" \
|
||||
"${WORKDIR}/${P}-gentoo-patchset/${PN}-1.10.0-xpyb.patch" \
|
||||
"${WORKDIR}/${P}-gentoo-patchset/${PN}-1.10.0-waf-unpack.patch" \
|
||||
"${WORKDIR}/${P}-gentoo-patchset"/py2cairo-1.10.0-ppc-darwin.patch \
|
||||
"${WORKDIR}/${P}-gentoo-patchset"/pycairo-1.10.0-101_pycairo-region.patch
|
||||
popd > /dev/null
|
||||
|
||||
pushd "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" > /dev/null || die
|
||||
rm -f src/config.h || die
|
||||
epatch \
|
||||
"${WORKDIR}/${P}-gentoo-patchset/py2cairo-1.10.0-svg_check.patch" \
|
||||
"${WORKDIR}/${P}-gentoo-patchset/py2cairo-1.10.0-xpyb.patch" \
|
||||
"${WORKDIR}/${P}-gentoo-patchset"/py2cairo-1.10.0-ppc-darwin.patch
|
||||
popd > /dev/null
|
||||
|
||||
preparation() {
|
||||
if python_is_python3; then
|
||||
cp -r -l "${WORKDIR}/pycairo-${PYCAIRO_PYTHON3_VERSION}" "${BUILD_DIR}" || die
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
wafdir="$(./waf unpack)"
|
||||
pushd "${wafdir}" > /dev/null || die
|
||||
epatch \
|
||||
"${WORKDIR}/${P}-gentoo-patchset/${PN}-1.10.0-waf-py3_4.patch" \
|
||||
"${WORKDIR}/${P}-gentoo-patchset"/pycairo-1.10.0-50_specify-encoding-in-waf.patch \
|
||||
"${WORKDIR}/${P}-gentoo-patchset"/pycairo-1.10.0-80_fix-pickle.patch \
|
||||
"${WORKDIR}/${P}-gentoo-patchset"/pycairo-1.10.0-81_pickling-again.patch
|
||||
|
||||
popd > /dev/null
|
||||
popd > /dev/null
|
||||
else
|
||||
cp -r -l "${WORKDIR}/py2cairo-${PYCAIRO_PYTHON2_VERSION}" "${BUILD_DIR}" || die
|
||||
fi
|
||||
}
|
||||
python_foreach_impl preparation
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if ! use svg; then
|
||||
export PYCAIRO_DISABLE_SVG=1
|
||||
fi
|
||||
|
||||
if ! use xcb; then
|
||||
export PYCAIRO_DISABLE_XPYB=1
|
||||
fi
|
||||
|
||||
tc-export PKG_CONFIG
|
||||
# Also export the var with the slightly diff name that waf uses for no good reason.
|
||||
export PKGCONFIG=${PKG_CONFIG}
|
||||
|
||||
# Added by grobian:
|
||||
# If WAF_BINARY is an absolute path, the configure is different and fails to
|
||||
# find Python.h due to a compiler misconfiguration. If WAF_BINARY is just
|
||||
# ./waf or python waf, it works fine. Hooray for reinvented buildsystems
|
||||
|
||||
# floppym:
|
||||
# pycairo and py2cairo bundle different versions of waf (bug 447856)
|
||||
WAF_BINARY="./waf"
|
||||
python_foreach_impl run_in_build_dir waf-utils_src_configure --nopyc --nopyo
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
python_foreach_impl run_in_build_dir waf-utils_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
test_installation() {
|
||||
./waf install --destdir="${T}/tests/${BUILD_DIR}"
|
||||
PYTHONPATH="${T}/tests/${BUILD_DIR}$(python_get_sitedir)" py.test -v
|
||||
}
|
||||
python_foreach_impl run_in_build_dir test_installation
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_foreach_impl run_in_build_dir waf-utils_src_install
|
||||
|
||||
dodoc AUTHORS NEWS README
|
||||
|
||||
if use doc; then
|
||||
pushd doc/_build/html > /dev/null || die
|
||||
dohtml -r [a-z]* _static
|
||||
popd > /dev/null || die
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r examples/*
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# fix install_names; next to waf producing dylibs (not bundles) and
|
||||
# calling them .bundle, it also has no idea what it should do to create
|
||||
# proper ones (dylibs)
|
||||
fix_darwin_install_names() {
|
||||
local suffix=$("${PYTHON}" -c 'import sysconfig; print(sysconfig.get_config_var("EXT_SUFFIX"))')
|
||||
[[ -z ${suffix} || ${suffix} == "None" ]] && suffix=".bundle"
|
||||
local x="$(python_get_sitedir)/cairo/_cairo${suffix}"
|
||||
install_name_tool -id "${x}" "${D}${x}"
|
||||
}
|
||||
python_foreach_impl fix_darwin_install_names
|
||||
fi
|
||||
}
|
||||
|
||||
run_in_build_dir() {
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
"$@"
|
||||
popd > /dev/null || die
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST mechanize-2.7.3.gem 133120 BLAKE2B 163b9e03d40f774bffe16459f027202f18d3b2c974ce7c0bc527021177ca47c38bfe25d87fe0b862ec85e73fdf6e39ce8ff3392f4f7ba557fedcf3c4e63cfe2c SHA512 5a06f1e7a1c97f985f3011358061c631bcc69e3092082959f738670c9491f734bc6dbbca321018fa484ee493f2f251b8af0cf17602fe381d491ff3e18663f2eb
|
||||
DIST mechanize-2.7.5.gem 137216 BLAKE2B 696b0fbb84b8f25e3d52d9d9f20267d53a4294e15ed64f6cefc87dd6d2a279c6f3c7608bfdbdbfbe6fc188cb16b06e219067c97838db4249f233ae12f047b9b8 SHA512 0dfd000d8f58be3fc08e2d6e625128135d6fc2d22e899152f46f66c545c6ede0d1e7b798f4b7de2f96ccdcf7c47001a3946866d0d6a19f9faa946ade6a4bcf92
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc EXAMPLES.rdoc GUIDE.rdoc README.rdoc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby library used for automating interaction with websites"
|
||||
HOMEPAGE="https://github.com/sparklemotion/mechanize"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend ">=dev-ruby/hoe-3.7
|
||||
test? ( dev-ruby/minitest:5 )"
|
||||
ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4-r1
|
||||
>=dev-ruby/net-http-digest_auth-1.1.1
|
||||
>=dev-ruby/net-http-persistent-2.5.2
|
||||
>=dev-ruby/ntlm-http-0.1.1
|
||||
>=dev-ruby/webrobots-0.0.9
|
||||
>=dev-ruby/http-cookie-1.0.2
|
||||
>=dev-ruby/mime-types-2.0
|
||||
>=dev-ruby/domain_name-0.5.1"
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/* || die
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST ruby-oci8-2.1.8.gem 249856 BLAKE2B 7c75953da2b5418fe03ee6e576e94db0c58d18f2fb078ae30d29879befacb4357ea4153ec511dda3be1b5628353e32cffe903a57ca54f4ba80be27c840afe85e SHA512 897e5b86106b45e12bf359b8ed379a36a1c457daa1de9e7a8431f409ec25b12b20e30ed254a2bc77ab1abc0731f1c45e93860a36e0e6903c6fc7573a9ceeef9e
|
||||
DIST ruby-oci8-2.2.3.gem 317952 BLAKE2B 13d49364c6ee3f46dd8b54062584ca2bf32c236e2f4429f1fa1bec46c0ece220f3fbb214d739703565e0356581a6a9ee657d46413c14f76c97e10b22887b8ffa SHA512 67323ba01bb30f5e405f8b4b4e0d1749cb8c96a7b158cdd77079936e73ac651e27e1df2c0417cb20ec69fcd997a92113757c697b4e5e0b2f498c2a18da400fc4
|
||||
DIST ruby-oci8-2.2.4.1.gem 325120 BLAKE2B adb8eb38a1368b0ed305c9173c9e68f60845f454c618ba54b64c95bd6f7d1f9507c38419e5c334cbebca67ce38e7d4edba1dc4778a742147ff512bf32edf4d30 SHA512 54323843ebd3f7252b6d96cd1136752172f879bb6a67842c38e3a84effae18fddb2350be2ed4257c1db5ee54bf7678a098e2b1424508d3e597778e874bcbf20f
|
||||
DIST ruby-oci8-2.2.5.1.gem 329728 BLAKE2B e235d2b252673962618d8a7840b10c62944407a08bef02a47cbd3fa091fc41404b682d9f89ff42592f16b990ff0e051d0a1b4c87409bbd2429ced488a8e67696 SHA512 e868fae291155f3fdeff2acd948fcf3e56d9dfc5ea9c60e40cc9c742a82fc924999f788b2765088d31fb680c9e192e37e6d12c6dcedd2ed1f6aeef4c8c9bfe7a
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="NEWS README.md ChangeLog"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
DESCRIPTION="A Ruby library for Oracle OCI8"
|
||||
HOMEPAGE="https://rubygems.org/gems/ruby-oci8/"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND+=" dev-db/oracle-instantclient-basic"
|
||||
DEPEND+=" dev-db/oracle-instantclient-basic"
|
||||
|
||||
EXT_DIR="ext/oci8"
|
||||
|
||||
each_ruby_configure() {
|
||||
# configure the native libraries
|
||||
${RUBY} -C${EXT_DIR} extconf.rb --prefix="${D}/usr" || die "configure failed"
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
# compile the native libraries
|
||||
emake -C ${EXT_DIR} V=1 || die "could not compile native library"
|
||||
}
|
||||
|
||||
each_ruby_install() {
|
||||
# install the native libraries
|
||||
emake -C ${EXT_DIR} install DESTDIR="${D}" || die "could not install native library"
|
||||
# install the gem files
|
||||
each_fakegem_install
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby21 ruby22 ruby23 ruby24"
|
||||
EAPI=6
|
||||
USE_RUBY="ruby22 ruby23 ruby24"
|
||||
|
||||
inherit multilib ruby-fakegem
|
||||
|
@ -1,3 +1 @@
|
||||
DIST simplecov-0.13.0.gem 55808 BLAKE2B eebc4d6dd7ecbe6ade922bcdf81b74a4c159f5987b46925f71a3dfdb17d11a228b6c97a4a0a4258be03163a16a1786949701d92904d58f580b613fb06c0710c4 SHA512 9cc7f88e1a8b793d69e4fc92610805202d68f1c883cdddc7ae9426d250ebd68d72b61879801897748e26750db04f51d3dd0332fe807dab6ec0b2c982b8693d69
|
||||
DIST simplecov-0.14.0.gem 58368 BLAKE2B c70c72b9a8275564427df0f7c9bf4590359ecb62ee53994c328facffbaf041548f78f02be28f556d5b815ddba52947d9eb355b54ef4f1be6b2528024a96ae22b SHA512 ce0c1960f65f15c6271d9ad75553332e3ae256ba4c28d5c4255eaf6ceb5f0222be1bd79b7773373ac30549fa9ee9fb7f471ff69eaa81359c019f96f525856cad
|
||||
DIST simplecov-0.14.1.gem 58880 BLAKE2B 61882c34341555ce47df82f8931a8c457d0c6d69a143fa4c9999ff0b3aafb8510d2957627e1dfa9e3819c1509670fdc0a062021eb6655914cc935f9abbd584a1 SHA512 7b62fef6df1d3b395b03a5444d65430ae645aca7c13e6694f4377b35a82c0b4503e5d53a94512ff06e634a6d81331a8bce31787dba793517ecd3e502220afbaf
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Code coverage with a configuration library and merging across test suites"
|
||||
HOMEPAGE="https://www.ruby-toolbox.com/projects/simplecov https://github.com/colszowka/simplecov"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0.8"
|
||||
IUSE="doc"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/json-1.8:0 <dev-ruby/json-3:0
|
||||
dev-ruby/simplecov-html:0.10
|
||||
>=dev-ruby/docile-1.1.0"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec:3
|
||||
dev-ruby/test-unit:2
|
||||
)"
|
||||
|
||||
# There are also cucumber tests that require poltergeist and unpackaged phantomjs gem.
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' spec/helper.rb features/support/env.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
RSPEC_VERSION=3 ruby-ng_rspec spec/*spec.rb || die
|
||||
|
||||
#${RUBY} -S cucumber features || die
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Code coverage with a configuration library and merging across test suites"
|
||||
HOMEPAGE="https://www.ruby-toolbox.com/projects/simplecov https://github.com/colszowka/simplecov"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0.8"
|
||||
IUSE="doc"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/json-1.8:0 <dev-ruby/json-3:0
|
||||
dev-ruby/simplecov-html:0.10
|
||||
>=dev-ruby/docile-1.1.0"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/rspec:3
|
||||
dev-ruby/test-unit:2
|
||||
)"
|
||||
|
||||
# There are also cucumber tests that require poltergeist and unpackaged phantomjs gem.
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' spec/helper.rb features/support/env.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
RSPEC_VERSION=3 ruby-ng_rspec spec/*spec.rb || die
|
||||
|
||||
#${RUBY} -S cucumber features || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST spreadsheet-0.6.9.gem 160256 BLAKE2B e669e020e7df13ec9826b06e311d31ba13d000630185f98623cfe344fa2fdf515e0cfadd7c6a1e0def0f882c1498fc6c264df55ecc99d097f941eba8c642aa3e SHA512 9400908153a671cfcf17dd9dfa8db7de0a9c95281ba6dbee1ac8002e9f0058616e5887e36eb2e1e2c790516731117d5a0f7efdbadcaaea3c69a8f9aa8d3091ac
|
||||
DIST spreadsheet-1.1.3.tar.gz 4655837 BLAKE2B fdb28822c0d40eaceaeccd7ecb7861fa7ab9cf2f775aeca2f5fa00dc7932d17f1cbf5298aac4458109bada8e1d97a5a537f9054cc947aa4140dde3ae260556e3 SHA512 c1529318384c4e48abe20aad21aa80d652ab91bca505379c310707fa23382654252bfc04d1f8bdb7aa6ec00d0e064790e3ffdcf1c1089bd49010e79729a36690
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
# Avoid the complexity of the "rake" recipe and run testrb-2 manually.
|
||||
RUBY_FAKEGEM_RECIPE_TEST=none
|
||||
|
||||
# Same thing for the docs whose rake target just calls rdoc.
|
||||
RUBY_FAKEGEM_RECIPE_DOC=rdoc
|
||||
RUBY_FAKEGEM_EXTRADOC="GUIDE.txt History.txt README.txt"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby library to read and write spreadsheet documents"
|
||||
HOMEPAGE="https://rubygems.org/gems/spreadsheet"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )"
|
||||
ruby_add_rdepend ">=dev-ruby/ruby-ole-1.0"
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 --pattern='.+.rb' --exclude='suite\.rb' test/
|
||||
}
|
@ -1,6 +1,2 @@
|
||||
DIST sprockets-2.12.3-git.tgz 195647 BLAKE2B 332855d9505456ddf2cc17e8027c1a048ff503c82deb4cb22d0df1d1711a88db11b2e9b3a102843e1affc8d4c676726344f5676248ea8a3e8de57746e4fba4e1 SHA512 fd9544ed946bdf95968f198e74a36b682613d68e29a46708fd46c8b58792bf52526936b4c8d9ec3acea8f7cce789a69bcf4da3269741d43e186001061cbed03a
|
||||
DIST sprockets-3.4.1-git.tgz 298315 BLAKE2B 4f904fc8f1a252f85495b09d8889a4fa61e7c2ece55e8f00fbe388793dd084ac7ececcf283b7d62c9c660ac427263c723af61d52f9aae560fac5cdef2e4066d7 SHA512 dd8bae1d922b662ef3215742731024d13b3fbc435124bb25351eeb6d33363383cb630ff60a8f6199205f31ed484e76c4a40d2c8a02b05e35bd9e73eb43a951bb
|
||||
DIST sprockets-3.5.2-git.tgz 302784 BLAKE2B 189d590ca7e36cebdde3e3a2497946f55ad620cfd74f7f92270438afb26745113936037bd684c1ae93d842ec0d09a2713e35353d2ba98122e935c33639343d43 SHA512 8e599cf646baf53650ecafc65923d7e92c0d04cbf7207f64a0aaa4098d068ce4a1c252c5ce879188cff9d9af6f88ba50fa39d7af643b2668f23b1b8535a284c2
|
||||
DIST sprockets-3.6.3-git.tgz 367032 BLAKE2B 0d8846cab53b2f3e89b08988f031e8331b958d5e6d6a6b13c18244f57e841d31ee0dbfe28346b898da04610926301ab0c5ff8b5eaad80c8b08a2351e9c9e81ab SHA512 4e497e87e0a5e93baa142071bf200810b47ad26dd9f431dbcda8e332629d971e94d43da2ebd04331d7be7f6807a4c707bdd0cf33303aa689da8996be26adbcac
|
||||
DIST sprockets-3.7.0-git.tgz 368648 BLAKE2B eea0843ec57712e330e137a52c949d74131bf72755c5531ae154c4def707a6557466fcdc64444ebdfc3f34bfe3418ac8fec6255e6b23a6ec20790661c04b8275 SHA512 ed9e2ee8515a69e56816701182502b09fcad25900a6f77696daa32e943d6ab0ec01cae9df2592373b00f2e28fbc63c7476ffff793702a9d6857f38ee913781f6
|
||||
DIST sprockets-3.7.1-git.tgz 368910 BLAKE2B 1411f0ad02da1fe6c3774a3c7fd689b174e18ef72a2a032eccfca2c9b4bb5298312488cd97511572e7785e7eb1b00b6accce90046b2d59b91edc8b38542aa0e1 SHA512 b766070806d62ef10839c12c0e1ba31b3553d014fc45df27fe7dc678d6980b8da3080733b1bcc3d40b1ed9d41550e45da7a365d10fc5de0b1eb88d769169cc3e
|
||||
|
@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Ruby library for compiling and serving web assets"
|
||||
HOMEPAGE="https://github.com/rails/sprockets"
|
||||
SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1)"
|
||||
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/sprockets-2.12.3-r1:2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/json
|
||||
dev-ruby/rack-test
|
||||
=dev-ruby/coffee-script-2*
|
||||
=dev-ruby/execjs-2*
|
||||
=dev-ruby/sass-3* >=dev-ruby/sass-3.1
|
||||
dev-ruby/uglifier
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid tests for template types that we currently don't package:
|
||||
# eco and ejs.
|
||||
sed -i -e '/eco templates/,/end/ s:^:#:' \
|
||||
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
|
||||
sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die
|
||||
rm -f test/test_require.rb test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Make sure we have completely separate copies. Hardlinks won't work
|
||||
# for this test suite.
|
||||
cp -R test test-new || die
|
||||
rm -rf test || die
|
||||
mv test-new test || die
|
||||
|
||||
each_fakegem_test
|
||||
}
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Ruby library for compiling and serving web assets"
|
||||
HOMEPAGE="https://github.com/rails/sprockets"
|
||||
SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1)"
|
||||
KEYWORDS="~amd64 ~arm ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/concurrent-ruby:1
|
||||
=dev-ruby/rack-1*:*
|
||||
!!<dev-ruby/sprockets-2.12.3-r1:2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/json
|
||||
dev-ruby/rack-test
|
||||
=dev-ruby/coffee-script-2*
|
||||
=dev-ruby/execjs-2*
|
||||
=dev-ruby/sass-3* >=dev-ruby/sass-3.1
|
||||
dev-ruby/uglifier
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid tests for template types that we currently don't package:
|
||||
# eco and ejs.
|
||||
sed -i -e '/eco templates/,/end/ s:^:#:' \
|
||||
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
|
||||
sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die
|
||||
rm -f test/test_require.rb test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Make sure we have completely separate copies. Hardlinks won't work
|
||||
# for this test suite.
|
||||
cp -R test test-new || die
|
||||
rm -rf test || die
|
||||
mv test-new test || die
|
||||
|
||||
each_fakegem_test
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Ruby library for compiling and serving web assets"
|
||||
HOMEPAGE="https://github.com/rails/sprockets"
|
||||
SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1)"
|
||||
KEYWORDS="~amd64 ~arm ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/concurrent-ruby:1
|
||||
>=dev-ruby/rack-1:* <dev-ruby/rack-3:*
|
||||
!!<dev-ruby/sprockets-2.12.3-r1:2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/json
|
||||
dev-ruby/rack-test
|
||||
=dev-ruby/coffee-script-2*
|
||||
=dev-ruby/execjs-2*
|
||||
=dev-ruby/sass-3* >=dev-ruby/sass-3.1
|
||||
dev-ruby/uglifier
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid tests for template types that we currently don't package:
|
||||
# eco and ejs.
|
||||
sed -i -e '/eco templates/,/end/ s:^:#:' \
|
||||
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
|
||||
sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die
|
||||
rm -f test/test_require.rb test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die
|
||||
sed -i -e "/bundler/d" Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Make sure we have completely separate copies. Hardlinks won't work
|
||||
# for this test suite.
|
||||
cp -R test test-new || die
|
||||
rm -rf test || die
|
||||
mv test-new test || die
|
||||
|
||||
each_fakegem_test
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="sprockets.gemspec"
|
||||
|
||||
inherit ruby-fakegem versionator
|
||||
|
||||
DESCRIPTION="Ruby library for compiling and serving web assets"
|
||||
HOMEPAGE="https://github.com/rails/sprockets"
|
||||
SRC_URI="https://github.com/rails/sprockets/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(get_version_component_range 1)"
|
||||
KEYWORDS="~amd64 ~arm ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/concurrent-ruby:1
|
||||
>=dev-ruby/rack-1:* <dev-ruby/rack-3:*
|
||||
!!<dev-ruby/sprockets-2.12.3-r1:2"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/json
|
||||
dev-ruby/rack-test
|
||||
=dev-ruby/coffee-script-2*
|
||||
=dev-ruby/execjs-2*
|
||||
=dev-ruby/sass-3* >=dev-ruby/sass-3.1
|
||||
dev-ruby/uglifier
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Avoid tests for template types that we currently don't package:
|
||||
# eco and ejs.
|
||||
sed -i -e '/eco templates/,/end/ s:^:#:' \
|
||||
-e '/ejs templates/,/end/ s:^:#:' test/test_environment.rb || die
|
||||
sed -i -e '/.ejs/ s:^:#:' test/test_asset.rb || die
|
||||
rm -f test/test_require.rb test/test_{closure,eco,ejs,yui}_{compressor,processor}.rb || die
|
||||
sed -i -e "/bundler/d" Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_prepare() {
|
||||
sed -i -e "s:ruby:${RUBY}:" test/test_sprocketize.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
# Make sure we have completely separate copies. Hardlinks won't work
|
||||
# for this test suite.
|
||||
cp -R test test-new || die
|
||||
rm -rf test || die
|
||||
mv test-new test || die
|
||||
|
||||
each_fakegem_test
|
||||
}
|
@ -1,7 +1,5 @@
|
||||
DIST uglifier-2.7.2.gem 84480 BLAKE2B a446f21f9b8682ba7ec020d355ec5b6eb573649116fddfe2d4d74849c59f6697065ca2837fb040a91a3f43264a71280660b947b138fd0fe67806f2c18631f498 SHA512 03c8fffbd385db9ee0fa8f422bf571ba99803f810828d536f1b00bc99a21108ac0ed232015d39f1ab88441fef0a3371df10944873fbadae6c8bd2624e3e1a65d
|
||||
DIST uglifier-3.2.0.tar.gz 169273 BLAKE2B b0263853c882859db8cc04c19e7f7f4bcbcef9d0b4080e414c9e1c86b691307c59d694abb33582485ea432b787f36445a49c39ece298d90806838bc56a4b7360 SHA512 5bc577753c175cddd7b3241f7343b75f593141c3bfa9ffa1325f7ade4a9acaf3b47e711007b5708f7cea1a7e9e768cbc3bc845d9eb362f877fe2fc83c047bb57
|
||||
DIST uglifier-4.0.0.tar.gz 183935 BLAKE2B 355081d2aebcd6e40081564397b7ae121922d33ead6942f15fc92b9743c575756513a1125810900edcc9a327ff3011e64e539d1bbadb02a06db5a5099dadf0d5 SHA512 b4bd78ea20ed3eefa9bb8d2645da9d3a1898c2715084c47ad8f3d5d0bbeae68ac84f59a449a68dee9c9eda158a2c3e8bff23507d06fc489f00ba53057911bcd1
|
||||
DIST uglifier-4.0.1.tar.gz 184457 BLAKE2B bc922057d42868f56d3755f51b9bc39460369ee32d76b97222ef3fb05dbf0c84752236a545ffe9fcd17c1a529a429b9591bcf7d4623255e85cc9ebeb693dd595 SHA512 966a7a5c0c15146feba8633f247b9ec5d7a895c8e2a993b784836c13f3d88077e4ba701c1809588463da78d894508cb35e4d958b86c4801782f9449a93963d05
|
||||
DIST uglifier-4.0.2.tar.gz 184915 BLAKE2B eaac0fae612f357a51332db420e31d568b120dfe199d4f838db92082af888085123f322c4666d9c7d350ef3a51dc2d09ef78d11887771e8c414c9211688f6bfa SHA512 77795a2b20ac6e5fc1c12cb95f868062e040988e1efc9cd7c13cd093f0ad5447fd09b1d88d5c1c53d69c9ea4e9fa22c9331df53421af5ecd3010138e91a9a87b
|
||||
DIST uglifier-4.1.0.tar.gz 189074 BLAKE2B b18e2661a1e87eaf2436d9ed89aebb05b164523bf478a3f0b5ec2587100621fa75eac38f0ac2ab724a10add7aff2a96947c32babdd246d0583f757682d704375 SHA512 46191a961471db2f515e28229e6febe3a1e448730eece965307e6993b3b0282e69ba1c6cb8cc232897b4e29eeaea4b2981af4cafa2d1afc384ad39a049c26f60
|
||||
DIST uglifier-4.1.2.tar.gz 190343 BLAKE2B 0f3b0052d7065f36dcf9c52c226d6ddd27bcafe5a85b1a1a56a9d1d31ce8e7e8986e68ff471aa33cc2dd46688bd579594bf370203bd2ace26554b5dc71764a33 SHA512 8b11b3f8dc9e6dd6d2fe856decf11a569bea2040f1443fe437759fe4d14c0410158ef40b2660f38cd548358e78f6ac27929712e8fbc5708dc215099e58de1f75
|
||||
DIST uglifier-4.1.3.tar.gz 193256 BLAKE2B c0337da0ba4b857b80b1573538ed7596950b3bc0c13661fa7f98ff96a80cc0b747ca5361fdf9e3bbbbe646ff1b476419342194386a2d66c468e5272d7200ae3c SHA512 5b0b1e5e4cd50ca2639b034ee6da672898da2dd16e226c5bf4bd706ef219d0a85f2c8a13b167766005a77207d5b32a6cfc62dce133d176d8bd37b77b27638062
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby22 ruby23 ruby24"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby wrapper for UglifyJS JavaScript compressor"
|
||||
HOMEPAGE="https://github.com/lautis/uglifier"
|
||||
SRC_URI="https://github.com/lautis/uglifier/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~amd64-linux"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/execjs-0.3.0:*"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/sourcemap )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
USE_RUBY="ruby22 ruby23 ruby24"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby wrapper for UglifyJS JavaScript compressor"
|
||||
HOMEPAGE="https://github.com/lautis/uglifier"
|
||||
SRC_URI="https://github.com/lautis/uglifier/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="4"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~amd64-linux"
|
||||
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend ">=dev-ruby/execjs-0.3.0:*"
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/sourcemap )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC="yard"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_DOCDIR="doc docs"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="templates"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Documentation generation tool for the Ruby programming language"
|
||||
HOMEPAGE="http://yardoc.org/"
|
||||
|
||||
# The gem lakes the gemspec file needed to pass tests.
|
||||
SRC_URI="https://github.com/lsegal/yard/archive/v${PV}.tar.gz -> ${P}-git.tgz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "doc? ( || ( dev-ruby/maruku dev-ruby/rdiscount dev-ruby/bluecloth dev-ruby/kramdown ) )"
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22" ruby_add_bdepend "test? ( >=dev-ruby/ruby-gettext-2.3.8 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die
|
||||
|
||||
# Avoid specs that make assumptions on load ordering that are not
|
||||
# true for us. This may be related to how we install in Gentoo. This
|
||||
# also drops a test requirement on dev-ruby/rack.
|
||||
rm -f spec/cli/server_spec.rb || die
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST jenkins-bin-2.89.2.war 74294776 BLAKE2B a163d6bd542b01cfcd5781fab524d91ec74ff0dacced3213366832e6839616554f0c42dd1ed580c55fccda693736b5f4041a6eff7bc5e66a6edf608ce3126bb3 SHA512 dfaa5ce0e3cf679fff8f3a1234db8dd88087d221cd1d0f4a84c2a41a5463f9fc2645fa9ba3bcd86f793bb07ef74a0efb3075fd28f3fdf7ccffb18904a8a69231
|
||||
DIST jenkins-bin-2.89.3.war 74292096 BLAKE2B 63df34eef6786ae81ed8e6d486b77e13125fb3b74ed6db03ea45d2c57d9f49c6648e2ffcd4b042261de287cd60a13a43a7e93f151b32b113c8847221ce4594ad SHA512 777b4d7cf1420cbc6bc7da22a0ede75fc07d5d66af500f6e7ebde75475c7046051da6c18f695bdfd4dd238b57355828a5d5b43775a8b4eb3bd84db35d18a9874
|
||||
DIST jenkins-bin-2.95.war 74275142 BLAKE2B b2865010628940f216bf39847203d786ef63ec8f18b8adabec629b7ef7b01681dbdd381738163cff9c04f75b50705cfa5c9aad9bcf038fbfb9c91abb738fc1b6 SHA512 2002953a49cacdac8a93f24335d489dc4c10c7ae3f3bc80b4f6dd524a5ac1984fc7229c570e0c79dd53c51bf609cc989193c0a6881f2e0b9d8dd49e47bad20dd
|
||||
DIST jenkins-bin-2.97.war 74297213 BLAKE2B 374266b466736d8e6b6abdef13718e132336525926f28c6ced413dd1a091568bae81900133efc5a0efa96e41847e17b483e8842884c3efa7457c59cdb4bd32f6 SHA512 e784e35136c079caaae12788afa093830cd4d1d4f657b2f11571db5b7a3fa3271d2cd50a8793097905bc0ba67b8ad0bf78b94db00d86ab722453f4c0a41f647e
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit user systemd
|
||||
|
||||
DESCRIPTION="Extensible continuous integration server"
|
||||
HOMEPAGE="http://jenkins-ci.org/"
|
||||
LICENSE="MIT"
|
||||
SRC_URI="http://mirrors.jenkins-ci.org/war-stable/${PV}/${PN/-bin/}.war -> ${P}.war"
|
||||
RESTRICT="mirror"
|
||||
SLOT="lts"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="media-fonts/dejavu
|
||||
media-libs/freetype
|
||||
!dev-util/jenkins-bin:0
|
||||
>=virtual/jre-1.8.0"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
JENKINS_DIR=/var/lib/jenkins
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup jenkins
|
||||
enewuser jenkins -1 -1 ${JENKINS_DIR} jenkins
|
||||
}
|
||||
|
||||
src_install() {
|
||||
keepdir /var/log/jenkins ${JENKINS_DIR}/backup ${JENKINS_DIR}/home
|
||||
|
||||
insinto /opt/jenkins
|
||||
newins "${DISTDIR}"/${P}.war ${PN/-bin/}.war
|
||||
|
||||
insinto /etc/logrotate.d
|
||||
newins "${FILESDIR}"/${PN}-r1.logrotate ${PN/-bin/}
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.init2 jenkins
|
||||
newconfd "${FILESDIR}"/${PN}.confd jenkins
|
||||
|
||||
systemd_newunit "${FILESDIR}"/${PN}.service jenkins.service
|
||||
|
||||
fowners jenkins:jenkins /var/log/jenkins ${JENKINS_DIR} ${JENKINS_DIR}/home ${JENKINS_DIR}/backup
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
||||
DIST bluedevil-5.10.5.tar.xz 144576 BLAKE2B d8a3fc88f2af954aacd32287d23d230ded4d1cbc20787bc30afa3c75024eed3202f1b6276e758e63e0bd30c4e37ec6eb0c06010b515743795aa2c5741d879b95 SHA512 fb4b58dd9a98c72f74125245fa1d89048a6deb02c0bfa538338c58f3efa5f02a71d14a0518d0354db4c7ff79bf3690489f1d3172480217ef118aaf7ffdbe113a
|
||||
DIST bluedevil-5.11.5.tar.xz 153380 BLAKE2B 1342ea233c6ea2b7a325eefafe1528d27d1f060bdf628ecd6c7dcddb0323ed10d6dc11ddcbf96a9f6913202ea327979a4f06d9cc7fdc70d02595b0a593a9a819 SHA512 273c1d3a649c7e78e78f27a10199057e2b06940e281eeeb7555bd2d40a6d9f9f7aaa38b5c0a84549f3ff13ec3209b63dde00dcce2ef8855a0cf46030f477594b
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue