summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-12-27 09:32:19 -0500
committerBrian Evans <grknight@gentoo.org>2017-12-27 09:42:25 -0500
commit53c1b62350951ce02b7ba824227e1f1e0f7a48af (patch)
treee4e86ee6402bc83af5801774e32f0db7f6f8c0b3 /dev-python/backports-csv
parentapp-crypt/kbfs: Fix keywords (diff)
downloadgentoo-53c1b62350951ce02b7ba824227e1f1e0f7a48af.tar.gz
gentoo-53c1b62350951ce02b7ba824227e1f1e0f7a48af.tar.bz2
gentoo-53c1b62350951ce02b7ba824227e1f1e0f7a48af.zip
dev-python/backports-csv: New package, dependency of dev-python/cli_helpers
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'dev-python/backports-csv')
-rw-r--r--dev-python/backports-csv/Manifest1
-rw-r--r--dev-python/backports-csv/backports-csv-1.0.5.ebuild30
-rw-r--r--dev-python/backports-csv/metadata.xml12
3 files changed, 43 insertions, 0 deletions
diff --git a/dev-python/backports-csv/Manifest b/dev-python/backports-csv/Manifest
new file mode 100644
index 000000000000..4f5218409826
--- /dev/null
+++ b/dev-python/backports-csv/Manifest
@@ -0,0 +1 @@
+DIST backports.csv-1.0.5.tar.gz 12050 BLAKE2B b6c5c4b846040167c081166fc4f0f0fb2df4f4d68e28a00e43762044f86e35c5e104a07028bcb7a7fa0f2d377b2da16d202308b4b905dad979118786c0ea0f7e SHA512 0b3885d818153bd50da2c7d931f64464cb344100622d9692925f9eaca056bf973f7d1d3546520e54e03472766c7d8b600c53e0674eb5958e768f713ec16a96a8
diff --git a/dev-python/backports-csv/backports-csv-1.0.5.ebuild b/dev-python/backports-csv/backports-csv-1.0.5.ebuild
new file mode 100644
index 000000000000..f4ea47f10e5e
--- /dev/null
+++ b/dev-python/backports-csv/backports-csv-1.0.5.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1
+
+MY_PN=${PN/-/.}
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="Backport of Python 3's 'csv' module"
+HOMEPAGE="https://github.com/ryanhiebert/backports.csv https://pypi.python.org/pypi/backports.csv/"
+SRC_URI="mirror://pypi/${PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="PSF-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/backports[${PYTHON_USEDEP}]"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] ${RDEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+python_install_all() {
+ distutils-r1_python_install_all
+ find "${ED}" -name '*.pth' -delete || die
+}
diff --git a/dev-python/backports-csv/metadata.xml b/dev-python/backports-csv/metadata.xml
new file mode 100644
index 000000000000..8da7e8504f78
--- /dev/null
+++ b/dev-python/backports-csv/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>grknight@gentoo.org</email>
+ <name>Brian Evans</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">ryanhiebert/backports.csv</remote-id>
+ <remote-id type="pypi">backports.csv</remote-id>
+ </upstream>
+</pkgmetadata>