From: "Alfredo Tupone" <tupone@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/folium/files/, sci-geosciences/folium/
Date: Sun, 1 Aug 2021 13:15:59 +0000 (UTC) [thread overview]
Message-ID: <1627823741.f0966300dbbfea0b0e339982738d958bafb252dc.tupone@gentoo> (raw)
commit: f0966300dbbfea0b0e339982738d958bafb252dc
Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 1 13:15:41 2021 +0000
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Aug 1 13:15:41 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0966300
sci-geosciences/folium: add to tree
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
sci-geosciences/folium/Manifest | 1 +
.../folium/files/folium-0.12.1-gentoo.patch | 14 ++++++++++
.../folium/files/folium-0.12.1-scm.patch | 12 ++++++++
sci-geosciences/folium/folium-0.12.1.ebuild | 32 ++++++++++++++++++++++
sci-geosciences/folium/metadata.xml | 18 ++++++++++++
5 files changed, 77 insertions(+)
diff --git a/sci-geosciences/folium/Manifest b/sci-geosciences/folium/Manifest
new file mode 100644
index 00000000000..696e7bd3865
--- /dev/null
+++ b/sci-geosciences/folium/Manifest
@@ -0,0 +1 @@
+DIST folium-0.12.1.tar.gz 20033236 BLAKE2B 00e9fb369be9300ca04f9ba3fed18ca28a4985111ccd358312570773b80906df292e14a6f4acbd8ea7686f1b807017f729ad918b3b025af321faf5d7686333db SHA512 b19d2180c36160a370e6ab5ccfacf74ba7b735610d43e69a5200529c776e9c11ee42f4f7fa1ee54621f52b0f2e1fc1f86bc9a146c4a924831b12578643a69616
diff --git a/sci-geosciences/folium/files/folium-0.12.1-gentoo.patch b/sci-geosciences/folium/files/folium-0.12.1-gentoo.patch
new file mode 100644
index 00000000000..e2fbf5f35e1
--- /dev/null
+++ b/sci-geosciences/folium/files/folium-0.12.1-gentoo.patch
@@ -0,0 +1,14 @@
+--- a/setup.cfg 2021-07-30 23:31:49.026429515 +0200
++++ b/setup.cfg 2021-07-30 23:32:04.638212109 +0200
+@@ -11,11 +11,6 @@
+ parentdir_prefix =
+
+ [tool:pytest]
+-flake8-max-line-length = 121
+-flake8-ignore =
+- docs/* ALL
+-select = C,E,F,W,B,B950
+-ignore = E203, E501, W503
+
+ [metadata]
+ description-file = README.md
diff --git a/sci-geosciences/folium/files/folium-0.12.1-scm.patch b/sci-geosciences/folium/files/folium-0.12.1-scm.patch
new file mode 100644
index 00000000000..78992bafa05
--- /dev/null
+++ b/sci-geosciences/folium/files/folium-0.12.1-scm.patch
@@ -0,0 +1,12 @@
+--- a/setup.py 2021-07-30 23:29:57.320896714 +0200
++++ b/setup.py 2021-07-30 23:30:05.608787963 +0200
+@@ -89,9 +89,4 @@
+ extras_require={"testing": ["pytest"]},
+ install_requires=install_requires,
+ zip_safe=False,
+- use_scm_version={
+- "write_to": "folium/_version.py",
+- "write_to_template": '__version__ = "{version}"',
+- "tag_regex": r"^(?P<prefix>v)?(?P<version>[^\+]+)(?P<suffix>.*)?$",
+- },
+ )
diff --git a/sci-geosciences/folium/folium-0.12.1.ebuild b/sci-geosciences/folium/folium-0.12.1.ebuild
new file mode 100644
index 00000000000..ef7a70a505a
--- /dev/null
+++ b/sci-geosciences/folium/folium-0.12.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8,9} )
+inherit distutils-r1
+
+DESCRIPTION="Python Data, Leaflet.js Maps"
+HOMEPAGE="https://github.com/python-visualization/folium"
+SRC_URI="${HOMEPAGE}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-scm.patch
+ "${FILESDIR}"/${P}-gentoo.patch
+)
+
+RDEPEND="sci-libs/branca[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND=""
+
+distutils_enable_tests pytest
+
+src_prepare() {
+ rm -r tests/selenium || die
+ default
+}
diff --git a/sci-geosciences/folium/metadata.xml b/sci-geosciences/folium/metadata.xml
new file mode 100644
index 00000000000..4afe8241f01
--- /dev/null
+++ b/sci-geosciences/folium/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <longdescription lang="en">
+ Python Data, Leaflet.js Maps
+ folium builds on the data wrangling strengths of the Python ecosystem
+ and the mapping strengths of the Leaflet.js library.
+ Manipulate your data in Python, then visualize it in a Leaflet map
+ via folium.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">python-visualization/folium</remote-id>
+ </upstream>
+</pkgmetadata>
next reply other threads:[~2021-08-01 13:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-01 13:15 Alfredo Tupone [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-08-28 15:16 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/folium/files/, sci-geosciences/folium/ Alfredo Tupone
2022-11-06 9:02 Alfredo Tupone
2023-02-19 9:20 Alfredo Tupone
2023-12-26 23:02 Alfredo Tupone
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1627823741.f0966300dbbfea0b0e339982738d958bafb252dc.tupone@gentoo \
--to=tupone@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox