[arch-commits] Commit in curator/trunk (PKGBUILD cx-freeze-6.7.patch)
Antonio Rojas
arojas at gemini.archlinux.org
Fri Oct 15 22:30:56 UTC 2021
Date: Friday, October 15, 2021 @ 22:30:55
Author: arojas
Revision: 1030335
libffi 3.4 rebuild
Added:
curator/trunk/cx-freeze-6.7.patch
Modified:
curator/trunk/PKGBUILD
---------------------+
PKGBUILD | 18 ++++++++++++++----
cx-freeze-6.7.patch | 12 ++++++++++++
2 files changed, 26 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-15 21:39:06 UTC (rev 1030334)
+++ PKGBUILD 2021-10-15 22:30:55 UTC (rev 1030335)
@@ -4,7 +4,7 @@
pkgbase=curator
pkgname=(python-elasticsearch-curator curator)
pkgver=5.7.6
-pkgrel=5
+pkgrel=6
pkgdesc='Curator: Tending your Elasticsearch indices'
url='https://github.com/elastic/curator'
arch=('x86_64')
@@ -15,10 +15,20 @@
'python-cx_freeze' 'xz' 'mpdecimal')
checkdepends=('python-pytest' 'python-mock')
options=('!makeflags')
-source=(https://github.com/elastic/curator/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('a48486cacf0b32038358babfc5a8755c9a24992ff5279226b923298b426fe253')
-sha512sums=('d4f46fad5d8107899fc4c9ee1b7dad595749415cee53f55993c517743df6119ff7680f3ad96f1a937d793dad395416257b56a4b3cdcd6a99b162ad7f77196051')
+source=(https://github.com/elastic/curator/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz cx-freeze-6.7.patch)
+sha256sums=('a48486cacf0b32038358babfc5a8755c9a24992ff5279226b923298b426fe253'
+ '1003aff5daa7adcf31703bca26be8bb0fe7109732118c7e4e6e32e2eb931f07a')
+sha512sums=('d4f46fad5d8107899fc4c9ee1b7dad595749415cee53f55993c517743df6119ff7680f3ad96f1a937d793dad395416257b56a4b3cdcd6a99b162ad7f77196051'
+ '5d153fb9d264ad7e55f34f368f2065eaf6c1e2546254527d13e99fdd3cca565dd6f9fc0fa21cd583c74d96af8e22bd5bc846278c6fa7149c2cc25194484c2f6c')
+prepare() {
+ sed -e 's|click>=6.7,<7.0|click|' \
+ -e 's|urllib3>=1.24.2,<1.25|urllib3|' \
+ -e 's|pyyaml==3.12|pyyaml|' \
+ -i curator-${pkgver}/setup.py # Admit click 8
+ patch -d curator-$pkgver -p1 < cx-freeze-6.7.patch # Fix build with cx-freeze 6.7
+}
+
build() {
cd curator-${pkgver}
python setup.py build
Added: cx-freeze-6.7.patch
===================================================================
--- cx-freeze-6.7.patch (rev 0)
+++ cx-freeze-6.7.patch 2021-10-15 22:30:55 UTC (rev 1030335)
@@ -0,0 +1,12 @@
+diff --git a/setup.py b/setup.py
+index 33a77af..f529498 100644
+--- a/setup.py
++++ b/setup.py
+@@ -71,6 +71,7 @@ try:
+ packages = [],
+ excludes = [],
+ include_files = [cert_file],
++ bin_path_includes = sys.path,
+ )
+
+ if sys.platform == "win32":
More information about the arch-commits
mailing list