[arch-commits] Commit in jrnl/repos/community-any (PKGBUILD PKGBUILD)

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


    Date: Friday, March 11, 2022 @ 23:11:53
  Author: felixonmars
Revision: 1148908

archrelease: copy trunk to community-any

Added:
  jrnl/repos/community-any/PKGBUILD
    (from rev 1148907, jrnl/trunk/PKGBUILD)
Deleted:
  jrnl/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   76 ++++++++++++++++++++++++++-----------------------------------
 1 file changed, 33 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-11 23:11:44 UTC (rev 1148907)
+++ PKGBUILD	2022-03-11 23:11:53 UTC (rev 1148908)
@@ -1,43 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=jrnl
-pkgver=2.8.3
-pkgrel=2
-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')
-makedepends=('python-dephell')
-checkdepends=('python-behave' 'python-pytest' 'python-pytest-bdd')
-source=("https://github.com/jrnl-org/jrnl/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('00dc9f8364c6f057a7667bc1de3857fc8cc3393832c3198f1726dfdf567a28556b8a818c67828c9fbdb36ebbd4c9066545b4b15943253d7c6c9949ab07701f32')
-
-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
-}
-
-check() {
-  cd jrnl-$pkgver
-  python -m pytest
-  behave
-}
-
-package() {
-  cd jrnl-$pkgver
-  python setup.py install -O1 --prefix=/usr --root="$pkgdir"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: jrnl/repos/community-any/PKGBUILD (from rev 1148907, jrnl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-11 23:11:53 UTC (rev 1148908)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=jrnl
+pkgver=2.8.4
+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')
+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')
+
+build() {
+  cd jrnl-$pkgver
+  python -m build -nw
+}
+
+check() {
+  cd jrnl-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd jrnl-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list