parent
1195675776
commit
c803bf784f
@ -1,4 +1,4 @@
|
||||
DIST eclean-kernel-0.4.1.tar.bz2 9540 SHA256 be877b4a9686abb665077e32e22dee7ad85bb5514f3db5ac6e179d3d3bc92dbb SHA512 8274c299221a1472b9408a8f3bbe547daba1c6377594ac0f5a6c5874a35235977b8b956232952d4b14296d11ebe2bd91c547ddd4de42dc2ed5f7f13970c8f15f WHIRLPOOL 49990795ae8061423985c8a96e213062124a1f5258872a26ad259835d1bf4aff44d3a621cdde74161fa801673c4e1995e69b466b77e6dcbad0130b19e65eadfe
|
||||
DIST eclean-kernel-0.4.2.tar.bz2 9666 SHA256 42df20f9117707e48973a362b262093c1de239b27190e75b60576de0ef9e82d4 SHA512 6a69cfd54ee72a13a3a1a6ca460d73377170ef7731d3598b7cb1fc6263c95cd64dfbe0f260d1a8739d7c032e431523493a1fc8032bd92d1a537e672eb7436dec WHIRLPOOL a78c52c74ec071984634dae64ab42bde0660e90d8d418b205fe4ed0f01f6386c1529c5b8da35b5982a8b9c75338877e8031fd5a27dfa032f2e54df9c4e21fa55
|
||||
DIST eclean-kernel-0.4.tar.bz2 9408 SHA256 be9d85fcb0c0cd4c70b3e3e7793bcacf9673faf9069356ef0af9661c050cf928 SHA512 f7f4a1a910594bb28bf37792c87a7ee96daecea006376cf98d0eeeb4d4c3c2a59e46fd986a5c7d34d0a54520bef58b225a498f926d4858d5ba2a4d3941ed3f36 WHIRLPOOL 3f8a168562082a12de34d5cca1e8fda2a5730607678bea55ff5c68f96399e3500681efccfe16201017f510ef916376b9da2495b39913ae5183f81ed8fae97b57
|
||||
DIST eclean-kernel-1.99.0.tar.bz2 75199 SHA256 9d8c6b49af2789a189c86d108bb07e24066057eca03c36be6b483253bba554ed SHA512 7ff2bb765c003fe63c0dd26acb47584092160791e49ba95452fd545c3545153cc9e026f42c6b655e8efe77be900cb0c3985de4c48d011057ba473420cbc2dc6f WHIRLPOOL d4f29e7ad0bb59c1f5ff9784b3dc9fd49227e1ae149a4ac74468d109fe571e633b13c9791e335bf5703d5df76e33c49204750cafdb13e68ddf9467d3c87bd29f
|
||||
DIST eclean-kernel-1.99.1.tar.bz2 75358 SHA256 89ba5572a279a8d67dd6bc6a84c8cea288f9c9d432e6f7f897dd0b92cebfd989 SHA512 489af53ed1df8d265fdbcdfdf0364a660c216624d4617d7fbd59177cd5f79632fb5bf59140c2b01dfecd7b289a667a67087e5bd700d90bfa373b30ff14b0c738 WHIRLPOOL c2ec894847eaefb20b616c0a808405fb939c457256263b623c279340af0938dafe80ea859150bb1d9a6c3bc5a1d8842fffdd20d35ffe4dbde2be45f99ffbc66f
|
||||
|
@ -1,5 +1,3 @@
|
||||
DIST unrarsrc-5.1.6.tar.gz 215185 SHA256 3c38eaabc655527244fd0c3ba3beff567ea24aad37d448488643242fd4cf41a5 SHA512 a7a7800ac94850320ce3e2dd24c5005694dd59360b7f3fc7886ef241153e471459b0b9397d1dacbc3adcd19044cdcb8a8a847e16d7b224af149a1455f46fcaa0 WHIRLPOOL bcb9d1b60f42357cb236cbb5e86eb19dd4ed623244036fc1e8fc3759eef3d4002e6ffc90d3cf5b5200e81fe018a2215c0238ee2aac7148e51f130e43ad3e5ea0
|
||||
DIST unrarsrc-5.2.7.tar.gz 218880 SHA256 ef14757e943787b439fedf2c564c1f38d0db315528a928e0de170860717e2fac SHA512 95e06451e2bec46a12e5b9b1423c3ea31ce86859f8086812d9c442aaa69627f72635a6a8c197b30dbc7e99bbf7c7caaa25d703caecbe03c697cc0e5b7644d638 WHIRLPOOL 49f5492a7441192d96616f892012ca2dac8a94063e806ece3c62bf13d29beb9d2d0368a186c0f0bff8814c9e6af542ba6b447a61683295f560f120ff75507379
|
||||
DIST unrarsrc-5.3.11.tar.gz 223663 SHA256 77b87af4b2976ef7c6b0c79e071284c2c1b035a9543273ec925f9d92f73b8763 SHA512 14ea833fe4c2d81718df25794d2e795a255f92c68a5533d6a7d2cbfc072db3ce07bba7ba1fd5555aad1a17fbaf4980eb217a7d9f6158461fa917e1a17590569b WHIRLPOOL 60c909d9005cb0e2cfbef606b2dc66d9f7b3fd019fbf8ad83ce8b07f9e11c1890db175836ee3e63a21aa2f309ac0ebfebcf2ed5f60ca321a9b8a1b89409b1331
|
||||
DIST unrarsrc-5.4.1.tar.gz 225911 SHA256 93444ce11626683db5900f795c6961137dd8758fd118bf0854cf43fb9cf9743d SHA512 422b09701171888c27b428dc0de6e44671a8305930d2d82cc48bc160b4cb0b6140c2af39ee2a6aa61bc08fa5753ad746db9a9409cd6373123b07aba0902e8d90 WHIRLPOOL a505f37e40d9fd273db5ae912d5b8d6ac08ba7a6d52f6d48594cf63e7eb5ccc238e141e37b161efd21726620e97d810d3e7f4da77284dcb7f8d26226ac38b920
|
||||
DIST unrarsrc-5.4.2.tar.gz 225915 SHA256 d91d5fa8abdbac60b3e2b7317cc1451a2b38c550adee977b847f22594c53f1bd SHA512 a6c6b4fde8d0d1bff1d8eabaf348c2397bc7f1433cb8781b7bf4d4d48a62cc23e410ab1b6badf2f16a87664e7ecd0a8e33c4f30fa8af23d65bc4efa7a6c964e3 WHIRLPOOL 5880187982f5497e6195e80e47427fdd6a6cfafc956316d5fc1206c2b8762b02663a9f48826c9cebe5ac664df8bb6f43b24a135b321abf9364e183dc4a80cf7c
|
||||
DIST unrarsrc-5.4.3.tar.gz 226066 SHA256 e4f05190d9e379449a04c22baffc24cc2f03164a4738befe601b1325440db0c6 SHA512 47bf658146037df203babb34f7c3572b685c016ba6f5e148d8af08605554f561dea4a54b7f0402d5715772f1aea43e60b0769d0e48ef544bc51afb6f4b608e30 WHIRLPOOL 57f0a99d78ca350d72982417dc4c3c156920af6cf27b77fa8a7c13ab41a60a25ff67acd40e7afac466f14a6113c797203f5ad4d25343dda4a411867317404af0
|
||||
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN=${PN}src
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S=${WORKDIR}/unrar
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-5.0.2-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.2.2-no-auto-clean.patch #528218
|
||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
||||
else
|
||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" makefile
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname)
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) libunrar$(get_libname ${PV})
|
||||
|
||||
# The stupid code compiles a lot of objects differently if
|
||||
# they're going into a lib (-DRARDLL) or into the main app.
|
||||
# So for now, we can't link the main app against the lib.
|
||||
unrar_make clean
|
||||
unrar_make
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils flag-o-matic multilib toolchain-funcs
|
||||
|
||||
MY_PN=${PN}src
|
||||
|
||||
DESCRIPTION="Uncompress rar files"
|
||||
HOMEPAGE="http://www.rarlab.com/rar_add.htm"
|
||||
SRC_URI="http://www.rarlab.com/rar/${MY_PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="unRAR"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="!<=app-arch/unrar-gpl-0.0.1_p20080417"
|
||||
|
||||
S=${WORKDIR}/unrar
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-5.0.2-build.patch
|
||||
epatch "${FILESDIR}"/${PN}-5.2.2-no-auto-clean.patch #528218
|
||||
local sed_args=( -e "/libunrar/s:.so:$(get_libname ${PV%.*.*}):" )
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
sed_args+=( -e "s:-shared:-dynamiclib -install_name ${EPREFIX}/usr/$(get_libdir)/libunrar$(get_libname ${PV%.*.*}):" )
|
||||
else
|
||||
sed_args+=( -e "s:-shared:& -Wl,-soname -Wl,libunrar$(get_libname ${PV%.*.*}):" )
|
||||
fi
|
||||
sed -i "${sed_args[@]}" makefile
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mkdir -p build-{lib,bin}
|
||||
printf 'VPATH = ..\ninclude ../makefile' > build-lib/Makefile || die
|
||||
cp build-{lib,bin}/Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unrar_make() {
|
||||
emake CXX="$(tc-getCXX)" CXXFLAGS="${CXXFLAGS}" STRIP=true "$@"
|
||||
}
|
||||
|
||||
unrar_make CXXFLAGS+=" -fPIC" -C build-lib lib
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname)
|
||||
ln -s libunrar$(get_libname ${PV%.*.*}) build-lib/libunrar$(get_libname ${PV})
|
||||
|
||||
unrar_make -C build-bin
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin build-bin/unrar
|
||||
dodoc readme.txt
|
||||
|
||||
dolib.so build-lib/libunrar*
|
||||
|
||||
insinto /usr/include/libunrar${PV%.*.*}
|
||||
doins *.hpp
|
||||
dosym libunrar${PV%.*.*} /usr/include/libunrar
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST rhash-1.3.3-src.tar.gz 248855 SHA256 5b520b597bd83f933d316fce1382bb90e0b0b87b559b8c9c9a197551c935315a SHA512 0ac1699a0e5718b750610cd6189d9d582186d7e17191e3723a994559c8f9c6ea7e0d34825da0c96fd0fc6be3e14b5f44ce7a21d17156cdfce3f0e3e4ff09389e WHIRLPOOL d2b17c8fd0a121e6d7e853c22bfce0545235e272c48893f13a28a5d424b26bc0cb18a5aa7eb51e07428b677116f4fdae89859a4d4e3e7cdefb4dea62337b558e
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>sautier.louis@gmail.com</email>
|
||||
<name>Louis Sautier</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="sourceforge">rhash</remote-id>
|
||||
<remote-id type="github">rhash/RHash</remote-id>
|
||||
<bugs-to>https://github.com/rhash/RHash/issues</bugs-to>
|
||||
</upstream>
|
||||
<longdescription lang="en">
|
||||
RHash is a console utility for calculation and verification of magnet links and a wide range of hash sums like CRC32, MD4, MD5, SHA1, SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, BitTorrent BTIH, GOST R 34.11-94, RIPEMD-160, HAS-160, EDON-R, Whirlpool and Snefru.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Console utility for computing and verifying hash sums of files"
|
||||
HOMEPAGE="http://rhash.anz.ru/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX=/usr install
|
||||
einstalldocs
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST eselect-rails-0.18.tar.bz2 1628 SHA256 6dfcefd74cfb10e83c59d8594bd9e1d39ea40071b2c3a9a3e601a6107aa49671 SHA512 9f0e048ba0d865667e0917e8e08b5319f111816788c3821126c4d442ec3cc9c0466200a8889da420fb841f7b57ba5981cbb8a17d16fe634e550cbdfe618a3522 WHIRLPOOL cd117dafc480c2b6bb9b63a39047553d1d786dcbc711421dba25403309c9c814984aea0309db5d87643ddf165d143f915628c57e2d990d6cb3d2db04e40ada06
|
||||
DIST eselect-rails-0.19.tar.bz2 1618 SHA256 13d5054a1a890b6937612c69d1924faaacc6d6e3513dfb8f269bf9f9c6a4ad2f SHA512 4520bcf2bc72494f07bbf6831375d355ee61629d5a6877b0b3c4301a1bce22b0945b17e09533c531ce4b0ac4ed4079852f6f1bb950850181794c44650a450941 WHIRLPOOL 20f448244b51b3ae3b46a1b575081d73ccbe86484226804a5b6927579f4b826445917af82f0a458be4b623da022fbebb416ec565cc5411e096a533c462d88628
|
||||
DIST eselect-rails-0.20.tar.bz2 1622 SHA256 f01335820a8777d447c64b1de84f128cbd2db9a16fd6781b4c9c2c5aa3541bbc SHA512 a65519c5a5b2ea444c30c5a4082389eb3e4a96a72e4f845c5a6b01a1681264c44fb234dd46e7251085ca82b40b814fdd4bff3a42c10815b8b291657ce67a9e18 WHIRLPOOL 2d904fed60de465fb1ad1bf5abbd82f7c1807c98480eab617504cb09b6d3f1fd96f2a8795e0d373308b9052e40d7ddcf6ae95f22e1c839efb8af99b7454fd3e8
|
||||
DIST eselect-rails-0.21.tar.xz 1592 SHA256 28def0916dbcf94290adf877a962595748a9501d659adb66534ebb8495c8c59f SHA512 8d72d1abdb0bf767a71a518ff390dcd676fc05a35652d6a727d2d5f2029f26d2df8e56da3c4e611267d92505cc9217da0a53712bcaabff03f0f2422e1c9d9658 WHIRLPOOL 7dd89b8bf3daffa09cc150a8db1c3fc8e117f577e7a8fdfb7c6f1bf92d14f298aff63cce2b1f3bf029cbc2c6a115c3ad90bafbd456f31463b49dce5d0f4242b4
|
||||
DIST eselect-rails-0.22.tar.xz 1596 SHA256 043f3065dbfbaec24af1b06c5e4fa57aa642e02b7ef40460fd2b3a7176e9e1bb SHA512 ff563520c68352d529f213f5a63cfac9acf4bda2ef0fe01626636669718997be8f4b749c98de1746b8b22cf45fc43042bfc485e1e8998175d8a15b9048a81cc5 WHIRLPOOL ddd83510cbde3d1c7f5c36e371786b25afcca39f52b2889fdcbc03db9ec90726b59efb0418b38d5e72faf7064988405501e19cb19ca4f97df74b57d02638cbca
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
DESCRIPTION="Manages Ruby on Rails symlinks"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
SRC_URI="https://dev.gentoo.org/~flameeyes/ruby-team/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.0"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
# Fix/Add Prefix support
|
||||
sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins *.eselect || die "doins failed"
|
||||
}
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="Manages Ruby on Rails symlinks"
|
||||
HOMEPAGE="https://www.gentoo.org/"
|
||||
SRC_URI="https://dev.gentoo.org/~flameeyes/ruby-team/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=app-admin/eselect-1.2.0"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
# Fix/Add Prefix support
|
||||
sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/eselect/modules
|
||||
doins *.eselect || die "doins failed"
|
||||
}
|
@ -0,0 +1,217 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
MY_EXTRAS_VER="20160721-1526Z"
|
||||
# The wsrep API version must match between upstream WSREP and sys-cluster/galera major number
|
||||
WSREP_REVISION="25"
|
||||
SUBSLOT="18"
|
||||
MYSQL_PV_MAJOR="5.6"
|
||||
|
||||
inherit toolchain-funcs mysql-multilib-r1
|
||||
|
||||
HOMEPAGE="http://mariadb.org/"
|
||||
DESCRIPTION="An enhanced, drop-in replacement for MySQL"
|
||||
|
||||
IUSE="bindist cracklib galera kerberos innodb-lz4 innodb-lzo innodb-snappy mroonga odbc oqgraph pam sphinx sst-rsync sst-xtrabackup tokudb systemd xml"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
REQUIRED_USE="server? ( tokudb? ( jemalloc ) ) static? ( !pam ) "
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~hppa ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
MY_PATCH_DIR="${WORKDIR}/mysql-extras-${MY_EXTRAS_VER}"
|
||||
|
||||
PATCHES=(
|
||||
"${MY_PATCH_DIR}"/20006_all_cmake_elib-mariadb-10.1.16.patch
|
||||
"${MY_PATCH_DIR}"/20009_all_mariadb_myodbc_symbol_fix-5.5.38.patch
|
||||
"${MY_PATCH_DIR}"/20015_all_mariadb-pkgconfig-location.patch
|
||||
"${MY_PATCH_DIR}"/20018_all_mariadb-10.1.16-without-clientlibs-tools.patch
|
||||
)
|
||||
|
||||
COMMON_DEPEND="
|
||||
mroonga? ( app-text/groonga-normalizer-mysql )
|
||||
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
|
||||
systemd? ( sys-apps/systemd:= )
|
||||
!bindist? (
|
||||
sys-libs/binutils-libs:0=
|
||||
>=sys-libs/readline-4.1:0=
|
||||
)
|
||||
server? (
|
||||
cracklib? ( sys-libs/cracklib:0= )
|
||||
extraengine? (
|
||||
odbc? ( dev-db/unixODBC:0= )
|
||||
xml? ( dev-libs/libxml2:2= )
|
||||
)
|
||||
innodb-lz4? ( app-arch/lz4 )
|
||||
innodb-lzo? ( dev-libs/lzo )
|
||||
innodb-snappy? ( app-arch/snappy )
|
||||
oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= )
|
||||
pam? ( virtual/pam:0= )
|
||||
tokudb? ( app-arch/snappy )
|
||||
)
|
||||
>=dev-libs/libpcre-8.35:3=
|
||||
"
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${RDEPEND} ${COMMON_DEPEND}
|
||||
galera? (
|
||||
sys-apps/iproute2
|
||||
=sys-cluster/galera-${WSREP_REVISION}*
|
||||
sst-rsync? ( sys-process/lsof )
|
||||
sst-xtrabackup? ( net-misc/socat[ssl] )
|
||||
)
|
||||
perl? ( !dev-db/mytop
|
||||
virtual/perl-Getopt-Long
|
||||
dev-perl/TermReadKey
|
||||
virtual/perl-Term-ANSIColor
|
||||
virtual/perl-Time-HiRes )
|
||||
"
|
||||
# xtrabackup-bin causes a circular dependency if DBD-mysql is not already installed
|
||||
PDEPEND="galera? ( sst-xtrabackup? ( >=dev-db/xtrabackup-bin-2.2.4 ) )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS+=( /usr/include/mysql/mysql_version.h
|
||||
/usr/include/mysql/private/probes_mysql_nodtrace.h
|
||||
/usr/include/mysql/private/probes_mysql_dtrace.h )
|
||||
|
||||
src_configure(){
|
||||
# bug 508724 mariadb cannot use ld.gold
|
||||
tc-ld-disable-gold
|
||||
|
||||
local MYSQL_CMAKE_NATIVE_DEFINES=(
|
||||
-DWITH_JEMALLOC=$(usex jemalloc system)
|
||||
-DWITH_PCRE=system
|
||||
)
|
||||
local MYSQL_CMAKE_EXTRA_DEFINES=(
|
||||
-DPLUGIN_AUTH_GSSAPI_CLIENT=$(usex kerberos YES NO)
|
||||
)
|
||||
if use server ; then
|
||||
# Federated{,X} must be treated special otherwise they will not be built as plugins
|
||||
if ! use extraengine ; then
|
||||
MYSQL_CMAKE_NATIVE_DEFINES+=(
|
||||
-DPLUGIN_FEDERATED=NO
|
||||
-DPLUGIN_FEDERATEDX=NO )
|
||||
fi
|
||||
|
||||
MYSQL_CMAKE_NATIVE_DEFINES+=(
|
||||
-DPLUGIN_OQGRAPH=$(usex oqgraph YES NO)
|
||||
-DPLUGIN_SPHINX=$(usex sphinx YES NO)
|
||||
-DPLUGIN_TOKUDB=$(usex tokudb YES NO)
|
||||
-DPLUGIN_AUTH_PAM=$(usex pam YES NO)
|
||||
-DPLUGIN_CRACKLIB_PASSWORD_CHECK=$(usex cracklib YES NO)
|
||||
-DPLUGIN_CASSANDRA=NO
|
||||
-DPLUGIN_SEQUENCE=$(usex extraengine YES NO)
|
||||
-DPLUGIN_SPIDER=$(usex extraengine YES NO)
|
||||
-DPLUGIN_CONNECT=$(usex extraengine YES NO)
|
||||
-DCONNECT_WITH_MYSQL=1
|
||||
-DCONNECT_WITH_LIBXML2=$(usex xml)
|
||||
-DCONNECT_WITH_ODBC=$(usex odbc)
|
||||
-DWITH_WSREP=$(usex galera)
|
||||
-DWITH_INNODB_LZ4=$(usex innodb-lz4)
|
||||
-DWITH_INNODB_LZO=$(usex innodb-lzo)
|
||||
-DWITH_INNODB_SNAPPY=$(usex innodb-snappy)
|
||||
-DPLUGIN_MROONGA=$(usex mroonga YES NO)
|
||||
-DPLUGIN_AUTH_GSSAPI=$(usex kerberos YES NO)
|
||||
)
|
||||
fi
|
||||
mysql-multilib-r1_src_configure
|
||||
}
|
||||
|
||||
# Official test instructions:
|
||||
# USE='embedded extraengine perl server openssl static-libs' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
if use server ; then
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might run out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# These are failing in MariaDB 10.0 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql main.bootstrap
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test, main.mysql_client_test_nonblock
|
||||
# main.mysql_client_test_comp:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# plugins.cracklib_password_check
|
||||
# Can randomly fail due to cracklib return message
|
||||
|
||||
for t in main.mysql_client_test main.mysql_client_test_nonblock \
|
||||
main.mysql_client_test_comp main.bootstrap \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help plugins.cracklib_password_check \
|
||||
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
|
||||
mysql-multilib-r1_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}" || die
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder
|
||||
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd || die
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -0,0 +1,123 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
MY_EXTRAS_VER="20160721-1526Z"
|
||||
|
||||
# Build system
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='embedded extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# create symlink for the tests to find the replace util
|
||||
ln -s "${BUILD_DIR}/extra/replace" "${BUILD_DIR}/client/"
|
||||
|
||||
# These are failing in MariaDB 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test, main.mysql_client_test_nonblock:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam
|
||||
# fails due to bad cleanup of previous tests when run in parallel
|
||||
# The tool is deprecated anyway
|
||||
# Bug 532288
|
||||
|
||||
for t in main.mysql_client_test main.mysql_client_test_nonblock \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help \
|
||||
archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
|
||||
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
|
||||
--testcase-timeout=30
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -1,14 +1,20 @@
|
||||
DIST Python-2.7.10.tar.xz 12250696 SHA256 1cd3730781b91caf0fa1c4d472dc29274186480161a150294c42ce9b5c5effc0 SHA512 67615a6defbcda062f15a09f9dd3b9441afd01a8cc3255e5bc45b925378a0ddc38d468b7701176f6cc153ec52a4f21671b433780d9bde343aa9b9c1b2ae29feb WHIRLPOOL 3a9dcfc55b107dc55ad0ae93fb24a11eab7d4d9b4cfbe6b6830a090b6e5f71bb2ac91526b89c6f3e4f2610fa1a2cc4e82b58a83c599aa71f94894c74181b504b
|
||||
DIST Python-2.7.11.tar.xz 12277476 SHA256 962b4c45af50124ea61f11a30deb4342fc0bc21126790fa1d7f6c79809413f46 SHA512 72166763a2fe6aab45ecf378f55a1efc7322d1742c4638bae84f4ed4b9fb4c01f2a0293733c64426ae2c70df24d95ff2b1e2a4f3c2715de00d8f320d4d939ea0 WHIRLPOOL 7ebcff7a2fe775a21a3847dee10369b73aaea8685eb63b4bc33dab0f562b8fb984c398cb34e8158cf1e24f106002829649540aad30a5ec7f4de0018ce7449f69
|
||||
DIST Python-2.7.12.tar.xz 12390820 SHA256 d7837121dd5652a05fef807c361909d255d173280c4e1a4ded94d73d80a1f978 SHA512 6ddbbce47cc49597433d98ca05c2f62f07ed1070807b645602a8e9e9b996adc6fa66fa20a33cd7d23d4e7e925e25071d7301d288149fbe4e8c5f06d5438dda1f WHIRLPOOL fe4224f4c3dc8dc5c49005051da0069922c86f39880a0072c09fac422e1913d924ac695e22be11603a961329dd8c17b1cf7696b31b62ef93398e42745a6446d6
|
||||
DIST Python-3.3.5.tar.xz 12116308 SHA256 abe99b484434503d8b23be0f243ec27139e743a4798cd71c1dce3cf40e63b6e5 SHA512 562ebd85291f29ff18d37f05682763fc45aa9d070688006f4ef5c89392a48022357c3ca9ee1d795e9e863bdef413e6bab77b8d65581d374a76dbe7cacec65550 WHIRLPOOL f4b6010d32b28b7bb038cbb7c5f98d325cc4253fd1be9a0a1089ed6fd7dd414c5169931d21ef819137d5c1084517a650828f260cf2a1d8ce871bc67aeef3fff8
|
||||
DIST Python-3.4.3.tar.xz 14421964 SHA256 b5b3963533768d5fc325a4d7a6bd6f666726002d696f1d399ec06b043ea996b8 SHA512 55b2d7c07da8ad3a3971b4687da2e45809c6f1474732e93b0432f121f287d0b63ad8a9bf381987ea70f47a03d9474c3e55b7d86d14800bf7ef29b3324d8d35b9 WHIRLPOOL f851dedc6a1ea35adec83d60784a5fbcd9dfcf6aa8858bb5ada114fa2ff55add1fbf323ab94ec039ecdedb26d59e8f2e6e171cd9fc1ed41ad9cfa434a555cff3
|
||||
DIST Python-3.4.4.tar.xz 14307620 SHA256 a797d3820155ec6cb654a652b9acfb11792d4e7d568eef1f9199009e042b6ba2 SHA512 2e114636f2b8bc02f30816cc69781e24065855bc294bb500b8cc44913a21fb6061a6918d4ac810511c829f183ec026897f73848cc026679b34fa6ff5d6e8166f WHIRLPOOL 9031e5de8527a40447290a360764cb546031aeb68918334ecc2f263f5d777f59769e8647d17810792ad855da971db0d4430d107b790c29a0cb872cb876af2b54
|
||||
DIST Python-3.4.5.tar.xz 14516820 SHA256 ee64b1c8a47461009abf25252332d29a4e587cb4f0c1c96aa793a3732e9d898a SHA512 b548a5338d141b3086dea372fa2cc245ba5350ee9f0d1304ef6222dc45380b66d380b092e547d54206d56ca68563b95036f445f97f72bb0ef1d48f81a74a3d4c WHIRLPOOL 43e0aed0177d46148964447b4fb24475c4c736afb2ba84ec393fbf55db3da3f192308f9c8f236deaa7a608dac56946ee7755970fadaa82bf406c910a05f36883
|
||||
DIST Python-3.5.0.tar.xz 14808460 SHA256 d6d7aa1634a5eeeca6ed4fca266982a04f84bd8f3945a9179e20b24ad2e2be91 SHA512 f06bd652484aa89371021d0f9fcb08e6e905e90b39ae065d7df75b367e66b7ea43a818ca33ce04aa3d6746b5e8b1b83e90b709ac2203324fb7a595c1017be149 WHIRLPOOL aef3970297911324537e4e1e9d0e179c925bf51fea9d6a6413a08e3f349fd244d834e6fe732e9120669b762c302b47f821de170ce083d2cc39b7e35f51fdd1f0
|
||||
DIST Python-3.5.1.tar.xz 14830408 SHA256 c6d57c0c366d9060ab6c0cdf889ebf3d92711d466cc0119c441dbf2746f725c9 SHA512 261c9e42ae351853c718707a8887817e308b3ba7a37e9463a0bc8f50ee9be9ac1a011b2891f8877ecdb40beab99279bcfa8e04f813b8998fcf6cefb7fd52d850 WHIRLPOOL 7ff4ddb852c74f75d1f327e418f5af09ae66403cc3fb2431ab31786c046cec2d761ee57e8c6674a92bb08f95cfff7c7c7d5ddd965994096a0380fbd6b55fcc8f
|
||||
DIST Python-3.5.2.tar.xz 15222676 SHA256 0010f56100b9b74259ebcd5d4b295a32324b58b517403a10d1a2aa7cb22bca40 SHA512 c07c3366f1c81e214241444bb9da6db9d11da32ad66bfa29cdad5a3b2e34e4d870bda6d4ce3c3910b582942e91f1d8c8a1c1a7b9464cc147b83c9e0007012742 WHIRLPOOL cf55d67f362b6a7529d43bb5aa8014c8349be190c6d4dae9d48de1679ab8623087478f41686cdced981cf18bb3d107052732cd437ff31ba5de2cc06b04ec2289
|
||||
DIST python-gentoo-patches-2.7.10-0.tar.xz 12892 SHA256 c9a838bd62ae50cc385da23a837acfd05f2b74e4f086c9c76eb4d3aa5366ef6d SHA512 5f100944635e360691dc0a2b340a906646c4ae9ee558246ddffc56e8b15d389f25f1fbdc1db4cc08e7d29560d04d66b058b3904902899d58ecae8c408ebdf056 WHIRLPOOL f69e9a518bb7ee50c1b262a21e70e1e2443f859ee6d2f4fa84421120dbd054a06ce8dd6cfea8512cbc64bce806322b879c25c561d5eb05e1ba6cc15035b373a9
|
||||
DIST python-gentoo-patches-2.7.11-0.tar.xz 12916 SHA256 e14b47bb1fd64d366d7dfb8339cc2cbf4a53fc288b11dd83f575eb36a8a6408d SHA512 f0447bb699a163afc08df39b111394377539935546ae23732d7239e78d2bff0c04bc94949f86aef0c1be83736127dbd25c2c531e49befed2d638c3cd4940ac52 WHIRLPOOL 305992849d9d244da1e308e739c9bf62a3ef5c74eb65c765bdc666fb5767eb16c7a609f7c442c17da17f76c3ab81e4b09fa8c21e43f89366539a6a9d656bea77
|
||||
DIST python-gentoo-patches-2.7.12-0.tar.xz 13576 SHA256 cd842eec7202df57c153adc1fbb81e70b26ef651f8e9346e065d8577b93f343b SHA512 8bf530fca15c47fa5d9bc958e433b35943a12c98e4172806a45aa60dc85ec92f8ab6ffcd90f752dc5bf8ffc711414894c15820c4b6ef72dbcedc2808119fb1f6 WHIRLPOOL 54b8ca6a4371d460dadccfdffcc096c12930d58714eef95117a658d7a1337ea89c45c69553b5b993017211faaa0f8d670e09a8452e53c0fb176be3e908524ee6
|
||||
DIST python-gentoo-patches-3.3.5-0.tar.xz 12892 SHA256 a7240de9598033cb40f8f273d8104d4e2b1dcaea028d45ac28efaa3c680ff6f7 SHA512 27eef4c2b3f631b000db3f6a5c426d9b498d63a08fe82b1ab7c2c010fb72208109461a5f008d47703852526655b70a734ea95be8742897026db5750bb9cc9d16 WHIRLPOOL edab9222d7da94cab3b1de0e1a27c6c7dbd49194b813a0a1cf9e532063029c4e4f19151c9f4878eeabed3168ff1f97eae7f008280c7ed2897fc14c5516c68d7e
|
||||
DIST python-gentoo-patches-3.4.3-0.tar.xz 11736 SHA256 917a9d98d40a91379c81ea57922a8632ba3c6f6db6f304ed6262bc88c5044946 SHA512 7ad1b30cf8bb7900fe518ed71e4ee55dd92ce7e23ae583a1f2f851b26cfa8c4f4271d28f418e780f3725a48d4ca8eeb8fd083f850810c66c29fb08c430828d72 WHIRLPOOL 074e8c0055b49a028eebda21d1acfb8a25ec968eb8b350c2bed37e042f9f354871e413db13e0ef2fe41d7e56d647178a7b3622019f36c4819c2c68f088366eb1
|
||||
DIST python-gentoo-patches-3.4.4-0.tar.xz 11748 SHA256 94aa14d0f7894b99d2ee9d3448f999aeea5faa1c41350a2fb92c912bbebb9292 SHA512 e9852063fbab34cead5bc6f39d8fe28105d51767930174d418ed3dfcd661b8011f2eb1bc60900e6bbc7069ca72b6633bf7bb0bce54d28d16d0202eedd5b5db2d WHIRLPOOL 2bf1a8e18c77c834ce6a110699a5214e22ad311bba769eb4374192ed73554d0b5ff66caca20d3522c1ef3aec9e585266e7ae8a5efc28901b0f67c87d541010ab
|
||||
DIST python-gentoo-patches-3.4.5-0.tar.xz 12044 SHA256 84ee7630670a1dac4bbbc55fabf5f99b5b29007de4f140ad956e93d2e7aba8fa SHA512 108a4845667ecdf4001fcbeffab0cfbbac87439a449a7351428b0f3e2f159e3848ee0c0dfa45c9fba893b9f9584b33722fc8bb0bd7485a1d0909c3a35ede6ed8 WHIRLPOOL f0248faa0b4ce5679e37381bba90f8a4d361a49db792787bffc06a54a4bc82fea4d53255120f10e6dbf51b99e12417fc1b469be9624e73508fa3a212a38e7352
|
||||
DIST python-gentoo-patches-3.5.0-0.tar.xz 11872 SHA256 8d1830aee5f7e019250447ee084203e26143bdf47c95435861e3e0eda5106eb6 SHA512 d7b6c7fdfdea9d7577b14febf2e4680839908a8eba05f3bc17e71f2fe4c360816a8126de5fa69cfba6930be9793bf1b9cafcde2ae621c1150cb9f1ffecc4a3d4 WHIRLPOOL 01202442c789cd9f54748ec80f9c5b1d2728c5df876a2c8fa417c3078a6e9cc55103ee07fce76f402b15afe1625c5b0497734dc4b601fb304e75bf652ce2f058
|
||||
DIST python-gentoo-patches-3.5.1-0.tar.xz 11788 SHA256 668fabdb9326ba3df81dd299619d5245b7806934e9341ef89a06f90c9a98018b SHA512 3948af801e3e70b55b15165d6cc56fb33cdb9fcc9d80b913550c8609273bad28db0c10ec64cb14d010b80020716a1e45d720e08864f6ac850291cb1713800a1a WHIRLPOOL 2fd3b25186c26412dc642f76228d8e75f24cdc7452407dd105f027be5841b1b865f6b5b74a0072a0299153e5d5af699542253b366e4eb78dfbf114ad02b14bcc
|
||||
DIST python-gentoo-patches-3.5.2-0.tar.xz 12008 SHA256 eb898fb448bd40f086ae2910e94c608faa932eb377fe40bd34f4390b4c37aac1 SHA512 e2ef1b8f10f9ea849bf52a0be65d48f7cfecf07bdf151cbbd7e3a1c9428a8d96e901650496c4ae7fd0093af8cc90de8df674dc1a4c66ad21916a4ee45a81efc8 WHIRLPOOL 66b99c7c50e3eaca783f773349b3e8a357f706a7da6a66bd2e0a53946bc81d965ac99d8fd4c50ba7e42052aa84508c8aede5eacedbb95f040a48cf1a5de6b6b0
|
||||
|
@ -0,0 +1,370 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
|
||||
|
||||
MY_P="Python-${PV}"
|
||||
PATCHSET_VERSION="2.7.12-0"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="http://www.python.org/"
|
||||
SRC_URI="https://www.python.org/ftp/python/${PV}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="2.7"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="-berkdb build doc elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="app-arch/bzip2:0=
|
||||
>=sys-libs/zlib-1.1.3:0=
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
berkdb? ( || (
|
||||
sys-libs/db:5.3
|
||||
sys-libs/db:5.2
|
||||
sys-libs/db:5.1
|
||||
sys-libs/db:5.0
|
||||
sys-libs/db:4.8
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5
|
||||
sys-libs/db:4.4
|
||||
sys-libs/db:4.3
|
||||
sys-libs/db:4.2
|
||||
) )
|
||||
gdbm? ( sys-libs/gdbm:0=[berkdb] )
|
||||
ncurses? (
|
||||
>=sys-libs/ncurses-5.2:0=
|
||||
readline? ( >=sys-libs/readline-4.1:0= )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tk? (
|
||||
>=dev-lang/tcl-8.0:0=
|
||||
>=dev-lang/tk-8.0:0=
|
||||
dev-tcltk/blt:0=
|
||||
dev-tcltk/tix
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2.1 )
|
||||
!!<sys-apps/portage-2.1.9"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.65
|
||||
!sys-devel/gcc[libffi]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )
|
||||
doc? ( dev-python/python-docs:${SLOT} )"
|
||||
PDEPEND=">=app-eselect/eselect-python-20140125-r1
|
||||
app-admin/python-updater"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
if use berkdb; then
|
||||
ewarn "'bsddb' module is out-of-date and no longer maintained inside"
|
||||
ewarn "dev-lang/python. 'bsddb' and 'dbhash' modules have been additionally"
|
||||
ewarn "removed in Python 3. A maintained alternative of 'bsddb3' module"
|
||||
ewarn "is provided by dev-python/bsddb3."
|
||||
else
|
||||
if has_version "=${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"; then
|
||||
ewarn "You are migrating from =${CATEGORY}/${PN}-${PV%%.*}*[berkdb]"
|
||||
ewarn "to =${CATEGORY}/${PN}-${PV%%.*}*[-berkdb]."
|
||||
ewarn "You might need to migrate your databases."
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -r Modules/expat || die
|
||||
rm -r Modules/_ctypes/libffi* || die
|
||||
rm -r Modules/zlib || die
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
|
||||
fi
|
||||
|
||||
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
|
||||
|
||||
# Fix for cross-compiling.
|
||||
epatch "${FILESDIR}/python-2.7.5-nonfatal-compileall.patch"
|
||||
epatch "${FILESDIR}/python-2.7.9-ncurses-pkg-config.patch"
|
||||
epatch "${FILESDIR}/python-2.7.10-cross-compile-warn-test.patch"
|
||||
epatch "${FILESDIR}/python-2.7.10-system-libffi.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
Lib/distutils/command/install.py \
|
||||
Lib/distutils/sysconfig.py \
|
||||
Lib/site.py \
|
||||
Lib/sysconfig.py \
|
||||
Lib/test/test_site.py \
|
||||
Makefile.pre.in \
|
||||
Modules/Setup.dist \
|
||||
Modules/getpath.c \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# dbm module can be linked against berkdb or gdbm.
|
||||
# Defaults to gdbm when both are enabled, #204343.
|
||||
local disable
|
||||
use berkdb || use gdbm || disable+=" dbm"
|
||||
use berkdb || disable+=" _bsddb"
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Force some tests that try to poke fs paths.
|
||||
export ac_cv_file__dev_ptc=no
|
||||
export ac_cv_file__dev_ptmx=yes
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python2.X/config/Makefile.
|
||||
tc-export CXX
|
||||
# The configure script fails to use pkg-config correctly.
|
||||
# http://bugs.python.org/issue15506
|
||||
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
|
||||
|
||||
# Set LDFLAGS so we link modules with -lpython2.7 correctly.
|
||||
# Needed on FreeBSD unless Python 2.7 is already installed.
|
||||
# Please query BSD team before removing this!
|
||||
append-ldflags "-L."
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
if use berkdb; then
|
||||
dbmliborder+="${dbmliborder:+:}bdb"
|
||||
fi
|
||||
|
||||
BUILD_DIR="${WORKDIR}/${CHOST}"
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
ECONF_SOURCE="${S}" OPT="" \
|
||||
econf \
|
||||
--with-fpectl \
|
||||
--enable-shared \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with threads) \
|
||||
$(use wide-unicode && echo "--enable-unicode=ucs4" || echo "--enable-unicode=ucs2") \
|
||||
--infodir='${prefix}/share/info' \
|
||||
--mandir='${prefix}/share/man' \
|
||||
--with-computed-gotos \
|
||||
--with-dbmliborder="${dbmliborder}" \
|
||||
--with-libc="" \
|
||||
--enable-loadable-sqlite-extensions \
|
||||
--with-system-expat \
|
||||
--with-system-ffi \
|
||||
--without-ensurepip
|
||||
|
||||
if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||
eerror "configure has detected that the sem_open function is broken."
|
||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||
die "Broken sem_open function (bug 496328)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Avoid invoking pgen for cross-compiles.
|
||||
touch Include/graminit.h Python/graminit.c
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
emake
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax_kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="distutils gdb"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||
done
|
||||
|
||||
# Rerun failed tests in verbose mode (regrtest -w).
|
||||
emake test EXTRATESTOPTS="-w" < /dev/tty
|
||||
local result="$?"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}/usr/$(get_libdir)/python${SLOT}/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
if [[ "${result}" -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/$(get_libdir)/python${SLOT}
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
emake DESTDIR="${D}" altinstall
|
||||
|
||||
sed -e "s/\(LDFLAGS=\).*/\1/" -i "${libdir}/config/Makefile" || die "sed failed"
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
mv "${ED}usr/bin/2to3" "${ED}usr/bin/2to3-${SLOT}"
|
||||
mv "${ED}usr/bin/pydoc" "${ED}usr/bin/pydoc${SLOT}"
|
||||
mv "${ED}usr/bin/idle" "${ED}usr/bin/idle${SLOT}"
|
||||
rm -f "${ED}usr/bin/smtpd.py"
|
||||
|
||||
use berkdb || rm -r "${libdir}/"{bsddb,dbhash.py,test/test_bsddb*} || die
|
||||
use sqlite || rm -r "${libdir}/"{sqlite3,test/test_sqlite*} || die
|
||||
use tk || rm -r "${ED}usr/bin/idle${SLOT}" "${libdir}/"{idlelib,lib-tk} || die
|
||||
use elibc_uclibc && rm -fr "${libdir}/"{bsddb/test,test}
|
||||
|
||||
use threads || rm -r "${libdir}/multiprocessing" || die
|
||||
use wininst || rm -r "${libdir}/distutils/command/"wininst-*.exe || die
|
||||
|
||||
dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
doins -r "${S}"/Tools
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
||||
emake --no-print-directory -s -f - 2>/dev/null)
|
||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${SLOT/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${SLOT}:" \
|
||||
-i "${ED}etc/conf.d/pydoc-${SLOT}" "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed"
|
||||
|
||||
# for python-exec
|
||||
local vars=( EPYTHON PYTHON_SITEDIR PYTHON_SCRIPTDIR )
|
||||
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local -x PYTHON=./python
|
||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
|
||||
else
|
||||
vars=( PYTHON "${vars[@]}" )
|
||||
fi
|
||||
|
||||
python_export "python${SLOT}" "${vars[@]}"
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
||||
python_domodule epython.py
|
||||
|
||||
# python-exec wrapping support
|
||||
local pymajor=${SLOT%.*}
|
||||
mkdir -p "${D}${PYTHON_SCRIPTDIR}" || die
|
||||
# python and pythonX
|
||||
ln -s "../../../bin/python${SLOT}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python${pymajor}" || die
|
||||
ln -s "python${pymajor}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python" || die
|
||||
# python-config and pythonX-config
|
||||
ln -s "../../../bin/python${SLOT}-config" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python${pymajor}-config" || die
|
||||
ln -s "python${pymajor}-config" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python-config" || die
|
||||
# 2to3, pydoc, pyvenv
|
||||
ln -s "../../../bin/2to3-${SLOT}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/2to3" || die
|
||||
ln -s "../../../bin/pydoc${SLOT}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/pydoc" || die
|
||||
# idle
|
||||
if use tk; then
|
||||
ln -s "../../../bin/idle${SLOT}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/idle" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-${SLOT}" && ! has_version "${CATEGORY}/${PN}:2.7"; then
|
||||
python_updater_warning="1"
|
||||
fi
|
||||
}
|
||||
|
||||
eselect_python_update() {
|
||||
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
|
||||
eselect python update
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect_python_update
|
||||
|
||||
if [[ "${python_updater_warning}" == "1" ]]; then
|
||||
ewarn "You have just upgraded from an older version of Python."
|
||||
ewarn "You should switch active version of Python ${PV%%.*} and run"
|
||||
ewarn "'python-updater [options]' to rebuild Python modules."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect_python_update
|
||||
}
|
@ -0,0 +1,353 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs multiprocessing
|
||||
|
||||
MY_P="Python-${PV/_/}"
|
||||
PATCHSET_VERSION="3.4.5-0"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="http://www.python.org/"
|
||||
SRC_URI="http://www.python.org/ftp/python/${PV%_rc*}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="3.4/3.4m"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="build elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk wininst +xml"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="app-arch/bzip2:0=
|
||||
app-arch/xz-utils:0=
|
||||
>=sys-libs/zlib-1.1.3:0=
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
gdbm? ( sys-libs/gdbm:0=[berkdb] )
|
||||
ncurses? (
|
||||
>=sys-libs/ncurses-5.2:0=
|
||||
readline? ( >=sys-libs/readline-4.1:0= )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tk? (
|
||||
>=dev-lang/tcl-8.0:0=
|
||||
>=dev-lang/tk-8.0:0=
|
||||
dev-tcltk/blt:0=
|
||||
dev-tcltk/tix
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2.1:0= )
|
||||
!!<sys-apps/sandbox-2.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
>=sys-devel/autoconf-2.65
|
||||
!sys-devel/gcc[libffi]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )"
|
||||
PDEPEND=">=app-eselect/eselect-python-20140125-r1
|
||||
app-admin/python-updater"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYVER=${SLOT%/*}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -fr Modules/expat
|
||||
rm -fr Modules/_ctypes/libffi*
|
||||
rm -fr Modules/zlib
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Invokes BUILDPYTHON, which is built for the host arch
|
||||
local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
|
||||
fi
|
||||
|
||||
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
|
||||
epatch "${FILESDIR}/${PN}-3.4.3-ncurses-pkg-config.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
configure.ac \
|
||||
Lib/distutils/command/install.py \
|
||||
Lib/distutils/sysconfig.py \
|
||||
Lib/site.py \
|
||||
Lib/sysconfig.py \
|
||||
Lib/test/test_site.py \
|
||||
Makefile.pre.in \
|
||||
Modules/Setup.dist \
|
||||
Modules/getpath.c \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||
tc-export CXX
|
||||
|
||||
# The configure script fails to use pkg-config correctly.
|
||||
# http://bugs.python.org/issue15506
|
||||
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
|
||||
|
||||
# Set LDFLAGS so we link modules with -lpython3.2 correctly.
|
||||
# Needed on FreeBSD unless Python 3.2 is already installed.
|
||||
# Please query BSD team before removing this!
|
||||
append-ldflags "-L."
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
|
||||
BUILD_DIR="${WORKDIR}/${CHOST}"
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
ECONF_SOURCE="${S}" OPT="" \
|
||||
econf \
|
||||
--with-fpectl \
|
||||
--enable-shared \
|
||||
$(use_enable ipv6) \
|
||||
$(use_with threads) \
|
||||
--infodir='${prefix}/share/info' \
|
||||
--mandir='${prefix}/share/man' \
|
||||
--with-computed-gotos \
|
||||
--with-dbmliborder="${dbmliborder}" \
|
||||
--with-libc="" \
|
||||
--enable-loadable-sqlite-extensions \
|
||||
--with-system-expat \
|
||||
--with-system-ffi \
|
||||
--without-ensurepip
|
||||
|
||||
if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||
eerror "configure has detected that the sem_open function is broken."
|
||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||
die "Broken sem_open function (bug 496328)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Avoid invoking pgen for cross-compiles.
|
||||
touch Include/graminit.h Python/graminit.c || die
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax_kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="gdb"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||
done
|
||||
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
emake test EXTRATESTOPTS="-u-network" CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
||||
local result=$?
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}/usr/$(get_libdir)/python${PYVER}/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
if [[ ${result} -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/$(get_libdir)/python${PYVER}
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
emake DESTDIR="${D}" altinstall
|
||||
|
||||
sed \
|
||||
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
|
||||
-e "s/\(PY_LDFLAGS=\).*/\1/" \
|
||||
-i "${libdir}/config-${PYVER}"*/Makefile || die "sed failed"
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
rm -f "${ED}usr/$(get_libdir)/libpython3.so"
|
||||
|
||||
# Cheap hack to get version with ABIFLAGS
|
||||
local abiver=$(cd "${ED}usr/include"; echo python*)
|
||||
if [[ ${abiver} != python${PYVER} ]]; then
|
||||
# Replace python3.X with a symlink to python3.Xm
|
||||
rm "${ED}usr/bin/python${PYVER}" || die
|
||||
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
||||
# Create python3.X-config symlink
|
||||
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
||||
# Create python-3.5m.pc symlink
|
||||
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
||||
fi
|
||||
|
||||
use elibc_uclibc && rm -fr "${libdir}/test"
|
||||
use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*}
|
||||
use tk || rm -fr "${ED}usr/bin/idle${PYVER}" "${libdir}/"{idlelib,tkinter,test/test_tk*}
|
||||
|
||||
use threads || rm -fr "${libdir}/multiprocessing"
|
||||
use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe
|
||||
|
||||
dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr
|
||||
doins -r "${S}"/Tools
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
||||
emake --no-print-directory -s -f - 2>/dev/null)
|
||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
||||
-i "${ED}etc/conf.d/pydoc-${PYVER}" "${ED}etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
||||
|
||||
# for python-exec
|
||||
local vars=( EPYTHON PYTHON_SITEDIR PYTHON_SCRIPTDIR )
|
||||
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local -x PYTHON=./python
|
||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
|
||||
else
|
||||
vars=( PYTHON "${vars[@]}" )
|
||||
fi
|
||||
|
||||
python_export "python${PYVER}" "${vars[@]}"
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
||||
python_domodule epython.py
|
||||
|
||||
# python-exec wrapping support
|
||||
local pymajor=${PYVER%.*}
|
||||
mkdir -p "${D}${PYTHON_SCRIPTDIR}" || die
|
||||
# python and pythonX
|
||||
ln -s "../../../bin/${abiver}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python${pymajor}" || die
|
||||
ln -s "python${pymajor}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python" || die
|
||||
# python-config and pythonX-config
|
||||
# note: we need to create a wrapper rather than symlinking it due
|
||||
# to some random dirname(argv[0]) magic performed by python-config
|
||||
cat > "${D}${PYTHON_SCRIPTDIR}/python${pymajor}-config" <<-EOF || die
|
||||
#!/bin/sh
|
||||
exec "${abiver}-config" "\${@}"
|
||||
EOF
|
||||
chmod +x "${D}${PYTHON_SCRIPTDIR}/python${pymajor}-config" || die
|
||||
ln -s "python${pymajor}-config" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python-config" || die
|
||||
# 2to3, pydoc, pyvenv
|
||||
ln -s "../../../bin/2to3-${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/2to3" || die
|
||||
ln -s "../../../bin/pydoc${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/pydoc" || die
|
||||
ln -s "../../../bin/pyvenv-${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/pyvenv" || die
|
||||
# idle
|
||||
if use tk; then
|
||||
ln -s "../../../bin/idle${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/idle" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-${PYVER}" && ! has_version ">=${CATEGORY}/${PN}-${PYVER}_alpha"; then
|
||||
python_updater_warning="1"
|
||||
fi
|
||||
}
|
||||
|
||||
eselect_python_update() {
|
||||
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
|
||||
eselect python update
|
||||
fi
|
||||
|
||||
if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
|
||||
eselect python update --python${PV%%.*}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect_python_update
|
||||
|
||||
if [[ "${python_updater_warning}" == "1" ]]; then
|
||||
ewarn "You have just upgraded from an older version of Python."
|
||||
ewarn
|
||||
ewarn "Please adjust PYTHON_TARGETS (if so desired), and run emerge with the --newuse or --changed-use option to rebuild packages installing python modules."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect_python_update
|
||||
}
|
@ -0,0 +1,359 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="5"
|
||||
WANT_LIBTOOL="none"
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib pax-utils python-utils-r1 toolchain-funcs
|
||||
|
||||
MY_P="Python-${PV/_/}"
|
||||
PATCHSET_VERSION="3.5.2-0"
|
||||
|
||||
DESCRIPTION="An interpreted, interactive, object-oriented programming language"
|
||||
HOMEPAGE="http://www.python.org/"
|
||||
SRC_URI="http://www.python.org/ftp/python/${PV%_rc*}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~floppym/python/python-gentoo-patches-${PATCHSET_VERSION}.tar.xz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="3.5/3.5m"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="build elibc_uclibc examples gdbm hardened ipv6 libressl +ncurses +readline sqlite +ssl +threads tk wininst +xml"
|
||||
|
||||
# Do not add a dependency on dev-lang/python to this ebuild.
|
||||
# If you need to apply a patch which requires python for bootstrapping, please
|
||||
# run the bootstrap code on your dev box and include the results in the
|
||||
# patchset. See bug 447752.
|
||||
|
||||
RDEPEND="app-arch/bzip2:0=
|
||||
app-arch/xz-utils:0=
|
||||
>=sys-libs/zlib-1.1.3:0=
|
||||
virtual/libffi
|
||||
virtual/libintl
|
||||
gdbm? ( sys-libs/gdbm:0=[berkdb] )
|
||||
ncurses? (
|
||||
>=sys-libs/ncurses-5.2:0=
|
||||
readline? ( >=sys-libs/readline-4.1:0= )
|
||||
)
|
||||
sqlite? ( >=dev-db/sqlite-3.3.8:3= )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:= )
|
||||
)
|
||||
tk? (
|
||||
>=dev-lang/tcl-8.0:0=
|
||||
>=dev-lang/tk-8.0:0=
|
||||
dev-tcltk/blt:0=
|
||||
dev-tcltk/tix
|
||||
)
|
||||
xml? ( >=dev-libs/expat-2.1:0= )
|
||||
!!<sys-apps/sandbox-2.6-r1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
!sys-devel/gcc[libffi(-)]"
|
||||
RDEPEND+=" !build? ( app-misc/mime-types )"
|
||||
PDEPEND=">=app-eselect/eselect-python-20140125-r1"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
PYVER=${SLOT%/*}
|
||||
|
||||
src_prepare() {
|
||||
# Ensure that internal copies of expat, libffi and zlib are not used.
|
||||
rm -fr Modules/expat
|
||||
rm -fr Modules/_ctypes/libffi*
|
||||
rm -fr Modules/zlib
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Invokes BUILDPYTHON, which is built for the host arch
|
||||
local EPATCH_EXCLUDE="*_regenerate_platform-specific_modules.patch"
|
||||
fi
|
||||
|
||||
EPATCH_SUFFIX="patch" epatch "${WORKDIR}/patches"
|
||||
epatch "${FILESDIR}/${PN}-3.4.3-ncurses-pkg-config.patch"
|
||||
epatch "${FILESDIR}/${PN}-3.5-distutils-OO-build.patch"
|
||||
|
||||
epatch_user
|
||||
|
||||
sed -i -e "s:@@GENTOO_LIBDIR@@:$(get_libdir):g" \
|
||||
configure.ac \
|
||||
Lib/distutils/command/install.py \
|
||||
Lib/distutils/sysconfig.py \
|
||||
Lib/site.py \
|
||||
Lib/sysconfig.py \
|
||||
Lib/test/test_site.py \
|
||||
Makefile.pre.in \
|
||||
Modules/getpath.c \
|
||||
Modules/Setup.dist \
|
||||
setup.py || die "sed failed to replace @@GENTOO_LIBDIR@@"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local disable
|
||||
use gdbm || disable+=" gdbm"
|
||||
use ncurses || disable+=" _curses _curses_panel"
|
||||
use readline || disable+=" readline"
|
||||
use sqlite || disable+=" _sqlite3"
|
||||
use ssl || export PYTHON_DISABLE_SSL="1"
|
||||
use tk || disable+=" _tkinter"
|
||||
use xml || disable+=" _elementtree pyexpat" # _elementtree uses pyexpat.
|
||||
export PYTHON_DISABLE_MODULES="${disable}"
|
||||
|
||||
if ! use xml; then
|
||||
ewarn "You have configured Python without XML support."
|
||||
ewarn "This is NOT a recommended configuration as you"
|
||||
ewarn "may face problems parsing any XML documents."
|
||||
fi
|
||||
|
||||
if [[ -n "${PYTHON_DISABLE_MODULES}" ]]; then
|
||||
einfo "Disabled modules: ${PYTHON_DISABLE_MODULES}"
|
||||
fi
|
||||
|
||||
if [[ "$(gcc-major-version)" -ge 4 ]]; then
|
||||
append-flags -fwrapv
|
||||
fi
|
||||
|
||||
filter-flags -malign-double
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=50309
|
||||
if is-flagq -O3; then
|
||||
is-flagq -fstack-protector-all && replace-flags -O3 -O2
|
||||
use hardened && replace-flags -O3 -O2
|
||||
fi
|
||||
|
||||
# Export CXX so it ends up in /usr/lib/python3.X/config/Makefile.
|
||||
tc-export CXX
|
||||
|
||||
# The configure script fails to use pkg-config correctly.
|
||||
# http://bugs.python.org/issue15506
|
||||
export ac_cv_path_PKG_CONFIG=$(tc-getPKG_CONFIG)
|
||||
|
||||
# Set LDFLAGS so we link modules with -lpython3.2 correctly.
|
||||
# Needed on FreeBSD unless Python 3.2 is already installed.
|
||||
# Please query BSD team before removing this!
|
||||
append-ldflags "-L."
|
||||
|
||||
local dbmliborder
|
||||
if use gdbm; then
|
||||
dbmliborder+="${dbmliborder:+:}gdbm"
|
||||
fi
|
||||
|
||||
BUILD_DIR="${WORKDIR}/${CHOST}"
|
||||
mkdir -p "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local myeconfargs=(
|
||||
--with-fpectl
|
||||
--enable-shared
|
||||
$(use_enable ipv6)
|
||||
$(use_with threads)
|
||||
--infodir='${prefix}/share/info'
|
||||
--mandir='${prefix}/share/man'
|
||||
--with-computed-gotos
|
||||
--with-dbmliborder="${dbmliborder}"
|
||||
--with-libc=
|
||||
--enable-loadable-sqlite-extensions
|
||||
--without-ensurepip
|
||||
--with-system-expat
|
||||
--with-system-ffi
|
||||
)
|
||||
|
||||
ECONF_SOURCE="${S}" OPT="" econf "${myeconfargs[@]}"
|
||||
|
||||
if use threads && grep -q "#define POSIX_SEMAPHORES_NOT_ENABLED 1" pyconfig.h; then
|
||||
eerror "configure has detected that the sem_open function is broken."
|
||||
eerror "Please ensure that /dev/shm is mounted as a tmpfs with mode 1777."
|
||||
die "Broken sem_open function (bug 496328)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
emake CPPFLAGS= CFLAGS= LDFLAGS=
|
||||
|
||||
# Work around bug 329499. See also bug 413751 and 457194.
|
||||
if has_version dev-libs/libffi[pax_kernel]; then
|
||||
pax-mark E python
|
||||
else
|
||||
pax-mark m python
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Tests will not work when cross compiling.
|
||||
if tc-is-cross-compiler; then
|
||||
elog "Disabling tests due to crosscompiling."
|
||||
return
|
||||
fi
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
# Skip failing tests.
|
||||
local skipped_tests="gdb"
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${S}"/Lib/test/test_${test}.py "${T}"
|
||||
done
|
||||
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
emake test EXTRATESTOPTS="-u-network" CPPFLAGS= CFLAGS= LDFLAGS= < /dev/tty
|
||||
local result=$?
|
||||
|
||||
for test in ${skipped_tests}; do
|
||||
mv "${T}/test_${test}.py" "${S}"/Lib/test
|
||||
done
|
||||
|
||||
elog "The following tests have been skipped:"
|
||||
for test in ${skipped_tests}; do
|
||||
elog "test_${test}.py"
|
||||
done
|
||||
|
||||
elog "If you would like to run them, you may:"
|
||||
elog "cd '${EPREFIX}/usr/$(get_libdir)/python${PYVER}/test'"
|
||||
elog "and run the tests separately."
|
||||
|
||||
if [[ ${result} -ne 0 ]]; then
|
||||
die "emake test failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local libdir=${ED}/usr/$(get_libdir)/python${PYVER}
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
emake DESTDIR="${D}" altinstall
|
||||
|
||||
sed \
|
||||
-e "s/\(CONFIGURE_LDFLAGS=\).*/\1/" \
|
||||
-e "s/\(PY_LDFLAGS=\).*/\1/" \
|
||||
-i "${libdir}/config-${PYVER}"*/Makefile || die "sed failed"
|
||||
|
||||
# Fix collisions between different slots of Python.
|
||||
rm -f "${ED}usr/$(get_libdir)/libpython3.so"
|
||||
|
||||
# Cheap hack to get version with ABIFLAGS
|
||||
local abiver=$(cd "${ED}usr/include"; echo python*)
|
||||
if [[ ${abiver} != python${PYVER} ]]; then
|
||||
# Replace python3.X with a symlink to python3.Xm
|
||||
rm "${ED}usr/bin/python${PYVER}" || die
|
||||
dosym "${abiver}" "/usr/bin/python${PYVER}"
|
||||
# Create python3.X-config symlink
|
||||
dosym "${abiver}-config" "/usr/bin/python${PYVER}-config"
|
||||
# Create python-3.5m.pc symlink
|
||||
dosym "python-${PYVER}.pc" "/usr/$(get_libdir)/pkgconfig/${abiver/${PYVER}/-${PYVER}}.pc"
|
||||
fi
|
||||
|
||||
# python seems to get rebuilt in src_install (bug 569908)
|
||||
# Work around it for now.
|
||||
if has_version dev-libs/libffi[pax_kernel]; then
|
||||
pax-mark E "${ED}usr/bin/${abiver}"
|
||||
else
|
||||
pax-mark m "${ED}usr/bin/${abiver}"
|
||||
fi
|
||||
|
||||
use elibc_uclibc && rm -fr "${libdir}/test"
|
||||
use sqlite || rm -fr "${libdir}/"{sqlite3,test/test_sqlite*}
|
||||
use tk || rm -fr "${ED}usr/bin/idle${PYVER}" "${libdir}/"{idlelib,tkinter,test/test_tk*}
|
||||
|
||||
use threads || rm -fr "${libdir}/multiprocessing"
|
||||
use wininst || rm -f "${libdir}/distutils/command/"wininst-*.exe
|
||||
|
||||
dodoc "${S}"/Misc/{ACKS,HISTORY,NEWS}
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}/examples
|
||||
find "${S}"/Tools -name __pycache__ -print0 | xargs -0 rm -fr
|
||||
doins -r "${S}"/Tools
|
||||
fi
|
||||
insinto /usr/share/gdb/auto-load/usr/$(get_libdir) #443510
|
||||
local libname=$(printf 'e:\n\t@echo $(INSTSONAME)\ninclude Makefile\n' | \
|
||||
emake --no-print-directory -s -f - 2>/dev/null)
|
||||
newins "${S}"/Tools/gdb/libpython.py "${libname}"-gdb.py
|
||||
|
||||
newconfd "${FILESDIR}/pydoc.conf" pydoc-${PYVER}
|
||||
newinitd "${FILESDIR}/pydoc.init" pydoc-${PYVER}
|
||||
sed \
|
||||
-e "s:@PYDOC_PORT_VARIABLE@:PYDOC${PYVER/./_}_PORT:" \
|
||||
-e "s:@PYDOC@:pydoc${PYVER}:" \
|
||||
-i "${ED}etc/conf.d/pydoc-${PYVER}" "${ED}etc/init.d/pydoc-${PYVER}" || die "sed failed"
|
||||
|
||||
# for python-exec
|
||||
local vars=( EPYTHON PYTHON_SITEDIR PYTHON_SCRIPTDIR )
|
||||
|
||||
# if not using a cross-compiler, use the fresh binary
|
||||
if ! tc-is-cross-compiler; then
|
||||
local -x PYTHON=./python
|
||||
local -x LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}.
|
||||
else
|
||||
vars=( PYTHON "${vars[@]}" )
|
||||
fi
|
||||
|
||||
python_export "python${PYVER}" "${vars[@]}"
|
||||
echo "EPYTHON='${EPYTHON}'" > epython.py || die
|
||||
python_domodule epython.py
|
||||
|
||||
# python-exec wrapping support
|
||||
local pymajor=${PYVER%.*}
|
||||
mkdir -p "${D}${PYTHON_SCRIPTDIR}" || die
|
||||
# python and pythonX
|
||||
ln -s "../../../bin/${abiver}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python${pymajor}" || die
|
||||
ln -s "python${pymajor}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python" || die
|
||||
# python-config and pythonX-config
|
||||
# note: we need to create a wrapper rather than symlinking it due
|
||||
# to some random dirname(argv[0]) magic performed by python-config
|
||||
cat > "${D}${PYTHON_SCRIPTDIR}/python${pymajor}-config" <<-EOF || die
|
||||
#!/bin/sh
|
||||
exec "${abiver}-config" "\${@}"
|
||||
EOF
|
||||
chmod +x "${D}${PYTHON_SCRIPTDIR}/python${pymajor}-config" || die
|
||||
ln -s "python${pymajor}-config" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/python-config" || die
|
||||
# 2to3, pydoc, pyvenv
|
||||
ln -s "../../../bin/2to3-${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/2to3" || die
|
||||
ln -s "../../../bin/pydoc${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/pydoc" || die
|
||||
ln -s "../../../bin/pyvenv-${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/pyvenv" || die
|
||||
# idle
|
||||
if use tk; then
|
||||
ln -s "../../../bin/idle${PYVER}" \
|
||||
"${D}${PYTHON_SCRIPTDIR}/idle" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-${PYVER}" && ! has_version ">=${CATEGORY}/${PN}-${PYVER}_alpha"; then
|
||||
python_updater_warning="1"
|
||||
fi
|
||||
}
|
||||
|
||||
eselect_python_update() {
|
||||
if [[ -z "$(eselect python show)" || ! -f "${EROOT}usr/bin/$(eselect python show)" ]]; then
|
||||
eselect python update
|
||||
fi
|
||||
|
||||
if [[ -z "$(eselect python show --python${PV%%.*})" || ! -f "${EROOT}usr/bin/$(eselect python show --python${PV%%.*})" ]]; then
|
||||
eselect python update --python${PV%%.*}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect_python_update
|
||||
|
||||
if [[ "${python_updater_warning}" == "1" ]]; then
|
||||
ewarn "You have just upgraded from an older version of Python."
|
||||
ewarn
|
||||
ewarn "Please adjust PYTHON_TARGETS (if so desired), and run emerge with the --newuse or --changed-use option to rebuild packages installing python modules."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect_python_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST uchardet-0.0.5.tar.gz 222864 SHA256 7c5569c8ee1a129959347f5340655897e6a8f81ec3344de0012a243f868eabd1 SHA512 e32ff3e7baa9804199e3ca240ce590fed3fcb539fe4d780c4ec205fa5cbd45415e2c8c8db51d97965f9f9bbaad1f34613d5ed2849aafd9bbc3dda850c0be20ac WHIRLPOOL 737becbbf1be09e049207311c964ee61e78bce3c3cdc31cd5a071a52aef22b5f0d803a243aac8b0f9840c19d27ffbac3e08454ec7a74c2bb85f19f15333e3af6
|
||||
DIST uchardet-0.0.6.tar.xz 169192 SHA256 8351328cdfbcb2432e63938721dd781eb8c11ebc56e3a89d0f84576b96002c61 SHA512 eceeadae060bf277e298d709856609dde32921271140dc1fb0a33c7b6e1381033fc2960d616ebbd82c92815936864d2c0743b1b5ea1b7d4a200df87df80d6de5 WHIRLPOOL 3fa915fa768be9cb4002e0a1b84c120db017f59fd0011df36a4853c53b403d5f3839647ab7aff8d8691a43ef0ecc90714475ef6a46a85d20abbd57fba7d90a13
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
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/${PN}/releases/${P}.tar.xz"
|
||||
|
||||
LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86"
|
||||
IUSE="static-libs test"
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
use test || cmake_comment_add_subdirectory test
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_STATIC=$(usex static-libs)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST amqp-1.4.0.tgz 48648 SHA256 e6553154acbffeaacfad83edf94a7b94e2e50a850ec953d15537016267720f25 SHA512 aacf3d7e13c0acb7486fbc47a65ee70909e71401106479b38a9b6406453a6279cd32aceb0941ec56a39326f17700e8ea4a15460c9b156d4bef68e5e8f90f5a2e WHIRLPOOL aa83c6acec9c36ef47aa73cbb2209c15b89eb2a1888bb5117dc6d5ece907537f29a559d52787d8cd77ce8653ebc8f4799afc82ebdfdc303d615e78b3f012339d
|
||||
DIST amqp-1.7.0.tgz 79665 SHA256 b9a642c0ae60cc5e049c169a017cc355bfc0f2478db588b20925eaa63d358e83 SHA512 7fb16c1f49814e8eb74635672e80023bbe8655536efb28f9899c55ef328574dd806d51b7a39f972777cc643105acc6918b10009af09e4106b395b246c3463116 WHIRLPOOL 7f8775eaf45c2ec2fd5afc57a6d6ec73df858636b469dadf5f43faae713280f384169406933e6a14ffbc874185e18dabf1a1e09c54e48144d21bdbc7a4f9665d
|
||||
DIST amqp-1.7.1.tgz 79905 SHA256 38a92eaef1aa863404170bcd15605f7f78140eeec1ff5be6af65c5b8081e2599 SHA512 3cd712410e6614c764b307670ad2398d374bf438c20d28aaa96dc61cabc63530883f87cb1669d0370691b7ca901604a1d93fe81c4ca7dada776f923a368c3b19 WHIRLPOOL 2ca1b1a161a6d3b0f1c3bb7f87f379930eae931354d6150e59eb08b2290968ade167e6b2f245be02e06e73b6d1aa34d9150e38b83e9f64b857be235bb01b3720
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
USE_PHP="php7-0 php5-6 php5-5"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="PHP Bindings for AMQP 0-9-1 compatible brokers"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=net-libs/rabbitmq-c-0.5.2"
|
||||
RDEPEND="${DEPEND}"
|
@ -1 +1,2 @@
|
||||
DIST eio-1.2.5.tgz 57539 SHA256 ee7b21aa413cbe39caaef1d2eb893fa3bcb9a278b5665c28d179a83a4a1bdb51 SHA512 629f4e0cd3f632ec7d5aed299a6f55ba089f8d455a974c02c892515212d1f9a28ee2977ef513eba8b7fddf3431449716f70c29999dcd71df77ea26baae8994d5 WHIRLPOOL 2bffa6aca39ccf85dda44b4a18f966a4be4bcf3dc0a53c2eac2443574b189540732b0204b4c8a7d1825956c7b9aa15946680d65ff16ad7237b3f535c960f10fd
|
||||
DIST eio-2.0.0.tgz 73615 SHA256 fc25ec8bc88b5d7dbb56f50a31d0672b92b09357817252218b34a672db089fe9 SHA512 e863bfffa78f6009c849b4487d5c81326cbfd7fdd8999282fe373f5f3086b994a8a8e33864b0f4475be0650e886f4c7208e8a681b60629b7d0e631912c88fa49 WHIRLPOOL 510083e2ce87ec2e19ab4d554d421224397a3129e516292a61bde23fd291fd590636804a93e5a9618059770676ca569484b30e9a56cc45d44ec9381645474332
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
PHP_EXT_NAME="eio"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS=( README.md )
|
||||
|
||||
USE_PHP="php5-5 php5-6 php7-0"
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
LICENSE="PHP-3.01"
|
||||
|
||||
DESCRIPTION="PHP wrapper for libeio library"
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
IUSE="debug"
|
||||
|
||||
src_configure() {
|
||||
local PHP_EXT_ECONF_ARGS="--with-eio $(use_enable debug eio-debug)"
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST gnupg-1.3.3.tgz 19141 SHA256 6a20b9bb8567b305a77bc2c5671c3cb28006f337f5f022aff4e2968a2a3eb121 SHA512 ac6c315e7734b9efc82aa18664572dc24977d285cae588e58f5dbe8c7caeb89216f4be3889d18fa9840c69ab201faee058d3e4cd197f977e60fcb0a4fd594ed2 WHIRLPOOL 9f798989856e67ea4792502840a2a33b0b09fc110a2122ed65cc0c7faec363704164dbfd25ded3c704149fe6cff81cb686df0531caf73b4c94cfd55127469d04
|
||||
DIST gnupg-1.3.6.tgz 19273 SHA256 50065cb81f1ac3ec5fcd796e58c8433071ff24cc14900e6077682717f5239307 SHA512 94061da44ab950571b38ea677e904eae1d099f8b6b528ade5e242ff1a67d81ac7e70174bc075037d7820e9cd7983524d67e1381d1ab2e98d466fe1e855820b73 WHIRLPOOL 1423ecbdd59607198a39ba51286d7e9380dfbdcfe9f70bdf932ef57b5cc863b92ef0a85409e40fb88499d628f80a800c90821f671727bd50d083a65a61c8bdc1
|
||||
DIST gnupg-1.4.0RC1.tgz 27969 SHA256 927112e16e3267dd64b1e61b7ce355fb3a314200646a8ce7056dd5e83965e604 SHA512 633d913b766a1bb8196abda4b5a92ed7e35a362cf02838681e370653b41f8f6e5f0a32c9250c5ff3ab6d08345c608d3cc5e387cd0ab3d20b56a49b21e8c1b865 WHIRLPOOL 3008cc339d9bf2f9e0f4e3fcb03b073a2ed90bbed72344bf32d558ac8e40fb278c722c230737dba4364f716e8fde1e0ddab059079a8c6eaeb0c1649d35d43017
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="6"
|
||||
|
||||
MY_P="${PN/pecl-/}-${PV/_rc/RC}"
|
||||
PHP_EXT_NAME="gnupg"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
|
||||
PHP_EXT_S="${WORKDIR}/${MY_P}"
|
||||
|
||||
USE_PHP="php5-5 php5-6 php7-0"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
S="${PHP_EXT_S}"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
DESCRIPTION="PHP wrapper around the gpgme library"
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-crypt/gpgme"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/1.3.2/01-large_file_system.patch )
|
@ -0,0 +1,26 @@
|
||||
# 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="Retrieve information on running processes and system utilization"
|
||||
HOMEPAGE="https://github.com/giampaolo/psutil https://pypi.python.org/pypi/psutil/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
python_test() {
|
||||
${PYTHON} psutil/tests/runner.py || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST pymediainfo-2.1.3.tar.gz 420494 SHA256 da97c7c000b8b5b641ad56ac3c4458ac05aaced41ad9ac421e78496ca77800df SHA512 b3af87c415fcab12937055cd20cd44779ac49c8f0879af3bd24e541c34f6c2d6160e3c54c315841ade11468dfe64c587d3d66aa67abace3db308bc18ca9121d5 WHIRLPOOL a9799474723b8805bf292fa80ba79cb4e6f4a54b7ffe9c187d27d8403af6b788ddbfef0725d5ecb9474fd9796967868e2ef28db73637beae034444621541a540
|
||||
DIST pymediainfo-2.1.4.tar.gz 420642 SHA256 b4ce090a5bfa24bf5f54a0a16c41ef0c3a0e12d4dae97bdb8b237788664c0136 SHA512 a82bb910ec76e11fb5120c224a804f6db1cef2cd4c6be0e3a5f5905d44594d35bf0abee629ea5092de2dbd7506a8c876735e53b0e2fd837dcadfabe2e8535dbb WHIRLPOOL be3617b6f2b03e404bab89a3d829a7f882bec2e2c61b7dcf00c01d809ca192da07aaed5e0f54723dd3169fb9ad17b76be61ceabc2e06ae1b9f63736254d319a1
|
||||
DIST pymediainfo-2.1.5.tar.gz 421120 SHA256 53616f5b87431d7fd0b4c7a2c2592c9071de923c5c0b167f1015905092a86915 SHA512 ef7891bb8e55e11e211f5d7a222176ffea013c4876b2a524ee02af6bcaa3cef272c11e7e39f12790de37f9bc95aa71af049727632092dbaa4c30ea3d149ddf70 WHIRLPOOL 6272df6e234655bc30fe8af811ad644d9062dd5a86837561885144f5a51c6ad931566b9e0fac073c89d99df6b8c82e282655fded66c056315dc10a0b4d30810a
|
||||
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
# requires sdoc
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="CONTRIBUTORS README.markdown"
|
||||
|
||||
inherit ruby-fakegem eutils
|
||||
|
||||
DESCRIPTION="A fake filesystem. Use it in your tests"
|
||||
HOMEPAGE="https://github.com/defunkt/fakefs"
|
||||
|
||||
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 ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "
|
||||
test? (
|
||||
dev-ruby/rspec:2
|
||||
>=dev-ruby/test-unit-2.5.1-r1
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Remove bundler
|
||||
rm Gemfile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_rspec
|
||||
ruby-ng_testrb-2 -Ilib:test test/**/*_test.rb
|
||||
}
|
@ -1,4 +1,3 @@
|
||||
DIST github_api-0.11.3.gem 844288 SHA256 cad4fb4c590468382d3d8cc3764f951549e16fdfa8396396cd58e128f8c190d5 SHA512 452f47f6b3570c42c2d4af9b4def507d34dbcaecf29aae76e6116b1b0ae67a4bce70e18d5e978ac6fe58a0ead49806a72ab89c9d46f34075c2fde6f41fd1763c WHIRLPOOL 64814598262350a0bccdddeaef4ac76bf04b22cf660b20bb32f2223b9945d5e8ab3e1c85ff53290464afc218a904db72b18325facc89e92c19c4af49395b82d7
|
||||
DIST github_api-0.12.4.tar.gz 2024775 SHA256 14d1cb0b9872297683e3dce55808550602d31bfde6778981bae85453bb7c7b10 SHA512 3517a5375359d233207aacc4fd1ac971e91f2be1c61dfa4529a0d531bca698e25c4f177932c5536c16808fe523bede64f20b92b9f30586706b9817ff9dc24cfe WHIRLPOOL c92e0f7a75c0a7a356afd26b664847a02f6a9f115e4cce9f200571728ffbe2f1dd00da87675b4ea5b16651262f7dece6553d430435ba3991657c61c82d3fbcde
|
||||
DIST github_api-0.14.0.tar.gz 2042476 SHA256 e9dfa394d3401790c29204eafd5fbe959f5c66a2378566c6b623de9217245cde SHA512 01460b0ff362ababbdb82aea697f2b02043f3e6007de1811dcb32dee915df91b2f45a00a373315d6f5b5a4499c20f3c315bb31e10e176535511d65d84c4d138f WHIRLPOOL d71e11c5aa7f475c747c50fec2fecb150cdf91a0a9cd1e6a576c6a85fbe7efc164f270f86f9f386f32e95e699b2cda86e7560e0069b299cfaa6ab00585220fc0
|
||||
DIST github_api-0.14.1.tar.gz 2046140 SHA256 bf005b8d57a5af65e3cfa244e82341be16eacb017e950101fec3b672f513d9cc SHA512 be4e05cd1239b8930158a5631f636791274a3f9f722f5cd90d5de1bb84be20e28677e05519684e008b7552f884a9caa7dacb3875abb8687d4d19b4babb131ff9 WHIRLPOOL 4f0a23915d3f29d0f261177634c3f730ce92375479d71a6a746ffd594c5bbaae539b1f00467043fa34c074857cc24db985a1fd5fe1b4881ecf55f101584620e1
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby wrapper for the GitHub REST API v3"
|
||||
HOMEPAGE="https://github.com/peter-murach/github"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/addressable-2.3
|
||||
>=dev-ruby/descendants_tracker-0.0.1
|
||||
>=dev-ruby/faraday-0.8
|
||||
<dev-ruby/faraday-0.10
|
||||
>=dev-ruby/hashie-1.2
|
||||
>=dev-ruby/multi_json-1.7.5
|
||||
<dev-ruby/multi_json-2.0
|
||||
>=dev-ruby/nokogiri-1.6.0
|
||||
dev-ruby/oauth2"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.14 dev-ruby/webmock )"
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A Ruby wrapper for the GitHub REST API v3"
|
||||
HOMEPAGE="https://github.com/peter-murach/github"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend "
|
||||
>=dev-ruby/addressable-2.3
|
||||
>=dev-ruby/descendants_tracker-0.0.1
|
||||
>=dev-ruby/faraday-0.8
|
||||
<dev-ruby/faraday-0.10
|
||||
>=dev-ruby/hashie-1.2
|
||||
>=dev-ruby/multi_json-1.7.5
|
||||
<dev-ruby/multi_json-2.0
|
||||
>=dev-ruby/nokogiri-1.6.0
|
||||
dev-ruby/oauth2"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/rspec-2.14 dev-ruby/webmock )"
|
@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yardoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc RELEASE.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock"
|
||||
HOMEPAGE="http://gofreerange.com/mocha/docs/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0.12"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~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/yard )
|
||||
test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use doc; then
|
||||
rake examples || die
|
||||
fi
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 test/unit/*
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc examples/*.rb || die
|
||||
}
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20 "
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST="test:units"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC="yardoc"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md RELEASE.md"
|
||||
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="init.rb"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Mocking and stubbing using a syntax like that of JMock and SchMock"
|
||||
HOMEPAGE="http://gofreerange.com/mocha/docs/"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0.13"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~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/yard )
|
||||
test? ( >=dev-ruby/test-unit-2.5.1-r1 )"
|
||||
|
||||
ruby_add_rdepend "dev-ruby/metaclass" #metaclass ~> 0.0.1
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Bb]undler/ s:^:#:' -e '1iload "lib/mocha/version.rb"' Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 test/unit/*
|
||||
}
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20 ruby21 ruby22 ruby23"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="A high performance selector API for monitoring IO objects"
|
||||
HOMEPAGE="https://github.com/celluloid/nio4r"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
# Note that nio4r bundles a patched copy of libev, and without these
|
||||
# patches the tests fail: https://github.com/celluloid/nio4r/issues/15
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/[Cc]overalls/d' -e '/[Bb]undler/d' spec/spec_helper.rb || die
|
||||
sed -e '/extension/ s:^:#:' -i Rakefile || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/${PN} extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake V=1 -Cext/${PN}
|
||||
cp ext/${PN}/*$(get_modname) lib/ || die
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20"
|
||||
|
||||
RUBY_FAKEGEM_NAME="snmp"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="data"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
IUSE=""
|
||||
|
||||
DESCRIPTION="SNMP library implemented in pure Ruby"
|
||||
HOMEPAGE="http://snmplib.rubyforge.org/"
|
||||
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/minitest-4:0 )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -e '2igem "minitest", "~>4.0"' -i test/test_*.rb || die
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
${RUBY} -Ilib:test:. -e 'Dir["test/test_*.rb"].each{|f| require f}' || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
RUBY_FAKEGEM_EXTRAINSTALL="assets"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Spork is Tim Harper's implementation of test server"
|
||||
HOMEPAGE="https://github.com/sporkrb/spork"
|
||||
LICENSE="MIT"
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sparc x86 ~x86-fbsd"
|
||||
SLOT="0"
|
||||
IUSE=""
|
@ -1,2 +1 @@
|
||||
DIST stamp-0.5.0.tar.gz 9022 SHA256 7346d95697a8eabe5d8e769bb098e1ff01bd1746f096176411ceba0c4c007ba0 SHA512 961121e2305d9948b003c12a16737c3a43235fc508bc1d2dd668bb7fc68893251c8575152aa61cea24617c9ce74c99c080b41353f81d9e70ab355e6e9f2365c8 WHIRLPOOL 5688685f0015c055d4830a1ec9b8b88cd81741710ac8e6623b0cfd466877f726beeeb20a6a105adaf25bc6f746083898b3c830e2f7de5de0c7ac305678f7a340
|
||||
DIST stamp-0.6.0.tar.gz 9099 SHA256 2b332424813c9bece7d61e7fa73c511802929fd9fe1349bc9ac58552648de63e SHA512 2f467444bad3c8932aeaeda061796ee3469b16d908027325efa28f7da005c8a4c8c95f0d3b84b6b1040bf5e5fe4114fc4779e3c9efc6c00817a050c13be62472 WHIRLPOOL bc345c03789669e809a7b480d8876cfa3afbef2a945583925bee204e087d2b3ec28b1a87dc569dad8b7c4633e01a40d9349d75616633c2f5b28cba4c5530ed12
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
USE_RUBY="ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="cucumber"
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="CONTRIBUTING.md README.md"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Date and time formatting for humans"
|
||||
HOMEPAGE="https://github.com/jeremyw/stamp"
|
||||
SRC_URI="https://github.com/jeremyw/stamp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard dev-ruby/redcarpet )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/bundler/d' Rakefile || die "sed failed"
|
||||
sed -i -e '/bundler/,+7d' features/support/env.rb || die "sed failed"
|
||||
}
|
||||
|
||||
all_ruby_compile() {
|
||||
all_fakegem_compile
|
||||
|
||||
if use doc ; then
|
||||
yard || die "yard failed"
|
||||
fi
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="none"
|
||||
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.rdoc"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="All the stuff that isn't good enough for a real library"
|
||||
HOMEPAGE="https://github.com/flori/tins"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 hppa ppc ppc64 ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 ) "
|
||||
|
||||
each_ruby_test() {
|
||||
ruby-ng_testrb-2 -Ilib tests/*_test.rb
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="rdoc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README ChangeLog"
|
||||
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Wirble is a set of enhancements for Irb"
|
||||
HOMEPAGE="http://pablotron.org/software/wirble/"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc x86"
|
||||
IUSE=""
|
||||
|
||||
pkg_postinst() {
|
||||
elog "The quick way to use wirble is to make your ~/.irbrc look like this:"
|
||||
elog " # load libraries"
|
||||
elog " require 'rubygems'"
|
||||
elog " require 'wirble'"
|
||||
elog " "
|
||||
elog " # start wirble (with color)"
|
||||
elog " Wirble.init"
|
||||
elog " Wirble.colorize"
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST xml-simple-1.1.3.gem 11776 SHA256 acf399ebf7585480868e241dda40314b3fe37063a871b7066e771688943c58c5 SHA512 321eba774f85f45914b98c53cba2cffdeb0725e602145a84bf5d21f72eb0a2033612410b07eee5de9777817403630c8b1c2e0cfc421429b2b34bfaa492b624ad WHIRLPOOL b5222c821c68e331dac1882df54ecae48fe36febdcacf6533bb37506e7d75915666abcb47cf01086a06f62ba8f22e325a46154ee990720c066c3ce09907a2b0c
|
||||
DIST xml-simple-1.1.5.tar.gz 126288 SHA256 e0d4602bea9fcff1bec440fdb8bd4ce27f4003899a60ac62a217a495038e62c4 SHA512 df81a05a0c32141cb5a0328fb782292438ec3ad6037c150e2ff4fee07b65ba9a739987f25f28c196ff8565af53c62120c3a729820a94dd3da0551fe43948f9a3 WHIRLPOOL 570bda1a0fc083601585fec646f3ca0158fa7d740fbc47adc936f5101fec3a6f1b4f6720fb1f41680d541fdf4051175c2d0a3bf881f27a36360dbacc33b0a846
|
||||
|
@ -1,20 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
USE_RUBY="ruby20"
|
||||
|
||||
# Gem only contains lib code, and github repository has no tags.
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_TASK_TEST=""
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Easy API to maintain XML. A Ruby port of Grant McLean's Perl module XML::Simple"
|
||||
HOMEPAGE="https://github.com/maik/xml-simple"
|
||||
|
||||
LICENSE="Ruby"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~ppc ~x86"
|
||||
IUSE=""
|
@ -1,2 +1,3 @@
|
||||
DIST circuit_macros-8.3.2.tar.gz 2047086 SHA256 006723c6ebc06120c90b5c4a9b77cea318172121923207575eeb5c6b1925d32d SHA512 bfc43496985b9b2a09a5adbf5c2e5dbd09109a75d3d684858746885fd571da17f4d8209bd9a3b084b155d6a36269fea2d9f750a05c262f1c0d07b969b3233204 WHIRLPOOL be295b4c8c41236632a32f6ce8990c93fab490c9977d246ac0bfcd54868bfad4a21cb9d135b4d2100405c6200f8d09ee4c0e68e920aa9a0330c20c8a95c40351
|
||||
DIST circuit_macros-8.4.1.tar.gz 2060119 SHA256 a30b929982612aaa285965e726305248380c74ab28667730412b0f0f30158179 SHA512 af81f20203bc153ded017f56096181cc51fbaeba3063a2a003fcebc4210449fb1f3c044691fad5c6020334e46b9dbbdf9ec07b15af912f94ab669ea02543cbc2 WHIRLPOOL 19bbd94f33b51bf74151b3cf275953e73ededead3eb437e209d46c73f37288167dddf741b5cd31c3cd99a7c22dae8bd6ad1796c51bd5e2559b98102bb9ea2aa5
|
||||
DIST circuit_macros-8.4.tar.gz 2051691 SHA256 6cb7509ef34b95ea31e34a665b97902ac57a87a7069c365988ca668d6fbf86c1 SHA512 70f5d451a69effaad529749940a4b647eaf326808d70b03d209f2a6e5e436f35713e9f11da1179b0651a0eb7ec8f0a6852a3d6618e34e684f6fdc134a4bd0f60 WHIRLPOOL 94286442c8b43626f10c9983bb1dab2495d4d497829bd6c13519294d4f9db4319616a92c4f3f0645a57c00f7ab0d4eea3335e991cdd8b9cf029e94e56f9acd32
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit texlive-common
|
||||
|
||||
DESCRIPTION="M4 Macros for Electric circuit diagrams in TeX or LaTeX"
|
||||
HOMEPAGE="https://ece.uwaterloo.ca/~aplevich/Circuit_macros/"
|
||||
SRC_URI="https://ece.uwaterloo.ca/~aplevich/Circuit_macros/Circuit_macros.tar.gz -> circuit_macros-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LPPL-1.3c"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc examples +script"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="|| ( app-text/texlive[graphics] app-text/texlive[pstricks] )
|
||||
media-gfx/dpic
|
||||
sys-devel/m4
|
||||
script? ( app-text/texlive[graphics]
|
||||
dev-texlive/texlive-latexextra )"
|
||||
|
||||
S="${WORKDIR}/Circuit_macros${PV}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins *.m4
|
||||
insinto /usr/share/texmf-site/tex/latex/${PN}
|
||||
doins boxdims.sty
|
||||
dodoc README CHANGES Makefile doc/CMman.pdf
|
||||
rm -f doc/CMman.pdf
|
||||
use doc && dodoc -r doc
|
||||
use examples && dodoc -r examples
|
||||
use script && dobin "${FILESDIR}/cm2pdf"
|
||||
docompress -x \
|
||||
/usr/share/doc/${PF}/Makefile \
|
||||
/usr/share/doc/${PF}/doc \
|
||||
/usr/share/doc/${PF}/examples
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
etexmf-update
|
||||
use script && einfo "cm2pdf was installed to automatically create PDFs. Run cm2pdf --help for usage help."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
etexmf-update
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST android-studio-ide-141.2836215-linux.zip 380946919 SHA256 146c23112ceef9c08463b3501573ce674ed1fbac7f00dadaa807daeb93698115 SHA512 7206da5841bc1931f14d10b61bca36f74446952348839a9b033ca9fb28036513d96a2fceb32d4b7d4389a4d91aeeb06676ecd379e7c79cacace7acf4619493a0 WHIRLPOOL 567d97e7f9f68473f34c6094b70b6b277f5de8895ead4f9174cf3f365165e26a6d439928aa5420d1603a92e0c3a2c77d996ea0460d3f25ce42a0e062a622402f
|
||||
DIST android-studio-ide-143.2821654-linux.zip 298125051 SHA256 01843a2428b9a33e59716cc24a10adec238adef81ce6e6e9df441e6fa1ffbdff SHA512 9822e9b1b30f1af9cd06af5628fb7419de35a341f5366647922d91a76083ef50ac4b6059dc77e4598ea92eb517002be51c7c0de42c2bec3d51565318d14077a0 WHIRLPOOL 2e581d3522df511f7f5c68f06380485041fe31b7f867e1fe37f9362ea2ba630f9d1f72dc97e4482b0e1a6de77eabd8689cb87f0aff1be618003f07f4e8e9e14c
|
||||
DIST android-studio-ide-143.2915827-linux.zip 305181285 SHA256 baaa0555c96b542d047bce3b03ff41e38f422bed9e1a7f1e55fb1c4b3daac160 SHA512 42f0e6ebd51fc92f64f3bcfa980df3853922e6bff043ae23fbd7564b79cb905b30927bbee534613a52a92d24e60bad89ee577a06e382b301d5f7f773c166ce07 WHIRLPOOL a344331a3b308b2497e68ac5e13f4d1ef224c02e44d2fcf6cd48f0981bd25a4c87c9355f014fda23a5241e76719a5a6f79ed2424387c70fffc7c4cf964e526b9
|
||||
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils versionator
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/${PN}/bin/libbreakgen.so"
|
||||
if [[ $(get_version_component_count) -eq 6 ]]; then
|
||||
STUDIO_V=$(get_version_component_range 1-4)
|
||||
BUILD_V=$(get_version_component_range 5-6)
|
||||
else
|
||||
STUDIO_V=$(get_version_component_range 1-3)
|
||||
BUILD_V=$(get_version_component_range 4-5)
|
||||
fi
|
||||
|
||||
DESCRIPTION="A new Android development environment based on IntelliJ IDEA"
|
||||
HOMEPAGE="http://developer.android.com/sdk/installing/studio.html"
|
||||
SRC_URI="https://dl.google.com/dl/android/studio/ide-zips/${STUDIO_V}/${PN}-ide-${BUILD_V}-linux.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="selinux"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="app-arch/zip"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
selinux? ( sec-policy/selinux-android )
|
||||
>=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)]
|
||||
>=dev-libs/expat-2.1.0-r3[abi_x86_32(-)]
|
||||
>=dev-libs/libffi-3.0.13-r1[abi_x86_32(-)]
|
||||
>=media-libs/fontconfig-2.10.92[abi_x86_32(-)]
|
||||
>=media-libs/freetype-2.5.5[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.2.51[abi_x86_32(-)]
|
||||
>=media-libs/mesa-10.2.8[abi_x86_32(-)]
|
||||
|| ( >=sys-libs/ncurses-5.9-r3:5/5[abi_x86_32(-)] >=sys-libs/ncurses-5.9-r3:0/5[abi_x86_32(-)] )
|
||||
>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
|
||||
>=x11-libs/libXau-1.0.7-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libXdamage-1.1.4-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
|
||||
>=x11-libs/libXfixes-5.0.1[abi_x86_32(-)]
|
||||
>=x11-libs/libXrender-0.9.8[abi_x86_32(-)]
|
||||
>=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
|
||||
>=x11-libs/libdrm-2.4.46[abi_x86_32(-)]
|
||||
>=x11-libs/libxcb-1.9.1[abi_x86_32(-)]
|
||||
>=x11-libs/libxshmfence-1.1[abi_x86_32(-)]"
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_install() {
|
||||
local dir="/opt/${PN}"
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r *
|
||||
fperms 755 "${dir}/bin/studio.sh" "${dir}/bin/fsnotifier" "${dir}/bin/fsnotifier64"
|
||||
|
||||
newicon "bin/studio.png" "${PN}.png"
|
||||
make_wrapper ${PN} ${dir}/bin/studio.sh
|
||||
make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE"
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils versionator
|
||||
|
||||
RESTRICT="strip"
|
||||
QA_PREBUILT="opt/${PN}/bin/libbreakgen.so"
|
||||
if [[ $(get_version_component_count) -eq 6 ]]; then
|
||||
STUDIO_V=$(get_version_component_range 1-4)
|
||||
BUILD_V=$(get_version_component_range 5-6)
|
||||
else
|
||||
STUDIO_V=$(get_version_component_range 1-3)
|
||||
BUILD_V=$(get_version_component_range 4-5)
|
||||
fi
|
||||
|
||||
DESCRIPTION="A new Android development environment based on IntelliJ IDEA"
|
||||
HOMEPAGE="http://developer.android.com/sdk/installing/studio.html"
|
||||
SRC_URI="https://dl.google.com/dl/android/studio/ide-zips/${STUDIO_V}/${PN}-ide-${BUILD_V}-linux.zip"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="selinux"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="app-arch/zip"
|
||||
RDEPEND=">=virtual/jdk-1.7
|
||||
selinux? ( sec-policy/selinux-android )
|
||||
>=app-arch/bzip2-1.0.6-r4[abi_x86_32(-)]
|
||||
>=dev-libs/expat-2.1.0-r3[abi_x86_32(-)]
|
||||
>=dev-libs/libffi-3.0.13-r1[abi_x86_32(-)]
|
||||
>=media-libs/fontconfig-2.10.92[abi_x86_32(-)]
|
||||
>=media-libs/freetype-2.5.5[abi_x86_32(-)]
|
||||
>=media-libs/libpng-1.2.51[abi_x86_32(-)]
|
||||
>=media-libs/mesa-10.2.8[abi_x86_32(-)]
|
||||
|| ( >=sys-libs/ncurses-5.9-r3:5/5[abi_x86_32(-)] >=sys-libs/ncurses-5.9-r3:0/5[abi_x86_32(-)] )
|
||||
>=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libX11-1.6.2[abi_x86_32(-)]
|
||||
>=x11-libs/libXau-1.0.7-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libXdamage-1.1.4-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libXdmcp-1.1.1-r1[abi_x86_32(-)]
|
||||
>=x11-libs/libXext-1.3.2[abi_x86_32(-)]
|
||||
>=x11-libs/libXfixes-5.0.1[abi_x86_32(-)]
|
||||
>=x11-libs/libXrender-0.9.8[abi_x86_32(-)]
|
||||
>=x11-libs/libXxf86vm-1.1.3[abi_x86_32(-)]
|
||||
>=x11-libs/libdrm-2.4.46[abi_x86_32(-)]
|
||||
>=x11-libs/libxcb-1.9.1[abi_x86_32(-)]
|
||||
>=x11-libs/libxshmfence-1.1[abi_x86_32(-)]"
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
src_install() {
|
||||
local dir="/opt/${PN}"
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r *
|
||||
fperms 755 "${dir}/bin/studio.sh" "${dir}/bin/fsnotifier" "${dir}/bin/fsnotifier64"
|
||||
|
||||
newicon "bin/studio.png" "${PN}.png"
|
||||
make_wrapper ${PN} ${dir}/bin/studio.sh
|
||||
make_desktop_entry ${PN} "Android Studio" ${PN} "Development;IDE"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST ccache-3.2.4.tar.xz 302548 SHA256 1c3da93f654e78a4ac71a54b0f63b19bc0fef9aa5522f4ebb9c201d4361cea5d SHA512 d048b70804c81dece97f3ba511b3c109ec0d14e7dca69bc68faeeb61a4a7b5639c03e3e5ad7dad4e42b4bd198d7a7fffa4e3b7ef99590dfd4df0805db6c25db7 WHIRLPOOL 3dc1de9d1cab8769b3776e48746a1967536e7a9d01e4eb23e1ddbaaf2858c16eba170a185312bfdb0a58951c77cd6c79ff30c7cf6ab366ade64c2b6997df7703
|
||||
DIST ccache-3.2.5.tar.xz 304592 SHA256 117011534b199dbe290b08acae1591c81525536a1e140da22e0fbc04c20bab85 SHA512 12612b899044db50c60bea8ed6cfeb54960ab67514d0aabaea5ee71d3d4d83bb00637e02008365d1d061adf5aa546499948a5eb8a0419222f681058c7fd5fd24 WHIRLPOOL 2cad966b419c16d7956fb2644c1113a8817437f313d54dd17fb16ae4a15f67a322b59d1b225307c980d2e17442478b71ef2bb118d2af4025e530e68fb46767cb
|
||||
DIST ccache-3.2.7.tar.xz 305596 SHA256 f1db1ef3cdcf85cf40c7be926c28b4a3beb12ea4d7f1760edf45e753c5147d95 SHA512 4292bd880f7ec39591a4abc232822121e79e706659e36c6aac3f3846fa119ebe18eed3bfefb535e229da8556fe787f1700ff3c63df56d459c6f44260db24b9fa WHIRLPOOL 9abbb67873fb894d1a82e96773b723ec06830dc2a344e4d1fdfc713bc5a9a219b918633ea2b2e9c9a48a0eddc4eca3ca0eb2eb6c8b484e6e469990010dfee904
|
||||
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="fast compiler cache"
|
||||
HOMEPAGE="http://ccache.samba.org/"
|
||||
SRC_URI="http://samba.org/ftp/ccache/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/xz-utils
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-apps/gentoo-functions"
|
||||
|
||||
src_prepare() {
|
||||
# make sure we always use system zlib
|
||||
rm -rf zlib || die
|
||||
epatch "${FILESDIR}"/${PN}-3.1.10-size-on-disk.patch #456178
|
||||
sed \
|
||||
-e "/^EPREFIX=/s:'':'${EPREFIX}':" \
|
||||
"${FILESDIR}"/ccache-config-3 > ccache-config || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS=( AUTHORS.txt MANUAL.txt NEWS.txt README.txt )
|
||||
default
|
||||
|
||||
dobin ccache-config
|
||||
|
||||
DOC_CONTENTS="
|
||||
To use ccache with **non-Portage** C compiling, add
|
||||
${EPREFIX}/usr/lib/ccache/bin to the beginning of your path, before ${EPREFIX}/usr/bin.
|
||||
Portage 2.0.46-r11+ will automatically take advantage of ccache with
|
||||
no additional steps. If this is your first install of ccache, type
|
||||
something like this to set a maximum cache size of 2GB:\\n
|
||||
# ccache -M 2G\\n
|
||||
If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n
|
||||
# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n
|
||||
ccache now supports sys-devel/clang and dev-lang/icc, too!"
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
if [[ -z ${REPLACED_BY_VERSION} ]] ; then
|
||||
"${EROOT}"/usr/bin/ccache-config --remove-links
|
||||
"${EROOT}"/usr/bin/ccache-config --remove-links ${CHOST}
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
"${EROOT}"/usr/bin/ccache-config --install-links
|
||||
"${EROOT}"/usr/bin/ccache-config --install-links ${CHOST}
|
||||
|
||||
# nuke broken symlinks from previous versions that shouldn't exist
|
||||
rm -f "${EROOT}"/usr/lib/ccache/bin/${CHOST}-cc || die
|
||||
rm -rf "${EROOT}"/usr/lib/ccache.backup || die
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Perl script to colorise the gcc output."
|
||||
HOMEPAGE="http://schlueters.de/colorgcc.html"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="alpha amd64 hppa mips ppc sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/perl"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}"/${P}-gentoo-one.patch \
|
||||
"${FILESDIR}"/${P}-gentoo-two.patch \
|
||||
"${FILESDIR}"/${P}-note.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin colorgcc || die
|
||||
dodir /etc/colorgcc /usr/lib/colorgcc/bin
|
||||
insinto /etc/colorgcc
|
||||
doins colorgccrc || die
|
||||
einfo "Scanning for compiler front-ends"
|
||||
into /usr/lib/colorgcc/bin
|
||||
for a in gcc cc c++ g++ ${CHOST}-gcc ${CHOST}-c++ ${CHOST}-g++ ; do
|
||||
if [ -n "$(type -p ${a})" ]; then
|
||||
dosym /usr/bin/colorgcc /usr/lib/colorgcc/bin/${a}
|
||||
fi
|
||||
done
|
||||
|
||||
dodoc CREDITS ChangeLog || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog "If you have existing \$HOME/.colorgccrc files that set the location"
|
||||
elog "of the compilers, you should remove those lines for maximum"
|
||||
elog "flexibility. The colorgcc script now knows how to pass the command"
|
||||
elog "on to the next step in the PATH without manual tweaking, making it"
|
||||
elog "easier to use with things like ccache and distcc on a conditional"
|
||||
elog "basis. You can tweak the /etc/colorgcc/colorgccrc file to change"
|
||||
elog "the default settings for everyone (or copy this file as a basis for"
|
||||
elog "a custom \$HOME/.colorgccrc file)."
|
||||
elog
|
||||
elog "NOTE: the symlinks for colorgcc are now located in"
|
||||
elog "/usr/lib/colorgcc/bin *NOT* /usr/bin/wrappers. You'll need to"
|
||||
elog "change any PATH settings that referred to the old location."
|
||||
echo
|
||||
# portage won't delete the old symlinks for users that are upgrading
|
||||
# because the old symlinks still point to /usr/bin/colorgcc which exists...
|
||||
[ -d "${EROOT}"/usr/bin/wrappers ] && rm -fr "${EROOT}"/usr/bin/wrappers
|
||||
}
|
@ -1,129 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
KMNAME="kde-workspace"
|
||||
KMNOMODULE="true"
|
||||
inherit kde4-meta prefix
|
||||
|
||||
DESCRIPTION="Startkde script, which starts a complete KDE session, and associated scripts"
|
||||
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="crash-reporter +handbook +wallpapers"
|
||||
|
||||
# The KDE apps called from the startkde script.
|
||||
# These provide the most minimal KDE desktop.
|
||||
RDEPEND="
|
||||
$(add_kdeapps_dep attica)
|
||||
$(add_kdeapps_dep kcmshell)
|
||||
$(add_kdeapps_dep kcontrol)
|
||||
$(add_kdeapps_dep kdebase-data)
|
||||
$(add_kdeapps_dep kdebase-desktoptheme)
|
||||
$(add_kdeapps_dep kdebase-kioslaves)
|
||||
$(add_kdeapps_dep kdebase-menu)
|
||||
$(add_kdeapps_dep kdebase-menu-icons)
|
||||
$(add_kdeapps_dep kdebugdialog)
|
||||
$(add_kdeapps_dep kdesu)
|
||||
$(add_kdeapps_dep kdontchangethehostname)
|
||||
$(add_kdeapps_dep keditfiletype)
|
||||
$(add_kdeapps_dep kfile)
|
||||
$(add_kdeapps_dep kfmclient)
|
||||
$(add_kdeapps_dep kglobalaccel)
|
||||
$(add_kdeapps_dep kiconfinder)
|
||||
$(add_kdeapps_dep kimgio)
|
||||
$(add_kdeapps_dep kioclient)
|
||||
$(add_kdeapps_dep kmimetypefinder)
|
||||
$(add_kdeapps_dep knetattach)
|
||||
$(add_kdeapps_dep knewstuff)
|
||||
$(add_kdeapps_dep knotify)
|
||||
$(add_kdeapps_dep knotify)
|
||||
$(add_kdeapps_dep kpasswdserver)
|
||||
$(add_kdeapps_dep kquitapp)
|
||||
$(add_kdeapps_dep kreadconfig)
|
||||
$(add_kdeapps_dep kstart)
|
||||
$(add_kdeapps_dep ktimezoned)
|
||||
$(add_kdeapps_dep ktraderclient)
|
||||
$(add_kdeapps_dep kuiserver)
|
||||
$(add_kdeapps_dep kurifilter-plugins)
|
||||
$(add_kdeapps_dep kwalletd)
|
||||
$(add_kdeapps_dep kwalletmanager)
|
||||
$(add_kdeapps_dep phonon-kde)
|
||||
$(add_kdeapps_dep plasma-apps)
|
||||
$(add_kdeapps_dep plasma-runtime)
|
||||
$(add_kdeapps_dep renamedlg-plugins)
|
||||
$(add_kdeapps_dep solid-runtime)
|
||||
$(add_kdebase_dep kcminit)
|
||||
$(add_kdebase_dep krunner)
|
||||
$(add_kdebase_dep ksmserver)
|
||||
$(add_kdebase_dep ksplash)
|
||||
$(add_kdebase_dep kstartupconfig)
|
||||
$(add_kdebase_dep kwin)
|
||||
$(add_kdebase_dep plasma-workspace)
|
||||
$(add_kdebase_dep systemsettings)
|
||||
x11-apps/mkfontdir
|
||||
x11-apps/xmessage
|
||||
x11-apps/xprop
|
||||
x11-apps/xrandr
|
||||
x11-apps/xrdb
|
||||
x11-apps/xsetroot
|
||||
x11-apps/xset
|
||||
crash-reporter? ( $(add_kdeapps_dep drkonqi ) )
|
||||
handbook? ( kde-apps/khelpcenter:* )
|
||||
wallpapers? ( $(add_kdeapps_dep kde-wallpapers '' 15.08.3) )
|
||||
"
|
||||
|
||||
KMEXTRACTONLY="
|
||||
ConfigureChecks.cmake
|
||||
kdm/
|
||||
startkde.cmake
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/gentoo-startkde4-4.patch"
|
||||
"${FILESDIR}/${PN}-kscreen.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
kde4-meta_src_prepare
|
||||
|
||||
cp "${FILESDIR}/KDE-4" "${T}"
|
||||
|
||||
# fix ${EPREFIX}
|
||||
eprefixify startkde.cmake "${T}/KDE-4"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
kde4-meta_src_install
|
||||
|
||||
# startup and shutdown scripts
|
||||
insinto /etc/kde/startup
|
||||
doins "${FILESDIR}/agent-startup.sh"
|
||||
|
||||
insinto /etc/kde/shutdown
|
||||
doins "${FILESDIR}/agent-shutdown.sh"
|
||||
|
||||
# x11 session script
|
||||
exeinto /etc/X11/Sessions
|
||||
doexe "${T}/KDE-4"
|
||||
|
||||
# freedesktop compliant session script
|
||||
sed -e "s:\${BIN_INSTALL_DIR}:${EPREFIX}/usr/bin:g" \
|
||||
"${S}/kdm/kfrontend/sessions/kde-plasma.desktop.cmake" > "${T}/KDE-4.desktop"
|
||||
insinto /usr/share/xsessions
|
||||
doins "${T}/KDE-4.desktop"
|
||||
}
|
||||
|
||||
pkg_postinst () {
|
||||
kde4-meta_pkg_postinst
|
||||
|
||||
echo
|
||||
elog "To enable gpg-agent and/or ssh-agent in KDE sessions,"
|
||||
elog "edit ${EPREFIX}/etc/kde/startup/agent-startup.sh and"
|
||||
elog "${EPREFIX}/etc/kde/shutdown/agent-shutdown.sh"
|
||||
echo
|
||||
elog "The name of the session script has changed."
|
||||
elog "If you currently have XSESSION=\"kde-$(get_kde_version)\" in your"
|
||||
elog "configuration files, you will need to change it to"
|
||||
elog "XSESSION=\"KDE-4\""
|
||||
}
|
@ -1,60 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit flag-o-matic kde4-base
|
||||
|
||||
DESCRIPTION="Extra Plasma applets and engines"
|
||||
LICENSE="GPL-2 LGPL-2"
|
||||
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="attica debug desktopglobe exif fcitx ibus json +kdepim oauth qalculate
|
||||
qwt scim"
|
||||
|
||||
RESTRICT=test
|
||||
# tests hang
|
||||
|
||||
# krunner is only needed to generate dbus interface for lancelot
|
||||
COMMON_DEPEND="
|
||||
app-crypt/qca:2[qt4(+)]
|
||||
$(add_kdebase_dep krunner '' 4.11)
|
||||
$(add_kdebase_dep plasma-workspace '' 4.11)
|
||||
x11-misc/shared-mime-info
|
||||
attica? ( dev-libs/libattica )
|
||||
desktopglobe? ( $(add_kdeapps_dep marble) )
|
||||
exif? ( $(add_kdeapps_dep libkexiv2) )
|
||||
fcitx? ( app-i18n/fcitx[dbus(+)] )
|
||||
ibus? ( app-i18n/ibus )
|
||||
json? ( dev-libs/qjson )
|
||||
kdepim? ( $(add_kdeapps_dep kdepimlibs) )
|
||||
oauth? ( dev-libs/qoauth:0 )
|
||||
qalculate? ( sci-libs/libqalculate )
|
||||
qwt? ( x11-libs/qwt:5 )
|
||||
scim? ( app-i18n/scim )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-cpp/eigen:2
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-crypt/qca:2[openssl]
|
||||
"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDBUS_INTERFACES_INSTALL_DIR="${EPREFIX}/usr/share/dbus-1/interfaces/"
|
||||
-DWITH_Nepomuk=OFF
|
||||
$(cmake-utils_use_with attica LibAttica)
|
||||
$(cmake-utils_use_with desktopglobe Marble)
|
||||
$(cmake-utils_use_with exif Kexiv2)
|
||||
$(cmake-utils_use_build ibus)
|
||||
$(cmake-utils_use_with json QJSON)
|
||||
$(cmake-utils_use_with kdepim KdepimLibs)
|
||||
$(cmake-utils_use_with oauth QtOAuth)
|
||||
$(cmake-utils_use_with qalculate)
|
||||
$(cmake-utils_use_with qwt)
|
||||
$(cmake-utils_use_build scim)
|
||||
)
|
||||
|
||||
kde4-base_src_configure
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit kde4-base
|
||||
|
||||
DESCRIPTION="KDE legacy icons"
|
||||
SRC_URI="mirror://kde/stable/applications/15.08.0/src/kde-workspace-4.11.22.tar.xz"
|
||||
|
||||
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
!<kde-base/systemsettings-4.11.22-r1:4
|
||||
!=kde-frameworks/oxygen-icons-5.19.0:5
|
||||
!=kde-frameworks/oxygen-icons-5.20.0:5
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_prepare() {
|
||||
|
||||
cat <<-EOF > CMakeLists.txt || die
|
||||
project(legacy-icons)
|
||||
cmake_minimum_required(VERSION 2.8.12)
|
||||
find_package(KDE4 REQUIRED)
|
||||
include(KDE4Defaults)
|
||||
add_subdirectory(systemsettings)
|
||||
EOF
|
||||
|
||||
# bug 574778 (kde-frameworks/oxygen-icons-5.19.0)
|
||||
mv kde-workspace-4.11.22/kcontrol/kfontinst/kio systemsettings || die
|
||||
echo "kde4_install_icons(\${ICON_INSTALL_DIR})" > \
|
||||
systemsettings/CMakeLists.txt || die
|
||||
|
||||
kde4-base_src_prepare
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST harfbuzz-0.9.41.tar.bz2 1188176 SHA256 d81aa53d0c02b437beeaac159d7fc16394d676bbce0860fb6f6a10b587dc057c SHA512 821b2fbd0d668c90e9e0040f60b7cfd8d35954d218045cebfb5e9c6ba29aba4230d0cd8e951697c26afcc4da447177fe967fa323449499fa710b52dd7e1a7011 WHIRLPOOL 84ba899d8fbc27b19d255d3c40e2d1f92c8c0dcc0a764b5c83c8c470af4902891f954d11aa64b6eb69aac0e8cf55c36ee9babff0a9260fc9f6286ce48330accb
|
||||
DIST harfbuzz-1.1.3.tar.bz2 1294579 SHA256 d93d7cb7979c32672e902fdfa884599e63f07f2fa5b06c66147d20c516d4b8f7 SHA512 e418a1543ec2a1e58e5d8d0ba9a40e8675eda13c94c664ff83ed6303c724f078cf1744883b454c46ec40157db8dc05e7f2cf5e52200601bb1e13827d8dfbaccf WHIRLPOOL 9d18d985df77ff841b1a87d25f17eb472517e109a051f2ed213b44ec91de3a499853cf7d93e23f5ac4c199ec65f2dd02300e05097cb4983565ebb9227c8d3810
|
||||
DIST harfbuzz-1.2.7.tar.bz2 1345389 SHA256 bba0600ae08b84384e6d2d7175bea10b5fc246c4583dc841498d01894d479026 SHA512 e1edfa0bf4936f7d47e5622547429b7f573710ac0c4fc023a7b00e1dceca8aa7f02800166eea0c883ae44d2886c50416d61791a8a8240ddaab9f4e389dadfff2 WHIRLPOOL 2ffcdb29b2a0506afb99e337c426c2e71cbc9ebf75add0ad25367fef6162984109260d6434fd1bf4fa9a8faba520eab1d5b1059286cd0d6d8a602dbf13d9181e
|
||||
DIST harfbuzz-1.3.0.tar.bz2 1351234 SHA256 b04be31633efee2cae1d62d46434587302554fa837224845a62565ec68a0334d SHA512 6a5b917e47233eebd8ecb36f24b4eb189c3bacc920b7ca8f8f1bc1036fedaba0b415727a4cc2836956eea48e8dabc63b117789331a9b27201731ab99bf0c2399 WHIRLPOOL c8455dca1c53e303f9e0026f4a6d66735d54cf3cc4aabcb05001f0a02955e8ee3b64181e2baffa2f4b6ecfa91858bbf30939e54cbb32982a7082dd40014fd875
|
||||
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/harfbuzz"
|
||||
[[ ${PV} == 9999 ]] && inherit git-r3 autotools
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils libtool multilib-minimal python-any-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="An OpenType text shaping engine"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/HarfBuzz"
|
||||
[[ ${PV} == 9999 ]] || SRC_URI="https://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2"
|
||||
|
||||
LICENSE="Old-MIT ISC icu"
|
||||
SLOT="0/0.9.18" # 0.9.18 introduced the harfbuzz-icu split; bug #472416
|
||||
[[ ${PV} == 9999 ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~x64-solaris"
|
||||
|
||||
IUSE="+cairo fontconfig +glib +graphite icu +introspection static-libs test +truetype"
|
||||
REQUIRED_USE="introspection? ( glib )"
|
||||
|
||||
RDEPEND="
|
||||
cairo? ( x11-libs/cairo:= )
|
||||
fontconfig? ( media-libs/fontconfig:1.0[${MULTILIB_USEDEP}] )
|
||||
glib? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] )
|
||||
graphite? ( >=media-gfx/graphite2-1.2.1:=[${MULTILIB_USEDEP}] )
|
||||
icu? ( >=dev-libs/icu-51.2-r1:=[${MULTILIB_USEDEP}] )
|
||||
introspection? ( >=dev-libs/gobject-introspection-1.34:= )
|
||||
truetype? ( >=media-libs/freetype-2.5.0.1:2=[${MULTILIB_USEDEP}] )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-util/gtk-doc-am
|
||||
virtual/pkgconfig
|
||||
test? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
# eautoreconf requires gobject-introspection-common
|
||||
# ragel needed if regenerating *.hh files from *.rl
|
||||
[[ ${PV} = 9999 ]] && DEPEND="${DEPEND}
|
||||
>=dev-libs/gobject-introspection-common-1.34
|
||||
dev-util/ragel
|
||||
"
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
xdg_environment_reset
|
||||
|
||||
if [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] ; then
|
||||
# on Darwin/Solaris we need to link with g++, like automake defaults
|
||||
# to, but overridden by upstream because on Linux this is not
|
||||
# necessary, bug #449126
|
||||
sed -i \
|
||||
-e 's/\<LINK\>/CXXLINK/' \
|
||||
src/Makefile.am || die
|
||||
sed -i \
|
||||
-e '/libharfbuzz_la_LINK = /s/\<LINK\>/CXXLINK/' \
|
||||
src/Makefile.in || die
|
||||
sed -i \
|
||||
-e '/AM_V_CCLD/s/\<LINK\>/CXXLINK/' \
|
||||
test/api/Makefile.in || die
|
||||
fi
|
||||
|
||||
[[ ${PV} == 9999 ]] && eautoreconf
|
||||
elibtoolize # for Solaris
|
||||
|
||||
# failing test, https://bugs.freedesktop.org/show_bug.cgi?id=89190
|
||||
sed -e 's#tests/arabic-fallback-shaping.tests##' -i test/shaping/Makefile.in || die "sed failed"
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" \
|
||||
# harfbuzz-gobject only used for instrospection, bug #535852
|
||||
econf \
|
||||
--without-coretext \
|
||||
--without-uniscribe \
|
||||
$(use_enable static-libs static) \
|
||||
$(multilib_native_use_with cairo) \
|
||||
$(use_with fontconfig) \
|
||||
$(use_with glib) \
|
||||
$(use_with introspection gobject) \
|
||||
$(use_with graphite graphite2) \
|
||||
$(use_with icu) \
|
||||
$(multilib_native_use_enable introspection) \
|
||||
$(use_with truetype freetype)
|
||||
|
||||
if multilib_is_native_abi; then
|
||||
ln -s "${S}"/docs/html docs/html || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
prune_libtool_files --modules
|
||||
}
|
@ -1,6 +1,8 @@
|
||||
DIST libvpx-1.4.0.tar.bz2 1807989 SHA256 f582d9b2d60a592a4a3d8c32965ca2d2167e9ade38c6c30bac8801ff66a118e4 SHA512 70234220e0ed64db000689ec8bea02dadef938a4f4dea96e5781d361c15245456212c1b6aec2b698d32ed423e73917d2303009e49224a2237669cab416dd6984 WHIRLPOOL 309055669aea96f8ed051ae33d2b86c4aac2096be43ac7140812d2b42e0b1b6e609d86206a01268137f18769f967cbd074beb75fe5b059ced71a1caefb8dcb05
|
||||
DIST libvpx-1.5.0.tar.bz2 1906571 SHA256 306d67908625675f8e188d37a81fbfafdf5068b09d9aa52702b6fbe601c76797 SHA512 5a952aa53e539a130d316723d424fa02a8f42a450950d74a16d8abc5df569ba5559b3b09a32140b638d7a0cd54be1c7b0f8306ad286825bc1281f513bb665fc5 WHIRLPOOL 9b7130aeb45c3c29ae92a2dd9d63c4d0eb02976d8a0061cc550e144b18101ec5b709a73a191ad61c80be7a4c5686a968a86b068eba6736de61d717c2eb11d550
|
||||
DIST libvpx-1.6.0.tar.bz2 1943026 SHA256 d0afbb5eb1ecae68f8d578abace160a97e2e8a230e3028cf4db115d59a695aad SHA512 dd753372a156bbf7ceb4090276e5fb32b4c8581c93925dded93efee74153b5eb24ee8c3d8ee6339a6878482f0ecf178a2befeeb36e17eada6c440b48c60e9162 WHIRLPOOL b7508db189165ba024dc5f566393aaaa177a6e50de2f14321b9b8f5ae07bd9dc29520a38fea61d37e95698f1703b8fd32abaaefee5e608487b1bd6cb0541096f
|
||||
DIST libvpx-testdata-1.3.0.tar.bz2 45380954 SHA256 0956429f629f068b734d760f6af49bbb679ee65f8d860bbf2cb4e2c574c03550 SHA512 fe96c16c8aea352dd145ee73058404024b13b9bee1d3431ac2513e3636d13880d1fa0eb9eeaea2805fbc2ec8dc6e2be381c6d50baac472a0de835b0563d63c94 WHIRLPOOL 0cc5a39405a0de6238beb7f3da5b01845e4bc39a3b9858b13c73dd69bed275964c13d62468c7fb3a1af33fb7bc5d65ddc5abfe87a71b21c5d3575924e29734da
|
||||
DIST libvpx-testdata-1.4.0.tar.bz2 113132379 SHA256 8458297dfe6ecc168a6bb3b41260aeef5c35296b99ced888767f70af40a50046 SHA512 5a0402ce1943fcd1a0e954a42728a409a512c9382883c227adea399f4ca4ff8b7d72d0247dce842c3e929dce86ca2bdad935fc82d3ee58ea72291c8fcdeca393 WHIRLPOOL b4b451be2074a1af1e36c757ac14dc41c764a32eeb4b4fed2bbb38030e51a18d0c37afd71db3118dc4af4546e212946fabc6e1cf453ebee88e66a43045c938be
|
||||
DIST libvpx-testdata-1.5.0.tar.bz2 117022525 SHA256 e707d6e1499250e24fb4b355f4e3e1cec848881c42016a5f1fc3068b7cc01257 SHA512 58abcea159d1f709c2b9b52e8ae381481ed0ee1f43972f5e52d628754844ed23f5f77180a9c3f950a19fd8e2eaec406288d9ec65a42c9d6d080a6948827698bb WHIRLPOOL 357ed7f300536f5767a264e6a379f9b19259b23dde925584f66a911c1e44605deff4f93aa4eb012cd7ffc20d6eb471cb227422d4c28f0776bef2979370a4e784
|
||||
DIST libvpx-testdata-1.6.0.tar.bz2 121020858 SHA256 b25064beff80a71feed9a6440b86ea9c15759e94d723c325014bcbdfd131cc8d SHA512 639e229bd97e7a92a29e636f548234a87dbe63673d968cdfbec1faf9ccb0ee2087ad00b0a5bfb1581bea6b17e70bb449e9a046da4d9891f59ec79773ece4294e WHIRLPOOL 01ee679ce3b425863f2f6ac901880ca5fc9dc86a18bf3f6ac6925c1cef66dd82c6d20a75886197f495287d7beea4a1bc08d8c83870cf75c478b5af4ad554c563
|
||||
DIST libvpx-v1.3.0.tar.bz2 2084229 SHA256 d3dcc8d84af51c6c382b214397c62402e37a799e8ebcda6f4217aef0010451a9 SHA512 af26766a3336155c5bc7b8cce7c23228de054287b990f9cacdc35273384a7af4999c01bb623d12143f40107036308a8b3207081efe67936748503c30c985fd6b WHIRLPOOL 03de78d6701daab8847c453317d8cc0a22e4a332994b7e1f55c5d6953b7f3acf94f3c623943dd8588bb1a174df4f7d9a8b8bc889f50823d92767c40c96fc5e68
|
||||
|
@ -0,0 +1,124 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
inherit eutils multilib toolchain-funcs multilib-minimal
|
||||
|
||||
LIBVPX_TESTDATA_VER=1.6.0
|
||||
|
||||
if [[ ${PV} == *9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="https://chromium.googlesource.com/webm/${PN}.git"
|
||||
elif [[ ${PV} == *pre* ]]; then
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
else
|
||||
SRC_URI="http://storage.googleapis.com/downloads.webmproject.org/releases/webm/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
# generated by: make LIBVPX_TEST_DATA_PATH=libvpx-testdata testdata + tar'ing
|
||||
# it.
|
||||
SRC_URI="${SRC_URI}
|
||||
test? ( mirror://gentoo/${PN}-testdata-${LIBVPX_TESTDATA_VER}.tar.bz2 )"
|
||||
|
||||
DESCRIPTION="WebM VP8 and VP9 Codec SDK"
|
||||
HOMEPAGE="http://www.webmproject.org"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/4"
|
||||
IUSE="cpu_flags_x86_avx cpu_flags_x86_avx2 doc cpu_flags_x86_mmx postproc cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 static-libs svc test +threads"
|
||||
|
||||
RDEPEND="abi_x86_32? ( !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )"
|
||||
DEPEND="abi_x86_32? ( dev-lang/yasm )
|
||||
abi_x86_64? ( dev-lang/yasm )
|
||||
abi_x86_x32? ( dev-lang/yasm )
|
||||
x86-fbsd? ( dev-lang/yasm )
|
||||
amd64-fbsd? ( dev-lang/yasm )
|
||||
doc? (
|
||||
app-doc/doxygen
|
||||
dev-lang/php
|
||||
)
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
cpu_flags_x86_sse2? ( cpu_flags_x86_mmx )
|
||||
cpu_flags_x86_ssse3? ( cpu_flags_x86_sse2 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}/libvpx-1.3.0-sparc-configure.patch" # 501010
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
unset CODECS #357487
|
||||
|
||||
# let the build system decide which AS to use (it honours $AS but
|
||||
# then feeds it with yasm flags without checking...) #345161
|
||||
tc-export AS
|
||||
case "${CHOST}" in
|
||||
i?86*) export AS=yasm;;
|
||||
x86_64*) export AS=yasm;;
|
||||
esac
|
||||
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=384585
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=465988
|
||||
# copied from php-pear-r1.eclass
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
addpredict /session_mm_cli0.sem
|
||||
|
||||
# Build with correct toolchain.
|
||||
tc-export CC CXX AR NM
|
||||
# Link with gcc by default, the build system should override this if needed.
|
||||
export LD="${CC}"
|
||||
|
||||
local myconf
|
||||
if [ "${ABI}" = "${DEFAULT_ABI}" ] ; then
|
||||
myconf+=" $(use_enable doc install-docs) $(use_enable doc docs)"
|
||||
else
|
||||
# not needed for multilib and will be overwritten anyway.
|
||||
myconf+=" --disable-examples --disable-install-docs --disable-docs"
|
||||
fi
|
||||
|
||||
# #498364: sse doesn't work without sse2 enabled,
|
||||
"${S}/configure" \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
||||
--enable-pic \
|
||||
--enable-vp8 \
|
||||
--enable-vp9 \
|
||||
--enable-shared \
|
||||
--extra-cflags="${CFLAGS}" \
|
||||
$(use_enable cpu_flags_x86_avx avx) \
|
||||
$(use_enable cpu_flags_x86_avx2 avx2) \
|
||||
$(use_enable cpu_flags_x86_mmx mmx) \
|
||||
$(use_enable postproc) \
|
||||
$(use cpu_flags_x86_sse2 && use_enable cpu_flags_x86_sse sse || echo --disable-sse) \
|
||||
$(use_enable cpu_flags_x86_sse2 sse2) \
|
||||
$(use_enable cpu_flags_x86_sse3 sse3) \
|
||||
$(use_enable cpu_flags_x86_sse4_1 sse4_1) \
|
||||
$(use_enable cpu_flags_x86_ssse3 ssse3) \
|
||||
$(use_enable svc experimental) $(use_enable svc spatial-svc) \
|
||||
$(use_enable static-libs static) \
|
||||
$(use_enable test unit-tests) \
|
||||
$(use_enable threads multithread) \
|
||||
${myconf} \
|
||||
|| die
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# build verbose by default and do not build examples that will not be installed
|
||||
emake verbose=yes GEN_EXAMPLES=
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}" \
|
||||
emake verbose=yes GEN_EXAMPLES= LIBVPX_TEST_DATA_PATH="${WORKDIR}/${PN}-testdata" test
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake verbose=yes GEN_EXAMPLES= DESTDIR="${D}" install
|
||||
[ "${ABI}" = "${DEFAULT_ABI}" ] && use doc && dohtml docs/html/*
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST mixxx-1.10.1-src.tar.gz 15948956 SHA256 eab49a95336dacee9a9e4c2ad22a0436e9c0b341930e9a03e3b46619d7a9f365 SHA512 eff18cba96d781830d33a35cf74dcac0dc33c9d2c16e9533d171d2acc2fd0ad602f5bb46d62212e224e61357332a5d9ed078ca86532f39ee01057eb3aaf09af3 WHIRLPOOL 39fda17c512030da1c4de4e495ad22ff9fda9b5aeccfcdd3a7f35d08ebed79c2e6655bef409a43bfd25a072a01e3512669a566048f40b46c9d1c3143f58f821c
|
||||
DIST mixxx-1.11.0-src.tar.gz 24473835 SHA256 00961b5d6c1e6d6686d76e55de474b943bbeff4e59b163dddd3d9940dc1b0331 SHA512 a42c2e3a648986e401f9812315942b5c68e0bc4f47ce867eb043d64f9d7836860e414b04b5e5da52b0541da5069d231774f30e965bcf3bd0db09f6bca74876c2 WHIRLPOOL 9ab4de6bfa5840500f04a4e7d523b6546e0ef08ade017f14b73425e205f039a6da11604f2b0e902085ff3062fff451385f984735029592d4b10ac3d4e0c985b1
|
||||
DIST mixxx-2.0.0-src.tar.gz 25300881 SHA256 e1b8f33bba35046608578095ed3209967034579252d84c99e6bc03ec030f676d SHA512 8878c0f785e4c5f67724deeca61154d2587969a81d28aef8fa9d526aec8419a218ce2a7ef88d6fcf468d30fa13d31ac9a56ca9082431a35b7e4e040a7ccfbb1a WHIRLPOOL d3e4cf26846b54380f9b11eed26b90cf031a902ca82f20e71f85fb495f99179e8d783f2ba92b51d21fcc77d4779b7bcc16d8456a68e890cfe77daa57f0d3b431
|
||||
|
@ -0,0 +1,10 @@
|
||||
--- mixxx-9999/src/SConscript
|
||||
+++ mixxx-9999/src/SConscript
|
||||
@@ -290,7 +290,6 @@
|
||||
env.Alias('install', controllermappings)
|
||||
env.Alias('install', translations)
|
||||
env.Alias('install', keyboardmappings)
|
||||
- env.Alias('install', docs)
|
||||
env.Alias('install', dotdesktop)
|
||||
env.Alias('install', icon)
|
||||
env.Alias('install', promotracks)
|
@ -0,0 +1,158 @@
|
||||
diff -Naur mixxx-2.0.0/build/depends.py mixxx-2.0.0_patch/build/depends.py
|
||||
--- mixxx-2.0.0/build/depends.py 2015-12-29 08:10:41.000000000 -0800
|
||||
+++ mixxx-2.0.0_patch/build/depends.py 2016-01-11 20:23:40.641866196 -0800
|
||||
@@ -369,25 +369,10 @@
|
||||
|
||||
class FidLib(Dependence):
|
||||
|
||||
- def sources(self, build):
|
||||
- symbol = None
|
||||
- if build.platform_is_windows:
|
||||
- if build.toolchain_is_msvs:
|
||||
- symbol = 'T_MSVC'
|
||||
- elif build.crosscompile:
|
||||
- # Not sure why, but fidlib won't build with mingw32msvc and
|
||||
- # T_MINGW
|
||||
- symbol = 'T_LINUX'
|
||||
- elif build.toolchain_is_gnu:
|
||||
- symbol = 'T_MINGW'
|
||||
- else:
|
||||
- symbol = 'T_LINUX'
|
||||
-
|
||||
- return [build.env.StaticObject('#lib/fidlib-0.9.10/fidlib.c',
|
||||
- CPPDEFINES=symbol)]
|
||||
-
|
||||
def configure(self, build, conf):
|
||||
- build.env.Append(CPPPATH='#lib/fidlib-0.9.10/')
|
||||
+ if not conf.CheckLib('fidlib'):
|
||||
+ raise Exception('Did not find fidlib library, exiting!')
|
||||
+ build.env.Append(CPPPATH=[SCons.ARGUMENTS.get('prefix') + '/include/fidlib'])
|
||||
|
||||
|
||||
class ReplayGain(Dependence):
|
||||
@@ -400,42 +385,17 @@
|
||||
|
||||
|
||||
class SoundTouch(Dependence):
|
||||
- SOUNDTOUCH_PATH = 'soundtouch-1.8.0'
|
||||
|
||||
def sources(self, build):
|
||||
- return ['engine/enginebufferscalest.cpp',
|
||||
- '#lib/%s/AAFilter.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/BPMDetect.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/FIFOSampleBuffer.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/FIRFilter.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/InterpolateCubic.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/InterpolateLinear.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/InterpolateShannon.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/PeakFinder.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/RateTransposer.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/SoundTouch.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/TDStretch.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- # SoundTouch CPU optimizations are only for x86
|
||||
- # architectures. SoundTouch automatically ignores these files
|
||||
- # when it is not being built for an architecture that supports
|
||||
- # them.
|
||||
- '#lib/%s/cpu_detect_x86.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/mmx_optimized.cpp' % self.SOUNDTOUCH_PATH,
|
||||
- '#lib/%s/sse_optimized.cpp' % self.SOUNDTOUCH_PATH]
|
||||
+ return ['engine/enginebufferscalest.cpp']
|
||||
|
||||
def configure(self, build, conf, env=None):
|
||||
if env is None:
|
||||
env = build.env
|
||||
- env.Append(CPPPATH=['#lib/%s' % self.SOUNDTOUCH_PATH])
|
||||
-
|
||||
- # Prevents circular import.
|
||||
- from features import Optimize
|
||||
-
|
||||
- # If we do not want optimizations then disable them.
|
||||
- optimize = (build.flags['optimize'] if 'optimize' in build.flags
|
||||
- else Optimize.get_optimization_level(build))
|
||||
- if optimize == Optimize.LEVEL_OFF:
|
||||
- env.Append(CPPDEFINES='SOUNDTOUCH_DISABLE_X86_OPTIMIZATIONS')
|
||||
+ if not conf.CheckLib(['SoundTouch','libSoundTouch']):
|
||||
+ raise Exception('Did not find SoundTouch library, exiting!')
|
||||
+ build.env.Append(CPPPATH=[SCons.ARGUMENTS.get('prefix') + '/include/soundtouch'])
|
||||
+ build.env.Append(LIBS='SoundTouch')
|
||||
|
||||
|
||||
class RubberBand(Dependence):
|
||||
diff -Naur mixxx-2.0.0/build/features.py mixxx-2.0.0_patch/build/features.py
|
||||
--- mixxx-2.0.0/build/features.py 2015-12-29 08:10:41.000000000 -0800
|
||||
+++ mixxx-2.0.0_patch/build/features.py 2016-01-11 20:27:05.342990424 -0800
|
||||
@@ -62,10 +62,6 @@
|
||||
def configure(self, build, conf):
|
||||
if not self.enabled(build):
|
||||
return
|
||||
- # TODO(XXX) allow external hidapi install, but for now we just use our
|
||||
- # internal one.
|
||||
- build.env.Append(
|
||||
- CPPPATH=[os.path.join(self.HIDAPI_INTERNAL_PATH, 'hidapi')])
|
||||
|
||||
if build.platform_is_linux:
|
||||
build.env.ParseConfig(
|
||||
@@ -90,23 +86,17 @@
|
||||
|
||||
build.env.Append(CPPDEFINES='__HID__')
|
||||
|
||||
+ if not conf.CheckLib('hidapi-libusb'):
|
||||
+ raise Exception('Did not find HID API library, exiting!')
|
||||
+ build.env.Append(CPPPATH=[SCons.ARGUMENTS.get('prefix') + '/include/hidapi'])
|
||||
+ build.env.Append(LIBS='hidapi-libusb')
|
||||
+
|
||||
+
|
||||
def sources(self, build):
|
||||
sources = ['controllers/hid/hidcontroller.cpp',
|
||||
'controllers/hid/hidenumerator.cpp',
|
||||
'controllers/hid/hidcontrollerpresetfilehandler.cpp']
|
||||
|
||||
- if build.platform_is_windows:
|
||||
- # Requires setupapi.lib which is included by the above check for
|
||||
- # setupapi.
|
||||
- sources.append(
|
||||
- os.path.join(self.HIDAPI_INTERNAL_PATH, "windows/hid.c"))
|
||||
- elif build.platform_is_linux:
|
||||
- # hidapi compiles the libusb implementation by default on Linux
|
||||
- sources.append(
|
||||
- os.path.join(self.HIDAPI_INTERNAL_PATH, 'libusb/hid.c'))
|
||||
- elif build.platform_is_osx:
|
||||
- sources.append(
|
||||
- os.path.join(self.HIDAPI_INTERNAL_PATH, 'mac/hid.c'))
|
||||
return sources
|
||||
|
||||
|
||||
@@ -745,24 +735,15 @@
|
||||
test_env.Append(CCFLAGS='-pthread')
|
||||
test_env.Append(LINKFLAGS='-pthread')
|
||||
|
||||
- test_env.Append(CPPPATH="#lib/gtest-1.7.0/include")
|
||||
- gtest_dir = test_env.Dir("#lib/gtest-1.7.0")
|
||||
- # gtest_dir.addRepository(build.env.Dir('#lib/gtest-1.5.0'))
|
||||
- # build.env['EXE_OUTPUT'] = '#/lib/gtest-1.3.0/bin' # example,
|
||||
- # optional
|
||||
- test_env['LIB_OUTPUT'] = '#/lib/gtest-1.7.0/lib'
|
||||
-
|
||||
- env = test_env
|
||||
- SCons.Export('env')
|
||||
- env.SConscript(env.File('SConscript', gtest_dir))
|
||||
-
|
||||
- # build and configure gmock
|
||||
- test_env.Append(CPPPATH="#lib/gmock-1.7.0/include")
|
||||
- gmock_dir = test_env.Dir("#lib/gmock-1.7.0")
|
||||
- # gmock_dir.addRepository(build.env.Dir('#lib/gmock-1.5.0'))
|
||||
- test_env['LIB_OUTPUT'] = '#/lib/gmock-1.7.0/lib'
|
||||
-
|
||||
- env.SConscript(env.File('SConscript', gmock_dir))
|
||||
+ if not conf.CheckLib('gtest'):
|
||||
+ raise Exception('Did not find gtest library, exiting!')
|
||||
+ test_env.Append(CPPPATH=[SCons.ARGUMENTS.get('prefix') + '/include/gtest'])
|
||||
+ test_env.Append(LIBS='gtest')
|
||||
+
|
||||
+ if not conf.CheckLib('gmock'):
|
||||
+ raise Exception('Did not find gmock library, exiting!')
|
||||
+ test_env.Append(CPPPATH=[SCons.ARGUMENTS.get('prefix') + '/include/gmock'])
|
||||
+ test_env.Append(LIBS='gmock')
|
||||
|
||||
return []
|
||||
|
@ -0,0 +1,121 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils multilib scons-utils toolchain-funcs
|
||||
|
||||
DESCRIPTION="A advanced Digital DJ tool based on Qt"
|
||||
HOMEPAGE="http://www.mixxx.org/"
|
||||
SRC_URI="http://downloads.${PN}.org/${P}/${P}-src.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="aac debug doc hid mp3 mp4 qt4 +qt5 shout wavpack ffmpeg"
|
||||
REQUIRED_USE="^^ ( qt4 qt5 )"
|
||||
|
||||
# fails to compile system-fidlib. Add ">media-libs/fidlib-0.9.10-r1" once this
|
||||
# got fixed
|
||||
RDEPEND="dev-db/sqlite
|
||||
dev-libs/libusb:1
|
||||
dev-libs/protobuf
|
||||
media-libs/chromaprint
|
||||
media-libs/flac
|
||||
media-libs/libid3tag
|
||||
media-libs/libogg
|
||||
media-libs/libsndfile
|
||||
>=media-libs/libsoundtouch-1.5
|
||||
media-libs/libvorbis
|
||||
>=media-libs/portaudio-19_pre
|
||||
media-libs/portmidi
|
||||
media-libs/rubberband
|
||||
media-libs/taglib
|
||||
media-libs/vamp-plugin-sdk
|
||||
virtual/opengl
|
||||
x11-libs/libX11
|
||||
aac? (
|
||||
media-libs/faad2
|
||||
media-libs/libmp4v2:0
|
||||
)
|
||||
hid? ( dev-libs/hidapi )
|
||||
mp3? ( media-libs/libmad )
|
||||
mp4? ( media-libs/libmp4v2:= )
|
||||
qt4? (
|
||||
dev-qt/qtcore:4
|
||||
dev-qt/qtgui:4
|
||||
dev-qt/qtopengl:4
|
||||
dev-qt/qtscript:4
|
||||
dev-qt/qtsql:4
|
||||
dev-qt/qtsvg:4
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtconcurrent:5
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtopengl:5
|
||||
dev-qt/qtscript:5[scripttools]
|
||||
dev-qt/qtsql:5
|
||||
dev-qt/qtsvg:5
|
||||
dev-qt/qtwidgets:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
shout? ( media-libs/libshout )
|
||||
wavpack? ( media-sound/wavpack )
|
||||
ffmpeg? ( media-video/ffmpeg )"
|
||||
# media-libs/rubberband RDEPENDs on sci-libs/fftw:3.0
|
||||
DEPEND="${RDEPEND}
|
||||
sci-libs/fftw:3.0
|
||||
virtual/pkgconfig
|
||||
qt5? ( dev-qt/qtxmlpatterns:5 )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.0.0-docs.patch
|
||||
#"${FILESDIR}"/${PN}-2.0.0-system-libs.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# use multilib compatible directory for plugins
|
||||
sed -i -e "/unix_lib_path =/s/'lib'/'$(get_libdir)'/" src/SConscript || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myqtdir=qt5
|
||||
if use qt4 ; then
|
||||
myqtdir="qt4"
|
||||
fi
|
||||
|
||||
myesconsargs=(
|
||||
prefix="${EPREFIX}/usr"
|
||||
qtdir="${EPREFIX}/usr/$(get_libdir)/${myqtdir}"
|
||||
faad="$(usex aac 1 0)"
|
||||
ffmpeg="$(usex ffmpeg 1 0)"
|
||||
hid="$(usex hid 1 0)"
|
||||
hifieq=1
|
||||
m4a="$(usex mp4 1 0)"
|
||||
mad="$(usex mp3 1 0)"
|
||||
optimize=native
|
||||
qdebug="$(usex debug 1 0)"
|
||||
qt5="$(usex qt5 1 0)"
|
||||
shoutcast="$(usex shout 1 0)"
|
||||
vinylcontrol=1
|
||||
wv="$(usex wavpack 1 0)"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" escons ${myesconsargs[@]}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
CC="$(tc-getCC)" CXX="$(tc-getCXX)" LINKFLAGS="${LDFLAGS}" \
|
||||
LIBDIR="${EPREFIX}/usr/$(get_libdir)" escons ${myesconsargs[@]} \
|
||||
install_root="${ED}"/usr install
|
||||
|
||||
dodoc README Mixxx-Manual.pdf
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue