diff options
Diffstat (limited to 'www-misc/mozilla-sync-server-reg')
5 files changed, 0 insertions, 108 deletions
diff --git a/www-misc/mozilla-sync-server-reg/ChangeLog b/www-misc/mozilla-sync-server-reg/ChangeLog deleted file mode 100644 index cd0ef7f..0000000 --- a/www-misc/mozilla-sync-server-reg/ChangeLog +++ /dev/null @@ -1,19 +0,0 @@ -# ChangeLog for www-misc/mozilla-sync-server-reg -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: $ - -*mozilla-sync-server-reg-1.2.6-r1 (09 Sep 2013) - - 09 Sep 2013; Francisco Blas Izquierdo Riera (klondike) - -mozilla-sync-server-reg-1.2.6.ebuild, - +mozilla-sync-server-reg-1.2.6-r1.ebuild, - +files/mozilla-sync-server-reg-1.2.6_generate_templates_in_tmp.patch: - Generate mako python files in tmp instead of the templates directory which is - read only - -*mozilla-sync-server-reg-1.2.6 (08 Sep 2013) - - 08 Sep 2013; Francisco Blas Izquierdo Riera (klondike) - +mozilla-sync-server-reg-1.2.6.ebuild, +metadata.xml: - Initial version, using propper dependencies - diff --git a/www-misc/mozilla-sync-server-reg/Manifest b/www-misc/mozilla-sync-server-reg/Manifest deleted file mode 100644 index a1f6e8a..0000000 --- a/www-misc/mozilla-sync-server-reg/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -AUX mozilla-sync-server-reg-1.2.6_generate_templates_in_tmp.patch 990 SHA256 4dce7e170a49bddb16a545e0de7ec25c209a8cfb7d33fc49b8319362b631bc11 SHA512 b23ed9087f2e035e275002354c8df249d83a39ce852da5f3ca36b25bf2f6e5fcd174390e400c606e4d3ce6640ba406f0fa163d922cb434889d238df1cd787468 WHIRLPOOL 16c19a56f7c9dd4ac7bb09ab3109594de4a0d0d4570fcaa7cc32adc5e60cd4de2c20328a917271690a82af142a5f367fbda46d6cc5d81b02d71d2db2c12af4a2 -EBUILD mozilla-sync-server-reg-1.2.6-r1.ebuild 1288 SHA256 9daefea3fdee00e2c02f835c43076e4654c7a6c3abbb9da6775b00bcbc879f6f SHA512 7589a82275e9a626337b0abd88b179894980b8a962007d145b1076beda2258091c320e8a86faf84ee3e5edf7d346086ba09586f66e3b4d196d8fb2b4706a6f7e WHIRLPOOL e8d60f47888408d7f65c156d9e2e5075fb0eec7ab8a05aa778791432f3c9968153f58e95fc26e5bf97a9124bd97fe10bf6f00245a024f07a79f2661a6eb808c5 -MISC ChangeLog 695 SHA256 0398c3fc87a0a7d456119abf996a2bdec4788e6c671f1ec980355923a18cb84c SHA512 d5956588cbe10de15790116d54d06efc069514d9c9c949497a97601004bf83c6a4c20b346753e2cfeeb4a832c95bd406301dea6be14ff568c304c3f37d425251 WHIRLPOOL bdc5022b43ebf8955bbfa73dd077bcaaf51381cdd19d4af8982259f3b297744a0ba1d2e7a434d18149da2c5719bca06581ba95279f3a3ee6141882f760a5c20b -MISC metadata.xml 214 SHA256 c1f09dc7d5313cd2da7b82259c7846ed23144d62b15e59680ada90e2b6b4d154 SHA512 aeb2fb354a9ddf41c45a071091a58b91eaf8b25d6d2c49e3e3daa547b591a54530144de4533573160b48dc356289c909612c4e3c80e387f081f88cb39263e130 WHIRLPOOL 54d8861daedd18ca38e4ada0fb71026c612b63946d47a9b34de90d1d6d85c8ce05c0a4b97730f554ea637d73ccce8ed207d33e707c2b8c1dd28af24cf44dd186 diff --git a/www-misc/mozilla-sync-server-reg/files/mozilla-sync-server-reg-1.2.6_generate_templates_in_tmp.patch b/www-misc/mozilla-sync-server-reg/files/mozilla-sync-server-reg-1.2.6_generate_templates_in_tmp.patch deleted file mode 100644 index 78e8ecc..0000000 --- a/www-misc/mozilla-sync-server-reg/files/mozilla-sync-server-reg-1.2.6_generate_templates_in_tmp.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -ur mozilla-sync-server-reg.orig/syncreg/util.py mozilla-sync-server-reg/syncreg/util.py ---- mozilla-sync-server-reg.orig/syncreg/util.py 2013-09-09 03:11:28.346826371 +0200 -+++ mozilla-sync-server-reg/syncreg/util.py 2013-09-09 03:23:31.707855355 +0200 -@@ -35,10 +35,14 @@ - # ***** END LICENSE BLOCK ***** - import os - from mako.lookup import TemplateLookup -+from tempfile import mkdtemp -+import atexit -+from shutil import rmtree - - _TPL_DIR = os.path.join(os.path.dirname(__file__), 'templates') -+_GEN_TPL_DIR = mkdtemp() - _lookup = TemplateLookup(directories=[_TPL_DIR], -- module_directory=_TPL_DIR) # XXX defined in prod -+ module_directory=_GEN_TPL_DIR) # XXX defined in prod, this avoids permission issues - - - def render_mako(template, **data): -@@ -53,3 +57,7 @@ - """ - template = _lookup.get_template(template) - return template.render(**data) -+ -+@atexit.register -+def delete_tpl_temp(): -+ rmtree(_GEN_TPL_DIR,True) diff --git a/www-misc/mozilla-sync-server-reg/metadata.xml b/www-misc/mozilla-sync-server-reg/metadata.xml deleted file mode 100644 index cc3fe24..0000000 --- a/www-misc/mozilla-sync-server-reg/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer> - <email>maintainer-wanted@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/www-misc/mozilla-sync-server-reg/mozilla-sync-server-reg-1.2.6-r1.ebuild b/www-misc/mozilla-sync-server-reg/mozilla-sync-server-reg-1.2.6-r1.ebuild deleted file mode 100644 index 099db23..0000000 --- a/www-misc/mozilla-sync-server-reg/mozilla-sync-server-reg-1.2.6-r1.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 -PYTHON_COMPAT=(python2_{6,7}) - -inherit distutils-r1 mercurial - -DESCRIPTION="Mozilla Sync Reg Server" -HOMEPAGE="https://hg.mozilla.org/services/server-reg" - -EHG_REPO_URI="https://hg.mozilla.org/services/server-reg" - -case ${PV} in -9999) - EHG_REVISION="default" - ;; -*) - inherit versionator - MY_PV=$(replace_version_separator 2 '-' "${PV}") - MY_P="${PN}-${MY_PV}" - EHG_QUIET="OFF" - EHG_REVISION="rpm-${MY_PV}" - S="${WORKDIR}/${PN}" - ;; -esac - -LICENSE="MPL-1.1" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -RDEPEND="www-misc/mozilla-sync-server-core[${PYTHON_USEDEP}] - >=dev-python/simplejson-2.6.2[${PYTHON_USEDEP}] - >=dev-python/webob-1.0.7[${PYTHON_USEDEP}] - >=dev-python/routes-1.13[${PYTHON_USEDEP}] - >=dev-python/recaptcha-client-1.0.6[${PYTHON_USEDEP}] - >=dev-python/cef-0.5[${PYTHON_USEDEP}] - >=dev-python/pastedeploy-1.5.0 - >=dev-python/mako-0.7.2[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - test? ( >=dev-python/webtest-1.4.3[${PYTHON_USEDEP}] ) - test? ( dev-python/nose[${PYTHON_USEDEP}] ) - dev-python/setuptools[${PYTHON_USEDEP}]" - -PATCHES=( ${FILESDIR}/${P}_generate_templates_in_tmp.patch ) - -python_test() { - nosetests || die "Tests fail with ${EPYTHON}" -} |