rpkg: 1.14 -> 1.50

This commit is contained in:
Samuel Leathers 2017-09-16 00:03:03 -04:00
parent e544c36dbe
commit c29a721350
3 changed files with 29 additions and 27 deletions

View File

@ -1,11 +0,0 @@
--- a/setup.py 2012-03-12 23:26:16.000000000 +0100
+++ b/setup.py 2014-02-04 14:52:02.335856975 +0100
@@ -14,6 +14,6 @@
package_dir = {'': 'src'},
packages = ['pyrpkg'],
scripts = ['src/rpkg'],
- data_files = [('/etc/bash_completion.d', ['src/rpkg.bash']),
- ('/etc/rpkg', ['src/rpkg.conf'])],
+ data_files = [('etc/bash_completion.d', ['src/rpkg.bash']),
+ ('etc/rpkg', ['src/rpkg.conf'])],
)

View File

@ -0,0 +1,28 @@
{ stdenv, buildPythonPackage, isPy3k, fetchurl, six, pycurl, cccolutils
, koji, rpmfluff }:
buildPythonPackage rec {
pname = "rpkg";
version = "1.50";
name = "${pname}-${version}";
disabled = isPy3k;
src = fetchurl {
url = "https://releases.pagure.org/rpkg/${name}.tar.gz";
sha256 = "0j83bnm9snr3m1mabw2cvd2r7d6kcnkzyz7b9p65fhcc3c7s3rvv";
};
propagatedBuildInputs = [ pycurl koji cccolutils six rpmfluff ];
doCheck = false; # needs /var/lib/rpm database to run tests
meta = with stdenv.lib; {
description = "Python library for dealing with rpm packaging";
homepage = https://pagure.io/fedpkg;
license = licenses.gpl2plus;
maintainers = with maintainers; [ mornfall ];
};
}

View File

@ -19381,22 +19381,7 @@ in {
};
};
rpkg = buildPythonPackage (rec {
name = "rpkg-1.14";
disabled = !isPy27; # error: invalid command 'bdist_wheel'
meta.maintainers = with maintainers; [ mornfall ];
src = pkgs.fetchurl {
url = "https://fedorahosted.org/releases/r/p/rpkg/rpkg-1.14.tar.gz";
sha256 = "0d053hdjz87aym1sfm6c4cxmzmy5g0gkrmrczly86skj957r77a7";
};
patches = [ ../development/python-modules/rpkg-buildfix.diff ];
propagatedBuildInputs = with self; [ pycurl koji GitPython pkgs.git
rpm pyopenssl ];
});
rpkg = callPackage ../development/python-modules/rpkg/default.nix {};
rply = buildPythonPackage rec {
name = "rply-${version}";