From 1ca830c6043c691b71872cec5a65ffd29279b4c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Tue, 13 Apr 2021 20:49:03 +0200 Subject: [PATCH] python3-PyICU: update to 2.7.1. --- srcpkgs/python3-PyICU/template | 17 +++++++++-------- srcpkgs/python3-PyICU/update | 1 + 2 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 srcpkgs/python3-PyICU/update diff --git a/srcpkgs/python3-PyICU/template b/srcpkgs/python3-PyICU/template index d1e0612a78a0..6d2da03b0536 100644 --- a/srcpkgs/python3-PyICU/template +++ b/srcpkgs/python3-PyICU/template @@ -1,22 +1,23 @@ # Template file for 'python3-PyICU' pkgname=python3-PyICU -version=2.6 +version=2.7.1 revision=1 -wrksrc="PyICU-${version}" +wrksrc="pyicu-v${version}" build_style=python3-module hostmakedepends="python3-setuptools" makedepends="python3-devel icu-devel" +depends="python3" checkdepends="python3-pytest python3-six" short_desc="Python extension wrapping the ICU C++ API (Python3)" maintainer="Piotr Wójcik " license="MIT" -homepage="https://github.com/ovalhub/pyicu" -changelog="https://raw.githubusercontent.com/ovalhub/pyicu/master/CHANGES" -distfiles="${PYPI_SITE}/P/PyICU/PyICU-${version}.tar.gz" -checksum=a9a5bf6833360f8f69e9375b91c1a7dd6e0c9157a42aee5bb7d6891804d96371 +homepage="https://pypi.org/project/PyICU/" +changelog="https://gitlab.pyicu.org/main/pyicu/-/raw/main/CHANGES" +distfiles="https://gitlab.pyicu.org/main/pyicu/-/archive/v${version}/pyicu-v${version}.tar.bz2" +checksum=c36114e39ab62a7c0fba56e8c5256c1eeae05d5207c766d3dd7ed422a8d877a3 -do_check() { - python3 setup.py test +pre_check() { + export PYTHONPATH=$(cd build/lib* && pwd) } post_install() { diff --git a/srcpkgs/python3-PyICU/update b/srcpkgs/python3-PyICU/update new file mode 100644 index 000000000000..879536c9701e --- /dev/null +++ b/srcpkgs/python3-PyICU/update @@ -0,0 +1 @@ +pkgname=pyicu