sip: 4.14.7 -> 4.18.1, drop unused old version

This commit is contained in:
Nikolay Amiantov 2016-08-17 19:35:29 +03:00
parent 1c5399626a
commit 3e5bf44aab
7 changed files with 9 additions and 43 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, python, pyqt5, sip_4_16, poppler_utils, pkgconfig, libpng
{ stdenv, fetchurl, python, pyqt5, sip, poppler_utils, pkgconfig, libpng
, imagemagick, libjpeg, fontconfig, podofo, qtbase, qmakeHook, icu, sqlite
, makeWrapper, unrarSupport ? false, chmlib, pythonPackages, xz, libusb1, libmtp
, xdg_utils, makeDesktopItem
@ -35,7 +35,7 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper pkgconfig qmakeHook ];
buildInputs =
[ python pyqt5 sip_4_16 poppler_utils libpng imagemagick libjpeg
[ python pyqt5 sip poppler_utils libpng imagemagick libjpeg
fontconfig podofo qtbase chmlib icu sqlite libusb1 libmtp xdg_utils
pythonPackages.mechanize pythonPackages.lxml pythonPackages.dateutil
pythonPackages.cssutils pythonPackages.beautifulsoup pythonPackages.pillow
@ -53,7 +53,7 @@ stdenv.mkDerivation rec {
export FC_LIB_DIR=${fontconfig.lib}/lib
export PODOFO_INC_DIR=${podofo}/include/podofo
export PODOFO_LIB_DIR=${podofo}/lib
export SIP_BIN=${sip_4_16}/bin/sip
export SIP_BIN=${sip}/bin/sip
python setup.py install --prefix=$out
PYFILES="$out/bin/* $out/lib/calibre/calibre/web/feeds/*.py

View File

@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
echo "exec ${python3Packages.python.interpreter} $(toPythonPath $out)/launch.py" >>$out/bin/openshot-qt
chmod +x $out/bin/openshot-qt
wrapProgram $out/bin/openshot-qt \
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${libopenshot}):$(toPythonPath ${python3Packages.pyqt5}):$(toPythonPath ${python3Packages.sip_4_16}):$(toPythonPath ${python3Packages.httplib2}):$PYTHONPATH"
--prefix PYTHONPATH : "$(toPythonPath $out):$(toPythonPath ${libopenshot}):$(toPythonPath ${python3Packages.pyqt5}):$(toPythonPath ${python3Packages.sip}):$(toPythonPath ${python3Packages.httplib2}):$PYTHONPATH"
'';
doCheck = false;

View File

@ -1,8 +1,7 @@
{ stdenv, fetchbzr, pythonPackages, rtmpdump, makeWrapper }:
let
inherit (pythonPackages) python pyqt4;
sip = pythonPackages.sip_4_16;
inherit (pythonPackages) python pyqt4 sip;
in stdenv.mkDerivation {
name = "qarte-2.4.0";
src = fetchbzr {

View File

@ -1,28 +0,0 @@
{ stdenv, fetchurl, python, isPyPy }:
if isPyPy then throw "sip not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
name = "sip-4.16.6";
src = fetchurl {
url = "mirror://sourceforge/pyqt/sip/${name}/${name}.tar.gz";
sha256 = "0lj5f581dkwswlwpg7lbicqf940dvrp8vjbkhmyywd99ynxb4zcc";
};
configurePhase = ''
${python.executable} ./configure.py \
-d $out/lib/${python.libPrefix}/site-packages \
-b $out/bin -e $out/include
'';
buildInputs = [ python ];
passthru.pythonPath = [];
meta = with stdenv.lib; {
description = "Creates C++ bindings for Python modules";
homepage = "http://www.riverbankcomputing.co.uk/";
license = licenses.gpl2Plus;
maintainers = with maintainers; [ lovek323 sander urkud ];
platforms = platforms.all;
};
}

View File

@ -1,17 +1,14 @@
{ stdenv, fetchurl, python, isPyPy }:
if isPyPy then throw "sip not supported for interpreter ${python.executable}" else stdenv.mkDerivation rec {
name = "sip-4.14.7"; # kde410.pykde4 doesn't build with 4.15
name = "sip-4.18.1";
src = fetchurl {
url = "mirror://sourceforge/pyqt/sip/${name}/${name}.tar.gz";
sha256 = "1dv1sdwfmnq481v80k2951amzs9s87d4qhk0hpwrhb1sllh92rh5";
sha256 = "1452zy3g0qv4fpd9c0y4gq437kn0xf7bbfniibv5n43zpwnpmklv";
};
configurePhase = stdenv.lib.optionalString stdenv.isDarwin ''
# prevent sip from complaining about python not being built as a framework
sed -i -e 1564,1565d siputils.py
'' + ''
configurePhase = ''
${python.executable} ./configure.py \
-d $out/lib/${python.libPrefix}/site-packages \
-b $out/bin -e $out/include

View File

@ -12447,7 +12447,7 @@ in
calcurse = callPackage ../applications/misc/calcurse { };
calibre = qt55.callPackage ../applications/misc/calibre {
inherit (pythonPackages) pyqt5 sip_4_16;
inherit (pythonPackages) pyqt5 sip;
};
camlistore = callPackage ../applications/misc/camlistore { };

View File

@ -307,8 +307,6 @@ in modules // {
sip = callPackage ../development/python-modules/sip { };
sip_4_16 = callPackage ../development/python-modules/sip/4.16.nix { };
tables = callPackage ../development/python-modules/tables {
hdf5 = pkgs.hdf5.override { zlib = pkgs.zlib; };
};