summaryrefslogtreecommitdiff
path: root/sci-libs/branca
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
commitebc282ef4dfa408accac685565b8ee5f6faec119 (patch)
treec0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /sci-libs/branca
parent6c8694a707151d59555b0e4e48235f085ce166c3 (diff)
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'sci-libs/branca')
-rw-r--r--sci-libs/branca/Manifest3
-rw-r--r--sci-libs/branca/branca-0.6.0.ebuild30
-rw-r--r--sci-libs/branca/files/branca-0.6.0-test.patch12
3 files changed, 45 insertions, 0 deletions
diff --git a/sci-libs/branca/Manifest b/sci-libs/branca/Manifest
index c73ec45c9413..fc683032679a 100644
--- a/sci-libs/branca/Manifest
+++ b/sci-libs/branca/Manifest
@@ -1,5 +1,8 @@
AUX branca-0.4.2-setup.patch 317 BLAKE2B 7394a0d332202df1024e8099fcedd7e7a8b85a4a0b7e6f3422350ba45b33159110e0cda3e8091ab606b7a874b0bcfa9ede33fa31c6d32d4ea041302dfe9c0f14 SHA512 ef7cea556bd272f1711be641b8f7a99b96dd049756e8681af38caccdc232bfafe919fcf30c66d6dcab2f77adb6a83d50094c0d45f06513b3368ecc57937825ab
AUX branca-0.4.2-test.patch 358 BLAKE2B 087756ebe2507101eaf8c18b2726294b3eec99f7708fff092217b6083ea4f85878c2671671fb8bfbddf92822b60dbdcc737bc0eef0d46b33e1e74f00e244c470 SHA512 81d6542e259c7233e3a2c926b07cadd9fbc930db7d25f552d8febb70f3d689f57f01c49c0b6cc5e795e7fa817a7989a05a8b2768162d730b021bb6a4f2ff3925
+AUX branca-0.6.0-test.patch 333 BLAKE2B bdf1a556ff4b2e8b023a216a84af4b97cefe1c86177504f93882f1f68d66647de120ca58c8a40322a908e7fd03ea5ca96933fb8618457bb6b2fc18dd2983825b SHA512 eeb8c56922a5e35cb092d5362bec3fdf4f516ba38e7febdb37d672686f21165bcb5213d739ca52494eca2d5017736bb4a3495d91aa80612413fd86d900ffe0dd
DIST branca-0.4.2.tar.gz 59337 BLAKE2B 7d7f101a3dcc07c0210f968da2ed41f4a75177b625ce46252024da7dbba82618dbe60886c615c9461c724af76b45c7710f631bc65d5743cee7f18a2052f9db49 SHA512 cefb3b0f41d515492902ef4046cf7f10b638aca8409f5b08f201550ed5a971a441d13243b1ce38ac0b8c0f76cde1329955d26c1856e1f3c25014a6ce0d805fd6
+DIST branca-0.6.0.tar.gz 40167 BLAKE2B 23cbe442862e9575d84dfb5bb1760acf2a1301be0f68bedc9965d9d3a8be090755f78640ed919b5ba8521ab30e8c52c69ea87ff2772d9fd6b3e338680b5219bb SHA512 e80b3d173bc487857ab42d10365540e91cb6fc5def61bb76f418e2da8e74c9bf69e0ca46f86a47f96f5db48d0e98d6ad3091107dd1a5ca479c52adbfa3a79a9c
EBUILD branca-0.4.2-r1.ebuild 811 BLAKE2B cd47f56943374b0b7a642dca9e830d32ff2184dcc341472cc2eb35dcff7a7434e2459a39f6d8f2c089216d4c5f0317c94d385d2a8e24fe4141b7e3ddf849206e SHA512 1ea84050018a2d432dbfd96638a6bcd9177b263456737aa0c1b36bf85a41e3ad442152ed7e4b85ca1392a99aeb6eb0e9034c2ad662ecb1915a13bfb72d13caed
+EBUILD branca-0.6.0.ebuild 769 BLAKE2B d3c28347ef86bf443b85c62d6d33d2352315aff4c011baa6a448190438d5e49131299f88790f7851011623215bf005af82e0c9066e103e56f638dba65f4de96d SHA512 2497c1734eef54d6730f29bd56bc951b4173a013c867f211a3edbd7ec53c3f19f569c8bfe3f31c589d259097e491d10919b5b73f2d6660d775113cda568a213e
MISC metadata.xml 567 BLAKE2B a65dec67ea324de3bd665152174cd5d8ca121d2775e9e6db7d15f2c1a2b60058f8788769d2cd4ae54d454b667b9581fe84006b2eebfde99ccdb63ed5d015ff6c SHA512 9cff06968cb58902bc68dab33859310746e7fba3420a53f04c6fa45c5aeda061a68c41343b71240670b21d116d80fe9e6d40c7ba281e2910b7a95caebfcd5dd8
diff --git a/sci-libs/branca/branca-0.6.0.ebuild b/sci-libs/branca/branca-0.6.0.ebuild
new file mode 100644
index 000000000000..edbdf573dee9
--- /dev/null
+++ b/sci-libs/branca/branca-0.6.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{9..10} )
+DISTUTILS_USE_PEP517=setuptools
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+inherit distutils-r1
+
+DESCRIPTION="spinoff from folium, host the non-map-specific features"
+HOMEPAGE="https://github.com/python-visualization/branca"
+SRC_URI="https://github.com/python-visualization/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=( "${FILESDIR}"/${P}-test.patch )
+
+RDEPEND="dev-python/jinja[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ test? ( dev-python/selenium[${PYTHON_USEDEP}] )"
+BDEPEND=""
+
+distutils_enable_tests pytest
+
+python_test() {
+ epytest -m 'not headless'
+}
diff --git a/sci-libs/branca/files/branca-0.6.0-test.patch b/sci-libs/branca/files/branca-0.6.0-test.patch
new file mode 100644
index 000000000000..e00b8a6cfc57
--- /dev/null
+++ b/sci-libs/branca/files/branca-0.6.0-test.patch
@@ -0,0 +1,12 @@
+--- a/setup.cfg 2023-02-09 09:15:07.186333281 +0100
++++ b/setup.cfg 2023-02-09 09:15:17.596181143 +0100
+@@ -1,9 +1,4 @@
+ [tool:pytest]
+-flake8-max-line-length = 105
+-flake8-ignore =
+- docs/* ALL
+- versioneer.py ALL
+- branca/_version.py ALL
+ markers =
+ headless: mark headless tests (deselect with '-m "not headless"')
+