summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2016-06-29 20:01:35 +0200
committerPatrick Lauer <patrick@gentoo.org>2016-06-29 20:18:24 +0200
commit053a0c523c4902a1fe1b2a5224b76eeaa97daab1 (patch)
treef25b1d807d8912011842c41cb8b72c665c44c5d4 /dev-python/xlsxwriter
parentdev-python/python-engineio: Bump (diff)
downloadgentoo-053a0c523c4902a1fe1b2a5224b76eeaa97daab1.tar.gz
gentoo-053a0c523c4902a1fe1b2a5224b76eeaa97daab1.tar.bz2
gentoo-053a0c523c4902a1fe1b2a5224b76eeaa97daab1.zip
dev-python/xlsxwriter: Bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/xlsxwriter')
-rw-r--r--dev-python/xlsxwriter/Manifest2
-rw-r--r--dev-python/xlsxwriter/xlsxwriter-0.9.2.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-python/xlsxwriter/Manifest b/dev-python/xlsxwriter/Manifest
index d8c0e0aacc36..ce5a46a21996 100644
--- a/dev-python/xlsxwriter/Manifest
+++ b/dev-python/xlsxwriter/Manifest
@@ -1,3 +1,5 @@
DIST XlsxWriter-0.7.8.tar.gz 233091 SHA256 2200c2a69f63b350b3b1f5db8fae3e5b7135c01b7ac9c3b1d5926cf6583dd4cd SHA512 2343155c765533bbc146e928dfc82924f089c7abee2f3607be2e5f9b1da9166090164f134256cbd36f319a97c9aa651fb346cc7502a3f1721f9687a9cddb9364 WHIRLPOOL ba498cfe5929f8d302b2f81ca0291c465759ed070d030e650d4a973706562a397fda51632b31cdac8caba134d8199f3499c7505b9990a9fa02b908b5ac971bdc
DIST XlsxWriter-0.8.4.tar.gz 234634 SHA256 9f0c421fba5849ebcf6a2d24e8eb54799fa48166fe53dbe6deb42669ed5c6643 SHA512 82b7a7e687431d09b31430e6eddb3c55f7d6bd1a631c2bc0741843d6a6d1fe59b219face9a9f7123d59aaf83643d5c00d13408eb45e5e5b810716d7440e33855 WHIRLPOOL 4ea00b8c016bd11294cc2898a171d0697cd306746fa58214ab6669f9e1f857102b14a26a65d58d89c4eed6a505b440c661f1971f3c0e74ff5d7201e93ebbb920
+DIST XlsxWriter-0.9.2.tar.gz 237146 SHA256 9363097b35299da5b4706f9eb3eb79bc60d7eb68f3feff40149e20f1af26ddfa SHA512 037f33a13a4f61fd6adb17ac1726bae7b5244242f66dfb5b9ec9ed9c0cf77af156ca4aa52013f1419c2cc381c7408a18243ebafaa2543828c3b01a619af4ec13 WHIRLPOOL 652ae7dcdaa0b6295e8175d1be1beef3ca6d78b2d980bd36033f9715c7e6c1065b50c214f1331e2da2998612e54dec44d40d3c30a80859bc1a8b26659e85f5bf
DIST xlsxwriter-0.8.4-tests.zip 27275933 SHA256 a78ff7620e725412668489eea2987ac5e491fada4354ac6e0124fb296f0a1d5f SHA512 fe0c00e251b5a07e132c6bd2ddb19c95eb0782f00e35085895361500213695313370baacfa83317af814d5ab740ac8a6489fd96d5e9a3184bb2ea710683d2028 WHIRLPOOL 29f1e873fe72e29e99dd4b3ab3355baa3129fbf11bbe21a8e69202935c7c7e6ba5384e8d5c743127cc4d5585246c55c2341439ff722b5ee7b5a85ffc66c51d40
+DIST xlsxwriter-0.9.2-tests.zip 27275933 SHA256 a78ff7620e725412668489eea2987ac5e491fada4354ac6e0124fb296f0a1d5f SHA512 fe0c00e251b5a07e132c6bd2ddb19c95eb0782f00e35085895361500213695313370baacfa83317af814d5ab740ac8a6489fd96d5e9a3184bb2ea710683d2028 WHIRLPOOL 29f1e873fe72e29e99dd4b3ab3355baa3129fbf11bbe21a8e69202935c7c7e6ba5384e8d5c743127cc4d5585246c55c2341439ff722b5ee7b5a85ffc66c51d40
diff --git a/dev-python/xlsxwriter/xlsxwriter-0.9.2.ebuild b/dev-python/xlsxwriter/xlsxwriter-0.9.2.ebuild
new file mode 100644
index 000000000000..c1177aca5964
--- /dev/null
+++ b/dev-python/xlsxwriter/xlsxwriter-0.9.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 )
+
+inherit distutils-r1
+
+MY_PN="XlsxWriter"
+MY_P="${MY_PN}-${PV}"
+
+# PLEASE UPDATE
+# for up2date tests. Upstream says they are to large to be shipped to pypi
+# https://github.com/jmcnamara/XlsxWriter/issues/327
+# https://github.com/jmcnamara/XlsxWriter/issues/229
+RELEASE=b24d6fbf38862558f1c114c0c73058ba306d628f
+
+DESCRIPTION="Python module for creating Excel XLSX files"
+HOMEPAGE="https://pypi.python.org/pypi/XlsxWriter https://github.com/jmcnamara/XlsxWriter"
+SRC_URI="
+ mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz
+ test? ( https://github.com/jmcnamara/XlsxWriter/archive/${RELEASE}.zip -> ${P}-tests.zip )
+ "
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+
+S="${WORKDIR}"/${MY_P}
+
+python_prepare_all() {
+ if use test; then
+ cp -r "${WORKDIR}"/${MY_PN}-${RELEASE}/${PN}/test ${PN}/ || die
+ fi
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ py.test -v -v || die
+}