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

Felix Yan felixonmars at gemini.archlinux.org
Fri Jul 15 08:48:05 UTC 2022


    Date: Friday, July 15, 2022 @ 08:48:05
  Author: felixonmars
Revision: 1252829

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   72 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 39 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-07-15 08:47:52 UTC (rev 1252828)
+++ PKGBUILD	2022-07-15 08:48:05 UTC (rev 1252829)
@@ -1,33 +0,0 @@
-# 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:

Copied: jrnl/repos/community-any/PKGBUILD (from rev 1252828, jrnl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-07-15 08:48:05 UTC (rev 1252829)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=jrnl
+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-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=('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
+}
+
+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