void-packages/srcpkgs/python3-transifex-client/patches/relax-deps.patch
Đoàn Trần Công Danh 49cb564d14 srcpkgs/p*: convert patches to -Np1
* par is kept at -Np0

```sh
git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" |
while read template; do
	for p in ${template%/template}/patches/*; do
		sed -i '
			\,^[+-][+-][+-] /dev/null,b
			/^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b
			s,^[*][*][*] ,&a/,
			/^--- /{
				s,\(^--- \)\(./\)*,\1a/,
				s,[.-][Oo][Rr][Ii][Gg]\([	/]\),\1,
				s/[.-][Oo][Rr][Ii][Gg]$//
				s/[.]patched[.]\([^.]\)/.\1/
				h
			}
			/^+++ -/{
				g
				s/^--- a/+++ b/
				b
			}
			s,\(^+++ \)\(./\)*,\1b/,
		' "$p"
	done
	sed -i '/^patch_args=/d' $template
done
```
2021-06-20 13:17:29 +07:00

9 lines
251 B
Diff

--- a/requirements.txt 2019-03-05 20:38:40.487366801 +0100
+++ b/requirements.txt 2019-03-05 20:39:34.522087398 +0100
@@ -1,4 +1,4 @@
-urllib3<1.24
-six==1.11.0
+urllib3>=1.24,<2.0.0
+six>=1.11.0,<2.0.0
requests>=2.19.1,<3.0.0
python-slugify==1.2.6