@@ -5119,7 +5119,7 @@ in modules // {
51195119 sha256 = "1dnmnkc21zdfaypskbpvkwl0wpkpn0nagj1fc338w64mbxrk8ny7";
51205120 };
51215121
5122− commonDeps = with self;
5122+ propagatedBuildInputs = with self;
51235123 [
51245124 apipkg
51255125 bottle
@@ -5135,19 +5135,7 @@ in modules // {
51355135 simplejson
51365136 sqlite3dbm
51375137 timelib
5138− ];
5139−
5140− pythonPath = commonDeps ++
5141− [
5142− modules.sqlite3
5143− ];
5144−
5145− propagatedBuildInputs = commonDeps;
5146−
5147− buildInputs = with self;
5148− [
5149− pil
5150− ] ++ propagatedBuildInputs;
5138+ ] ++ optionals (!isPy3k) [ modules.sqlite3 ];
51515139
51525140 meta = {
51535141 description = "Library for parsing MediaWiki articles and converting them to different output formats";
@@ -13280,50 +13268,6 @@ in modules // {
1328013268 };
1328113269 };
1328213270
13283−
13284− pil = buildPythonPackage rec {
13285− name = "PIL-${version}";
13286− version = "1.1.7";
13287−
13288− src = pkgs.fetchurl {
13289− url = "http://effbot.org/downloads/Imaging-${version}.tar.gz";
13290− sha256 = "04aj80jhfbmxqzvmq40zfi4z3cw6vi01m3wkk6diz3lc971cfnw9";
13291− };
13292−
13293− buildInputs = with self; [ python pkgs.libjpeg pkgs.zlib pkgs.freetype ];
13294−
13295− disabled = isPy3k;
13296−
13297− postInstall = "ln -s $out/${python.sitePackages} $out/${python.sitePackages}/PIL";
13298−
13299− preConfigure = ''
13300− sed -i "setup.py" \
13301− -e 's|^FREETYPE_ROOT =.*$|FREETYPE_ROOT = libinclude("${pkgs.freetype}")|g ;
13302− s|^JPEG_ROOT =.*$|JPEG_ROOT = libinclude("${pkgs.libjpeg}")|g ;
13303− s|^ZLIB_ROOT =.*$|ZLIB_ROOT = libinclude("${pkgs.zlib}")|g ;'
13304− '' + stdenv.lib.optionalString stdenv.isDarwin ''
13305− # Remove impurities
13306− substituteInPlace setup.py \
13307− --replace '"/Library/Frameworks",' "" \
13308− --replace '"/System/Library/Frameworks"' ""
13309− '';
13310−
13311− checkPhase = "${python.interpreter} selftest.py";
13312−
13313− meta = {
13314− homepage = http://www.pythonware.com/products/pil/;
13315− description = "The Python Imaging Library (PIL)";
13316− longDescription = ''
13317− The Python Imaging Library (PIL) adds image processing
13318− capabilities to your Python interpreter. This library
13319− supports many file formats, and provides powerful image
13320− processing and graphics capabilities.
13321− '';
13322− license = "http://www.pythonware.com/products/pil/license.htm";
13323− };
13324− };
13325−
13326−
1332713271 pillow = buildPythonPackage rec {
1332813272 name = "Pillow-2.9.0";
1332913273