Version bump
authorCédric Krier <cedk@gentoo.org>
Sat, 20 Jan 2007 19:21:39 +0000 (19:21 +0000)
committerCédric Krier <cedk@gentoo.org>
Sat, 20 Jan 2007 19:21:39 +0000 (19:21 +0000)
Package-Manager: portage-2.1.1-r2

app-office/tinyerp-server/ChangeLog
app-office/tinyerp-server/Manifest
app-office/tinyerp-server/files/digest-tinyerp-server-4.0.2 [new file with mode: 0644]
app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild [new file with mode: 0644]

index 943d8b32a5c9b476155f2bbd54128e210dbe1b9e..ce3c8b973e10ea78a5e7a6ca77824acf92def552 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-office/tinyerp-server
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/ChangeLog,v 1.4 2007/01/01 22:11:54 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/ChangeLog,v 1.5 2007/01/20 19:21:39 cedk Exp $
+
+*tinyerp-server-4.0.2 (20 Jan 2007)
+
+  20 Jan 2007; Cedric Krier <cedk@gentoo.org> +tinyerp-server-4.0.2.ebuild:
+  Version bump
 
   01 Jan 2007; Sven Wegener <swegener@gentoo.org>
   tinyerp-server-4.0.1.ebuild:
index 9f9f2a53bcdb0ea67dda2f2946a440735fc6db6a..b7fe57d7048d541381961b80e7517fd6661b398f 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX tinyerp-conf.d 737 RMD160 fd8104a61a071cba679882fa5a96842716245909 SHA1 efbf304fc259cb7d04f308fcfc88c0fb41586572 SHA256 f683d85b5ec1b85d48cdbfbc89484a6236cc0084ca833c4bf2f349ee7a866b65
 MD5 4fc48955ad294ad4a0d32b4269457cfd files/tinyerp-conf.d 737
 RMD160 fd8104a61a071cba679882fa5a96842716245909 files/tinyerp-conf.d 737
@@ -19,6 +16,7 @@ RMD160 6b78222bba4be1fadb726a57aaf073a993806422 files/tinyerp-server-4.0.1-setup
 SHA256 2d80babf933a46e981d5f30dfe63e977d3afc0709a1efb8461625dc33456e97e files/tinyerp-server-4.0.1-setup.patch 1029
 DIST tinyerp-server-4.0.0.tar.gz 2984163 RMD160 caab72f15577b49acdae45da9e37f68994ae3694 SHA1 187aa1c98d1da84f836ac4a90c053615b574c4ce SHA256 a742072c718f741914c607e717dbcb1c9c82a478f5d54cf23c3b454f21b22f0f
 DIST tinyerp-server-4.0.1.tar.gz 2995164 RMD160 f1c396b68eb31363f64118551b993930d3c54203 SHA1 f865b1e25a2f8c6542f7d789ef656bf02cb2d133 SHA256 4527f90c06bfca823feb18cf76ec63cd08c86e5fb2775ddada0a2df443b03181
+DIST tinyerp-server-4.0.2.tar.gz 2997803 RMD160 ca691744a8599fd104c64390340977a989b9f1ff SHA1 bfbe611a4b33477ace2bc34f1863bd4ef97d8ba2 SHA256 38efc47defd1470e053dbc8a772678a03e7940a9dc4ca397bafc8e6216eb6847
 EBUILD tinyerp-server-4.0.0.ebuild 1936 RMD160 d563e6bf7a6d0698756ab07e18def1d4ff70d6b6 SHA1 0c61e9904f5853295e836d6ed5ff1f1ed24bd5cf SHA256 bedf22d73e7a4bfc181de72483afe90ce75a0d0d024a84d38f8ab947b2676b81
 MD5 17ec22bc9cb144515380ecf9cf703101 tinyerp-server-4.0.0.ebuild 1936
 RMD160 d563e6bf7a6d0698756ab07e18def1d4ff70d6b6 tinyerp-server-4.0.0.ebuild 1936
@@ -27,10 +25,14 @@ EBUILD tinyerp-server-4.0.1.ebuild 1936 RMD160 6712c38ebf5703570f0f3cb67500956e1
 MD5 14032b4fb1c7ec230b8055f5604a6953 tinyerp-server-4.0.1.ebuild 1936
 RMD160 6712c38ebf5703570f0f3cb67500956e1245e850 tinyerp-server-4.0.1.ebuild 1936
 SHA256 64aa7223d311ef6b18659d348e8036987740e97a2f28b96f2f81f5be7fe9d965 tinyerp-server-4.0.1.ebuild 1936
-MISC ChangeLog 935 RMD160 50cb6d78155b2aad5f5caafe1d741cf40531d989 SHA1 05daca14c9b707e62971ab01a452efdf06f6d6b1 SHA256 daeb6f91e81f331b35ed097e9b1262128f244fd8e59251c2f99584cafcdd455c
-MD5 b15b54657a77866e86a4cbc4ac26fa0f ChangeLog 935
-RMD160 50cb6d78155b2aad5f5caafe1d741cf40531d989 ChangeLog 935
-SHA256 daeb6f91e81f331b35ed097e9b1262128f244fd8e59251c2f99584cafcdd455c ChangeLog 935
+EBUILD tinyerp-server-4.0.2.ebuild 1851 RMD160 b027d6c665b302ffc78528dc41472d92e82c247f SHA1 85752831c4b1e656996065ca3ac79a5708b54d21 SHA256 ae39f212c701f009691d5ef342f2cb8d7acabcd56a9f423aee07ce397148a34f
+MD5 6bdd9039971fbfef6be2d4f11b4ebf3b tinyerp-server-4.0.2.ebuild 1851
+RMD160 b027d6c665b302ffc78528dc41472d92e82c247f tinyerp-server-4.0.2.ebuild 1851
+SHA256 ae39f212c701f009691d5ef342f2cb8d7acabcd56a9f423aee07ce397148a34f tinyerp-server-4.0.2.ebuild 1851
+MISC ChangeLog 1060 RMD160 229a772577894782b193a2aa6bdec94e62296835 SHA1 83ac54ade2d72e1d0698359eb07ee6c622ef81a8 SHA256 82e96a53f8c571e52456a379ca29c16c65ff2b3e1709d80e04c85d4b02fe6e56
+MD5 c57a12b2553591b17db288961ddee13e ChangeLog 1060
+RMD160 229a772577894782b193a2aa6bdec94e62296835 ChangeLog 1060
+SHA256 82e96a53f8c571e52456a379ca29c16c65ff2b3e1709d80e04c85d4b02fe6e56 ChangeLog 1060
 MISC metadata.xml 284 RMD160 ac769fb0d742e57e331042699926a209194189c6 SHA1 adf5999b09847fd8a7b82aa1b8d0f78296b676a5 SHA256 fcb9a8a44ce9ce002637c2e430ae9f6ee90468eed6aad3b6306c200f1dc233b8
 MD5 7b5e8018fb81b89379122a48a5620125 metadata.xml 284
 RMD160 ac769fb0d742e57e331042699926a209194189c6 metadata.xml 284
@@ -41,10 +43,6 @@ SHA256 223ac30b0227a25f5c01281917912013650421523acb381754ceb98c6fed400d files/di
 MD5 7fc79e5ff4e7c8d8b4e9ca424e143aea files/digest-tinyerp-server-4.0.1 265
 RMD160 0f8b3d952d216bfc720bb3d6cc287413ab58caf7 files/digest-tinyerp-server-4.0.1 265
 SHA256 70779fd33307cb1655b0d90e3c9b0828ef6406255a57221c4650048ff4e20dd6 files/digest-tinyerp-server-4.0.1 265
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
-
-iD4DBQFFmYcxI1lqEGTUzyQRAhKdAJjucWc+TpR28ORmzKia1QMlX2cNAJ9UpOUV
-ZlQ2AihbktH8mEsqFiyxjw==
-=2ScT
------END PGP SIGNATURE-----
+MD5 2ded345e084a3606dbab2782103a18d7 files/digest-tinyerp-server-4.0.2 265
+RMD160 81e87cb8050d4ba68acf0bf94d57277bfdcf1663 files/digest-tinyerp-server-4.0.2 265
+SHA256 2164a993b6af2eb7207301dd16d3f85278f1befdce33dfb6ae885a37558f07bd files/digest-tinyerp-server-4.0.2 265
diff --git a/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.2 b/app-office/tinyerp-server/files/digest-tinyerp-server-4.0.2
new file mode 100644 (file)
index 0000000..9aa4199
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 be68a31b958b7160c5e4ff3f0c616e43 tinyerp-server-4.0.2.tar.gz 2997803
+RMD160 ca691744a8599fd104c64390340977a989b9f1ff tinyerp-server-4.0.2.tar.gz 2997803
+SHA256 38efc47defd1470e053dbc8a772678a03e7940a9dc4ca397bafc8e6216eb6847 tinyerp-server-4.0.2.tar.gz 2997803
diff --git a/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild b/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild
new file mode 100644 (file)
index 0000000..5aad5e3
--- /dev/null
@@ -0,0 +1,71 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/tinyerp-server/tinyerp-server-4.0.2.ebuild,v 1.1 2007/01/20 19:21:39 cedk Exp $
+
+inherit eutils distutils
+
+DESCRIPTION="Open Source ERP & CRM"
+HOMEPAGE="http://tinyerp.org/"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND=">=dev-db/postgresql-7.4
+       dev-python/pypgsql
+       dev-python/reportlab
+       dev-python/pyparsing
+       media-gfx/pydot
+       =dev-python/psycopg-1*
+       dev-libs/libxml2
+       dev-libs/libxslt"
+RDEPEND=${DEPEND}
+
+TINYERP_USER=terp
+TINYERP_GROUP=terp
+
+pkg_setup() {
+       if ! built_with_use dev-libs/libxslt python ; then
+               eerror "dev-libs/libxslt must be built with python"
+               die "${PN} requires dev-libs/libxslt with USE=python"
+       fi
+}
+
+src_install() {
+       distutils_src_install
+
+       newinitd "${FILESDIR}"/tinyerp-init.d tinyerp
+       newconfd "${FILESDIR}"/tinyerp-conf.d tinyerp
+
+       keepdir /var/run/tinyerp
+       keepdir /var/log/tinyerp
+}
+
+pkg_preinst() {
+       enewgroup ${TINYERP_GROUP}
+       enewuser ${TINYERP_USER} -1 -1 -1 ${TINYERP_GROUP}
+
+       fowners ${TINYERP_USER}:${TINYERP_GROUP} /var/run/tinyerp
+       fowners ${TINYERP_USER}:${TINYERP_GROUP} /var/log/tinyerp
+}
+
+pkg_postinst() {
+       elog "In order to setup the initial database, run:"
+       elog "  emerge --config =${CATEGORY}/${PF}"
+       elog "Be sure the database is started before"
+}
+
+pquery() {
+       psql -q -At -U postgres -d template1 -c "$@"
+}
+
+pkg_config() {
+       einfo "In the following, the 'postgres' user will be used."
+       if ! pquery "SELECT usename FROM pg_user WHERE usename = '${TINYERP_USER}'" | grep -q ${TINYERP_USER}; then
+               ebegin "Creating database user ${TINYERP_USER}"
+               createuser --quiet --username=postgres --createdb --no-adduser --no-createrole ${TINYERP_USER}
+               eend $? || die "Failed to create database user"
+       fi
+}