www-apps/syncserver: new package (and deps) for Firefox Sync Server

This commit is contained in:
nemunaire 2019-07-21 22:22:03 +02:00
commit b1dc230fa4
98 changed files with 1907 additions and 0 deletions

View file

@ -0,0 +1,2 @@
DIST alembic-1.0.9.tar.gz 1017432 BLAKE2B 898728cefde1fcb2737672d5f9f36cbb649c33735e98a56ca0585bab25cffb321407afaaeaf07a8b19b013802f0ba1b1b95ca0870b1c1958430a27b1c6e31f56 SHA512 da7b6409e9a1abfe518c3b830776c587da53e699d741b482c129b6c3fbf52ec6648b7379a738edd2cc8675ba22ae67d984bff93f39e841f2edcae96c110e096d
EBUILD alembic-1.0.9.ebuild 1393 BLAKE2B 7988f856d6a83164779055c00b69041cd8021319295a9088ae6b24bb5cf80b2d81ce76e495216958c9ed0ad4147c7a3fdb31ab757362f31dca9ddf087b3c73de SHA512 226ddaafb9c43381489e013eadafea8debff0c6bf7e68cbc1d9f28ada6ff6239793d6bbbefa95c2d90548443ff5bfb961ce02a9fa3eeea0e1f3d3f394c946d0b

View file

@ -0,0 +1,47 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
inherit distutils-r1
DESCRIPTION="database migrations tool, written by the author of SQLAlchemy"
HOMEPAGE="https://bitbucket.org/zzzeek/alembic"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test doc"
# requires.txt cites 'SQLAlchemy>=0.7.3' which is really both old and silly
# because it shatters the testsuite. If 'someone' cares to adhere to correct form
# and edit to -0.7.3, feel free, and then pick up the pieces.
RDEPEND=">=dev-python/sqlalchemy-0.9.0[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
>=dev-python/python-editor-0.3[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}] )"
# For test phase
DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
# suite passes all if run from source. The residual fail & error are quite erroneous
rm tests/test_script_consumption.py || die
distutils-r1_python_prepare_all
}
python_test() {
${EPYTHON} run_tests.py || die "Testing failed with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/. )
distutils-r1_python_install_all
}