diff options
author | Carlos Aznarán Laos | 2023-05-22 20:51:35 -0500 |
---|---|---|
committer | Carlos Aznarán Laos | 2023-05-22 20:51:35 -0500 |
commit | b5d7cda76785afe69bc85bf93610822a60ba9dba (patch) | |
tree | 64082fb9d59cac090e2c506f678eb36836731bcf | |
parent | e4e6f2c967dc52855b598c42e2570ea2b9910b49 (diff) | |
download | aur-b5d7cda76785afe69bc85bf93610822a60ba9dba.tar.gz |
Bump version to 0.8.2
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | CHANGELOG.md | 48 | ||||
-rw-r--r-- | PKGBUILD | 52 |
3 files changed, 33 insertions, 81 deletions
@@ -1,16 +1,14 @@ -pkgbase = python-pyevtx +pkgbase = python-evtx pkgdesc = Python bindings for evtx - pkgver = 0.7.3 + pkgver = 0.8.2 pkgrel = 1 url = https://github.com/omerbenamram/pyevtx-rs - changelog = CHANGELOG.md arch = x86_64 license = MIT - license = Apache - makedepends = maturin makedepends = python-installer + makedepends = maturin depends = python - source = python-pyevtx-0.7.3.tar.gz::https://files.pythonhosted.org/packages/source/e/evtx/evtx-0.7.3.tar.gz - sha256sums = 321c6f4b39102d4d970e60eef8d07913321540cb524830962ecf61a8394cf71a + source = pyevtx-rs-0.8.2.tar.gz::https://github.com/omerbenamram/pyevtx-rs/archive/0.8.2.tar.gz + sha512sums = 6bb8c84293396f1006928e740011d7df6f1ada898d34d3ea0523eb8c67205d2517fce4d33e7ed05b605c3e5688d0e6be109ec7e82cd9a8b6446e9aeff9b59804 -pkgname = python-pyevtx +pkgname = python-evtx diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index d8c37c96156f..000000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,48 +0,0 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). - -## [0.7.3] - 2022-02-13 - -- Publish python 3.10 wheels. - -## [0.7.2] - 2020-07-13 - -- Bump to evtx library 0.7.2, and update PyO3 -- Publish python 3.9 wheels. - -## [0.6.11] - 2020-07-13 - -Bump to evtx library 0.6.8, and update PyO3. - - -## [0.6.10] - 2020-07-13 - -Updated wheels to rust stable, support python 3.8. - -## [0.6.5] - 2020-01-14 - -Updated release to match `evtx 0.6.5` - also opts out of `evtx_dump` dependencies. - -## [0.6.3] - 2019-12-17 - -Updated release to match `evtx 0.6.3` - - -## [0.6.2] - 2019-12-17 - -Updated release to match `evtx 0.6.2` - - -## [0.4.0] - 2019-06-02 - -### Added -- PyEvtxParser now supports settings number of worker threads, - and underlying ansi strings codec. - -## [0.3.2] - 2019-05-20 - -### Added -- PyEvtxParser now supports file-like objects. @@ -1,38 +1,40 @@ -# Maintainer: Luis Martinez <luis dot martinez at disroot dot org> - -pkgname=python-pyevtx -_name=evtx -pkgver=0.7.3 +# Maintainer: Carlos Aznarán <caznaranl@uni.pe> +# Contributor: Luis Martinez <luis dot martinez at disroot dot org> +_base=evtx +pkgname=python-${_base} +pkgver=0.8.2 pkgrel=1 -pkgdesc="Python bindings for evtx" -arch=('x86_64') -url="https://github.com/omerbenamram/pyevtx-rs" -license=('MIT' 'Apache') -depends=('python') -makedepends=('maturin' 'python-installer') -# checkdepends=('python-pytest') -changelog=CHANGELOG.md -source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/e/$_name/$_name-$pkgver.tar.gz") -sha256sums=('321c6f4b39102d4d970e60eef8d07913321540cb524830962ecf61a8394cf71a') +pkgdesc="Python bindings for ${_base}" +arch=(x86_64) +url="https://github.com/omerbenamram/py${_base}-rs" +license=(MIT) +depends=(python) +makedepends=(python-installer maturin) +# checkdepends=(python-pytest) +source=(py${_base}-rs-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz) +sha512sums=('6bb8c84293396f1006928e740011d7df6f1ada898d34d3ea0523eb8c67205d2517fce4d33e7ed05b605c3e5688d0e6be109ec7e82cd9a8b6446e9aeff9b59804') prepare() { - cd "$_name-$pkgver" - cargo update - cargo fetch --locked --target "$CARCH-unknown-linux-gnu" + cd py${_base}-rs-${pkgver} + cargo update + cargo fetch --locked --target "$CARCH-unknown-linux-gnu" } build() { - cd "$_name-$pkgver" - maturin build --no-sdist --release --strip + cd py${_base}-rs-${pkgver} + export RUSTUP_TOOLCHAIN=stable + export CARGO_HOME=${PWD} + maturin build --release --strip } # check() { -# cd "$_name-$pkgver" -# _ver="$(python -c 'import sys; print(".".join(map(str, sys.version_info[:2])))')" -# PYTHONPATH="$PWD/build/lib.linux-$CARCH-$_ver" pytest -x +# cd py${_base}-rs-${pkgver} +# python -m venv --system-site-packages test-env +# test-env/bin/python -m installer target/wheels/*.whl +# test-env/bin/python -m pytest # } package() { - cd "$_name-$pkgver" - PYTHONHASHSEED=0 python -m installer --destdir="$pkgdir/" target/wheels/*.whl + cd py${_base}-rs-${pkgver} + PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python -m installer --destdir="${pkgdir}" target/wheels/*.whl } |