No longer builds, not referenced within nixpkgs, and pinned to an old version.main
parent
a07a14ac86
commit
bba4b2ce00
@ -1,22 +0,0 @@ |
||||
{ lib, buildPythonPackage, fetchPypi }: |
||||
|
||||
buildPythonPackage rec { |
||||
pname = "zc.buildout"; |
||||
version = "2.13.4"; |
||||
|
||||
src = fetchPypi { |
||||
inherit pname version; |
||||
sha256 = "b978b2f9317b317ee4191f78fcc4f05b1ac41bdaaae47f0956f14c8285feef63"; |
||||
}; |
||||
|
||||
patches = [ ./nix.patch ]; |
||||
|
||||
postInstall = "mv $out/bin/buildout{,-nix}"; |
||||
|
||||
meta = with lib; { |
||||
homepage = "http://www.buildout.org"; |
||||
description = "A software build and configuration system"; |
||||
license = licenses.zpl21; |
||||
maintainers = [ maintainers.goibhniu ]; |
||||
}; |
||||
} |
@ -1,28 +0,0 @@ |
||||
--- a/src/zc/buildout/buildout.py 2017-08-18 10:06:24.946428977 +0300
|
||||
+++ b/src/zc/buildout/buildout.py 2017-08-18 10:08:49.115613364 +0300
|
||||
@@ -382,6 +382,10 @@
|
||||
if k not in versions
|
||||
))
|
||||
|
||||
+ # Override versions with available (nix) system packages
|
||||
+ for dist in pkg_resources.working_set:
|
||||
+ versions[dist.project_name] = SectionKey(dist.version, dist.location)
|
||||
+
|
||||
# Absolutize some particular directory, handling also the ~/foo form,
|
||||
# and considering the location of the configuration file that generated
|
||||
# the setting as the base path, falling back to the main configuration
|
||||
--- a/src/zc/buildout/easy_install.py 2017-08-18 10:06:24.948428980 +0300
|
||||
+++ b/src/zc/buildout/easy_install.py 2017-08-18 10:07:37.462521740 +0300
|
||||
@@ -321,6 +321,12 @@
|
||||
|
||||
def _satisfied(self, req, source=None):
|
||||
dists = [dist for dist in self._env[req.project_name] if dist in req]
|
||||
+ try:
|
||||
+ dists = ([dist for dist in dists
|
||||
+ if dist.precedence == pkg_resources.DEVELOP_DIST]
|
||||
+ + [pkg_resources.get_distribution(req.project_name)])
|
||||
+ except pkg_resources.DistributionNotFound:
|
||||
+ pass
|
||||
if not dists:
|
||||
logger.debug('We have no distributions for %s that satisfies %r.',
|
||||
req.project_name, str(req))
|
Loading…
Reference in new issue