summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-10-18 20:43:10 +0200
committerPacho Ramos <pacho@gentoo.org>2016-10-18 21:25:12 +0200
commit8112f9dc9f0b5cc60e08a3c32765eb70104b79a4 (patch)
treeddda02ef25736cb1254e574d8169655559079431 /app-office/openerp
parentapp-mobilephone/wammu: Drop old (diff)
downloadgentoo-8112f9dc9f0b5cc60e08a3c32765eb70104b79a4.tar.gz
gentoo-8112f9dc9f0b5cc60e08a3c32765eb70104b79a4.tar.bz2
gentoo-8112f9dc9f0b5cc60e08a3c32765eb70104b79a4.zip
app-office/openerp: Drop old ebuilds using deprecated python eclasses
Package-Manager: portage-2.3.1
Diffstat (limited to 'app-office/openerp')
-rw-r--r--app-office/openerp/Manifest2
-rw-r--r--app-office/openerp/openerp-6.1.1-r1.ebuild105
-rw-r--r--app-office/openerp/openerp-7.0.20130219-r5.ebuild108
3 files changed, 0 insertions, 215 deletions
diff --git a/app-office/openerp/Manifest b/app-office/openerp/Manifest
index 40c10de71201..1af48cc647d0 100644
--- a/app-office/openerp/Manifest
+++ b/app-office/openerp/Manifest
@@ -1,4 +1,2 @@
-DIST openerp-6.1-1.tar.gz 73310629 SHA256 a89016d706f1693833590d2ce5cf7768fb3586213661014adad5ed16cdc77cd7 SHA512 0cf407fda4d7ce414b548310018609381157e656069b5224bb05ae6dbf7d534b9acbbb5be561ec1f9a26786ec6fc9b917fb78faff3c67340916f663ccb5297cf WHIRLPOOL 384ae795df9d23c07a6e06c0c468cb6d9af0c2625648bda5d895271f2d1e07d00b81e7da3d4255f709d5eed299166c65b29ec335a71307ea1a3f6775b590befe
-DIST openerp-7.0-20130219-002614.tar.gz 60420142 SHA256 e4408348259fa8bf86909035a4f86417671f09ac6c4a9ec50c4a55a69e5a3674 SHA512 15cb43d1a698da751a0109c256dd8875b7a064541ee7550c66d70c03143aa6486eb39b05966b1ef77e4cf9b0d333101e84fb8508411a7acf9b0a44a0f8897f3a WHIRLPOOL c4a5840fa9d76840f0da645e4a107296750d32161f21d81b22ba579b35172d2abe2fb24126e2c69de18e0b13a4555a82e938291728f6c370451a150a218fbbeb
DIST openerp-7.0-20140125-002455.tar.gz 64214375 SHA256 2bf832dda8f8e844476bb76cd60be84da1cc219e97be9da15b0a95b1e537bc4e SHA512 a923fe3240cf44f6384f18bd37853d15fe132aab97494e713f095253cd4b72d32a89e33ba3623a523b81b9863da6d5bca24c4020b20829975e4185d6e5093b3e WHIRLPOOL 5a4fcb37a6ea800e63294fe6b9dcbb3f82e91d1f0adfe412935b699b8e0c2901914dcfc5c0c62e2b289e057ecb4f30c5a4c06887c2d8e893ce1c1b03e6f5ce62
DIST openerp-8.0dev-20140125-000101.tar.gz 82648176 SHA256 647c4a5ec28340f7c5a32dd50173b98bf62dd18ba00cc1929538a8803c704da0 SHA512 560f0cd9aadfb010dfba1a114ca17ed8dc7b63fffdd93325811b87530e97a8e629c46442e777bd0c53fb38b1a985e769e3fb5f5edf66b9b45f21be3e8973aedd WHIRLPOOL 1fb6e185250c08e948b11f2ca6581723055eefd0edb6a7999029b950b064c7aebf23a83bc014240c2d2d78284fcf8292761b6cc7733f270f14bfd4a98673a222
diff --git a/app-office/openerp/openerp-6.1.1-r1.ebuild b/app-office/openerp/openerp-6.1.1-r1.ebuild
deleted file mode 100644
index cb5a5d12d946..000000000000
--- a/app-office/openerp/openerp-6.1.1-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-PYTHON_DEPEND="2"
-
-inherit eutils distutils user
-
-DESCRIPTION="Open Source ERP & CRM"
-HOMEPAGE="http://www.openerp.com/"
-FNAME="${PN}-6.1-1"
-SRC_URI="http://nightly.openerp.com/6.1/releases/${FNAME}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="postgres ldap ssl"
-
-CDEPEND="postgres? ( dev-db/postgresql[server] )
- dev-python/lxml
- dev-python/psycopg:2
- dev-python/pychart
- dev-python/reportlab
- media-gfx/pydot
- dev-python/vobject
- dev-python/mako
- dev-python/pyyaml
- dev-python/Babel
- dev-python/gdata
- ldap? ( dev-python/python-ldap )
- dev-python/python-openid
- dev-python/werkzeug
- dev-python/xlwt
- dev-python/feedparser
- dev-python/python-dateutil
- dev-python/pywebdav
- ssl? ( dev-python/pyopenssl )
- dev-python/vatnumber
- dev-python/zsi"
-
-RDEPEND="${CDEPEND}"
-DEPEND="${CDEPEND}"
-
-OPENERP_USER="openerp"
-OPENERP_GROUP="openerp"
-
-S="${WORKDIR}/${FNAME}"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-6.1-setup.py.patch"
-}
-
-src_install() {
- distutils_src_install
-
- doinitd "${FILESDIR}/${PN}-2" "${PN}"
- newconfd "${FILESDIR}/openerp-confd-2" "${PN}"
- keepdir /var/log/openerp
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/openerp.logrotate openerp || die
- dodir /etc/openerp
- insinto /etc/openerp
- newins "${FILESDIR}"/openerp.cfg openerp.cfg || die
-}
-
-pkg_preinst() {
- enewgroup ${OPENERP_GROUP}
- enewuser ${OPENERP_USER} -1 -1 -1 ${OPENERP_GROUP}
-
- fowners ${OPENERP_USER}:${OPENERP_GROUP} /var/run/openerp
- fowners ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp
- fowners -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/"
-
- use postgres || sed -i '6,8d' "${D}/etc/init.d/openerp" || die "sed failed"
-}
-
-pkg_postinst() {
- chown ${OPENERP_USER}:${OPENERP_GROUP} /var/run/openerp
- chown ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp
- chown -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/"
-
- 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 = '${OPENERP_USER}'" | grep -q ${OPENERP_USER}; then
- ebegin "Creating database user ${OPENERP_USER}"
- createuser --username=postgres --createdb --no-adduser ${OPENERP_USER}
- eend $? || die "Failed to create database user"
- fi
-}
diff --git a/app-office/openerp/openerp-7.0.20130219-r5.ebuild b/app-office/openerp/openerp-7.0.20130219-r5.ebuild
deleted file mode 100644
index da042ddfcf6b..000000000000
--- a/app-office/openerp/openerp-7.0.20130219-r5.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-PYTHON_DEPEND="2"
-
-inherit eutils distutils user
-
-DESCRIPTION="Open Source ERP & CRM"
-HOMEPAGE="http://www.openerp.com/"
-#yes, this is definitely a horrible URI
-MY_PV=${PV/7.0./7.0-}
-FNAME="${PN}-${MY_PV}-002614"
-SRC_URI="http://nightly.openerp.com/7.0/nightly/src/${FNAME}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE="+postgres ldap ssl"
-
-CDEPEND="!app-office/openerp-web
- postgres? ( dev-db/postgresql[server] )
- dev-python/psutil
- dev-python/docutils
- dev-python/lxml
- dev-python/psycopg:2
- dev-python/pychart
- dev-python/reportlab
- media-gfx/pydot
- dev-python/vobject
- dev-python/mako
- dev-python/pyyaml
- dev-python/Babel
- dev-python/gdata
- ldap? ( dev-python/python-ldap )
- dev-python/python-openid
- dev-python/werkzeug
- dev-python/xlwt
- dev-python/feedparser
- dev-python/python-dateutil
- dev-python/pywebdav
- ssl? ( dev-python/pyopenssl )
- dev-python/vatnumber
- dev-python/zsi
- dev-python/mock
- dev-python/unittest2
- dev-python/jinja
- dev-python/matplotlib"
-
-RDEPEND="${CDEPEND}"
-DEPEND="${CDEPEND}"
-
-OPENERP_USER="openerp"
-OPENERP_GROUP="openerp"
-
-S="${WORKDIR}/${FNAME}"
-
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_install() {
- distutils_src_install
-
- newinitd "${FILESDIR}/${PN}-2" "${PN}"
- newconfd "${FILESDIR}/openerp-confd-2" "${PN}"
- keepdir /var/log/openerp
-
- insinto /etc/logrotate.d
- newins "${FILESDIR}"/openerp.logrotate openerp || die
- dodir /etc/openerp
- insinto /etc/openerp
- newins "${FILESDIR}"/openerp.cfg.2 openerp.cfg || die
-}
-
-pkg_preinst() {
- enewgroup ${OPENERP_GROUP}
- enewuser ${OPENERP_USER} -1 -1 -1 ${OPENERP_GROUP}
-
- fowners ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp
- fowners -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/"
-
- use postgres || sed -i '6,8d' "${D}/etc/init.d/openerp" || die "sed failed"
-}
-
-pkg_postinst() {
- chown ${OPENERP_USER}:${OPENERP_GROUP} /var/log/openerp
- chown -R ${OPENERP_USER}:${OPENERP_GROUP} "$(python_get_sitedir)/${PN}/addons/"
-
- elog "In order to setup the initial database, run:"
- elog " emerge --config =${CATEGORY}/${PF}"
- elog "Be sure the database is started before"
-}
-
-psqlquery() {
- psql -q -At -U postgres -d template1 -c "$@"
-}
-
-pkg_config() {
- einfo "In the following, the 'postgres' user will be used."
- if ! psqlquery "SELECT usename FROM pg_user WHERE usename = '${OPENERP_USER}'" | grep -q ${OPENERP_USER}; then
- ebegin "Creating database user ${OPENERP_USER}"
- createuser --username=postgres --createdb --no-adduser ${OPENERP_USER}
- eend $? || die "Failed to create database user"
- fi
-}