aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/pkgs/development/python-modules/scrapy/permissions-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/scrapy/permissions-fix.patch')
-rw-r--r--nixpkgs/pkgs/development/python-modules/scrapy/permissions-fix.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/scrapy/permissions-fix.patch b/nixpkgs/pkgs/development/python-modules/scrapy/permissions-fix.patch
deleted file mode 100644
index 53038cf74e5..00000000000
--- a/nixpkgs/pkgs/development/python-modules/scrapy/permissions-fix.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/scrapy/commands/startproject.py b/scrapy/commands/startproject.py
-index 5941066..89f8edb 100644
---- a/scrapy/commands/startproject.py
-+++ b/scrapy/commands/startproject.py
-@@ -4,7 +4,7 @@ import os
- import string
- from importlib import import_module
- from os.path import join, exists, abspath
--from shutil import ignore_patterns, move, copy2, copystat
-+from shutil import ignore_patterns, move, copyfile, copystat
-
- import scrapy
- from scrapy.commands import ScrapyCommand
-@@ -76,8 +76,7 @@ class Command(ScrapyCommand):
- if os.path.isdir(srcname):
- self._copytree(srcname, dstname)
- else:
-- copy2(srcname, dstname)
-- copystat(src, dst)
-+ copyfile(srcname, dstname)
-
- def run(self, args, opts):
- if len(args) not in (1, 2):