Revert "Merge staging at '8d490ca9934d0' into master"

This reverts commit fc23242220, reversing
changes made to 754816b84b.
We don't have many binaries yet.  Comment on the original merge commit.
This commit is contained in:
Vladimír Čunát
2018-02-26 22:53:18 +01:00
parent b8f4df9d9e
commit f5ce8f86df
33 changed files with 267 additions and 389 deletions

View File

@@ -1,24 +1,21 @@
{ stdenv, fetchPypi, buildPythonPackage, aenum, isPy3k, pythonOlder, enum34, python }:
{ stdenv, fetchPypi, buildPythonPackage, aenum, isPy3k }:
buildPythonPackage rec {
pname = "dbf";
version = "0.96.8";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1z8n7s4cka6x9ybh4qpfhj51v2qrk38h2f06npizzhm0hmn6r3v1";
};
propagatedBuildInputs = [ aenum ] ++ stdenv.lib.optional (pythonOlder "3.4") [ enum34 ];
propagatedBuildInputs = [ aenum ];
doCheck = !isPy3k;
# tests are not yet ported.
# https://groups.google.com/forum/#!topic/python-dbase/96rx2xmCG4w
checkPhase = ''
${python.interpreter} dbf/test.py
'';
meta = with stdenv.lib; {
description = "Pure python package for reading/writing dBase, FoxPro, and Visual FoxPro .dbf files";
homepage = "https://pypi.python.org/pypi/dbf";