Initial commit. Closes bug #290160
authorJesus Rivero <neurogeek@gentoo.org>
Sat, 13 Mar 2010 18:33:39 +0000 (18:33 +0000)
committerJesus Rivero <neurogeek@gentoo.org>
Sat, 13 Mar 2010 18:33:39 +0000 (18:33 +0000)
Package-Manager: portage-2.2_rc63/cvs/Linux i686

dev-db/desktopcouch/ChangeLog [new file with mode: 0644]
dev-db/desktopcouch/Manifest [new file with mode: 0644]
dev-db/desktopcouch/desktopcouch-0.6.1.ebuild [new file with mode: 0644]
dev-db/desktopcouch/files/desktopcouch-setup_hardlinks.patch [new file with mode: 0644]
dev-db/desktopcouch/metadata.xml [new file with mode: 0644]

diff --git a/dev-db/desktopcouch/ChangeLog b/dev-db/desktopcouch/ChangeLog
new file mode 100644 (file)
index 0000000..a3668f5
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for dev-db/desktopcouch
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/desktopcouch/ChangeLog,v 1.1 2010/03/13 18:33:38 neurogeek Exp $
+
+*desktopcouch-0.6.1 (13 Mar 2010)
+
+  13 Mar 2010; Jesus Rivero <neurogeek@gentoo.org>
+  +desktopcouch-0.6.1.ebuild, +files/desktopcouch-setup_hardlinks.patch,
+  +metadata.xml:
+  Initial commit. Closes bug #290160.
+
diff --git a/dev-db/desktopcouch/Manifest b/dev-db/desktopcouch/Manifest
new file mode 100644 (file)
index 0000000..11d63b6
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX desktopcouch-setup_hardlinks.patch 1360 RMD160 4051264568c40c7c07f68f147abec6ee47e229b4 SHA1 3ce481fc669829bfd93aff466bd6b0799a5bf9fb SHA256 3fc006ea61b26fb7cb100e827cc5fab5ab636f305a6aa7c1e2e57faa4d0f0097
+DIST desktopcouch-0.6.1.tar.gz 96707 RMD160 33e50115e91da1abb3bacca3805bfbd57a0fd967 SHA1 4e5acd3cb19e3f9dafb2a41f16b37b7662c50c7f SHA256 75dbec97475047a02006f0347a4e736188dfc4760136b5d01f9390712113a964
+EBUILD desktopcouch-0.6.1.ebuild 1343 RMD160 11b8064863bbc102140d6dee77a23afd96bf7e36 SHA1 d35cbd72fb1dd13043a8c75c4aea8c56b6869836 SHA256 7bb8a92e405e5245b1a899f163349a9eb041d1b3a70099c08eabbec9dac2862a
+MISC ChangeLog 429 RMD160 6d802369c02502c1541d6555fce1540cf0710a85 SHA1 3357f8ed72d0156e5ee0ceb72509377f989f6e7e SHA256 0f6fc53eccf9a1d7de56b011f2f4bd43ab6d7d0ff4f24d4bf7884cf3e7b1a4df
+MISC metadata.xml 255 RMD160 b69d2df062aad1158c03b925d5bfdeab02f98db2 SHA1 c94d776662afd93f3be5dc1fea7793b80738dbc5 SHA256 01d09f8eee4532c21a12d462263dfa84fda9e1b421410b13fe9799ed4680ba7b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkubzSUACgkQdIssYB9vBoOv0gCeMD+KdszUvG/daRLwqQBdIfHS
+ZIYAnjwiD4/6b6ORHmYTXJi9K62p75xZ
+=QtlZ
+-----END PGP SIGNATURE-----
diff --git a/dev-db/desktopcouch/desktopcouch-0.6.1.ebuild b/dev-db/desktopcouch/desktopcouch-0.6.1.ebuild
new file mode 100644 (file)
index 0000000..5855708
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-db/desktopcouch/desktopcouch-0.6.1.ebuild,v 1.1 2010/03/13 18:33:38 neurogeek Exp $
+
+PYTHONDEPEND="2"
+EAPI="2"
+
+inherit distutils
+inherit eutils
+
+DESCRIPTION="Desktop-oriented interface to CouchDB"
+HOMEPAGE="https://launchpad.net/desktopcouch"
+SRC_URI="http://launchpad.net/desktopcouch/trunk/${PV}/+download/${P}.tar.gz"
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=dev-python/python-distutils-extra-2.12"
+RDEPEND=">=dev-db/couchdb-0.10.0
+                >=dev-python/gnome-keyring-python-2.22.3-r1
+                >=dev-python/couchdb-python-0.6
+                >=dev-python/oauth-1.0.1
+                >=dev-python/simplejson-2.0.9-r1
+                >=dev-python/twisted-8.2.0-r2
+                >=net-dns/avahi-0.6.24-r2[python]"
+RESTRICT="test"
+
+src_prepare() {
+       epatch "${FILESDIR}/${PN}-setup_hardlinks.patch"
+}
+
+src_install() {
+       distutils_src_install
+
+       exeinto "${ROOT}/usr/lib/${PN}"
+       doexe "/usr/lib/desktopcouch/desktopcouch-stop"
+       doexe "/usr/lib/desktopcouch/desktopcouch-service"
+
+       if use doc; then
+               insinto "${ROOT}/usr/share/doc/${PF}/api"
+               doins "desktopcouch/records/doc/records.txt"
+               doins "desktopcouch/records/doc/field_registry.txt"
+               doins "desktopcouch/contacts/schema.txt"
+
+               doman "docs/man/desktopcouch-pair.1"
+       fi
+
+}
diff --git a/dev-db/desktopcouch/files/desktopcouch-setup_hardlinks.patch b/dev-db/desktopcouch/files/desktopcouch-setup_hardlinks.patch
new file mode 100644 (file)
index 0000000..40d12b4
--- /dev/null
@@ -0,0 +1,23 @@
+--- setup.py.orig      2010-03-12 22:30:22.000000000 +0000
++++ setup.py   2010-03-12 22:42:57.000000000 +0000
+@@ -31,18 +31,11 @@
+     test_suite="runtests.get_test_suite",
+     packages=find_packages(),
+     scripts=['bin/desktopcouch-pair'],
+-    data_files = [('/usr/lib/desktopcouch/', ['bin/desktopcouch-service',
+-                                              'bin/desktopcouch-stop']),
+-                  # Be sure all additions are reflected in MANIFEST.in !
+-                  ('/usr/share/doc/python-desktopcouch-records/api/',
+-                      ['desktopcouch/records/doc/records.txt',
+-                      'desktopcouch/records/doc/field_registry.txt',
+-                      'desktopcouch/contacts/schema.txt']),
++    data_files = [# Be sure all additions are reflected in MANIFEST.in !
+                   ('/etc/xdg/desktop-couch/',
+                       ['config/desktop-couch/compulsory-auth.ini']),
+                   ('/usr/share/desktopcouch/', ['data/couchdb.tmpl']),
+-                  ('/usr/share/dbus-1/services/', ['org.desktopcouch.CouchDB.service']),
+-                  ('share/man/man1/', ['docs/man/desktopcouch-pair.1'])],
++                  ('/usr/share/dbus-1/services/', ['org.desktopcouch.CouchDB.service']),],
+     cmdclass = { "build" : build_extra.build_extra,
+                  "build_i18n" :  build_i18n.build_i18n }
+ )
diff --git a/dev-db/desktopcouch/metadata.xml b/dev-db/desktopcouch/metadata.xml
new file mode 100644 (file)
index 0000000..2ea988a
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>python</herd>
+       <maintainer>
+               <email>neurogeek@gentoo.org</email>
+               <name>Jesus Rivero</name>
+       </maintainer>
+</pkgmetadata>