Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various Python package updates #5099

Merged
merged 10 commits into from
Dec 26, 2024
6 changes: 3 additions & 3 deletions python-attrs/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
_realname=attrs
pkgbase=python-attrs
pkgname=("python-${_realname}")
pkgver=23.2.0
pkgrel=2
pkgver=24.3.0
pkgrel=1
pkgdesc="Attributes without boilerplate."
arch=('any')
license=('spdx:MIT')
Expand All @@ -24,7 +24,7 @@ provides=("python3-${_realname}")
replaces=("python3-${_realname}")
conflicts=("python3-${_realname}")
source=("https://pypi.io/packages/source/a/attrs/attrs-$pkgver.tar.gz")
sha512sums=('d8b178072a028b95d8424cd3ce0c8b4e6da8558fbcbcaaef91fbd03cf51e6190aa248aa0bff853e6f7c9595bbd5a8eef9d6f68ae2830cc1cc6d826ab0dda2378')
sha512sums=('9974c1510e78887aedae51813d2edcbb5210de302360c1b0e8cd64265b32acae65e633d61d936aaf8541f79180b9e61e1a9e2a88ac09f8ef29423afb340db8ef')

build() {
cd "${srcdir}/${_realname}-${pkgver}"
Expand Down
4 changes: 2 additions & 2 deletions python-certifi/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

_realname=certifi
pkgname="python-${_realname}"
pkgver=2024.8.30
pkgver=2024.12.14
pkgrel=1
pkgdesc="Python package for providing Mozilla's CA Bundle"
url='https://pypi.python.org/pypi/certifi'
Expand All @@ -18,7 +18,7 @@ makedepends=(
"python-installer"
)
source=("https://pypi.io/packages/source/${_realname:0:1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('bec941d2aa8195e248a60b31ff9f0558284cf01a52591ceda73ea9afffd69fd9')
sha256sums=('b650d30f370c2b724812bee08008be0c4163b163ddaec3f2546c1caf65f191db')

build() {
cd "${srcdir}/${_realname}-${pkgver}"
Expand Down
4 changes: 2 additions & 2 deletions python-configobj/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ _realname=configobj
pkgbase="python-${_realname}"
pkgname=("python-${_realname}")
pkgver=5.0.9
pkgrel=1
pkgrel=2
pkgdesc="Simple but powerful config file reader and writer for Python"
arch=('any')
license=('spdx:BSD-3-Clause')
url="https://github.com/DiffSK/configobj"
msys2_references=(
"pypi:configobj"
)
depends=('python' 'python-six')
depends=('python')
makedepends=(
'python-build'
'python-installer'
Expand Down
4 changes: 2 additions & 2 deletions python-hatchling/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

_pyname=hatchling
pkgname=python-hatchling
pkgver=1.25.0
pkgver=1.27.0
pkgrel=1
pkgdesc="A modern project, package, and virtual env manager (backend)"
arch=('any')
Expand All @@ -25,7 +25,7 @@ makedepends=(
'python-setuptools'
)
source=("https://pypi.org/packages/source/${_pyname::1}/${_pyname}/${_pyname}-${pkgver}.tar.gz")
sha256sums=('7064631a512610b52250a4d3ff1bd81551d6d1431c4eb7b72e734df6c74f4262')
sha256sums=('971c296d9819abb3811112fc52c7a9751c8d381898f36533bb16f9791e941fd6')

build() {
cd "${_pyname}-${pkgver}"
Expand Down
14 changes: 7 additions & 7 deletions python-markupsafe/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
_realname=markupsafe
pkgbase="python-${_realname}"
pkgname=("python-${_realname}")
pkgver=2.1.5
pkgrel=4
pkgver=3.0.2
pkgrel=1
pkgdesc="Implements a XML/HTML/XHTML Markup safe string for Python"
arch=('i686' 'x86_64')
license=('spdx:BSD-3-Clause')
Expand All @@ -22,16 +22,16 @@ makedepends=(
provides=("python3-${_realname}")
conflicts=("python3-${_realname}")
replaces=("python3-${_realname}")
source=("https://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${pkgver}.tar.gz")
sha256sums=('d283d37a890ba4c1ae73ffadf8046435c76e7bc2247bbb63c00bd1a709c6544b')
source=("https://pypi.python.org/packages/source/m/markupsafe/markupsafe-${pkgver}.tar.gz")
sha256sums=('ee55d3edf80167e48ea11a923c7386f4669df67d7994554387f84e7d8b0a2bf0')

build() {
cd "${srcdir}/MarkupSafe-${pkgver}"
cd "${srcdir}/markupsafe-${pkgver}"
python -m build --wheel --skip-dependency-check --no-isolation
}

package() {
cd "${srcdir}/MarkupSafe-${pkgver}"
cd "${srcdir}/markupsafe-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 LICENSE.rst "${pkgdir}/usr/share/licenses/python-${_realname}/LICENSE"
install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-${_realname}/LICENSE"
}
6 changes: 3 additions & 3 deletions python-poetry-core/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_realname=poetry-core
pkgname="python-${_realname}"
pkgver=1.9.0
pkgrel=3
pkgver=1.9.1
pkgrel=1
pkgdesc='Poetry PEP 517 Build Backend'
arch=(any)
url='https://github.com/python-poetry/poetry-core'
Expand All @@ -16,7 +16,7 @@ makedepends=(
"python-installer"
)
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname/-/_}-${pkgver}.tar.gz")
sha256sums=('fa7a4001eae8aa572ee84f35feb510b321bd652e5cf9293249d62853e1f935a2')
sha256sums=('7a2d49214bf58b4f17f99d6891d947a9836c9899a67a5069f52d7b67217f61b8')

build() {
cd "${_realname/-/_}-${pkgver}"
Expand Down
6 changes: 3 additions & 3 deletions python-pyparsing/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
_realname=pyparsing
pkgbase="python-${_realname}"
pkgname=("python-${_realname}")
pkgver=3.1.2
pkgrel=2
pkgver=3.2.0
pkgrel=1
pkgdesc='General parsing module for Python'
arch=('any')
url='https://github.com/pyparsing/pyparsing/'
Expand All @@ -22,7 +22,7 @@ provides=("python3-${_realname}")
replaces=("python3-${_realname}")
conflicts=("python3-${_realname}")
source=("https://pypi.org/packages/source/${_realname::1}/${_realname}/${_realname}-${pkgver}.tar.gz")
sha256sums=('a1bac0ce561155ecc3ed78ca94d3c9378656ad4c94c1270de543f621420f94ad')
sha256sums=('cbf74e27246d595d9a74b186b810f6fbb86726dbf3b9532efb343f6d7294fe9c')

build() {
cd "${srcdir}"/pyparsing-${pkgver}
Expand Down
6 changes: 3 additions & 3 deletions python-six/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

pkgbase=python-six
pkgname=('python-six')
pkgver=1.16.0
pkgrel=5
pkgver=1.17.0
pkgrel=1
provides=("python3-six")
replaces=("python3-six")
conflicts=("python3-six")
Expand All @@ -23,7 +23,7 @@ makedepends=(
)
checkdepends=('python-pytest')
source=("https://pypi.io/packages/source/s/six/six-${pkgver}.tar.gz")
sha256sums=('1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926')
sha256sums=('ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81')

build() {
cd "${srcdir}"/six-${pkgver}
Expand Down
8 changes: 5 additions & 3 deletions python-urllib3/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

_realname=urllib3
pkgname="python-${_realname}"
pkgver=2.0.7
pkgrel=2
pkgver=2.3.0
pkgrel=1
pkgdesc="HTTP library with thread-safe connection pooling and file post support"
url='https://github.com/urllib3/urllib3'
msys2_references=(
Expand All @@ -16,15 +16,17 @@ arch=('any')
depends=("python")
makedepends=(
"python-hatchling"
"python-hatch-vcs"
"python-build"
"python-installer"
)
source=("${_realname}-${pkgver}.tar.gz::https://github.com/urllib3/urllib3/archive/${pkgver}.tar.gz")
sha256sums=('d223d2d5855680af96d74f376a35af63f8865908d66d32e742d4c83587dc22fb')
sha256sums=('c01e942a7ab88284f1407eeff2c19693e04a6b339c216d64577989b9183d1418')

build() {
cd "${srcdir}/${_realname}-${pkgver}"

export SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver}
python -m build --wheel --skip-dependency-check --no-isolation
}

Expand Down
Loading