mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-21 04:13:12 +00:00
Merge pull request #149784 from jonringer/remove-zc-buildout-nix
python3Packages.zc_buildout_nix: remove
This commit is contained in:
commit
8ccab2abf1
@ -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))
|
@ -106,4 +106,5 @@ mapAliases ({
|
||||
WazeRouteCalculator = wazeroutecalculator; # added 2021-09-29
|
||||
websocket_client = websocket-client; # added 2021-06-15
|
||||
zc-buildout221 = zc-buildout; # added 2021-07-21
|
||||
zc_buildout_nix = throw "zc_buildout_nix was pinned to a version no longer compatible with other modules";
|
||||
})
|
||||
|
@ -10359,8 +10359,6 @@ in {
|
||||
|
||||
zc-buildout = callPackage ../development/python-modules/buildout { };
|
||||
|
||||
zc_buildout_nix = callPackage ../development/python-modules/buildout-nix { };
|
||||
|
||||
zc_lockfile = callPackage ../development/python-modules/zc_lockfile { };
|
||||
|
||||
zconfig = callPackage ../development/python-modules/zconfig { };
|
||||
|
Loading…
Reference in New Issue
Block a user