summaryrefslogtreecommitdiff
path: root/dev-python/logfury
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/logfury')
-rw-r--r--dev-python/logfury/Manifest5
-rw-r--r--dev-python/logfury/files/logfury-0.1.2-fix-requirements-remove-dev-tests.patch17
-rw-r--r--dev-python/logfury/logfury-0.1.2-r1.ebuild (renamed from dev-python/logfury/logfury-0.1.2.ebuild)15
3 files changed, 32 insertions, 5 deletions
diff --git a/dev-python/logfury/Manifest b/dev-python/logfury/Manifest
index 9b73d2a08e03..b2bccc1b406b 100644
--- a/dev-python/logfury/Manifest
+++ b/dev-python/logfury/Manifest
@@ -1,3 +1,4 @@
-DIST logfury-0.1.2.tar.gz 17222 BLAKE2B b304ae68b345a5a262243063823354b00c72ac4301dcb34ceb56c44c0a0bc8f37ae447fb024e7d4b86469cf5412630c3b0d37370d492f7aab207f947b89d1577 SHA512 72e3e41047d3617420ece1a76a859635af42eb17d77cac0331d65144f750b5a5b8eff119a28fdda543b75cb75a2c8078492f2164dccb8c2dc9ba354e80a249ca
-EBUILD logfury-0.1.2.ebuild 510 BLAKE2B d5146e371391f966634836c9b98bb04f2db241ca680318513ca10c2b1f8ac3ef1c8e78233a9b4b970dd6ef4ba9ae0e9f9bf4b5f05ea2ab40ed8a589a3e75cf1f SHA512 f0d3f33cfd9fe3d231ff8345e1b92211f24ee80f90e883aee35886b425488d90ee4cccbb218a760010944777ed207ce5f2c1e7fed162ee42e28ccf52e98a7dd4
+AUX logfury-0.1.2-fix-requirements-remove-dev-tests.patch 382 BLAKE2B 5dd6b9eaf0fd075d26e800470f7ef9f7303968d5cf33904e0b82bf87bd351a3346016c289c997eb3e746bc22abf78d0bf67e56266082b8aa22c09dbbdd20ea0c SHA512 b6acce332ffa358e39421158fa686b3f6d8e7a11e19544b0da8c419c371622465c60813cdfb0595cbc5cfbcac0c277c4bb55a13411d6e22968e7b2eb3b8d5662
+DIST logfury-0.1.2.gh.tar.gz 15854 BLAKE2B 68fdc692b552c42f509760ba3b6b30d6bdb0066b1179851d9a47e6f8d7b651e3518348ae60cd0726d867d015448253ac058f083c2798b3e5cf7e2e7d86db3929 SHA512 626965bbb8bdebcd7f71fa141de24c7f725933a32f0a00c8799d9778fb41913666c2ef0c71660bf6d00b160b9e34baff682520f4c3570fb0e347f070f010172c
+EBUILD logfury-0.1.2-r1.ebuild 719 BLAKE2B 8fc93b0186554db871bc3cf973d379f6e00caa23bc614d22cb439c16f431315524c2f589703e82fbaab94cdb341dab05a18fda096f1cf0508c5829b9fd0c9d75 SHA512 f3400339e4798268c22ec8ed3c37bcf6e79d40b1ed18545ada7b97f754a8f4b329a976678d6c2fdd584ac5b642428d0a0edc1498c093c31e71f14220a8822304
MISC metadata.xml 519 BLAKE2B 4ead9ab47b13e36d475ee1ff1e5e32f3f368cdcfc563e06c6109efe300c8acaf887bb6004836dbdeb28e04aa49f9583ec0b3b6a26e91cae29745a3c9f4188713 SHA512 33badf9dca290ae2548ad447e7c1751c82e926cc00fe6fa622e4fd308922d0d208535de7a74b0b908e0211aee53afece21c2f3b399d2fb2ae1f633fe02900cc3
diff --git a/dev-python/logfury/files/logfury-0.1.2-fix-requirements-remove-dev-tests.patch b/dev-python/logfury/files/logfury-0.1.2-fix-requirements-remove-dev-tests.patch
new file mode 100644
index 000000000000..2f627840b857
--- /dev/null
+++ b/dev-python/logfury/files/logfury-0.1.2-fix-requirements-remove-dev-tests.patch
@@ -0,0 +1,17 @@
+diff --git a/requirements-test.txt b/requirements-test.txt
+index b454361..726c861 100644
+--- a/requirements-test.txt
++++ b/requirements-test.txt
+@@ -1,5 +1 @@
+-check-manifest
+-pyflakes
+-readme_renderer
+ testfixtures
+-yapf
+diff --git a/requirements.txt b/requirements.txt
+index 86e41d1..bb77dce 100644
+--- a/requirements.txt
++++ b/requirements.txt
+@@ -1,2 +1 @@
+ six>=1.10
+-funcsigs
diff --git a/dev-python/logfury/logfury-0.1.2.ebuild b/dev-python/logfury/logfury-0.1.2-r1.ebuild
index 0bbf5553f266..8e8a773bba0d 100644
--- a/dev-python/logfury/logfury-0.1.2.ebuild
+++ b/dev-python/logfury/logfury-0.1.2-r1.ebuild
@@ -3,19 +3,28 @@
EAPI=6
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
inherit distutils-r1
DESCRIPTION="Boilerplate library for logging method calls"
HOMEPAGE="https://github.com/ppolewicz/logfury https://pypi.org/project/logfury/"
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+SRC_URI="https://github.com/ppolewicz/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+PATCHES=(
+ "${FILESDIR}/${P}-fix-requirements-remove-dev-tests.patch"
+)
+
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
- dev-python/setuptools[${PYTHON_USEDEP}]"
+ test? (
+ dev-python/testfixtures[${PYTHON_USEDEP}]
+ dev-python/nose[${PYTHON_USEDEP}]
+ )"
+
+distutils_enable_tests setup.py