summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-04-24 12:02:30 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-04-24 12:02:30 +0000
commitd469b6296f659d622d841bcad09e1aa99300d361 (patch)
tree39d650afd3371ff0950057c4e127186d33da5ee4 /net-libs/rest
parent(Re)keyword for Prefix, bug #358079 (diff)
downloadhistorical-d469b6296f659d622d841bcad09e1aa99300d361.tar.gz
historical-d469b6296f659d622d841bcad09e1aa99300d361.tar.bz2
historical-d469b6296f659d622d841bcad09e1aa99300d361.zip
Move librest from the gnome overlay to tree
Package-Manager: portage-2.1.9.46/cvs/Linux x86_64
Diffstat (limited to 'net-libs/rest')
-rw-r--r--net-libs/rest/ChangeLog10
-rw-r--r--net-libs/rest/Manifest25
-rw-r--r--net-libs/rest/files/rest-0.7.10-disable-broken-test.patch21
-rw-r--r--net-libs/rest/metadata.xml11
-rw-r--r--net-libs/rest/rest-0.7.10.ebuild53
5 files changed, 120 insertions, 0 deletions
diff --git a/net-libs/rest/ChangeLog b/net-libs/rest/ChangeLog
new file mode 100644
index 000000000000..31723dad03cf
--- /dev/null
+++ b/net-libs/rest/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-libs/rest
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rest/ChangeLog,v 1.1 2011/04/24 12:02:30 nirbheek Exp $
+
+*rest-0.7.10 (24 Apr 2011)
+
+ 24 Apr 2011; Nirbheek Chauhan <nirbheek@gentoo.org> +rest-0.7.10.ebuild,
+ +files/rest-0.7.10-disable-broken-test.patch, +metadata.xml:
+ Move librest from the gnome overlay to tree
+
diff --git a/net-libs/rest/Manifest b/net-libs/rest/Manifest
new file mode 100644
index 000000000000..7dc500532e39
--- /dev/null
+++ b/net-libs/rest/Manifest
@@ -0,0 +1,25 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX rest-0.7.10-disable-broken-test.patch 738 RMD160 596fdb3b5323cd32f66498e0853d3b3cf2ee2c0c SHA1 818c1d1352f10304012452ffc85b50afbb4df1e0 SHA256 c9b9676c4fb65d56436943a582b7837003239205cf309dd7e9e23d1cc0183bd7
+DIST rest-0.7.10.tar.bz2 419840 RMD160 39f0f36336503cc32dbd8ad9c8c3bec7f74eeed3 SHA1 392b1144568ce773f2be04f71e3b60987db09ecf SHA256 2908f974ae6cc71af1152d419209f307bcce8ca2dfe0b4b55b3fad8ba4a646a5
+EBUILD rest-0.7.10.ebuild 1290 RMD160 623a86c0bf6c3788662fec5c2804078e15f9b947 SHA1 26e261195c780d422db9b6e0ec097b1c235d57d3 SHA256 e826b6b6a65ef8f7e412ff97adce37d0403daf16c315fff0c5fbe9db9777476e
+MISC ChangeLog 414 RMD160 08435d512798ea3056a5ea34d3b6466a8fb3ac67 SHA1 af01f187b026b351846e3041cef51488342357d1 SHA256 a7879cdb46bd5bdeae607ad0a3cb8be39b23c6d1e1e17494f4d49c0453298f53
+MISC metadata.xml 380 RMD160 12b825fea1dbe12b55d10a7dd71c24c063cf2225 SHA1 a2489a6c6d31c5a3942e0412c9d0b69715259b3a SHA256 9af7d55126bb51bb23f37aba94b95f21c07fb068bcc1ab3a92714f2794c69b2f
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBAgAGBQJNtBFcAAoJEO/kOhxWD91kaEcQALPcs/7NM3m0DoXhJsaeYJD/
+MtrpFU6b0MgwVMr+Kp29VbYxqz9pZav+Gkbav1j33MkWbmmLioYA5pK0Bri3dAYb
+yQun+13Yz7nutU+NT4sB1yllNb+xnke8v4GqpfJNUWckzbWBEPHN091LiT8aVXtD
+eTnlGiBpDK5R/smhnR9nk44lUeNHGyHm0fRjQJDYvW+YCfAbYWd+SO61CSVirXkx
+8juBtjnF4wv06RzGjIdq//UIDVDcLaJ5zh5FAN/itNqxooWxCwyhDGFOphMT14vg
+bJYDl4gTm/W8VtiDQzucY39w6K0Ccd2p97s/673QOZrrf+3MjIyFcx51bVoWusvi
+CztYA6/3H3R8ntsRme3+OyxWxBNw3vaq3E5P/leMAq9iQnhx7ZRVIwtUoa409YLa
+WC/LIbrWh8FTU7kmss3HoEKQSmH7fePprrOoW4rrXklQ3d2bD6Z1QHUxCEnipPsQ
+oQtPTKHrmVU5RwU0JxXt0Unl2AD63/HFbdCO1tYWVP7qcyXPR+HqeAPhiPganqW4
+HC3anQeJD7NBpulq4bHuOxDzR8+JsWMxhOy/9/puxctK4E/TF229/xGrmM+kvsQ0
+DWx5tMUU2FqcdeKV4sgMKNk8I54ea86H8u6l00h5NnJjmf9P5bDXS46iKsZRncxk
+ihnnhTNn03y5XkCFEQB7
+=z41G
+-----END PGP SIGNATURE-----
diff --git a/net-libs/rest/files/rest-0.7.10-disable-broken-test.patch b/net-libs/rest/files/rest-0.7.10-disable-broken-test.patch
new file mode 100644
index 000000000000..32478540d3a2
--- /dev/null
+++ b/net-libs/rest/files/rest-0.7.10-disable-broken-test.patch
@@ -0,0 +1,21 @@
+--- tests/Makefile.am
++++ tests/Makefile.am
+@@ -1,6 +1,6 @@
+ TESTS = proxy proxy-continuous threaded oauth oauth-async oauth2 flickr lastfm xml custom-serialize
+ # TODO: fix this test case
+-XFAIL_TESTS = xml
++XFAIL_TESTS = xml custom-serialize
+
+ AM_CPPFLAGS = $(SOUP_CFLAGS) -I$(top_srcdir) $(GCOV_CFLAGS)
+ AM_LDFLAGS = $(SOUP_LIBS) $(GCOV_LDFLAGS) \
+--- tests/Makefile.in
++++ tests/Makefile.in
+@@ -37,7 +37,7 @@
+ oauth$(EXEEXT) oauth-async$(EXEEXT) oauth2$(EXEEXT) \
+ flickr$(EXEEXT) lastfm$(EXEEXT) xml$(EXEEXT) \
+ custom-serialize$(EXEEXT)
+-XFAIL_TESTS = xml$(EXEEXT)
++XFAIL_TESTS = xml$(EXEEXT) custom-serialize$(EXEEXT)
+ check_PROGRAMS = $(am__EXEEXT_1)
+ subdir = tests
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
diff --git a/net-libs/rest/metadata.xml b/net-libs/rest/metadata.xml
new file mode 100644
index 000000000000..3f72a458d788
--- /dev/null
+++ b/net-libs/rest/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>gnome</herd>
+ <use>
+ <flag name="gnome">Extract proxy information using
+ <pkg>net-libs/libsoup-gnome</pkg></flag>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+ for introspection</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-libs/rest/rest-0.7.10.ebuild b/net-libs/rest/rest-0.7.10.ebuild
new file mode 100644
index 000000000000..26e854d2c3ca
--- /dev/null
+++ b/net-libs/rest/rest-0.7.10.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/rest/rest-0.7.10.ebuild,v 1.1 2011/04/24 12:02:30 nirbheek Exp $
+
+EAPI="3"
+GCONF_DEBUG="no"
+GNOME2_LA_PUNT="yes"
+
+inherit eutils gnome2 virtualx
+
+DESCRIPTION="Helper library for RESTful services"
+HOMEPAGE="http://git.gnome.org/browse/librest"
+
+LICENSE="LGPL-2.1"
+SLOT="0.7"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc +gnome +introspection test"
+
+# XXX: coverage testing should not be enabled
+RDEPEND=">=dev-libs/glib-2.18:2
+ dev-libs/libxml2:2
+ net-libs/libsoup:2.4
+
+ gnome? ( >=net-libs/libsoup-gnome-2.25.1:2.4 )
+ introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
+DEPEND="${RDEPEND}
+ >=dev-util/intltool-0.40
+ dev-util/pkgconfig
+ doc? ( >=dev-util/gtk-doc-1.13 )
+ test? ( sys-apps/dbus )"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --disable-static
+ --disable-gcov
+ $(use_with gnome)
+ $(use_enable introspection)"
+ DOCS="AUTHORS NEWS README"
+}
+
+src_prepare() {
+ # Conditional patching because the test passes without libsoup
+ if use test && use gnome; then
+ # https://bugs.meego.com/show_bug.cgi?id=16650
+ epatch "${FILESDIR}/${P}-disable-broken-test.patch"
+ fi
+ gnome2_src_prepare
+}
+
+src_test() {
+ # Tests need dbus
+ Xemake check || die
+}