diff --git a/CHANGELOG.md b/CHANGELOG.md index a80bb7722..837ac4618 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +2018-12-31 warrant-0.6.1 added, compiles now with a patch 2018-12-27 aiohttp-3.5.1 upgrade 2018-12-23 colorlog-4.0.2 upgrade adb-homeassistant-1.3.1 update diff --git a/README.md b/README.md index c52fe0636..ed88e5ea6 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Let me know if any initial depencies are missing. I test fresh installs once in ### Todos - **If it moves, compile it** :-) - Add more libraries: - - warrant-0.6.1 (still does not compile) + - ~~warrant-0.6.1 (still does not compile)~~ now compiles, dirty hack, patch needed. - caldav-0.5.0 (also refuses to compile at my box) - and other frequently used modules i currently do not use - Find out why `SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"` is not working in some cases and fix it in: diff --git a/dev-python/warrant/Manifest b/dev-python/warrant/Manifest new file mode 100644 index 000000000..245a12806 --- /dev/null +++ b/dev-python/warrant/Manifest @@ -0,0 +1,3 @@ +AUX warrant-0.6.1-requirements.patch 811 BLAKE2B 149198acdcdbacf4dbd46ca87b5e48dc773d7534ba22d60cc1f433ceec52cb84cdd992df0708682fe1176b1e0e9f7b69e62919738aa2f3470c5203ec3e9c2fa9 SHA512 5bffd54f2d6803707f2a91da998519375e24722182d85ce838d7550f6cbfcdf0817730da4bb594f525cf76cd91785781763b039cee28062f5d44fdfd18e10001 +DIST warrant-0.6.1.tar.gz 11526 BLAKE2B b9432852cb94df3c3ba34e2b1981a86c4d0acb6ffd8599ab4e27ad0185ed999a75d59085cf1f2cd627e4ddc98fe487f835849b820c7925f4d0c2fe8877b3c132 SHA512 9eeb5b6c0ee08f69c51d59069161c486b6bcd3a211b780497421b841c079aa2ebef4658975183d58f9da3481229f2cb0ce202a180b7cf26bfaf9f41995fcc6bb +EBUILD warrant-0.6.1.ebuild 1139 BLAKE2B 6b973da1f87f60de7c22cfdb2e48963846ebef21de50181c75fb64d9f41908aea017689e1d7305efd7efb7cfc9b5c0bdacc8c2a47146ac27154615c9cf337313 SHA512 7a4f296c7cf165c0962e27ede02f273c2cab97cb2606f5a677fee4acc12e48f36fd72faf114cca37e21da54b400d4bf12f83f971604bc43073d5df024a956476 diff --git a/dev-python/warrant/files/warrant-0.6.1-requirements.patch b/dev-python/warrant/files/warrant-0.6.1-requirements.patch new file mode 100644 index 000000000..0755ef30f --- /dev/null +++ b/dev-python/warrant/files/warrant-0.6.1-requirements.patch @@ -0,0 +1,17 @@ +Datei warrant-0.6.1.old/.ipc_in ist ein FIFO, während Datei warrant-0.6.1/.ipc_in ein FIFO ist. +Datei warrant-0.6.1.old/.ipc_out ist ein FIFO, während Datei warrant-0.6.1/.ipc_out ein FIFO ist. +diff -Naru warrant-0.6.1.old/work/warrant-0.6.1/requirements_test.txt warrant-0.6.1/work/warrant-0.6.1/requirements_test.txt +--- requirements_test.txt 1970-01-01 01:00:00.000000000 +0100 ++++ requirements_test.txt 2018-12-31 12:00:14.156399118 +0100 +@@ -0,0 +1,3 @@ ++mock>=2.0.0 ++nose ++coverage +diff -Naru warrant-0.6.1.old/work/warrant-0.6.1/requirements.txt warrant-0.6.1/work/warrant-0.6.1/requirements.txt +--- requirements.txt 1970-01-01 01:00:00.000000000 +0100 ++++ requirements.txt 2018-12-31 11:59:40.446035015 +0100 +@@ -0,0 +1,4 @@ ++boto3>=1.4.3 ++envs>=0.3.0 ++python-jose-cryptodome>=1.3.2 ++requests>=2.13.0 diff --git a/dev-python/warrant/warrant-0.6.1.ebuild b/dev-python/warrant/warrant-0.6.1.ebuild new file mode 100644 index 000000000..ff7da6c08 --- /dev/null +++ b/dev-python/warrant/warrant-0.6.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# Ebuild created b@edevau.net 31.12.2018 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python3_{5,6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Python class to integrate Boto3's Cognito client so it is easy to login users. With SRP support." +HOMEPAGE="https://github.com/capless/warrant https://pypi.org/project/warrant/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache License 2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + >=dev-python/boto3-1.4.3[${PYTHON_USEDEP}] + >=dev-python/envs-0.3.0[${PYTHON_USEDEP}] + >=dev-python/python-jose-cryptodome-1.3.2[${PYTHON_USEDEP}] + >=dev-python/requests-2.13.0[${PYTHON_USEDEP}] +" +DEPEND="${REDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/nose[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + >=dev-python/mock-2.0.0[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/${P}-requirements.patch +) + +python_test() { + nosetests --verbose || die + py.test -v -v || die +}