fedpkg: promote to python application
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
{ stdenv, buildPythonPackage, isPy3k, fetchurl, rpkg, offtrac, urlgrabber }:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "fedpkg";
|
||||
version = "1.29";
|
||||
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://releases.pagure.org/fedpkg/${pname}-${version}.tar.bz2";
|
||||
sha256 = "1cpy5p1rp7w52ighz3ynvhyw04z86y8phq3n8563lj6ayr8pw631";
|
||||
};
|
||||
patches = [ ./fix-paths.patch ];
|
||||
propagatedBuildInputs = [ rpkg offtrac urlgrabber ];
|
||||
|
||||
doCheck = false; # requires fedora_cert which isn't used anymore
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Subclass of the rpkg project for dealing with rpm packaging";
|
||||
homepage = https://pagure.io/fedpkg;
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ ];
|
||||
};
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
--- orig/setup.py
|
||||
+++ new/setup.py
|
||||
@@ -27,10 +27,10 @@
|
||||
'bin/fedpkg',
|
||||
'bin/fedpkg-stage',
|
||||
],
|
||||
- data_files=[(bash_completion_dir(), ['conf/bash-completion/fedpkg.bash']),
|
||||
- ('/etc/rpkg', ['conf/etc/rpkg/fedpkg.conf',
|
||||
+ data_files=[('share/bash-completion/completions', ['conf/bash-completion/fedpkg.bash']),
|
||||
+ ('etc/rpkg', ['conf/etc/rpkg/fedpkg.conf',
|
||||
'conf/etc/rpkg/fedpkg-stage.conf']),
|
||||
- ('/usr/share/zsh/site-functions', ['conf/zsh-completion/_fedpkg']),
|
||||
+ ('share/zsh/site-functions', ['conf/zsh-completion/_fedpkg']),
|
||||
],
|
||||
|
||||
tests_require=['nose', 'mock'],
|
||||
Reference in New Issue
Block a user