]> Pileus Git - ~andy/sunrise/commitdiff
app-office/tinyerp-client: Ebuild for bug 107045 thanks Tommie, Ciaran McCreesh,...
authorCédric Krier <cedk@gentoo.org>
Wed, 18 Oct 2006 21:29:57 +0000 (21:29 +0000)
committerCédric Krier <cedk@gentoo.org>
Wed, 18 Oct 2006 21:29:57 +0000 (21:29 +0000)
svn path=/sunrise/; revision=1581

app-office/tinyerp-client/ChangeLog [new file with mode: 0644]
app-office/tinyerp-client/Manifest [new file with mode: 0644]
app-office/tinyerp-client/files/digest-tinyerp-client-3.4.2 [new file with mode: 0644]
app-office/tinyerp-client/files/tinyerp-3.4.2-options.patch [new file with mode: 0644]
app-office/tinyerp-client/files/tinyerp-client-3.4.2-options.patch [new file with mode: 0644]
app-office/tinyerp-client/files/tinyerp-client-3.4.2-setup.patch [new file with mode: 0644]
app-office/tinyerp-client/metadata.xml [new file with mode: 0644]
app-office/tinyerp-client/tinyerp-client-3.4.2.ebuild [new file with mode: 0644]

diff --git a/app-office/tinyerp-client/ChangeLog b/app-office/tinyerp-client/ChangeLog
new file mode 100644 (file)
index 0000000..2791e78
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for app-office/tinyerp-client
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+  18 Oct 2006; Cedric Krier <ced@ced.homedns.org>
+  +tinyerp-client-3.4.2.ebuild, +files/tinyerp-client-3.4.2-options.patch,
+  +files/tinyerp-3.4.2-options.patch,
+  +files/tinyerp-client-3.4.2-setup.patch, +metadata.xml:
+  Ebuild for bug 107045 thanks Tommie, Ciaran McCreesh, lzap, Masse Nicolas,
+  Jean Delattre
+
diff --git a/app-office/tinyerp-client/Manifest b/app-office/tinyerp-client/Manifest
new file mode 100644 (file)
index 0000000..847a245
--- /dev/null
@@ -0,0 +1,28 @@
+AUX tinyerp-3.4.2-options.patch 530 RMD160 091e1677d34b35af9371b1ee92a0fb98fe63e5d7 SHA1 5c3f6278878a57f46fe0f2cf8e70c8291ff5cc28 SHA256 2ec8fb2f14075b2183d21cdd489f0afae09190e4d08b7211a051a8e2a326f373
+MD5 78a181b1bcf3c82b5b3ba1c1168fb56d files/tinyerp-3.4.2-options.patch 530
+RMD160 091e1677d34b35af9371b1ee92a0fb98fe63e5d7 files/tinyerp-3.4.2-options.patch 530
+SHA256 2ec8fb2f14075b2183d21cdd489f0afae09190e4d08b7211a051a8e2a326f373 files/tinyerp-3.4.2-options.patch 530
+AUX tinyerp-client-3.4.2-options.patch 530 RMD160 bb675dc7e5d42163528b8265cb57f45921cde75d SHA1 7d567d716302f846a19895000963cde5989431a3 SHA256 840a605f1ebcb3de19487093d6f60c4e0a4e5a9d204ff9611bf831a3a091291c
+MD5 7dfe5f307ecb3a0926c134963ac3684c files/tinyerp-client-3.4.2-options.patch 530
+RMD160 bb675dc7e5d42163528b8265cb57f45921cde75d files/tinyerp-client-3.4.2-options.patch 530
+SHA256 840a605f1ebcb3de19487093d6f60c4e0a4e5a9d204ff9611bf831a3a091291c files/tinyerp-client-3.4.2-options.patch 530
+AUX tinyerp-client-3.4.2-setup.patch 853 RMD160 7149911c5d7aae95b8486423b24c87565deb958a SHA1 3d338e77689ea368b1dbe167a6a072a0066d59fc SHA256 0abbc2e5894aa0cd16e751c8e2a09c0af7603b39217a3d1e7053fa56ac226262
+MD5 44a7696ab124266882935f0fa79b7fe1 files/tinyerp-client-3.4.2-setup.patch 853
+RMD160 7149911c5d7aae95b8486423b24c87565deb958a files/tinyerp-client-3.4.2-setup.patch 853
+SHA256 0abbc2e5894aa0cd16e751c8e2a09c0af7603b39217a3d1e7053fa56ac226262 files/tinyerp-client-3.4.2-setup.patch 853
+DIST tinyerp-client-3.4.2.tar.gz 1270927 RMD160 97dde721140f8fcf6234e97b20ed19cfa2e32e43 SHA1 3a109cc73ac2849449cc593d4c1e3a957e1c8482 SHA256 cd3c480ec452977d587b259af8c0798bb89dd97f2fa43f948c2c621d3b5b63e9
+EBUILD tinyerp-client-3.4.2.ebuild 816 RMD160 6c76de59afbe498ccd1bd021f11e96f363dd4c3d SHA1 4cfe7cc6597d09309ecc4b9b3778ce7ed318999c SHA256 f9ccab085cffe8c10db0eea15e53d6e3c4765cdf0c0438c399f23ed739be9da7
+MD5 29de4a69f660744c97027ce4e86e752c tinyerp-client-3.4.2.ebuild 816
+RMD160 6c76de59afbe498ccd1bd021f11e96f363dd4c3d tinyerp-client-3.4.2.ebuild 816
+SHA256 f9ccab085cffe8c10db0eea15e53d6e3c4765cdf0c0438c399f23ed739be9da7 tinyerp-client-3.4.2.ebuild 816
+MISC ChangeLog 441 RMD160 f0606fdf5c3421767ca15b65c2c69028bbccf2e1 SHA1 037e88b03e5c0cc870fb90b849377cc98d5900f4 SHA256 97e5ea0a9afb1fccdff4425fffde01d88912a6a870d54ec8388ed7e55174a154
+MD5 a98adabd8af851868b94daae3808bd65 ChangeLog 441
+RMD160 f0606fdf5c3421767ca15b65c2c69028bbccf2e1 ChangeLog 441
+SHA256 97e5ea0a9afb1fccdff4425fffde01d88912a6a870d54ec8388ed7e55174a154 ChangeLog 441
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
+MD5 1e678929a9fec6632e227bdf2262e9a1 metadata.xml 170
+RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 metadata.xml 170
+SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 metadata.xml 170
+MD5 9388995085066cb64be1014b29006c7f files/digest-tinyerp-client-3.4.2 265
+RMD160 db3e313b2e73156baf8a63717866527a636c09d3 files/digest-tinyerp-client-3.4.2 265
+SHA256 00ad2612d7d2f53009c434c056dc1901d7cbeae5416bf1df849ce1288d48750b files/digest-tinyerp-client-3.4.2 265
diff --git a/app-office/tinyerp-client/files/digest-tinyerp-client-3.4.2 b/app-office/tinyerp-client/files/digest-tinyerp-client-3.4.2
new file mode 100644 (file)
index 0000000..9b66cb4
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 962bb88bc7019d6dc3e8863889524e0f tinyerp-client-3.4.2.tar.gz 1270927
+RMD160 97dde721140f8fcf6234e97b20ed19cfa2e32e43 tinyerp-client-3.4.2.tar.gz 1270927
+SHA256 cd3c480ec452977d587b259af8c0798bb89dd97f2fa43f948c2c621d3b5b63e9 tinyerp-client-3.4.2.tar.gz 1270927
diff --git a/app-office/tinyerp-client/files/tinyerp-3.4.2-options.patch b/app-office/tinyerp-client/files/tinyerp-3.4.2-options.patch
new file mode 100644 (file)
index 0000000..95bc4d2
--- /dev/null
@@ -0,0 +1,13 @@
+--- tinyerp-client-3.4.2~/bin/options.py       2006-10-17 20:35:15.000000000 +0200
++++ tinyerp-client-3.4.2/bin/options.py        2006-10-17 21:04:58.000000000 +0200
+@@ -65,8 +65,8 @@
+                       'client.modepda': False,
+                       'client.toolbar': 'both',
+                       'client.theme': 'none',
+-                      'path.share': os.path.dirname(__file__),
+-                      'path.pixmaps': os.path.dirname(__file__),
++                      'path.share': '/usr/share/tinyerp-client',
++                      'path.pixmaps': '/usr/share/pixmaps/tinyerp-client',
+                       'tip.autostart': True,
+                       'tip.position': 0,
+                       'survey.position': 0,
diff --git a/app-office/tinyerp-client/files/tinyerp-client-3.4.2-options.patch b/app-office/tinyerp-client/files/tinyerp-client-3.4.2-options.patch
new file mode 100644 (file)
index 0000000..799a593
--- /dev/null
@@ -0,0 +1,13 @@
+--- tinyerp-client-3.4.2~/bin/options.py       2006-10-17 20:35:15.000000000 +0200
++++ tinyerp-client-3.4.2/bin/options.py        2006-10-17 20:35:59.000000000 +0200
+@@ -65,8 +65,8 @@
+                       'client.modepda': False,
+                       'client.toolbar': 'both',
+                       'client.theme': 'none',
+-                      'path.share': os.path.dirname(__file__),
+-                      'path.pixmaps': os.path.dirname(__file__),
++                      'path.share': '/usr/share/tinyerp-client',
++                      'path.pixmaps': '/usr/share/pixmaps/tinyerp-client',
+                       'tip.autostart': True,
+                       'tip.position': 0,
+                       'survey.position': 0,
diff --git a/app-office/tinyerp-client/files/tinyerp-client-3.4.2-setup.patch b/app-office/tinyerp-client/files/tinyerp-client-3.4.2-setup.patch
new file mode 100644 (file)
index 0000000..ca8c99c
--- /dev/null
@@ -0,0 +1,23 @@
+--- tinyerp-client-3.4.2~/setup.py     2006-10-17 20:35:15.000000000 +0200
++++ tinyerp-client-3.4.2/setup.py      2006-10-18 23:21:44.000000000 +0200
+@@ -44,9 +44,9 @@
+              (opj('share','doc', 'tinyerp-client-%s' % version), 
+               [f for f in glob.glob('doc/*') if os.path.isfile(f)]),
+              (opj('share', 'pixmaps', 'tinyerp-client'),
+-              glob.glob('pixmaps/*.png') + glob.glob('bin/*.png')),
++              glob.glob('pixmaps/*.png')),
+              (opj('share', 'tinyerp-client'),
+-              ['bin/terp.glade', 'bin/tipoftheday.txt'])]
++              ['bin/terp.glade', 'bin/tipoftheday.txt'] + glob.glob('bin/*.png'))]
+     return files
+ included_plugins = ['workflow_print']
+@@ -81,7 +81,7 @@
+ Programming Language :: Python
+ """
+-check_modules()
++#check_modules()
+ # create startup script
+ start_script = \
diff --git a/app-office/tinyerp-client/metadata.xml b/app-office/tinyerp-client/metadata.xml
new file mode 100644 (file)
index 0000000..7e32869
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/app-office/tinyerp-client/tinyerp-client-3.4.2.ebuild b/app-office/tinyerp-client/tinyerp-client-3.4.2.ebuild
new file mode 100644 (file)
index 0000000..fedff17
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit distutils eutils
+
+DESCRIPTION="Open Source ERP & CRM client"
+HOMEPAGE="http://tinyerp.org/"
+SRC_URI="${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+RESTRICT="fetch"
+
+DEPEND=">=dev-lang/python-2.3
+       >=dev-python/pygtk-2.6"
+RDEPEND=${DEPEND}
+
+DOWNLOAD_URL="http://tinyerp.com/component/option,com_vfm/Itemid,61/do,download/file,stable|source|i${P}.tar.gz/"
+pkg_nofetch() {
+       einfo "Please donwload ${SRC_URI} from:"
+       einfo ${DOWNLOAD_URL}
+       einfo "and move it to ${DISTDIR}"
+}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+
+       epatch "${FILESDIR}/${P}-setup.patch"
+       epatch "${FILESDIR}/${P}-options.patch"
+}
+
+src_install() {
+       distutils_src_install
+
+       keepdir /usr/share/${PN}/themes
+}