From 6a4b76e8938a28ab1b01764461ba42cc82dedf69 Mon Sep 17 00:00:00 2001 From: Naveen Date: Sun, 2 May 2021 07:53:29 +0000 Subject: [PATCH 1/5] python-ipython: update to 7.23.0 --- mingw-w64-python-ipython/PKGBUILD | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/mingw-w64-python-ipython/PKGBUILD b/mingw-w64-python-ipython/PKGBUILD index 2dbaffe3c1..7e35db725c 100644 --- a/mingw-w64-python-ipython/PKGBUILD +++ b/mingw-w64-python-ipython/PKGBUILD @@ -6,8 +6,8 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=7.22.0 -pkgrel=2 +pkgver=7.23.0 +pkgrel=1 pkgdesc="An enhanced Interactive Python shell (mingw-w64)" arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64') @@ -19,9 +19,11 @@ depends=("${MINGW_PACKAGE_PREFIX}-python-backcall" "${MINGW_PACKAGE_PREFIX}-python-colorama" "${MINGW_PACKAGE_PREFIX}-python-decorator" "${MINGW_PACKAGE_PREFIX}-python-jedi" + "${MINGW_PACKAGE_PREFIX}-python-matplotlib-inline" "${MINGW_PACKAGE_PREFIX}-python-pickleshare" "${MINGW_PACKAGE_PREFIX}-python-prompt_toolkit" "${MINGW_PACKAGE_PREFIX}-python-pygments" + "${MINGW_PACKAGE_PREFIX}-python-setuptools" "${MINGW_PACKAGE_PREFIX}-python-traitlets" "${MINGW_PACKAGE_PREFIX}-sqlite3" "winpty") @@ -37,7 +39,7 @@ checkdepends=("${MINGW_PACKAGE_PREFIX}-python-requests" "${MINGW_PACKAGE_PREFIX}-python-ipykernel" "${MINGW_PACKAGE_PREFIX}-python-numpy") source=("${_realname}-${pkgver}.tar.gz::https://github.com/ipython/ipython/archive/${pkgver}.tar.gz") -sha256sums=('36abe876efe05f80236cceb8a016b1d615eb3f7adf873fcd63dec006018258b2') +sha256sums=('008de5f95cc928ffaa24f0b7785400218bc9645ed2bd8923f7ab80da169435ea') prepare() { cd "${srcdir}" From 37eb66942af3c60dfa2276f99f70e74b93b4ed7c Mon Sep 17 00:00:00 2001 From: Naveen Date: Sun, 2 May 2021 07:53:30 +0000 Subject: [PATCH 2/5] python-pip: update to 21.1.1 --- mingw-w64-python-pip/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mingw-w64-python-pip/PKGBUILD b/mingw-w64-python-pip/PKGBUILD index 8f5b16b683..82a20cc0db 100644 --- a/mingw-w64-python-pip/PKGBUILD +++ b/mingw-w64-python-pip/PKGBUILD @@ -7,7 +7,7 @@ pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") provides=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") conflicts=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") replaces=("${MINGW_PACKAGE_PREFIX}-python3-${_realname}") -pkgver=21.1 +pkgver=21.1.1 pkgrel=1 pkgdesc="The PyPA recommended tool for installing Python packages. (mingw-w64)" arch=('any') @@ -23,7 +23,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-python" # "${MINGW_PACKAGE_PREFIX}-python-werkzeug" # "${MINGW_PACKAGE_PREFIX}-python-virtualenv") source=(${_realname}-${pkgver}.tar.gz::https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz) -sha256sums=('a810bf07c3723a28621c29abe8e34429fa082c337f89aea9a795865416b66d3e') +sha256sums=('51ad01ddcd8de923533b01a870e7b987c2eb4d83b50b89e1bf102723ff9fed8b') prepare() { rm -rf python-build-${CARCH}| true From 215aea6be2bf5a2508ac642c41d08636429fabdc Mon Sep 17 00:00:00 2001 From: Naveen Date: Sun, 2 May 2021 07:53:30 +0000 Subject: [PATCH 3/5] python-pytest-checkdocs: update to 2.7.0 --- mingw-w64-python-pytest-checkdocs/PKGBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/mingw-w64-python-pytest-checkdocs/PKGBUILD b/mingw-w64-python-pytest-checkdocs/PKGBUILD index c99bfd063b..9727214220 100644 --- a/mingw-w64-python-pytest-checkdocs/PKGBUILD +++ b/mingw-w64-python-pytest-checkdocs/PKGBUILD @@ -4,24 +4,22 @@ _pyname=pytest-checkdocs _realname=pytest-checkdocs pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") -pkgver=2.6.0 +pkgver=2.7.0 pkgrel=1 pkgdesc='check the README when running tests (mingw-w64)' arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64') url="https://github.com/jaraco/pytest-checkdocs" license=('MIT') -depends=( - "${MINGW_PACKAGE_PREFIX}-python-docutils" - "${MINGW_PACKAGE_PREFIX}-python-pep517" - "${MINGW_PACKAGE_PREFIX}-python-jaraco.functools" -) +depends=("${MINGW_PACKAGE_PREFIX}-python-docutils" + "${MINGW_PACKAGE_PREFIX}-python-importlib-metadata" + "${MINGW_PACKAGE_PREFIX}-python-pep517") makedepends=( "${MINGW_PACKAGE_PREFIX}-python-setuptools" "${MINGW_PACKAGE_PREFIX}-python-setuptools-scm" ) source=("${_pyname}-${pkgver}.tar.gz::https://pypi.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz") -sha256sums=('6c0214ee756255f6f63721763d8f6455c81fb34055ff6411732a79b95a64746f') +sha256sums=('6eef175c9f30ee5572007aae2a94acaac3ba8ed55cccd351a38dcce21ca8c25d') prepare() { cd "$srcdir" From 0c7ecb08db580a407a9281aad04679584dd998bb Mon Sep 17 00:00:00 2001 From: Naveen Date: Sun, 2 May 2021 07:53:31 +0000 Subject: [PATCH 4/5] python-typing_extensions: update to 3.10.0.0 --- mingw-w64-python-typing_extensions/PKGBUILD | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mingw-w64-python-typing_extensions/PKGBUILD b/mingw-w64-python-typing_extensions/PKGBUILD index 26208ad029..a080795121 100644 --- a/mingw-w64-python-typing_extensions/PKGBUILD +++ b/mingw-w64-python-typing_extensions/PKGBUILD @@ -5,8 +5,8 @@ _pyname=typing-extensions _realname=typing_extensions pkgbase=mingw-w64-python-${_realname} pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") -pkgver=3.7.4.3 -pkgrel=2 +pkgver=3.10.0.0 +pkgrel=1 pkgdesc='Backported and Experimental Type Hints for Python 3.5+ (mingw-w64)' arch=('any') mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64') @@ -15,7 +15,7 @@ license=('PSF') depends=("${MINGW_PACKAGE_PREFIX}-python") makedepends=("${MINGW_PACKAGE_PREFIX}-python-setuptools") source=("${_realname}-${pkgver}.tar.gz::https://pypi.python.org/packages/source/${_pyname:0:1}/${_pyname}/${_realname}-${pkgver}.tar.gz") -sha256sums=("99d4073b617d30288f569d3f13d2bd7548c3a7e4c8de87db09a9d29bb3a4a60c") +sha256sums=('50b6f157849174217d0656f99dc82fe932884fb250826c18350e159ec6cdf342') prepare() { cd "${srcdir}" From 0668ed5c2457435456e9b78fa76c824128d459f0 Mon Sep 17 00:00:00 2001 From: Naveen M K Date: Sun, 2 May 2021 16:04:13 +0530 Subject: [PATCH 5/5] matplotlib-inline: new package --- mingw-w64-python-matplotlib-inline/PKGBUILD | 42 +++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 mingw-w64-python-matplotlib-inline/PKGBUILD diff --git a/mingw-w64-python-matplotlib-inline/PKGBUILD b/mingw-w64-python-matplotlib-inline/PKGBUILD new file mode 100644 index 0000000000..231409075e --- /dev/null +++ b/mingw-w64-python-matplotlib-inline/PKGBUILD @@ -0,0 +1,42 @@ +# Maintainer: Naveen M K + +_pyname=matplotlib-inline +_realname=matplotlib-inline +pkgbase=mingw-w64-python-${_realname} +pkgname=("${MINGW_PACKAGE_PREFIX}-python-${_realname}") +pkgver=0.1.2 +pkgrel=1 +pkgdesc='Inline Matplotlib backend for Jupyter (mingw-w64)' +arch=('any') +url="https://pypi.org/project/matplotlib-inline/" +license=('BSD-3-Clause') +depends=( + "${MINGW_PACKAGE_PREFIX}-python" + "${MINGW_PACKAGE_PREFIX}-python-traitlets" +) +makedepends=( + "${MINGW_PACKAGE_PREFIX}-python-setuptools" +) +source=("${_pyname}-${pkgver}.tar.gz::https://pypi.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz") +sha256sums=('f41d5ff73c9f5385775d5c0bc13b424535c8402fe70ea8210f93e11f3683993e') + +prepare() { + cd "$srcdir" + rm -rf python-build-${CARCH} | true + cp -r "${_pyname//_/-}-$pkgver" "python-build-${CARCH}" + export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} +} + +build() { + msg "Python build for ${CARCH}" + cd "${srcdir}/python-build-${CARCH}" + ${MINGW_PREFIX}/bin/python setup.py build +} + +package() { + cd "${srcdir}/python-build-${CARCH}" + MSYS2_ARG_CONV_EXCL="--prefix=;--install-scripts=;--install-platlib=" \ + ${MINGW_PREFIX}/bin/python setup.py install --prefix=${MINGW_PREFIX} \ + --root="${pkgdir}" --optimize=1 --skip-build + install -Dm644 LICENSE "${pkgdir}${MINGW_PREFIX}/share/licenses/python-${_realname}/LICENSE" +}