Package Details: python-gaphor 2.27.0-1

Git Clone URL: https://aur.archlinux.org/python-gaphor.git (read-only, click to copy)
Package Base: python-gaphor
Description: Simple and easy to use modeling tool for UML using GTK
Upstream URL: https://github.com/gaphor/gaphor
Keywords: diagram diagrams gtk gtk4 gui python python3 uml
Licenses: Apache
Conflicts: python-gaphas
Provides: gaphor
Submitter: actionless
Maintainer: actionless (fanninpm, nomisge)
Last Packager: nomisge
Votes: 5
Popularity: 0.46
First Submitted: 2020-03-30 09:39 (UTC)
Last Updated: 2024-10-11 10:58 (UTC)

Latest Comments

1 2 3 4 Next › Last »

peippo commented on 2024-05-08 15:20 (UTC)

Could you add python-defusedxml to the depends()? Thanks!

actionless commented on 2023-10-02 09:04 (UTC) (edited on 2023-10-02 09:05 (UTC) by actionless)

@jrd what do you mean? it's already set to v5

@mrmiles just skip the check - it seems tests are failing upstream, the lib itself works though

mrmiles commented on 2023-10-02 07:30 (UTC)

Installation aborts with errors in dependency python-generic

==> ERROR: One or more files did not pass the validity check! -> Failed to install layer, rolling up to next layer.error:error making: python-generic - exit status 1

jrd commented on 2023-03-20 09:42 (UTC)

deps should be gtksourceview5 for GTK 4

nomisge commented on 2023-02-09 08:57 (UTC)

@actionless thx I pushed version 2.15.0. There is already version 2.16.0 upstream, but it depends on a newer version of python-gaphas, which needs to be updated in AUR first.

actionless commented on 2023-02-09 03:26 (UTC)

@nomisge added you

nomisge commented on 2023-02-03 08:55 (UTC) (edited on 2023-02-03 10:14 (UTC) by nomisge)

Please update the package and include the localization files. I have a working PKGBUILD and am happy to help or take over maintaining.

I specifically created python-pytest-archon in aur for the checks in the current version to work.

change

pkgver=2.15.0

and

checkdepends=(
    'python-hypothesis'
    'python-pytest'
    'python-pytest-mock'
    'python-sphinx'
    'python-xdoctest'
    'python-pydot'
    'python-pytest-archon'
    'xorg-server-xvfb'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('1a33317cd3bb9758e88eaaf87be028927f414cba2f608f1a90562cc51bdd9214')

build() {
    cd "${_name}-${pkgver}"
    python po/build-babel.py
    # Note: set `GIT_CEILING_DIRECTORIES` to prevent poetry
    # from incorrectly using a parent git checkout info.
    # https://github.com/pypa/build/issues/384#issuecomment-947675975
    GIT_CEILING_DIRECTORIES="${PWD}/.." python -m build --wheel --no-isolation
}

check() {
    cd "${srcdir}/${_name}-${pkgver}"
#   xvfb-run --auto-servernum pytest tests/
    xvfb-run --auto-servernum python -m pytest tests/
}

actionless commented on 2022-06-04 10:48 (UTC)

just use makepkg CLI FLAG for temporary disabling that check 😹

Popolon commented on 2022-06-04 08:30 (UTC) (edited on 2022-06-04 08:36 (UTC) by Popolon)

As currently python-xdoctest doesn't build due to tests failures, a quick & dirty patch is to apply on PKGBUILD this by git apply file.patch

diff --git a/PKGBUILD b/PKGBUILD
index 855cb57..c562983 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@

 _name=gaphor
 pkgname=python-${_name}
-pkgver=2.9.2
-pkgrel=7
+pkgver=2.10.0
+pkgrel=1
 pkgdesc="Simple and easy to use modeling tool for UML using GTK3"
 arch=('any')
@@ -29,11 +29,12 @@ checkdepends=(
        'python-pytest'
        'python-pytest-mock'
        'python-sphinx'
-       'python-xdoctest'
+#      'python-xdoctest'
        'xorg-server-xvfb'
 )
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha256sums=('687f0f9a75e72daa9535bbbc6b8592e0ee37ae9451b9085bd2d972a1fb07b51f')
+
+source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
+sha256sums=('cb2255f9fb31e367999a9e07d6ac814551f34c6d2fb3ffcce5aa5764bc2ffe7f')

 build() {
        cd "${_name}-${pkgver}"
@@ -45,7 +46,7 @@ build() {

 check() {
        cd "${srcdir}/${_name}-${pkgver}"
-       xvfb-run --auto-servernum pytest
+#      xvfb-run --auto-servernum pytest
 }

 prepare() {

actionless commented on 2022-05-08 12:45 (UTC)

just run makepkg with a flag to skip the check() if you want to skip failing tests