[arch-commits] Commit in jrnl/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Fri Mar 11 23:11:44 UTC 2022


    Date: Friday, March 11, 2022 @ 23:11:44
  Author: felixonmars
Revision: 1148907

upgpkg: jrnl 2.8.4-1

Modified:
  jrnl/trunk/PKGBUILD

----------+
 PKGBUILD |   24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-11 23:11:33 UTC (rev 1148906)
+++ PKGBUILD	2022-03-11 23:11:44 UTC (rev 1148907)
@@ -1,8 +1,8 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=jrnl
-pkgver=2.8.3
-pkgrel=2
+pkgver=2.8.4
+pkgrel=1
 pkgdesc="Collect your thoughts and notes without leaving the command line"
 arch=('any')
 url="https://jrnl.sh/"
@@ -10,34 +10,24 @@
 depends=('python-ansiwrap' 'python-asteval' 'python-colorama' 'python-cryptography' 'python-keyring'
          'python-parsedatetime' 'python-dateutil' 'python-pyxdg' 'python-yaml' 'python-pytz'
          'python-tzlocal')
-makedepends=('python-dephell')
-checkdepends=('python-behave' 'python-pytest' 'python-pytest-bdd')
+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=('00dc9f8364c6f057a7667bc1de3857fc8cc3393832c3198f1726dfdf567a28556b8a818c67828c9fbdb36ebbd4c9066545b4b15943253d7c6c9949ab07701f32')
+sha512sums=('12b65ac3a7b9bd14d1eeda0755be1beb3a19cadac7f34f3c76cc88e8729d1c0f4e550e380cbd420aff88f111219cd14b6da734e7de9e564691b0d90c323fc009')
 
-prepare() {
-  cd jrnl-$pkgver
-
-  # poetry-generated setup.py is badly broken in several ways, including
-  # distribution of tests in the built package as well as using distutils for
-  # bad metadata. See https://github.com/sdispater/poetry/issues/866
-  dephell deps convert --from pyproject.toml --to setup.py
-}
-
 build() {
   cd jrnl-$pkgver
-  python setup.py build
+  python -m build -nw
 }
 
 check() {
   cd jrnl-$pkgver
   python -m pytest
-  behave
 }
 
 package() {
   cd jrnl-$pkgver
-  python setup.py install -O1 --prefix=/usr --root="$pkgdir"
+  python -m installer --destdir="$pkgdir" dist/*.whl
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list