From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/text-unidecode/
Date: Sat, 25 Apr 2020 00:37:24 +0000 (UTC) [thread overview]
Message-ID: <1587775035.2db41d8dd36beba0c565cfabaeb169f8ccb4f355.Alessandro-Barbieri@gentoo> (raw)
commit: 2db41d8dd36beba0c565cfabaeb169f8ccb4f355
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Apr 24 22:03:17 2020 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Apr 25 00:37:15 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2db41d8d
dev-python/text-unidecode: new package
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
dev-python/text-unidecode/Manifest | 1 +
dev-python/text-unidecode/metadata.xml | 15 ++++++++++
.../text-unidecode/text-unidecode-1.3.ebuild | 33 ++++++++++++++++++++++
3 files changed, 49 insertions(+)
diff --git a/dev-python/text-unidecode/Manifest b/dev-python/text-unidecode/Manifest
new file mode 100644
index 0000000..7cf837a
--- /dev/null
+++ b/dev-python/text-unidecode/Manifest
@@ -0,0 +1 @@
+DIST text-unidecode-1.3.tar.gz 76885 BLAKE2B b783963b4fce6588d45d48a498de566c08df83ae62c72caf599648df195eb94b7c02090503590ab8c747af0d210847ddfbf0772289e170361914db20c049828e SHA512 aeaf0e79bd0545ca7a4fe700d5a7dac1d5900841fcfe8a5a568c84ba7d3bee5f75eaac0531f4a01d689a550ac5bc7e1acaeb8132293f220db8387fae2eb6a150
diff --git a/dev-python/text-unidecode/metadata.xml b/dev-python/text-unidecode/metadata.xml
new file mode 100644
index 0000000..3f17f6d
--- /dev/null
+++ b/dev-python/text-unidecode/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>lssndrbarbieri@gmail.com</email>
+ <name>Alessandro Barbieri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="pypi">text-unidecode</remote-id>
+ <maintainer status="unknown">
+ <email>kmike84@gmail.com</email>
+ <name>Mikhail Korobov</name>
+ </maintainer>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-python/text-unidecode/text-unidecode-1.3.ebuild b/dev-python/text-unidecode/text-unidecode-1.3.ebuild
new file mode 100644
index 0000000..496d2de
--- /dev/null
+++ b/dev-python/text-unidecode/text-unidecode-1.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
+inherit distutils-r1
+
+DESCRIPTION="The most basic Text::Unidecode port"
+HOMEPAGE="https://github.com/kmike/text-unidecode"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="|| ( Artistic GPL-1 GPL-2+ )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-python/pytest )"
+RDEPEND=""
+
+python_prepare_all() {
+ sed -i '/pytest-runner/d' setup.py
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ distutils_install_for_testing
+ cd "${TEST_DIR}" || die
+ cp "${S}/test_unidecode.py" . || die
+ cp "${S}/setup.cfg" . || die
+ pytest || die "Tests fail with ${EPYTHON}"
+}
next reply other threads:[~2020-04-25 0:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-25 0:37 Alessandro Barbieri [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-04-25 10:52 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/text-unidecode/ Andrew Ammerlaan
2020-06-30 6:12 Ronny Gutbrod
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=1587775035.2db41d8dd36beba0c565cfabaeb169f8ccb4f355.Alessandro-Barbieri@gentoo \
--to=lssndrbarbieri@gmail.com \
--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