diff options
author | eshrh | 2021-06-07 15:34:05 -0400 |
---|---|---|
committer | eshrh | 2021-06-07 15:34:05 -0400 |
commit | 39775a7035957b50975e0c2e75cb998e6c460e57 (patch) | |
tree | 2bd1672f3f3c8028342b4418f1e03c28eeb79f2d | |
parent | 5f71be6c4a3ab24c464bf41d5353cc041c58a1b7 (diff) | |
download | aur-39775a7035957b50975e0c2e75cb998e6c460e57.tar.gz |
switch to make/poetry
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 9 insertions, 22 deletions
@@ -1,16 +1,16 @@ pkgbase = jrnl-git pkgdesc = Collect your thoughts and notes without leaving the command line pkgver = v2.8.1.r12.g5e87ff1 - pkgrel = 2 + pkgrel = 3 url = https://jrnl.sh/ arch = any license = GPL3 checkdepends = python-behave checkdepends = python-pytest checkdepends = python-black + checkdepends = python-poetry makedepends = git - makedepends = python-dephell - makedepends = python-setuptools + makedepends = make depends = python depends = python-ansiwrap depends = python-asteval @@ -3,14 +3,14 @@ pkgname=jrnl-git _gitname=jrnl pkgver=v2.8.1.r12.g5e87ff1 -pkgrel=2 +pkgrel=3 pkgdesc="Collect your thoughts and notes without leaving the command line" arch=('any') url="https://jrnl.sh/" license=('GPL3') depends=('python' 'python-ansiwrap' 'python-asteval' 'python-colorama' 'python-cryptography' 'python-keyring' 'python-parsedatetime' 'python-dateutil' 'python-pyxdg' 'python-pyaml') -checkdepends=('python-behave' 'python-pytest' 'python-black') -makedepends=('git' 'python-dephell' 'python-setuptools') +checkdepends=('python-behave' 'python-pytest' 'python-black' 'python-poetry') +makedepends=('git' 'make') conflicts=("jrnl") source=("git+https://github.com/jrnl-org/jrnl.git") md5sums=('SKIP') @@ -22,25 +22,12 @@ pkgver() { check() { cd "$_gitname" - pytest . - behave --no-skipped --format progress - - black setup.py --diff | patch - black --check --diff . -} - -prepare() { - cd "$_gitname" - dephell deps convert --from pyproject.toml --to setup.py --envs main -} - -build() { - cd "$_gitname" - python setup.py build + #black setup.py --diff | patch + make test } package() { cd "$_gitname" - python setup.py install --root="$pkgdir" --optimize=1 --skip-build + make install } |