parent
ce7c19e3d8
commit
8d1c986128
@ -1 +1,2 @@
|
||||
DIST perl-cleaner-2.16.tar.bz2 6069 SHA256 b54f7bd0dc8e60c08ac3de242cf157c21dbce1cfb8fc9c525b3d6cca88915ae3 SHA512 d2e03e473754b7730a6275cc743414fbb48a9fcb6a7a7dbef1fae73acb609b1b9f06eb33261505e1309fc79074303b7c29b6bd80b3bc79b40d27fc94d9b2cb09 WHIRLPOOL d240e0946a924a4d4984a2c7cc82e54de91e3c05ebf6a29fe154a557ff475da3503eb99a054f26ceda13ec61b87b8b2fe63c367c441b2b3cb6f7c34cf14f3165
|
||||
DIST perl-cleaner-2.17.tar.bz2 6549 SHA256 63c2058b2d5fd866fcbc84c3c47d3e0db53063fbc0ade296b34e9abe60a5bdf2 SHA512 de9737127a457651bb734a359fc288bf2c738eef011794f6c38b1122e6c9764ec735f229a3e687d4d5734ec72bc661e1f8c1f00dee4cba9e485644222794516f WHIRLPOOL 3d5d24cd4f872c259306e0af1fd377f66c7fc5535a25e0f2774641e4d75328e9e2adafbd40e8b646091dcb50db9bad4981041cf36fd7e8d614570d12ea43bf33
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-admin/perl-cleaner/perl-cleaner-2.17.ebuild,v 1.1 2014/09/27 18:52:40 dilfridge Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
DESCRIPTION="User land tool for cleaning up old perl installs"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/perl/"
|
||||
|
||||
if [[ "${PV}" == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="http://github.com/gentoo-perl/perl-cleaner.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2 http://dev.gentoo.org/~dilfridge/distfiles/${P}.tar.bz2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
[[ "${PV}" == "9999" ]] && DEPEND="sys-apps/help2man"
|
||||
|
||||
RDEPEND="app-shells/bash
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
dev-lang/perl
|
||||
|| (
|
||||
( sys-apps/portage app-portage/gentoolkit )
|
||||
sys-apps/pkgcore
|
||||
sys-apps/paludis
|
||||
)
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dosbin perl-cleaner
|
||||
doman perl-cleaner.1
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST gpa-0.9.1_pre20100416.tar.bz2 974400 SHA256 89ff78e01f78865dfec6af38f6035d235707b326e394d4b55239393ea3ed8cf1 SHA512 a7247334b052ff29965e10f80c29dd2f1ec104281a225dcbef7c43c8bbb32a927bce8dd65d80e99bbfb379e682720ab0c81b293ff2d11576add802d4c4dace09 WHIRLPOOL 5cc89e87296978f036efa4c2ed71c068b70c5db7f1b6baba63d02cef2abdb8b63852c774b9e28c33db55e4d4d91c09c056596b58baf3da8ba95a16c5c36ccf1c
|
||||
DIST gpa-0.9.3.tar.bz2 711197 SHA256 9c5b67a562d2831689d4659cf377fb4db521f55f08ba6e0bd47b88e69d70c014 SHA512 8b0df54c27f739425390484e596ae8b306f96ded8bbd2dc6fc4608a9fd10e2a5bea273d1691fc8c39ea147359874fcd7f8b4101aaf4b8dfc0de226239468ba10 WHIRLPOOL 5e93bbd698bfc43696250bdb16346339297bd2d6137299500264c68e7ef7b27c2b4fd612f79fe82bda01b4a1d5b994ffc1d16b042a4d4ed97ddb75f4f0ab4438
|
||||
DIST gpa-0.9.4.tar.bz2 730440 SHA256 444de33735cec227f65549ea7bdca4526ead9f464e99903636902ca85f80cfba SHA512 60fd4d49a23d00dd87f3ab025fc2721c4d61fa73710525e7f99921aae52fe192bd909b9041d4664f476862922a4ffaafb691475b2f0d83f8cde7450b6c0aab82 WHIRLPOOL aa366d512bc131b6f0f6e5859805fbad6413a112f4c2dd1752567a075a37f502c4ed0b00dc02235d9f8ffaf93538560d6226db16b253496e873bb08708d3140b
|
||||
DIST gpa-0.9.5.tar.bz2 732748 SHA256 55e77c0d34a7e0cef8af9a245af8697779b1cb071fea604dd80f24d78e7f30f3 SHA512 16dbc8ff9c37e435540f5770f8343b2a40ad851b64024459ca356fc33e2bc3a3fe10e626b9bab2a79553ca5eab6097a6619b8551bf04478b6ca63aecf5fa1543 WHIRLPOOL 255f0227507000b62571de6d26e43c86006096da00e8c55390b1b7ae52d0c9af810ff159c108290145f1155b3b2ca5842dd3ae114c63e03a3bf8502fbdcbd096
|
||||
|
@ -1,15 +0,0 @@
|
||||
Validate .desktop entry with desktop-file-utils 0.17.
|
||||
|
||||
--- gpa.desktop
|
||||
+++ gpa.desktop
|
||||
@@ -6,8 +6,7 @@
|
||||
GenericName[sv]=GNU Integritets-hjälpreda
|
||||
GenericName[en_US.ISO8859-1]=GNU Privacy Assistant
|
||||
Exec=gpa
|
||||
-Icon=gpa.png
|
||||
+Icon=gpa
|
||||
Terminal=false
|
||||
-Encoding=UTF-8
|
||||
Type=Application
|
||||
-Categories=GTK;Application;Security;Utility;
|
||||
+Categories=GTK;Utility;System;Security;
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-crypt/gpa/gpa-0.9.1_pre20100416.ebuild,v 1.9 2012/05/03 18:16:38 jdhore Exp $
|
||||
|
||||
EAPI="3"
|
||||
|
||||
inherit autotools eutils multilib
|
||||
|
||||
DESCRIPTION="The GNU Privacy Assistant (GPA) is a graphical user interface for GnuPG"
|
||||
HOMEPAGE="http://gpa.wald.intevation.org"
|
||||
#STUPID_NUM="603"
|
||||
#SRC_URI="http://wald.intevation.org/frs/download.php/${STUPID_NUM}/${P}.tar.bz2"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
|
||||
IUSE="nls"
|
||||
|
||||
RDEPEND=">=x11-libs/gtk+-2.10.0:2
|
||||
>=dev-libs/libgpg-error-1.4
|
||||
>=dev-libs/libassuan-1.1.0
|
||||
>=app-crypt/gnupg-2
|
||||
>=app-crypt/gpgme-1.2.0"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PN}-desktop-file-validate.patch
|
||||
|
||||
local x=/usr/share/gettext/po/Makefile.in.in
|
||||
[[ -e $x ]] && cp -f $x po/ #323743
|
||||
|
||||
sed -e "s|gnupg/:|:|g" -i configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
|
||||
# By default gnupg puts gpgkeys_hkp in /usr/libexec/gnupg, so
|
||||
# check if it is in uncommon /usr/lib/gnupg, and change libexecdir
|
||||
# if so. If we do not do this, hkp server types is not usable,
|
||||
# as gpa cannot find gpgkeys_hkp ...
|
||||
[[ -f /usr/lib/gnupg/gpgkeys_hkp ]] && myconf="--libexecdir=/usr/$(get_libdir)"
|
||||
|
||||
econf \
|
||||
--with-gpgme-prefix=/usr \
|
||||
--with-libassuan-prefix=/usr \
|
||||
$(use_enable nls) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die "emake install failed"
|
||||
dodoc AUTHORS ChangeLog README NEWS TODO
|
||||
}
|
@ -1,3 +1,3 @@
|
||||
DIST portpeek-2.0.25.tar.gz 11367 SHA256 38de327bdefdd853166ec0ecdae03ccd508fb27c9762b99cea9926ce38801f5b SHA512 ea4b996787f4f956e3146f6618189f389f78f7a3778297ba1a2118b048c5f2e950221fbe4f9c52249a043f1fc65b4c45a01b799bb52b61e337527702f2149d9d WHIRLPOOL b57636fb820d6e5f0cb1611ca0e417c8d6b04a2c0fc50f9b32da78b940984c687c3ea1dc9a00660ce395108daca372fc3b9d90d9158cab51c502aa6677fd282d
|
||||
DIST portpeek-2.1.14.tar.gz 12137 SHA256 4c4b754e57b596990c4b2e11a06fe7465e1cf239dff6cff85c31f251d6616e1b SHA512 b52f1d909fde2200bdbcac4a9be74c3210b602496e597a92228b0c2c1d9f23cfdcef91e349559a9ecfbaed000c4c834d0b52368b5a8c9d2046139027a1fc2913 WHIRLPOOL 4034673a14b88d6322eb30f82f6d56d21996eadd5d91830efc21d74f8966708f76a21b3ac2c03d2623bdbd44e252a28d968365cb281ca579ce0df1d8a9998919
|
||||
DIST portpeek-2.1.15.tar.gz 12143 SHA256 d5fe0ab5e698e6d7fcc942ba4c1b9e312973a70b6794d5fdda57aff178ece804 SHA512 49386de16e73dba6d1c688c5c9cfc23c96b4f7a0e4c209337d76b2da641e9f6b1402517c706c0bd6cfe84401d53f8c172f5e44a97077a3631cc5d8eaf4d1c6c6 WHIRLPOOL e52872a737fc54d48a9fbe53c092506670ed4ce202fa855f97a2a9891f4d63945bc400fd7ae26f03d467e979f730c3a978348567ceb170f4ab48e1a7168496af
|
||||
DIST portpeek-2.1.9.tar.gz 11827 SHA256 46d7fe52bdc1113e9a790d9d77fc7284721ec6e99817a553204800d7cad19382 SHA512 751b313c605355d92a4fc11d4b717bdaf30cf9e1dd3f78346761fd0c9ed64ce195efdc33cc541f136370b264f60d1438191eae6f1ef6c10d499c6a7e084cefb5 WHIRLPOOL 3f1a18376756d837202268565fa695be0898ff4c27e297ddd3fa4c80670e9d03759e4ad4ec7b6d3032b1230769cc224e6c6444d539c8890aa57beadda2314d71
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.1.14.ebuild,v 1.1 2014/08/14 00:19:49 mpagano Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/portpeek/portpeek-2.1.15.ebuild,v 1.1 2014/09/26 14:40:23 mpagano Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
@ -1,11 +0,0 @@
|
||||
*** ../bash-20140912/parse.y 2014-08-26 15:09:42.000000000 -0400
|
||||
--- parse.y 2014-09-24 22:47:28.000000000 -0400
|
||||
***************
|
||||
*** 2959,2962 ****
|
||||
--- 2959,2964 ----
|
||||
word_desc_to_read = (WORD_DESC *)NULL;
|
||||
|
||||
+ eol_ungetc_lookahead = 0;
|
||||
+
|
||||
current_token = '\n'; /* XXX */
|
||||
last_read_token = '\n';
|
@ -1,6 +1,6 @@
|
||||
DIST mariadb-10.0.12.tar.gz 51100726 SHA256 612bc7360997173d536b79d744e8418d3910924775cbb0614d0843d609be162d SHA512 09d14df652d7ddbfc42b7faa6743e85b013db258e9b3d29b27ca6f01f6b017a03425a900b29b4907e348195da01b59686dce8346371bab4bcd5dcf6778f7ee50 WHIRLPOOL 37808855569961d108f133d40bd7774cfed386289e5923f7c28369056fb1eb6a6d40d02248a214982c7c7d3d0740e2403b1ce3fb41b1b7b628a0ee081999ebd1
|
||||
DIST mariadb-10.0.13.tar.gz 51333762 SHA256 1a56a0ad1178e26723dfd7e77a2266a7da89552f12ea6bd5116a00bd13fa3c0d SHA512 4bee28c1a1f51dde607f59587f7d0281e9677d6af65501238d6ddf9c4fee9b3ab7bc7da8fc7f321fb7d859fbbfec96354bea3c7852ad36c9cae883fbdba22ac1 WHIRLPOOL 524bdf2131d4e090c2cb9a1f5ee7eb64599b0180db9c7f8b4483223d7b28e986f91d81589ded6f3c2df65e5ae0c6b1d218d1c860db8aa8d1c0e45b035cb975a7
|
||||
DIST mariadb-10.0.14.tar.gz 51156364 SHA256 ac0eca4ebb278aa304236bf6dbd5e8c9cf285431333f1379051c231c08e2e31d SHA512 9bb4466f4a71dd85e5811c3117208a6687815b60075beca341c281f5f919b7d6007d2c706f6916d135c7d1d4b02d57f7afb4d97cfac36a61195d994f8a269f17 WHIRLPOOL 3b1e76bc2f3f668bb73cc4159fc09d1757cb32555ea5a0e40a12112cdf101d0be01d93384e4e28a5247f1ea6e0811ed0582325bcd2e37f253cf79fe2d195ee35
|
||||
DIST mariadb-5.5.39.tar.gz 45084762 SHA256 cb850865ab55ce5f01c99a612cc75b76ead5d75adfa75a606f453d32f9089d14 SHA512 a16685dce416449da5e004eaacc2e33d45ba437d91a117ef6c44c09f19186cafe626a87d25ebc67cbf08c0d57d61a3622dd9df9004c541a7bc46be82642b5a67 WHIRLPOOL d1c3efdb2ff4de1830e8d5f03709b7c7a1e037a07902fce3253473a241b62f15b3ccb54896e4ca048ecd952acc84577cfc0788632a2c4aa77694f86fe48f1089
|
||||
DIST mysql-extras-20140729-2200Z.tar.bz2 1494219 SHA256 28363c7ba1893677911451e7f05402a31afc0ed0a48ea1b7cf1915ae1be81e20 SHA512 d90e104b3e73af5589eb32ddbcf9098ad9d69898b55d4d662ebc9578f0281e87fef6b5adb6cdc33fa19a04bf066e01121ead2e6a2bffa0d44ffc10b895392a1c WHIRLPOOL 531a9e08f9231bfcd758bbe8d5b6d5968bd2cfce9c70bc8c15517f497606322da7cffbecd77a0cabd837c3c0ba4f2381a569d583f2fa5ecb14e95a367a93ee11
|
||||
DIST mysql-extras-20140817-2320Z.tar.bz2 1495153 SHA256 9a32dcc646c86cb8f9a941f4da6fd9fc183c0bd60faf47331d465e422ff7b8ac SHA512 d4eb8451a894206cc2d1f3431f6106a910495d357cc07b4e6088b545fc39a995a1d230a307467da73c8c6b11efa0eda634150e09a486a9c53fb063c7fa8d9bbc WHIRLPOOL f57573e6d3ca9f37c666848f07f65f963ed70cfe4e3408730e96be68073251a7611cad068c1d84a5fbfe42ee7c5f9e161d7962dcf591e6eae856ef1cfd286e9f
|
||||
DIST mysql-extras-20140817-2331Z.tar.bz2 1494554 SHA256 c2e338b4e6933d87696cf8c15b5c17e41c0227c05cb123ef2c84e78f26b04b0a SHA512 40a181eabbc112d0408883cf280cc14fc694d971601c35c34b8d6bde6f931aab3f909952676a23457773a5d015f17d57d7b409818ff8569a4b8977638ed80456 WHIRLPOOL 24d74c5be9514b59b18673777aa24f358c7ce4f2daddf23598eb910ca05baa22631849c406c581a864ebd0836b56a7f5ff69bf7377c2dae9d21e96c670ed0e3e
|
||||
DIST mysql-extras-20140924-1913Z.tar.bz2 1494659 SHA256 958114bbe5fe21220f27b478c67a9ad3edd8d88fc58b528c6e7b5cf20e46dabb SHA512 b5fc435804b5843ecb9e522dbc8c6b5d2bb9bc8a7c39633032aaf566f2a2488fc6c0017a92dd6db95db6c14d06d25c43a67fb2387818a0060611c3c811491037 WHIRLPOOL a6a3b1953180923882de75d2e15cdbbf29f42c90947c88e1b29ceee3a2d8094eb5ee015ce2f38b13dbb84d52120be9e867618c90b655ffeec10d32947ce625d0
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.7.0.67.ebuild,v 1.1 2014/09/26 11:02:04 fordfrog Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit versionator
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/java-se-7-doc-download-435117.html"
|
||||
ORIG_NAME="jdk-7u$(get_version_component_range 4)-apidocs.zip"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/7/docs/"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
LICENSE="oracle-java-documentation-7"
|
||||
SLOT="1.7"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-sdk-docs/java-sdk-docs-1.8.0.20.ebuild,v 1.1 2014/09/26 10:53:22 fordfrog Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit versionator
|
||||
|
||||
DOWNLOAD_URL="http://www.oracle.com/technetwork/java/javase/documentation/jdk8-doc-downloads-2133158.html"
|
||||
|
||||
[[ "$(get_version_component_range 4)" == 0 ]] \
|
||||
|| MY_PV_EXT="u$(get_version_component_range 4)"
|
||||
|
||||
MY_PV="$(get_version_component_range 2)${MY_PV_EXT}"
|
||||
ORIG_NAME="jdk-${MY_PV}-docs-all.zip"
|
||||
|
||||
DESCRIPTION="Oracle's documentation bundle (including API) for Java SE"
|
||||
HOMEPAGE="http://download.oracle.com/javase/8/docs/"
|
||||
SRC_URI="${ORIG_NAME}"
|
||||
|
||||
LICENSE="oracle-java-documentation-8"
|
||||
SLOT="1.8"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
DEPEND="app-arch/unzip:0"
|
||||
|
||||
RESTRICT="fetch"
|
||||
|
||||
S="${WORKDIR}/docs"
|
||||
|
||||
pkg_nofetch() {
|
||||
einfo "Please download ${ORIG_NAME} from "
|
||||
einfo "${DOWNLOAD_URL}"
|
||||
einfo "(agree to the license) and place it in ${DISTDIR}"
|
||||
|
||||
einfo "If you find the file on the download page replaced with a higher"
|
||||
einfo "version, please report to the bug 67266 (link below)."
|
||||
einfo "If emerge fails because of a checksum error it is possible that"
|
||||
einfo "the upstream release changed without renaming. Try downloading the file"
|
||||
einfo "again (or a newer revision if available). Otherwise report this to"
|
||||
einfo "http://bugs.gentoo.org/67266 and we will make a new revision."
|
||||
}
|
||||
|
||||
src_install(){
|
||||
insinto /usr/share/doc/${P}/html
|
||||
doins index.html
|
||||
|
||||
for i in *; do
|
||||
[[ -d $i ]] && doins -r $i
|
||||
done
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST gjs-1.36.1.tar.xz 404664 SHA256 d259ef2d702fa9cc9948a35d0e701706d90798fd2855657b7e9ddc9a44dfcf87 SHA512 a2110d957f4179927d649b1da712bec7cc19cfeca48093712b7b3e8d81c06ae39752e2cbdec392c05d74343c98259af4b8c9f54448933e7e6143d9f963cfdd89 WHIRLPOOL 02676a5689d01a416775bd3cae50764f045f924c13024e289bc830ce38474585b4868aa758c5584ae715d2fba1422f6db7a92b2e5852117cb2711959d8ae6f0c
|
||||
DIST gjs-1.38.1.tar.xz 421160 SHA256 6b2065a0e7bd1db562a70c5fd52ea2499097f1cf02c9c279d1b82b660bfb8176 SHA512 2747c3803a1508c065d4c57ccd8a44e50ef4149393b89e88a2ece97e10b3f0e831c041a2d5b198c1eea25146d7252b4f221703b0145d8181ff591d25ab7e5512 WHIRLPOOL 5d052cc072b8c24807c5445665cde5942972b34f3345f7d0f99e09d9c018df34f64243a85215fb287762e08f11cc36fa9e4e4746c55dbd5e3cbe20cecfaa3c6d
|
||||
DIST gjs-1.40.1.tar.xz 448204 SHA256 2f0d80ec96c6284785143abe51377d8a284977ea6c3cf0cef1020d92eae41793 SHA512 c3da112bed3bc97d93913df6284e7616a5893abc6db0fd0bef79c8d0594c9ae85ada61f7c262839d20905dc7ca31a8ac3d5319863aaaff1c69c0d834629d78eb WHIRLPOOL 54da01eeb63d7955150c674394911ff38ccf216c262e89a162455bd21f69fe64a36bca50bffc288c2eb2e90c543d2e41128169f686f7f06523d9fb786166b2dd
|
||||
|
@ -0,0 +1,72 @@
|
||||
From a432e83f967f3d15ef14cfa8040f868af13d1e74 Mon Sep 17 00:00:00 2001
|
||||
From: Giovanni Campagna <gcampagna@src.gnome.org>
|
||||
Date: Tue, 6 May 2014 19:03:15 +0200
|
||||
Subject: function: respect ownership transfer of instance parameters
|
||||
|
||||
When calling a method that is (transfer full) on the instance
|
||||
parameter we need to make an extra ref/copy.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=729545
|
||||
|
||||
diff --git a/gi/function.cpp b/gi/function.cpp
|
||||
index 859ea44..792778c 100644
|
||||
--- a/gi/function.cpp
|
||||
+++ b/gi/function.cpp
|
||||
@@ -543,6 +543,7 @@ gjs_fill_method_instance (JSContext *context,
|
||||
GIBaseInfo *container = g_base_info_get_container((GIBaseInfo *) function->info);
|
||||
GIInfoType type = g_base_info_get_type(container);
|
||||
GType gtype = g_registered_type_info_get_g_type ((GIRegisteredTypeInfo *)container);
|
||||
+ GITransfer transfer = g_callable_info_get_instance_ownership_transfer (function->info);
|
||||
|
||||
switch (type) {
|
||||
case GI_INFO_TYPE_STRUCT:
|
||||
@@ -553,6 +554,8 @@ gjs_fill_method_instance (JSContext *context,
|
||||
return JS_FALSE;
|
||||
|
||||
out_arg->v_pointer = gjs_gerror_from_error(context, obj);
|
||||
+ if (transfer == GI_TRANSFER_EVERYTHING)
|
||||
+ out_arg->v_pointer = g_error_copy ((GError*) out_arg->v_pointer);
|
||||
} else {
|
||||
if (!gjs_typecheck_boxed(context, obj,
|
||||
container, gtype,
|
||||
@@ -560,6 +563,14 @@ gjs_fill_method_instance (JSContext *context,
|
||||
return JS_FALSE;
|
||||
|
||||
out_arg->v_pointer = gjs_c_struct_from_boxed(context, obj);
|
||||
+ if (transfer == GI_TRANSFER_EVERYTHING) {
|
||||
+ if (gtype != G_TYPE_NONE)
|
||||
+ out_arg->v_pointer = g_boxed_copy (gtype, out_arg->v_pointer);
|
||||
+ else {
|
||||
+ gjs_throw (context, "Cannot transfer ownership of instance argument for non boxed structure");
|
||||
+ return JS_FALSE;
|
||||
+ }
|
||||
+ }
|
||||
}
|
||||
break;
|
||||
|
||||
@@ -569,6 +580,8 @@ gjs_fill_method_instance (JSContext *context,
|
||||
return JS_FALSE;
|
||||
|
||||
out_arg->v_pointer = gjs_c_union_from_union(context, obj);
|
||||
+ if (transfer == GI_TRANSFER_EVERYTHING)
|
||||
+ out_arg->v_pointer = g_boxed_copy (gtype, out_arg->v_pointer);
|
||||
break;
|
||||
|
||||
case GI_INFO_TYPE_OBJECT:
|
||||
@@ -577,10 +590,14 @@ gjs_fill_method_instance (JSContext *context,
|
||||
if (!gjs_typecheck_object(context, obj, gtype, JS_TRUE))
|
||||
return JS_FALSE;
|
||||
out_arg->v_pointer = gjs_g_object_from_object(context, obj);
|
||||
+ if (transfer == GI_TRANSFER_EVERYTHING)
|
||||
+ g_object_ref (out_arg->v_pointer);
|
||||
} else if (gjs_typecheck_is_fundamental(context, obj, JS_FALSE)) {
|
||||
if (!gjs_typecheck_fundamental(context, obj, gtype, JS_TRUE))
|
||||
return JS_FALSE;
|
||||
out_arg->v_pointer = gjs_g_fundamental_from_object(context, obj);
|
||||
+ if (transfer == GI_TRANSFER_EVERYTHING)
|
||||
+ gjs_fundamental_ref (context, out_arg->v_pointer);
|
||||
} else {
|
||||
gjs_throw_custom(context, "TypeError",
|
||||
"%s.%s is not an object instance neither a fundamental instance of a supported type",
|
||||
--
|
||||
cgit v0.10.1
|
@ -0,0 +1,45 @@
|
||||
From 791b1a33424897549f487eb75a80f13c4f94437a Mon Sep 17 00:00:00 2001
|
||||
From: Giovanni Campagna <gcampagna@src.gnome.org>
|
||||
Date: Fri, 11 Apr 2014 18:38:57 +0200
|
||||
Subject: Ratelimit RSS-triggered GCs
|
||||
|
||||
When loading a lot of data in memory (for example in the shell
|
||||
opening the overview, which loads all the desktop files and icons)
|
||||
the RSS can increase a lot, so we would trigger GCs continously
|
||||
without any hope of freeing memory, so ratelimit full GCs to at
|
||||
most one every 5 frames.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=728048
|
||||
|
||||
--- a/gjs/jsapi-util.cpp
|
||||
+++ b/gjs/jsapi-util.cpp
|
||||
@@ -1176,6 +1176,7 @@
|
||||
}
|
||||
|
||||
static gulong linux_rss_trigger;
|
||||
+static gint64 last_gc_time;
|
||||
#endif
|
||||
|
||||
/**
|
||||
@@ -1193,6 +1194,13 @@
|
||||
/* We initiate a GC if VM or RSS has grown by this much */
|
||||
gulong vmsize;
|
||||
gulong rss_size;
|
||||
+ gint64 now;
|
||||
+
|
||||
+ /* We rate limit GCs to at most one per 5 frames.
|
||||
+ One frame is 16666 microseconds (1000000/60)*/
|
||||
+ now = g_get_monotonic_time();
|
||||
+ if (now - last_gc_time < 5 * 16666)
|
||||
+ return;
|
||||
|
||||
_linux_get_self_process_size (&vmsize, &rss_size);
|
||||
|
||||
@@ -1209,6 +1217,7 @@
|
||||
if (rss_size > linux_rss_trigger) {
|
||||
linux_rss_trigger = (gulong) MIN(G_MAXULONG, rss_size * 1.25);
|
||||
JS_GC(JS_GetRuntime(context));
|
||||
+ last_gc_time = now;
|
||||
} else if (rss_size < (0.75 * linux_rss_trigger)) {
|
||||
/* If we've shrunk by 75%, lower the trigger */
|
||||
linux_rss_trigger = (rss_size * 1.25);
|
@ -0,0 +1,484 @@
|
||||
From a4c9d09d7a89d3c80b4465a5c2ae0efa24158b24 Mon Sep 17 00:00:00 2001
|
||||
From: Giovanni Campagna <gcampagna@src.gnome.org>
|
||||
Date: Tue, 6 May 2014 18:53:21 +0200
|
||||
Subject: Parse and expose ownership transfer for instance parameters
|
||||
|
||||
Knowing the ownership transfer for instance parameters is
|
||||
necessary for correct memory management of functions which
|
||||
"eat" their instance argument, such as g_dbus_method_invocation_return_*.
|
||||
Parse this information from the gir file and store in the
|
||||
typelib, and then provide new API on GICallableInfo to
|
||||
retrieve this.
|
||||
|
||||
https://bugzilla.gnome.org/show_bug.cgi?id=729662
|
||||
|
||||
diff --git a/girepository/gicallableinfo.c b/girepository/gicallableinfo.c
|
||||
index e69e3e9..702e16c 100644
|
||||
--- a/girepository/gicallableinfo.c
|
||||
+++ b/girepository/gicallableinfo.c
|
||||
@@ -276,6 +276,32 @@ g_callable_info_get_caller_owns (GICallableInfo *info)
|
||||
}
|
||||
|
||||
/**
|
||||
+ * g_callable_info_get_instance_ownership_transfer:
|
||||
+ * @info: a #GICallableInfo
|
||||
+ *
|
||||
+ * Obtains the ownership transfer for the instance argument.
|
||||
+ * #GITransfer contains a list of possible transfer values.
|
||||
+ *
|
||||
+ * Returns: the transfer
|
||||
+ */
|
||||
+GITransfer
|
||||
+g_callable_info_get_instance_ownership_transfer (GICallableInfo *info)
|
||||
+{
|
||||
+ GIRealInfo *rinfo = (GIRealInfo*) info;
|
||||
+ SignatureBlob *blob;
|
||||
+
|
||||
+ g_return_val_if_fail (info != NULL, -1);
|
||||
+ g_return_val_if_fail (GI_IS_CALLABLE_INFO (info), -1);
|
||||
+
|
||||
+ blob = (SignatureBlob *)&rinfo->typelib->data[signature_offset (info)];
|
||||
+
|
||||
+ if (blob->instance_transfer_ownership)
|
||||
+ return GI_TRANSFER_EVERYTHING;
|
||||
+ else
|
||||
+ return GI_TRANSFER_NOTHING;
|
||||
+}
|
||||
+
|
||||
+/**
|
||||
* g_callable_info_get_n_args:
|
||||
* @info: a #GICallableInfo
|
||||
*
|
||||
diff --git a/girepository/gicallableinfo.h b/girepository/gicallableinfo.h
|
||||
index 71f9d0c..f273d29 100644
|
||||
--- a/girepository/gicallableinfo.h
|
||||
+++ b/girepository/gicallableinfo.h
|
||||
@@ -73,6 +73,8 @@ gboolean g_callable_info_invoke (GICallableInfo *info,
|
||||
gboolean is_method,
|
||||
gboolean throws,
|
||||
GError **error);
|
||||
+GITransfer g_callable_info_get_instance_ownership_transfer (GICallableInfo *info);
|
||||
+
|
||||
G_END_DECLS
|
||||
|
||||
|
||||
diff --git a/girepository/girepository.symbols b/girepository/girepository.symbols
|
||||
index 5f01adf..48fb0d9 100644
|
||||
--- a/girepository/girepository.symbols
|
||||
+++ b/girepository/girepository.symbols
|
||||
@@ -26,6 +26,7 @@ g_info_new
|
||||
g_callable_info_can_throw_gerror
|
||||
g_callable_info_get_arg
|
||||
g_callable_info_get_caller_owns
|
||||
+g_callable_info_get_instance_ownership_transfer
|
||||
g_callable_info_get_n_args
|
||||
g_callable_info_get_return_attribute
|
||||
g_callable_info_get_return_type
|
||||
diff --git a/girepository/girnode.c b/girepository/girnode.c
|
||||
index 53385c2..a7a77e3 100644
|
||||
--- a/girepository/girnode.c
|
||||
+++ b/girepository/girnode.c
|
||||
@@ -1664,6 +1664,7 @@ _g_ir_node_build_typelib (GIrNode *node,
|
||||
blob2->caller_owns_return_value = function->result->transfer;
|
||||
blob2->caller_owns_return_container = function->result->shallow_transfer;
|
||||
blob2->skip_return = function->result->skip;
|
||||
+ blob2->instance_transfer_ownership = function->instance_transfer_full;
|
||||
blob2->reserved = 0;
|
||||
blob2->n_arguments = n;
|
||||
|
||||
@@ -1762,6 +1763,7 @@ _g_ir_node_build_typelib (GIrNode *node,
|
||||
blob2->may_return_null = signal->result->nullable;
|
||||
blob2->caller_owns_return_value = signal->result->transfer;
|
||||
blob2->caller_owns_return_container = signal->result->shallow_transfer;
|
||||
+ blob2->instance_transfer_ownership = signal->instance_transfer_full;
|
||||
blob2->reserved = 0;
|
||||
blob2->n_arguments = n;
|
||||
|
||||
@@ -1820,6 +1822,7 @@ _g_ir_node_build_typelib (GIrNode *node,
|
||||
blob2->may_return_null = vfunc->result->nullable;
|
||||
blob2->caller_owns_return_value = vfunc->result->transfer;
|
||||
blob2->caller_owns_return_container = vfunc->result->shallow_transfer;
|
||||
+ blob2->instance_transfer_ownership = vfunc->instance_transfer_full;
|
||||
blob2->reserved = 0;
|
||||
blob2->n_arguments = n;
|
||||
|
||||
diff --git a/girepository/girnode.h b/girepository/girnode.h
|
||||
index 4beef7f..02196e7 100644
|
||||
--- a/girepository/girnode.h
|
||||
+++ b/girepository/girnode.h
|
||||
@@ -100,6 +100,7 @@ struct _GIrNodeFunction
|
||||
gboolean is_constructor;
|
||||
gboolean wraps_vfunc;
|
||||
gboolean throws;
|
||||
+ gboolean instance_transfer_full;
|
||||
|
||||
gchar *symbol;
|
||||
|
||||
@@ -188,6 +189,7 @@ struct _GIrNodeSignal
|
||||
gboolean detailed;
|
||||
gboolean action;
|
||||
gboolean no_hooks;
|
||||
+ gboolean instance_transfer_full;
|
||||
|
||||
gboolean has_class_closure;
|
||||
gboolean true_stops_emit;
|
||||
@@ -208,6 +210,7 @@ struct _GIrNodeVFunc
|
||||
gboolean must_not_be_implemented;
|
||||
gboolean is_class_closure;
|
||||
gboolean throws;
|
||||
+ gboolean instance_transfer_full;
|
||||
|
||||
char *invoker;
|
||||
|
||||
diff --git a/girepository/girparser.c b/girepository/girparser.c
|
||||
index 6c76866..f928c2e 100644
|
||||
--- a/girepository/girparser.c
|
||||
+++ b/girepository/girparser.c
|
||||
@@ -1047,6 +1047,71 @@ parse_param_transfer (GIrNodeParam *param, const gchar *transfer, const gchar *n
|
||||
}
|
||||
|
||||
static gboolean
|
||||
+start_instance_parameter (GMarkupParseContext *context,
|
||||
+ const gchar *element_name,
|
||||
+ const gchar **attribute_names,
|
||||
+ const gchar **attribute_values,
|
||||
+ ParseContext *ctx,
|
||||
+ GError **error)
|
||||
+{
|
||||
+ const gchar *transfer;
|
||||
+ gboolean transfer_full;
|
||||
+
|
||||
+ if (!(strcmp (element_name, "instance-parameter") == 0 &&
|
||||
+ ctx->state == STATE_FUNCTION_PARAMETERS))
|
||||
+ return FALSE;
|
||||
+
|
||||
+ transfer = find_attribute ("transfer-ownership", attribute_names, attribute_values);
|
||||
+
|
||||
+ state_switch (ctx, STATE_PASSTHROUGH);
|
||||
+
|
||||
+ if (strcmp (transfer, "full") == 0)
|
||||
+ transfer_full = TRUE;
|
||||
+ else if (strcmp (transfer, "none") == 0)
|
||||
+ transfer_full = FALSE;
|
||||
+ else
|
||||
+ {
|
||||
+ g_set_error (error, G_MARKUP_ERROR,
|
||||
+ G_MARKUP_ERROR_INVALID_CONTENT,
|
||||
+ "invalid value for 'transfer-ownership' for instance parameter: %s", transfer);
|
||||
+ return FALSE;
|
||||
+ }
|
||||
+
|
||||
+ switch (CURRENT_NODE (ctx)->type)
|
||||
+ {
|
||||
+ case G_IR_NODE_FUNCTION:
|
||||
+ case G_IR_NODE_CALLBACK:
|
||||
+ {
|
||||
+ GIrNodeFunction *func;
|
||||
+
|
||||
+ func = (GIrNodeFunction *)CURRENT_NODE (ctx);
|
||||
+ func->instance_transfer_full = transfer_full;
|
||||
+ }
|
||||
+ break;
|
||||
+ case G_IR_NODE_SIGNAL:
|
||||
+ {
|
||||
+ GIrNodeSignal *signal;
|
||||
+
|
||||
+ signal = (GIrNodeSignal *)CURRENT_NODE (ctx);
|
||||
+ signal->instance_transfer_full = transfer_full;
|
||||
+ }
|
||||
+ break;
|
||||
+ case G_IR_NODE_VFUNC:
|
||||
+ {
|
||||
+ GIrNodeVFunc *vfunc;
|
||||
+
|
||||
+ vfunc = (GIrNodeVFunc *)CURRENT_NODE (ctx);
|
||||
+ vfunc->instance_transfer_full = transfer_full;
|
||||
+ }
|
||||
+ break;
|
||||
+ default:
|
||||
+ g_assert_not_reached ();
|
||||
+ }
|
||||
+
|
||||
+ return TRUE;
|
||||
+}
|
||||
+
|
||||
+static gboolean
|
||||
start_parameter (GMarkupParseContext *context,
|
||||
const gchar *element_name,
|
||||
const gchar **attribute_names,
|
||||
@@ -2848,11 +2913,10 @@ start_element_handler (GMarkupParseContext *context,
|
||||
attribute_names, attribute_values,
|
||||
ctx, error))
|
||||
goto out;
|
||||
- else if (strcmp (element_name, "instance-parameter") == 0)
|
||||
- {
|
||||
- state_switch (ctx, STATE_PASSTHROUGH);
|
||||
- goto out;
|
||||
- }
|
||||
+ else if (start_instance_parameter (context, element_name,
|
||||
+ attribute_names, attribute_values,
|
||||
+ ctx, error))
|
||||
+ goto out;
|
||||
else if (strcmp (element_name, "c:include") == 0)
|
||||
{
|
||||
state_switch (ctx, STATE_C_INCLUDE);
|
||||
diff --git a/girepository/gitypelib-internal.h b/girepository/gitypelib-internal.h
|
||||
index 93d621b..5ccb617 100644
|
||||
--- a/girepository/gitypelib-internal.h
|
||||
+++ b/girepository/gitypelib-internal.h
|
||||
@@ -465,6 +465,8 @@ typedef struct {
|
||||
* freeing the container, but not its contents.
|
||||
* @skip_return: Indicates that the return value is only useful in C and should
|
||||
* be skipped.
|
||||
+ * @instance_transfer_ownership: When calling, the function assumes ownership of
|
||||
+ * the instance parameter.
|
||||
* @reserved: Reserved for future use.
|
||||
* @n_arguments: The number of arguments that this function expects, also the
|
||||
* length of the array of ArgBlobs.
|
||||
@@ -479,7 +481,8 @@ typedef struct {
|
||||
guint16 caller_owns_return_value : 1;
|
||||
guint16 caller_owns_return_container : 1;
|
||||
guint16 skip_return : 1;
|
||||
- guint16 reserved :12;
|
||||
+ guint16 instance_transfer_ownership : 1;
|
||||
+ guint16 reserved :11;
|
||||
|
||||
guint16 n_arguments;
|
||||
|
||||
diff --git a/tests/repository/gitypelibtest.c b/tests/repository/gitypelibtest.c
|
||||
index 565c95c..7b9cb35 100644
|
||||
--- a/tests/repository/gitypelibtest.c
|
||||
+++ b/tests/repository/gitypelibtest.c
|
||||
@@ -276,6 +276,34 @@ test_signal_array_len (GIRepository * repo)
|
||||
g_base_info_unref (testobj_info);
|
||||
}
|
||||
|
||||
+static void
|
||||
+test_instance_transfer_ownership (GIRepository * repo)
|
||||
+{
|
||||
+ GIObjectInfo *testobj_info;
|
||||
+ GIFunctionInfo *func_info;
|
||||
+ GITransfer transfer;
|
||||
+
|
||||
+ g_assert (g_irepository_require (repo, "Regress", NULL, 0, NULL));
|
||||
+ testobj_info = g_irepository_find_by_name (repo, "Regress", "TestObj");
|
||||
+ g_assert (testobj_info != NULL);
|
||||
+
|
||||
+ func_info = g_object_info_find_method (testobj_info, "instance_method");
|
||||
+ g_assert (func_info != NULL);
|
||||
+ transfer = g_callable_info_get_instance_ownership_transfer ((GICallableInfo*) func_info);
|
||||
+ g_assert_cmpint (GI_TRANSFER_NOTHING, ==, transfer);
|
||||
+
|
||||
+ g_base_info_unref (func_info);
|
||||
+
|
||||
+ func_info = g_object_info_find_method (testobj_info, "instance_method_full");
|
||||
+ g_assert (func_info != NULL);
|
||||
+ transfer = g_callable_info_get_instance_ownership_transfer ((GICallableInfo*) func_info);
|
||||
+ g_assert_cmpint (GI_TRANSFER_EVERYTHING, ==, transfer);
|
||||
+
|
||||
+ g_base_info_unref (func_info);
|
||||
+
|
||||
+ g_base_info_unref (testobj_info);
|
||||
+}
|
||||
+
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
{
|
||||
@@ -292,6 +320,7 @@ main (int argc, char **argv)
|
||||
test_hash_with_cairo_typelib (repo);
|
||||
test_char_types (repo);
|
||||
test_signal_array_len (repo);
|
||||
+ test_instance_transfer_ownership (repo);
|
||||
|
||||
exit (0);
|
||||
}
|
||||
diff --git a/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.instance_method_full.page b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.instance_method_full.page
|
||||
new file mode 100644
|
||||
index 0000000..2222bec
|
||||
--- /dev/null
|
||||
+++ b/tests/scanner/Regress-1.0-C-expected/Regress.TestObj.instance_method_full.page
|
||||
@@ -0,0 +1,38 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<page id="Regress.TestObj.instance_method_full"
|
||||
+ type="topic"
|
||||
+ style="method"
|
||||
+ xmlns="http://projectmallard.org/1.0/"
|
||||
+ xmlns:api="http://projectmallard.org/experimental/api/"
|
||||
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
|
||||
+ <info>
|
||||
+ <link xref="Regress.TestObj" group="method" type="guide"/>
|
||||
+ <api:function>
|
||||
+ <api:returns>
|
||||
+ <api:type>void</api:type>
|
||||
+ </api:returns>
|
||||
+ <api:name>regress_test_obj_instance_method_full</api:name>
|
||||
+ <api:arg>
|
||||
+ <api:type>RegressTestObj*</api:type>
|
||||
+ <api:name>obj</api:name>
|
||||
+ </api:arg>
|
||||
+ </api:function>
|
||||
+ </info>
|
||||
+ <title>regress_test_obj_instance_method_full</title>
|
||||
+ <synopsis><code mime="text/x-csrc">
|
||||
+void regress_test_obj_instance_method_full (RegressTestObj* obj);
|
||||
+ </code></synopsis>
|
||||
+
|
||||
+
|
||||
+<terms>
|
||||
+<item>
|
||||
+<title><code>obj</code></title>
|
||||
+
|
||||
+</item>
|
||||
+<item>
|
||||
+<title><code>Returns</code></title>
|
||||
+
|
||||
+</item>
|
||||
+</terms>
|
||||
+
|
||||
+</page>
|
||||
diff --git a/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.instance_method_full.page b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.instance_method_full.page
|
||||
new file mode 100644
|
||||
index 0000000..5b7e1c9
|
||||
--- /dev/null
|
||||
+++ b/tests/scanner/Regress-1.0-Gjs-expected/Regress.TestObj.instance_method_full.page
|
||||
@@ -0,0 +1,26 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<page id="Regress.TestObj.instance_method_full"
|
||||
+ type="topic"
|
||||
+ style="method"
|
||||
+ xmlns="http://projectmallard.org/1.0/"
|
||||
+ xmlns:api="http://projectmallard.org/experimental/api/"
|
||||
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
|
||||
+ <info>
|
||||
+ <link xref="Regress.TestObj" group="method" type="guide"/>
|
||||
+ <api:function>
|
||||
+ <api:returns>
|
||||
+ <api:type>void</api:type>
|
||||
+ </api:returns>
|
||||
+ <api:name>regress_test_obj_instance_method_full</api:name>
|
||||
+ </api:function>
|
||||
+ </info>
|
||||
+ <title>Regress.TestObj.prototype.instance_method_full</title>
|
||||
+ <synopsis><code mime="text/x-gjs">
|
||||
+function instance_method_full(): void {
|
||||
+ // Gjs wrapper for regress_test_obj_instance_method_full()
|
||||
+}
|
||||
+ </code></synopsis>
|
||||
+
|
||||
+
|
||||
+
|
||||
+</page>
|
||||
diff --git a/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method_full.page b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method_full.page
|
||||
new file mode 100644
|
||||
index 0000000..2b5c1dc
|
||||
--- /dev/null
|
||||
+++ b/tests/scanner/Regress-1.0-Python-expected/Regress.TestObj.instance_method_full.page
|
||||
@@ -0,0 +1,37 @@
|
||||
+<?xml version="1.0"?>
|
||||
+<page id="Regress.TestObj.instance_method_full"
|
||||
+ type="topic"
|
||||
+ style="method"
|
||||
+ xmlns="http://projectmallard.org/1.0/"
|
||||
+ xmlns:api="http://projectmallard.org/experimental/api/"
|
||||
+ xmlns:ui="http://projectmallard.org/1.0/ui/">
|
||||
+ <info>
|
||||
+ <link xref="Regress.TestObj" group="method" type="guide"/>
|
||||
+ <api:function>
|
||||
+ <api:returns>
|
||||
+ <api:type>none</api:type>
|
||||
+ </api:returns>
|
||||
+ <api:name>regress_test_obj_instance_method_full</api:name>
|
||||
+ <api:arg>
|
||||
+ <api:type>Regress.TestObj</api:type>
|
||||
+ <api:name>self</api:name>
|
||||
+ </api:arg>
|
||||
+ </api:function>
|
||||
+ </info>
|
||||
+ <title>Regress.TestObj.instance_method_full</title>
|
||||
+ <synopsis><code mime="text/x-python">
|
||||
+@accepts(Regress.TestObj)
|
||||
+@returns(none)
|
||||
+def instance_method_full(self):
|
||||
+ # Python wrapper for regress_test_obj_instance_method_full()
|
||||
+ </code></synopsis>
|
||||
+
|
||||
+
|
||||
+<terms>
|
||||
+<item>
|
||||
+<title><code>self</code></title>
|
||||
+
|
||||
+</item>
|
||||
+</terms>
|
||||
+
|
||||
+</page>
|
||||
diff --git a/tests/scanner/Regress-1.0-expected.gir b/tests/scanner/Regress-1.0-expected.gir
|
||||
index 1c9c300..89ecaa4 100644
|
||||
--- a/tests/scanner/Regress-1.0-expected.gir
|
||||
+++ b/tests/scanner/Regress-1.0-expected.gir
|
||||
@@ -3057,6 +3057,17 @@ case.</doc>
|
||||
</parameter>
|
||||
</parameters>
|
||||
</method>
|
||||
+ <method name="instance_method_full"
|
||||
+ c:identifier="regress_test_obj_instance_method_full">
|
||||
+ <return-value transfer-ownership="none">
|
||||
+ <type name="none" c:type="void"/>
|
||||
+ </return-value>
|
||||
+ <parameters>
|
||||
+ <instance-parameter name="obj" transfer-ownership="full">
|
||||
+ <type name="TestObj" c:type="RegressTestObj*"/>
|
||||
+ </instance-parameter>
|
||||
+ </parameters>
|
||||
+ </method>
|
||||
<method name="set_bare" c:identifier="regress_test_obj_set_bare">
|
||||
<return-value transfer-ownership="none">
|
||||
<type name="none" c:type="void"/>
|
||||
diff --git a/tests/scanner/Regress-1.0-sections-expected.txt b/tests/scanner/Regress-1.0-sections-expected.txt
|
||||
index c9ff60a..187aa16 100644
|
||||
--- a/tests/scanner/Regress-1.0-sections-expected.txt
|
||||
+++ b/tests/scanner/Regress-1.0-sections-expected.txt
|
||||
@@ -334,6 +334,7 @@ regress_test_obj_emit_sig_with_uint64
|
||||
regress_forced_method
|
||||
regress_test_obj_instance_method
|
||||
regress_test_obj_instance_method_callback
|
||||
+regress_test_obj_instance_method_full
|
||||
regress_test_obj_set_bare
|
||||
regress_test_obj_skip_inout_param
|
||||
regress_test_obj_skip_out_param
|
||||
diff --git a/tests/scanner/regress.c b/tests/scanner/regress.c
|
||||
index 1bad36e..b42e0cd 100644
|
||||
--- a/tests/scanner/regress.c
|
||||
+++ b/tests/scanner/regress.c
|
||||
@@ -2679,6 +2679,17 @@ regress_test_obj_instance_method (RegressTestObj *obj)
|
||||
return -1;
|
||||
}
|
||||
|
||||
+/**
|
||||
+ * regress_test_obj_instance_method_full:
|
||||
+ * @obj: (transfer full):
|
||||
+ *
|
||||
+ */
|
||||
+void
|
||||
+regress_test_obj_instance_method_full (RegressTestObj *obj)
|
||||
+{
|
||||
+ g_object_unref (obj);
|
||||
+}
|
||||
+
|
||||
double
|
||||
regress_test_obj_static_method (int x)
|
||||
{
|
||||
diff --git a/tests/scanner/regress.h b/tests/scanner/regress.h
|
||||
index e2e645b..667f129 100644
|
||||
--- a/tests/scanner/regress.h
|
||||
+++ b/tests/scanner/regress.h
|
||||
@@ -527,6 +527,7 @@ void regress_test_obj_emit_sig_with_foreign_struct (RegressTestObj *obj);
|
||||
void regress_test_obj_emit_sig_with_int64 (RegressTestObj *obj);
|
||||
void regress_test_obj_emit_sig_with_uint64 (RegressTestObj *obj);
|
||||
int regress_test_obj_instance_method (RegressTestObj *obj);
|
||||
+void regress_test_obj_instance_method_full (RegressTestObj *obj);
|
||||
double regress_test_obj_static_method (int x);
|
||||
void regress_forced_method (RegressTestObj *obj);
|
||||
|
||||
--
|
||||
cgit v0.10.1
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.40.0-r2.ebuild,v 1.1 2014/09/26 10:31:49 pacho Exp $
|
||||
|
||||
EAPI="5"
|
||||
GCONF_DEBUG="no"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
inherit eutils gnome2 python-single-r1 toolchain-funcs versionator
|
||||
|
||||
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
|
||||
HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection"
|
||||
|
||||
LICENSE="LGPL-2+ GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="cairo doctool test"
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
test? ( cairo )
|
||||
"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# virtual/pkgconfig needed at runtime, bug #505408
|
||||
# We force glib and goi to be in sync by this way as explained in bug #518424
|
||||
RDEPEND="
|
||||
>=dev-libs/gobject-introspection-common-${PV}
|
||||
>=dev-libs/glib-2.$(get_version_component_range 2):2
|
||||
doctool? ( dev-python/mako )
|
||||
virtual/libffi:=
|
||||
virtual/pkgconfig
|
||||
!<dev-lang/vala-0.20.0
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
# Wants real bison, not virtual/yacc
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-util/gtk-doc-am-1.19
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
# PDEPEND to avoid circular dependencies, bug #391213
|
||||
PDEPEND="cairo? ( x11-libs/cairo[glib] )"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Prevent gjs crashes, bug #523608 (from 'master')
|
||||
epatch "${FILESDIR}/${PN}-1.40.0-gjs-crash.patch"
|
||||
gnome2_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if ! has_version "x11-libs/cairo[glib]"; then
|
||||
# Bug #391213: enable cairo-gobject support even if it's not installed
|
||||
# We only PDEPEND on cairo to avoid circular dependencies
|
||||
export CAIRO_LIBS="-lcairo -lcairo-gobject"
|
||||
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
|
||||
fi
|
||||
|
||||
# To prevent crosscompiling problems, bug #414105
|
||||
gnome2_src_configure \
|
||||
--disable-static \
|
||||
CC=$(tc-getCC) \
|
||||
YACC=$(type -p yacc) \
|
||||
$(use_with cairo) \
|
||||
$(use_enable doctool)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
|
||||
gnome2_src_install
|
||||
|
||||
# Prevent collision with gobject-introspection-common
|
||||
rm -v "${ED}"usr/share/aclocal/introspection.m4 \
|
||||
"${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
|
||||
rmdir "${ED}"usr/share/aclocal || die
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/wayland/wayland-1.6.0.ebuild,v 1.1 2014/09/26 20:39:31 mattst88 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/git/${PN}/${PN}"
|
||||
GIT_ECLASS="git-r3"
|
||||
EXPERIMENTAL="true"
|
||||
AUTOTOOLS_AUTORECONF=1
|
||||
fi
|
||||
|
||||
inherit autotools-multilib toolchain-funcs $GIT_ECLASS
|
||||
|
||||
DESCRIPTION="Wayland protocol libraries"
|
||||
HOMEPAGE="http://wayland.freedesktop.org/"
|
||||
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
else
|
||||
SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="doc static-libs"
|
||||
|
||||
RDEPEND=">=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
|
||||
>=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(use_enable doc documentation)
|
||||
)
|
||||
if tc-is-cross-compiler ; then
|
||||
myeconfargs+=( --disable-scanner )
|
||||
fi
|
||||
if ! multilib_is_native_abi; then
|
||||
myeconfargs+=( --disable-documentation )
|
||||
fi
|
||||
|
||||
autotools-multilib_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export XDG_RUNTIME_DIR="${T}/runtime-dir"
|
||||
mkdir "${XDG_RUNTIME_DIR}" || die
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}" || die
|
||||
|
||||
autotools-multilib_src_test
|
||||
}
|
@ -0,0 +1,159 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/weston-1.6.0.ebuild,v 1.1 2014/09/26 20:43:29 mattst88 Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
|
||||
GIT_ECLASS="git-r3"
|
||||
EXPERIMENTAL="true"
|
||||
fi
|
||||
VIRTUALX_REQUIRED="test"
|
||||
RESTRICT="test"
|
||||
|
||||
inherit autotools readme.gentoo toolchain-funcs virtualx $GIT_ECLASS
|
||||
|
||||
DESCRIPTION="Wayland reference compositor"
|
||||
HOMEPAGE="http://wayland.freedesktop.org/"
|
||||
|
||||
if [[ $PV = 9999* ]]; then
|
||||
SRC_URI="${SRC_PATCHES}"
|
||||
else
|
||||
SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
|
||||
fi
|
||||
|
||||
LICENSE="MIT CC-BY-SA-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86 ~arm-linux"
|
||||
IUSE="colord dbus +drm +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi +launch screen-sharing static-libs +suid systemd test unwind wayland-compositor +X xwayland"
|
||||
|
||||
REQUIRED_USE="
|
||||
drm? ( egl )
|
||||
egl? ( || ( gles2 opengl ) )
|
||||
gles2? ( !opengl )
|
||||
screen-sharing? ( rdp )
|
||||
test? ( X )
|
||||
wayland-compositor? ( egl )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/wayland-1.4.0
|
||||
media-libs/lcms:2
|
||||
media-libs/libpng:0=
|
||||
media-libs/libwebp:0=
|
||||
virtual/jpeg
|
||||
>=x11-libs/cairo-1.11.3[gles2(-)?,opengl?]
|
||||
>=x11-libs/libdrm-2.4.30
|
||||
x11-libs/libxkbcommon
|
||||
x11-libs/pixman
|
||||
x11-misc/xkeyboard-config
|
||||
fbdev? (
|
||||
>=sys-libs/mtdev-1.1.0
|
||||
>=virtual/udev-136
|
||||
)
|
||||
colord? ( >=x11-misc/colord-0.1.27 )
|
||||
dbus? ( sys-apps/dbus )
|
||||
drm? (
|
||||
media-libs/mesa[gbm]
|
||||
>=sys-libs/mtdev-1.1.0
|
||||
>=virtual/udev-136
|
||||
)
|
||||
egl? (
|
||||
media-libs/glu
|
||||
media-libs/mesa[gles2,wayland]
|
||||
)
|
||||
editor? ( x11-libs/pango )
|
||||
gles2? (
|
||||
media-libs/mesa[wayland]
|
||||
)
|
||||
opengl? (
|
||||
media-libs/mesa[wayland]
|
||||
)
|
||||
rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 )
|
||||
rpi? (
|
||||
>=sys-libs/mtdev-1.1.0
|
||||
>=virtual/udev-136
|
||||
)
|
||||
systemd? (
|
||||
sys-auth/pambase[systemd]
|
||||
sys-apps/systemd[pam]
|
||||
)
|
||||
launch? ( sys-auth/pambase )
|
||||
unwind? ( sys-libs/libunwind )
|
||||
X? (
|
||||
x11-libs/libxcb
|
||||
x11-libs/libX11
|
||||
)
|
||||
xwayland? (
|
||||
x11-base/xorg-server[wayland]
|
||||
x11-libs/cairo[xcb]
|
||||
x11-libs/libxcb
|
||||
x11-libs/libXcursor
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
eautoreconf
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use examples || use gles2 || use test; then
|
||||
myconf="--enable-simple-clients
|
||||
$(use_enable egl simple-egl-clients)"
|
||||
else
|
||||
myconf="--disable-simple-clients
|
||||
--disable-simple-egl-clients"
|
||||
fi
|
||||
|
||||
if use gles2; then
|
||||
myconf+=" --with-cairo=glesv2"
|
||||
elif use opengl; then
|
||||
myconf+=" --with-cairo=gl"
|
||||
else
|
||||
myconf+=" --with-cairo=image"
|
||||
fi
|
||||
|
||||
econf \
|
||||
$(use_enable examples demo-clients-install) \
|
||||
$(use_enable fbdev fbdev-compositor) \
|
||||
$(use_enable dbus) \
|
||||
$(use_enable drm drm-compositor) \
|
||||
$(use_enable headless headless-compositor) \
|
||||
$(use_enable rdp rdp-compositor) \
|
||||
$(use_enable rpi rpi-compositor) \
|
||||
$(use_enable wayland-compositor) \
|
||||
$(use_enable X x11-compositor) \
|
||||
$(use_enable launch weston-launch) \
|
||||
$(use_enable colord) \
|
||||
$(use_enable egl) \
|
||||
$(use_enable unwind libunwind) \
|
||||
$(use_enable resize-optimization) \
|
||||
$(use_enable screen-sharing) \
|
||||
$(use_enable suid setuid-install) \
|
||||
$(use_enable xwayland) \
|
||||
$(use_enable xwayland xwayland-test) \
|
||||
--disable-libinput-backend \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export XDG_RUNTIME_DIR="${T}/runtime-dir"
|
||||
mkdir "${XDG_RUNTIME_DIR}" || die
|
||||
chmod 0700 "${XDG_RUNTIME_DIR}" || die
|
||||
|
||||
cd "${BUILD_DIR}" || die
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
readme.gentoo_src_install
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Archive-Extract/Archive-Extract-0.720.0.ebuild,v 1.3 2014/09/27 18:59:43 zlogene Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=BINGOS
|
||||
MODULE_VERSION=0.72
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Generic archive extracting mechanism"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-File-Path
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-IPC-Cmd
|
||||
virtual/perl-Locale-Maketext-Simple
|
||||
virtual/perl-Module-Load-Conditional
|
||||
virtual/perl-Params-Check
|
||||
virtual/perl-if
|
||||
"
|
||||
DEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
@ -0,0 +1 @@
|
||||
DIST Archive-Extract-0.72.tar.gz 27421 SHA256 e86acd52e75a7cc3cb602a3b84c831cb408067b4ad2d7fb7ba122d156fd745df SHA512 5a8de274500b3473236b53353c351020a893fac6cfa1d6daecb0820278e5e7ca490ca4be8e049d908d70afb5a39b72863cab9e72d92386a898e9a71f053cbb18 WHIRLPOOL c377bdd5884d9b8f231913dd2cc23a5d7ebe6fee26b9ea5a9bcc6dc04cd0c557139d1627d187a7c418cb67a534dd1258a24031ceb524790b94a285dbd3605483
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>perl</herd>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST babelfish-0.4.0.tar.gz 89386 SHA256 1c22bf70ecc61d0ebe637edc3868dfb146dc5a458be353b20386406e28a18710 SHA512 f9e2cf8ec367cead528d99019fc1e597a94b6654cd2b5c39ba3e2deb9e579bd8af54f463510f709c5c540911e01ed830511f833fe2400bd7ec6a70cd05ee642f WHIRLPOOL 0034705cf62bde3851e9edc4cc63316c4874c404c65fd0ff33937acb1fc4da29e54ad03aa8e11ecf98bcf0f8bc5f2c1b89be7963f63611a481650dfc709e73ab
|
||||
DIST babelfish-0.5.1.tar.gz 89683 SHA256 bd78ecacc684aac8939c2937fe25c85179123940997943381ae9c22e37bf964f SHA512 24f192867ba5e34fbe5f5f90cae479b095577b6b6a0a0f6e778f68130b0010c382e204cb1da15f062929ce231f3f9a5bb5c7e4c01a4a2dcbf975e884a25e4210 WHIRLPOOL 3f0dc56b981ac2ec59bb4ba88f27419de0e7276fbd05e845c76f46081afb2561e6852081a1be6f0df36a9fe110419c49679d8e4255ca4e1b37e6689133b05114
|
||||
DIST babelfish-0.5.3.tar.gz 90579 SHA256 4fbdd172d0feec0861ccf9ed8e36abb09d36c88c216eeedca2661fec5b103c73 SHA512 c419f8d881ba9995f45f212b7182d2f95a28b5fd911933a1c10768506682068abc7ea0394d6ef6dc337be47f601ae479582571c6d1753870671dec77e67156a9 WHIRLPOOL f64268ca394f19be03a67aa38de7dade7b0d17219c2d5b4db994d6e0d32f067b899a8aaa548fa5cbcb067efd67b7a123407d9d69d081521cf09b13d51857812c
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/babelfish/babelfish-0.5.3.ebuild,v 1.1 2014/09/27 15:42:39 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to work with countries and languages"
|
||||
HOMEPAGE="https://github.com/Diaoul/babelfish https://pypi.python.org/pypi/babelfish"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST cairocffi-0.5.3.tar.gz 71140 SHA256 b1030159372b0c961a87bed4b5479807ba798d6d2c25e4e34d9660e2046ca98e SHA512 defbecaa00675a03cbe96e327dee24885bfb387e23dc175db2fd146d628dd6286003a4e19abf37014269dbb292f1f55edb397ca469ca30c5ffd521dddd3061d1 WHIRLPOOL 134f14185504e6ab5ec54d1c9e1b27e8271c011e08516d51e10b34e906a7c7175ee04dc807269723c3a30aef26547dee6bc67e94033cc5ad8a8444f8c28f153b
|
||||
DIST cairocffi-0.5.4.tar.gz 71232 SHA256 f1dc2b6e4638aee4015649eb5379ee745211fc4bd703626df255cb8439e716ff SHA512 f602b03dad04bce8e756f1fd82c05970b944ed1cfadd7012c44ad4426fb94f100ee8df0a1324c9c0b6b17f1dffb02c824ad9ce1ba31b3cf3eaeba0bf86da855f WHIRLPOOL ea9ec065c7a47fd1352b9d71edbfdc45eb0dcbf409c1326e32fd91b54a3dae13067d15b020b75eee7ac5db8cf37d5b2268e3493cb3218adf72dc0051840bea29
|
||||
DIST cairocffi-0.6.tar.gz 75183 SHA256 d14ea9daed510259717209ed9e2f68503fcbcbcf00c2c4f31b446b001ae109c0 SHA512 c27b443261db4c68e73d3da55a640ac2689dcefda6aa384d7c3e23acdc705f79e07524f8df9ecbe379cfd9f8855d50ad7dfe7392ad7a36d5a63d0124e483e5ec WHIRLPOOL d94edc81ae8638758b93f2cb1804943a8160b4f8e1d507ce36c5ec7a835ea6f4b96a06a31cbf687335029391a9ee3a099c707a64d02490caa2b30bc91d260d24
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/cairocffi/cairocffi-0.6.ebuild,v 1.1 2014/09/26 13:55:31 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="CFFI-based drop-in replacement for Pycairo"
|
||||
MY_PN="${PN}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
HOMEPAGE="https://github.com/SimonSapin/cairocffi"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
# xcffib is an optional extra excpet that the testsuite has it a hard coded unconditional component
|
||||
RDEPEND=">=dev-python/cffi-0.6:=[${PYTHON_USEDEP}]
|
||||
x11-libs/cairo:0=
|
||||
dev-python/xcffib[${PYTHON_USEDEP}]"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( ${RDEPEND}
|
||||
dev-python/pytest[${PYTHON_USEDEP}] )"
|
||||
|
||||
# Intersphinx cause the usual d'loading of objects.inv from TWO online sites
|
||||
PATCHES=( "${FILESDIR}"/mapping.patch )
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test ${PN}/ || die "testsuite failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && HTML_DOCS=( docs/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST guessit-0.5.4.tar.gz 93050 SHA256 2c4b2c3c703485a03794746a496fae69f1da5d8c9eaf08b8e9571515704b69b0 SHA512 353f45a80726edc6978be3707916a4919c140f2304668f7e1e9453fb1c225f83e9f19a317b8b3eafff449a41fd959fceeb6eecc7021862f856a34cd9608c170c WHIRLPOOL 3465f5dd0d029d2252930c7ceebf963b85466374912919500a15258707a10faa5379a91d23ba81204324895fb37de9e1ced8c6daa6ed12e46258b82319de856a
|
||||
DIST guessit-0.6.2.tar.gz 123216 SHA256 27d6dfa29f01f4897688d04d94d58298b4e1b94163d8ff72646be59bed5ab6db SHA512 0c9340c0755ef91ce432ed80a0131659f23489e57092270b2acc433b74930bb3b3759959ab5cb3547c10b6011e2f52db56feffd8e7ec7bc6e31fdcd1d786b8f9 WHIRLPOOL fd86094931d3a309363a8abf739152062ef854997ee2c0a17ef85fb1a1afb9fe82a8db299be5da075a62ca6542b5ab31e9c87a6f9aed0be6f1df49550e39b157
|
||||
DIST guessit-0.7.1.tar.gz 1177369 SHA256 4315afd516ff824a1ccd857a43b74fb2f0f1b794f8049685eae72d6e64d8dc92 SHA512 ce30496852eeb46f6e49744e6f3a32045145da27226a7520a12ce911289ff45be5c704899377bd4b708867205dd230a9a464bc4d11d6dc1beec334054603be9e WHIRLPOOL c96f7740b8a0ae026d986f367bb3b4665e915ed83edb547db135cdf2acbf3f1faae8a43f5ef0e509faf7e856c3db59d01a8a17008ebbddfcf8af22e5e5d79483
|
||||
DIST guessit-0.9.3.tar.gz 1194884 SHA256 0fd4bee04214dc0474089ac6fed3c9e64b8c635085681b911834f9b0bb074b81 SHA512 ae2939433a8642f3a6579ccb5247bfb0eda68959a4449a4134fbefdab8572ccfa1fefed90783b82505acdf67006a11bfeef5d05ee7787da2cd44e4f447472513 WHIRLPOOL e01cb8acb1d7d6dafa896e14a9eaa968039bbcebf4ce31b63c28438c4b96ea004fd94a6527747c8dc10dbfef8bcaea3c82dec68eb1dbb384e8406306c81bacbd
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/guessit/guessit-0.9.3.ebuild,v 1.1 2014/09/27 15:55:02 floppym Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="library for guessing information from video files"
|
||||
HOMEPAGE="http://guessit.readthedocs.org https://github.com/wackou/guessit https://pypi.python.org/pypi/guessit"
|
||||
SRC_URI="https://github.com/wackou/guessit/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/babelfish-0.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-0.14[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
)
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/oslo-sphinx/oslo-sphinx-2.2.0-r1.ebuild,v 1.1 2014/09/26 19:42:48 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="${PN//-/}"
|
||||
|
||||
DESCRIPTION="OpenStack Sphinx Extensions"
|
||||
HOMEPAGE="http://www.openstack.org/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
# NOTE: dev-python/hacking is unecessary as there are no tests
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
"
|
||||
RDEPEND=""
|
@ -1,44 +1,66 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild,v 1.1 2014/09/22 21:25:31 prometheanfire Exp $
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/oslotest/oslotest-1.1.0.ebuild,v 1.5 2014/09/27 19:20:47 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="OpenStack test framework and test fixtures"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/oslotest"
|
||||
DESCRIPTION="OpenStack test framework"
|
||||
HOMEPAGE="http://launchpad.net/oslo"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND=">=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]"
|
||||
|
||||
# This time half the doc files are missing; Do you want them?
|
||||
KEYWORDS="~amd64 ~amd64-linux ~x86 ~x86-linux"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}]
|
||||
<dev-python/pbr-1.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/coverage-3.6[${PYTHON_USEDEP}]
|
||||
<dev-python/hacking-0.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/hacking-0.9.2[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
>=dev-python/oslo-sphinx-2.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}]
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/mox3-0.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/subunit-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && esetup.py build_sphinx
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests tests/ || die "test failed under ${EPYTHON}"
|
||||
rm -rf .testrepository || die "coudln't remove '.testrepository' under ${EPYTHON}"
|
||||
|
||||
testr init || die "testr init failed under ${EPYTHON}"
|
||||
testr run || die "testr run failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( doc/build/html/. )
|
||||
use doc && doman doc/build/man/oslotest.1
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "man page installation requires USE=doc"
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
DIST path.py-6.0.zip 28120 SHA256 f1534f0c0dc7d05968e7fc22329e8efa42dd2952c3b968c32c83f4d836a88724 SHA512 d564cee7db74d70fa1ad97ebac9d2eea2dc0e138fd360a4cb366353911b72fa427721fe67240499a272c73a3ec45b531af5829482cf0baeebe7b7e61151cd11d WHIRLPOOL 36faecee969304f870c239de3d34af7ce0553157ffae1999bb97cc96f411ee3794c25dfd3d910639744006d674c771458914ab1ab30a588ad0787cb7517b8ad3
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<upstream>
|
||||
<remote-id type="pypi">path.py</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/path-py/path-py-6.0.ebuild,v 1.1 2014/09/27 16:11:32 floppym Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A module wrapper for os.path"
|
||||
HOMEPAGE="http://github.com/jaraco/path.py"
|
||||
MY_P="path.py-${PV}"
|
||||
SRC_URI="mirror://pypi/p/path.py/${MY_P}.zip"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_test() {
|
||||
py.test || die "Testing failed with ${EPYTHON}"
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST requests-mock-0.5.1.tar.gz 29729 SHA256 b1b1b864e633418c77f33d333b0fd88cb6123bfb816706b236f7b1db99795056 SHA512 79a270501cfee425af81b5d0ab7fcbebe08eca0ff8f9f57dab769bec7918f44ab7ca4a4b683ae195a5c8c6020d4730cf0c1482f6ff21cbbbea700491cc455903 WHIRLPOOL 87d2591e70dedd8a5bfae485dc0df411e5ed9ad1442f7e5f2d62d134c8e536e09b30f3b8c0f92def4b5c5f5df56fdd21eef9d4fde659ca5605bd17181f593021
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
<longdescription lang="en">
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/requests-mock/requests-mock-0.5.1.ebuild,v 1.1 2014/09/27 18:51:41 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Mock out responses from the requests package"
|
||||
HOMEPAGE="https://github.com/jamielennox/requests-mock"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# NOTE: docs do not install due to pbr configuration issues
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/fixtures[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
>=dev-python/testrepository-0.0.18[${PYTHON_USEDEP}]
|
||||
dev-python/testtools[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
python_test() {
|
||||
rm -rf .testrepository || die "couldn't remove '.testrepository' under ${EPYTHON}"
|
||||
|
||||
testr init || die "testr init failed under ${EPYTHON}"
|
||||
testr run || die "testr run failed under ${EPYTHON}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST stevedore-0.14.1.tar.gz 357881 SHA256 4f298be24399150605b08c1abffd1f5fee01f9ab9362eb6ac865198c7290cbdf SHA512 187b1d89dea2df8f430f2c707c52ab06f2a35dacdbff86f9de9e905c3b66152d529e7f408e7c73144c444d12240957a8deb27aff13538f2ac662975559c4473d WHIRLPOOL 4b6aad355266a63fe4ee6f139da0e974ad1b341d9fb338dc0432804139cd00435a436364ec4d52b9a1b1f399c14337c8c5f37a09fe03fba3f43b60ba735391c6
|
||||
DIST stevedore-0.15.tar.gz 348537 SHA256 bec9269cbfa58de4f0849ec79bb7d54eeeed9df8b5fbfa1637fbc68062822847 SHA512 5a3455b852a0196eee90d71a1440f872fabd37738608337eb36f5ed232e8f3316502f1e6bfb7022a23bc565f09c2e4b2d9e9d58e8f27969ac2950a27e054dac5 WHIRLPOOL 3d9910ce327063f9e0d7bd71f345ce524529fe7c65ee46507f7c5c0e17c831fb48991ac7963f730e0cfe9d61d032963d7f11f69899e56f758f13822ac56fbc37
|
||||
DIST stevedore-1.0.0.tar.gz 351758 SHA256 4e859756bdba71d7cf4eb1313342cde93cfe36d12fb6b6c35378e9101add229f SHA512 c5969a39d20135e19d8edeeb563e6402ad6d322470a19f8020085fd38eec8f14e3a6a14bb8eff225f6e3b8d228e9aedf23dba6823a1f847069ab3f26db395add WHIRLPOOL 27cfd7c7bf6ccde9dc2f878fd31fd0b36fcfde97811ad958e38b25e8a6da845a82e27abd6f9828057b99f0e3e90558245035cf497b61d6b764d73604fb294934
|
||||
|
@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>openstack</herd>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/stevedore/stevedore-1.0.0.ebuild,v 1.1 2014/09/26 18:41:56 alunduil Exp $
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_3 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Manage dynamic plugins for Python applications"
|
||||
HOMEPAGE="https://github.com/dreamhost/stevedore"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/mock-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
)
|
||||
doc? (
|
||||
~dev-python/pillow-2.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}]
|
||||
!~dev-python/sphinx-1.2.0[${PYTHON_USEDEP}]
|
||||
<dev-python/sphinx-1.3[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND=">=dev-python/six-1.7.0[${PYTHON_USEDEP}]"
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests stevedore || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/build/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST xcffib-0.1.5.tar.gz 66893 SHA256 6389eb80b409df98630fce9bcb1c8d07f3a2e72918e649d3984e8a8581455538 SHA512 15709a2eb24eb165113e6dbfd07a194c09c91ceeab07a061f03ddd7bd229b55efe5f5d75d0af8a08574b872ac70ecea67b76449dd6d6ff69b4c1f9cc091d07c0 WHIRLPOOL 4f2c22d20780753e28f23aa79c375fc8c691dee85e1c3fe62a2c6c9bb00e4821616d9331bdefcb8ba932d89c96b6f2d52e634aecec3cd892adaf49f8bedabb83
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>python</herd>
|
||||
</pkgmetadata>
|
@ -0,0 +1,21 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-python/xcffib/xcffib-0.1.5.ebuild,v 1.1 2014/09/26 13:44:28 idella4 Exp $
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A drop in replacement for xpyb, an XCB python binding"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
HOMEPAGE=" http://github.com/tych0/xcffib"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-python/cffi-0.8.2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -0,0 +1 @@
|
||||
DIST qtsensors-opensource-src-5.3.2.tar.xz 2099272 SHA256 f9359dc42fbd7105eec7a1fb866e90aa772fd694075e5a5691d1a31d08953ae4 SHA512 194d456b83e6fbea8f24a393342f92aec0dbc2ed570d43aa10ef751633d73c361deaf8c9d69eb4808444a60e313b5e464665acfcdec0933d04a3b0b72d873fe0 WHIRLPOOL 99e0ac99531aaa050b50ab933aae4defb117dac8e81f48596158bfa21c6a6ac9bd8b24a70b2a87effda999337d0bc91c3779ea2987eb5b3d88b4c96a380a0265
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>qt</herd>
|
||||
<use>
|
||||
<flag name="qml">Build QML bindings</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://bugreports.qt-project.org/</bugs-to>
|
||||
<doc>http://qt-project.org/doc/</doc>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-qt/qtsensors/qtsensors-5.3.2.ebuild,v 1.1 2014/09/26 23:51:07 pesa Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt5-build
|
||||
|
||||
DESCRIPTION="Hardware sensor access library for the Qt5 framework"
|
||||
|
||||
if [[ ${QT5_BUILD_TYPE} == live ]]; then
|
||||
KEYWORDS=""
|
||||
else
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
IUSE="qml"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-qt/qtcore-${PV}:5[debug=]
|
||||
qml? ( >=dev-qt/qtdeclarative-${PV}:5[debug=] )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
qt_use_disable_mod qml quick \
|
||||
src/src.pro
|
||||
|
||||
qt5-build_src_prepare
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST bundler-1.3.5.gem 268800 SHA256 08b89047f7b829f3e197a28fb1bde74c3f5cfea1552f99dfba237fee30eaffe4 SHA512 ea3ca89b50692c575e342b695e72aaca536af9e37d2e9740017aa55dcb999759ee5c0cfba71d90ba3baf9da2ba580a3813cdfebe428f20bbb7a86f1158409236 WHIRLPOOL 0b0660919a7f842b830f452242774e33c797e144c55b48af408fc04faa002eb3fe6309675538b0c44020dfc5609b33cc39e2999df6e7363373b48815b5231f61
|
||||
DIST bundler-1.3.6.gem 269824 SHA256 2ba6a8ce2367b2e382b9691e6fba8089db40bb4bb88054ded1adf2616cba125f SHA512 ffe756344e67fdf5408f9c61b6ffa417a0140a86ad0e7f4567dbb7323c7e70afc0947633f90946bc3b690251d102708340a1715e25a138cd8487afabd646c7a3 WHIRLPOOL 468062791a9d5fcc7dd978d00fc3d024673aeebc4b153d93fefa90f6ee1035c18029d6caed66dcfbabada94d95fd2a20049512bcf4160110522bdb5ea5d3984a
|
||||
DIST bundler-1.7.3.gem 299520 SHA256 d2cfd2cb30a14bbaab0cef7917d220d6285d6eaed024e445680b47c816592303 SHA512 2e037837fa2e9fdb85b7a04aa4cfb79b4be64dab4a4cd45af55b2b2cab69c1c377543fda732db26b32c1c4a8dc8c82e609b908633887a61ca3ad16a00ea22557 WHIRLPOOL a01a46c89a20eda57329fb30e4711392632a68151aeac935fdd8ee51d62bac0b0a08835c69798f31aa655a87284bf1066390c9e38782111cf0d5f3b6fdd6e688
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/bundler/bundler-1.7.3.ebuild,v 1.1 2014/09/27 08:32:37 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# jruby → Many tests fail and test suite hangs.
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
# No documentation task
|
||||
RUBY_FAKEGEM_TASK_DOC=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md ISSUES.md UPGRADING.md"
|
||||
|
||||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="An easy way to vendor gem dependencies"
|
||||
HOMEPAGE="http://github.com/carlhuda/bundler"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_rdepend virtual/rubygems
|
||||
|
||||
ruby_add_bdepend "test? ( app-text/ronn )"
|
||||
|
||||
RDEPEND+=" dev-vcs/git"
|
||||
DEPEND+=" test? ( dev-vcs/git )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Bundler only supports running the specs from git:
|
||||
# http://github.com/carlhuda/bundler/issues/issue/738
|
||||
sed -i -e '/when Bundler is bundled/,/^ end/ s:^:#:' spec/runtime/setup_spec.rb || die
|
||||
|
||||
# Fails randomly and no clear cause can be found. Might be related
|
||||
# to bug 346357. This was broken in previous releases without a
|
||||
# failing spec, so patch out this spec for now since it is not a
|
||||
# regression.
|
||||
sed -i -e '/works when you bundle exec bundle/,/^ end/ s:^:#:' spec/install/deploy_spec.rb || die
|
||||
|
||||
# Remove unneeded git dependency from gemspec, which we need to use
|
||||
# for bug 491826
|
||||
sed -i -e '/files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
# Remove security policy specs since the certificate that it uses
|
||||
# expired 2014-02-04
|
||||
#rm spec/install/security_policy_spec.rb || die
|
||||
|
||||
# Avoid specs that are not compatible with all rspec versions.
|
||||
sed -e '/has no malformed whitespace/,/^ end/ s:^:#:' \
|
||||
-e '/uses double-quotes consistently/,/^ end/ s:^:#:' \
|
||||
-i spec/quality_spec.rb || die
|
||||
}
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-1.9.4-r1.ebuild,v 1.1 2014/09/27 06:39:28 graaff Exp $
|
||||
|
||||
EAPI=5
|
||||
|
||||
# jruby → unneeded, this is part of the standard JRuby distribution, and
|
||||
# would just install a dummy.
|
||||
USE_RUBY="ruby19 ruby20 ruby21"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_TEST="rspec"
|
||||
|
||||
RUBY_FAKEGEM_RECIPE_DOC="yard"
|
||||
RUBY_FAKEGEM_DOCDIR="doc"
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Ruby extension for programmatically loading dynamic libraries"
|
||||
HOMEPAGE="http://wiki.github.com/ffi/ffi"
|
||||
|
||||
SRC_URI="http://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz"
|
||||
|
||||
IUSE=""
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
|
||||
RDEPEND+=" virtual/libffi"
|
||||
DEPEND+=" virtual/libffi"
|
||||
|
||||
ruby_add_bdepend "doc? ( dev-ruby/yard )"
|
||||
|
||||
ruby_add_rdepend "virtual/ruby-threads"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/tasks/ s:^:#:' \
|
||||
-e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die
|
||||
|
||||
# Fix Makefile for tests
|
||||
sed -i -e '/CCACHE :=/ s:^:#:' \
|
||||
-e 's/-O2//' \
|
||||
-e 's/^CFLAGS =/CFLAGS +=/' libtest/GNUmakefile || die
|
||||
|
||||
# Remove bundled version of libffi.
|
||||
rm -rf ext/ffi_c/libffi || die
|
||||
}
|
||||
|
||||
each_ruby_configure() {
|
||||
${RUBY} -Cext/ffi_c extconf.rb || die
|
||||
}
|
||||
|
||||
each_ruby_compile() {
|
||||
emake -Cext/ffi_c V=1
|
||||
cp ext/ffi_c/ffi_c.so lib/ || die
|
||||
|
||||
${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed"
|
||||
}
|
||||
|
||||
each_ruby_test() {
|
||||
CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die
|
||||
}
|
||||
|
||||
all_ruby_install() {
|
||||
all_fakegem_install
|
||||
|
||||
docinto examples
|
||||
dodoc samples/*
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/ctags/ctags-5.5.4-r2.ebuild,v 1.17 2012/03/17 23:18:39 mattst88 Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
|
||||
HOMEPAGE="http://ctags.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/ctags/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86"
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}"/${P}-ebuilds.patch
|
||||
epatch "${FILESDIR}"/${P}-ruby-classes.patch
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--with-posix-regex \
|
||||
--without-readlib \
|
||||
--disable-etags \
|
||||
--enable-tmpdir=/tmp \
|
||||
|| die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die "einstall failed"
|
||||
|
||||
# namepace collision with X/Emacs-provided /usr/bin/ctags -- we
|
||||
# rename ctags to exuberant-ctags (Mandrake does this also).
|
||||
mv "${D}"/usr/bin/{ctags,exuberant-ctags}
|
||||
mv "${D}"/usr/share/man/man1/{ctags,exuberant-ctags}.1
|
||||
|
||||
dodoc FAQ NEWS README
|
||||
dohtml EXTENDING.html ctags.html
|
||||
}
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/ctags/ctags-5.6-r2.ebuild,v 1.6 2012/03/17 23:18:39 mattst88 Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
|
||||
HOMEPAGE="http://ctags.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/ctags/${P}.tar.gz
|
||||
ada? ( mirror://sourceforge/gnuada/ctags-ada-mode-4.3.3.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ada"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-ebuilds.patch"
|
||||
#epatch "${FILESDIR}/${P}-haskell.patch"
|
||||
#epatch "${FILESDIR}/${P}-objc.patch"
|
||||
epatch "${FILESDIR}/${P}-php5.patch"
|
||||
|
||||
# enabling Ada support
|
||||
if use ada; then
|
||||
cp "${WORKDIR}"/ctags-ada-mode-4.3.3/ada.c "${S}"
|
||||
epatch "${FILESDIR}/${PN}-ada.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--with-posix-regex \
|
||||
--without-readlib \
|
||||
--disable-etags \
|
||||
--enable-tmpdir=/tmp \
|
||||
|| die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die "einstall failed"
|
||||
|
||||
# namepace collision with X/Emacs-provided /usr/bin/ctags -- we
|
||||
# rename ctags to exuberant-ctags (Mandrake does this also).
|
||||
mv "${D}"/usr/bin/{ctags,exuberant-ctags}
|
||||
mv "${D}"/usr/share/man/man1/{ctags,exuberant-ctags}.1
|
||||
|
||||
dodoc FAQ NEWS README
|
||||
dohtml EXTENDING.html ctags.html
|
||||
}
|
@ -1,64 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-util/ctags/ctags-5.6-r3.ebuild,v 1.6 2012/03/17 23:18:39 mattst88 Exp $
|
||||
|
||||
inherit eutils
|
||||
|
||||
DESCRIPTION="Exuberant Ctags creates tags files for code browsing in editors"
|
||||
HOMEPAGE="http://ctags.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/ctags/${P}.tar.gz
|
||||
ada? ( mirror://sourceforge/gnuada/ctags-ada-mode-4.3.3.tar.bz2 )"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="ada"
|
||||
|
||||
DEPEND="app-admin/eselect-ctags"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
epatch "${FILESDIR}/${P}-ebuilds.patch"
|
||||
#epatch "${FILESDIR}/${P}-haskell.patch"
|
||||
#epatch "${FILESDIR}/${P}-objc.patch"
|
||||
epatch "${FILESDIR}/${P}-php5.patch"
|
||||
|
||||
# enabling Ada support
|
||||
if use ada; then
|
||||
cp "${WORKDIR}/${PN}-ada-mode-4.3.3/ada.c" "${S}"
|
||||
epatch "${FILESDIR}/${PN}-ada.patch"
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--with-posix-regex \
|
||||
--without-readlib \
|
||||
--disable-etags \
|
||||
--enable-tmpdir=/tmp \
|
||||
|| die "econf failed"
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die "einstall failed"
|
||||
|
||||
# namepace collision with X/Emacs-provided /usr/bin/ctags -- we
|
||||
# rename ctags to exuberant-ctags (Mandrake does this also).
|
||||
mv "${D}"/usr/bin/{ctags,exuberant-ctags}
|
||||
mv "${D}"/usr/share/man/man1/{ctags,exuberant-ctags}.1
|
||||
|
||||
dodoc FAQ NEWS README
|
||||
dohtml EXTENDING.html ctags.html
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect ctags update
|
||||
elog "You can set the version to be started by /usr/bin/ctags through"
|
||||
elog "the ctags eselect module. \"man ctags.eselect\" for details."
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ctags update
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue