[arch-commits] Commit in jrnl/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Dec 20 08:12:08 UTC 2020
Date: Sunday, December 20, 2020 @ 08:12:08
Author: felixonmars
Revision: 780154
archrelease: copy trunk to community-any
Added:
jrnl/repos/community-any/PKGBUILD
(from rev 780153, jrnl/trunk/PKGBUILD)
Deleted:
jrnl/repos/community-any/PKGBUILD
----------+
PKGBUILD | 85 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-20 08:11:57 UTC (rev 780153)
+++ PKGBUILD 2020-12-20 08:12:08 UTC (rev 780154)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=jrnl
-pkgver=2.5
-pkgrel=1
-pkgdesc="Collect your thoughts and notes without leaving the command line"
-arch=('any')
-url="https://github.com/jrnl-org/jrnl"
-license=('GPL3')
-depends=('python-pyxdg' 'python-cryptography' 'python-passlib' 'python-parsedatetime'
- 'python-keyring' 'python-pytz' 'python-tzlocal' 'python-asteval' 'python-colorama'
- 'python-dateutil' 'python-yaml' 'python-ansiwrap' 'python-packaging' 'python-setuptools')
-makedepends=('python-dephell')
-checkdepends=('python-pytest')
-source=("https://github.com/jrnl-org/jrnl/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('6724cec9fa045d24c54d67305db252c967ab72baa0f6f27689aff506dc96fe4e232e000c8cfac91d5d314a86738dc40e41e880eb82d53484ca55299a194492ae')
-
-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
-}
-
-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 780153, jrnl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-12-20 08:12:08 UTC (rev 780154)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=jrnl
+pkgver=2.6
+pkgrel=1
+pkgdesc="Collect your thoughts and notes without leaving the command line"
+arch=('any')
+url="https://github.com/jrnl-org/jrnl"
+license=('GPL3')
+depends=('python-pyxdg' 'python-cryptography' 'python-parsedatetime'
+ 'python-keyring' 'python-pytz' 'python-tzlocal' 'python-asteval' 'python-colorama'
+ 'python-dateutil' 'python-yaml' 'python-ansiwrap' 'python-setuptools')
+makedepends=('python-dephell')
+checkdepends=('python-behave' 'python-pytest')
+source=("https://github.com/jrnl-org/jrnl/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('e37c610048523999d994409699f8fe55a97cb971a462dc22c4e40704a959ea6ce7e252443605159e8031be468894d70712cce9680841eb4fa877775aac61058e')
+
+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:
More information about the arch-commits
mailing list