Date: Friday, July 15, 2022 @ 08:47:52 Author: felixonmars Revision: 1252828
upgpkg: jrnl 3.0-1 Modified: jrnl/trunk/PKGBUILD ----------+ PKGBUILD | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-07-15 08:47:44 UTC (rev 1252827) +++ PKGBUILD 2022-07-15 08:47:52 UTC (rev 1252828) @@ -1,20 +1,26 @@ # Maintainer: Felix Yan <[email protected]> pkgname=jrnl -pkgver=2.8.4 +pkgver=3.0 pkgrel=1 pkgdesc="Collect your thoughts and notes without leaving the command line" arch=('any') url="https://jrnl.sh/" license=('GPL3') -depends=('python-ansiwrap' 'python-asteval' 'python-colorama' 'python-cryptography' 'python-keyring' - 'python-parsedatetime' 'python-dateutil' 'python-pyxdg' 'python-yaml' 'python-pytz' - 'python-tzlocal') +depends=('python-ansiwrap' 'python-colorama' 'python-cryptography' 'python-keyring' + 'python-parsedatetime' 'python-dateutil' 'python-pyxdg' 'python-pytz' 'python-rich' + 'python-ruamel-yaml' 'python-tzlocal') makedepends=('python-build' 'python-installer' 'python-poetry-core') checkdepends=('python-pytest' 'python-pytest-bdd' 'python-toml') source=("https://github.com/jrnl-org/jrnl/archive/v$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('12b65ac3a7b9bd14d1eeda0755be1beb3a19cadac7f34f3c76cc88e8729d1c0f4e550e380cbd420aff88f111219cd14b6da734e7de9e564691b0d90c323fc009') +sha512sums=('80c086d1d360deb6bde10aa6a5b284d7e99d1c87ff2ff165aed3611fcfb132577a41c1a7c7d84d2eebb176f49685a1e7351b5c9041bdb17c9098966d5d5313bc') +prepare() { + cd jrnl-$pkgver + # https://github.com/pytest-dev/pytest-bdd/issues/501 + sed -i '/-n=auto/d' pyproject.toml +} + build() { cd jrnl-$pkgver python -m build -nw
