Package Details: fanficfare-git 4.32.3.r21.g56d1cf1-1

Git Clone URL: https://aur.archlinux.org/fanficfare-git.git (read-only, click to copy)
Package Base: fanficfare-git
Description: Tool to make eBooks from stories on fanfiction and other websites
Upstream URL: https://github.com/JimmXinu/FanFicFare
Licenses: Apache-2.0, GPL-3.0-only
Conflicts: fanficfare
Provides: fanficfare
Submitter: eschwartz
Maintainer: xiota
Last Packager: xiota
Votes: 3
Popularity: 0.000000
First Submitted: 2015-04-21 18:37 (UTC)
Last Updated: 2024-03-26 04:09 (UTC)

Latest Comments

1 2 3 Next › Last »

gesh commented on 2024-03-26 17:42 (UTC)

Fair enough

xiota commented on 2024-03-26 17:10 (UTC)

The standard VCS version format is constructed to be comparable with stable releases. Use the git hash to communicate with upstream.

gesh commented on 2024-03-26 16:35 (UTC)

Very well -- though note that this might make some communications with upstream more difficult. Your package, your choice, though.

xiota commented on 2024-03-26 16:07 (UTC)

This is a switchable package. It can be used to make a git or stable package by changing a variable. I make some packages this way when I might need both.

The package intentionally uses and references tagged releases. It intentionally excludes prerelease and other non-relevant tags.

gesh commented on 2024-03-26 13:51 (UTC) (edited on 2024-03-26 13:57 (UTC) by gesh)

OK, fair enough. Congratulations on the adoption -- am I reading correctly that you're using this as a split package?

Upstream doesn't always tag numbered releases, so I've been force-tagging commits editing the version line in pyproject.toml to sync up the version numbers, perhaps this may be useful here?

diff --git a/PKGBUILD b/PKGBUILD
index 3d63992..769e976 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ unset _pkgtype
 # basic info
 _pkgname="fanficfare"
 pkgname="$_pkgname${_pkgtype:-}"
-pkgver=4.32.3.r21.g56d1cf1
+pkgver=4.32.12.r0.g56d1cf1
 pkgrel=1
 pkgdesc="Tool to make eBooks from stories on fanfiction and other websites"
 url="https://github.com/JimmXinu/FanFicFare"
@@ -82,6 +82,9 @@ else

   pkgver() {
     cd "$_pkgsrc"
+    git tag -f \
+        v"$(grep 'version *=' pyproject.toml | sed 's/.*"\(.*\)".*/\1/')" \
+        "$(git blame -L '/version *=/,+1' pyproject.toml -p | head -n1 | cut -d' ' -f1)"
     local _pkgver=$(
       git describe --long --tags --abbrev=7 --exclude='*[a-zA-Z][a-zA-Z]*' \
         | sed -E 's/^[^0-9]*//;s/-([^-]*-g)/+r\1/;s/-/./g'

Also, note your exclusion expression in git describe also forbids rc and alpha-style versions -- presumably, this is not the intent?

Kido commented on 2024-03-25 18:52 (UTC)

Sorry, I don't use arch anymore and distrobox arch refuses to start, so I can't maintain this package. Disowned.

xiota commented on 2024-03-25 15:00 (UTC)

Note: python-setuptools is still needed (in addition to -wheel, -installer, -build) because it is referenced in the toml file.

gesh commented on 2024-03-25 12:57 (UTC)

I second @xiota's remark -- @Kido, the commits to update to pyproject.toml mistakenly pull in a python-setuptools makedep instead of python-{build,wheel,installer}.

xiota commented on 2024-03-18 04:43 (UTC) (edited on 2024-03-18 04:44 (UTC) by xiota)

Clean chroot. Missing makedepends on python-wheel, python-installer, python-build.

Kido commented on 2023-11-06 15:43 (UTC) (edited on 2023-11-07 18:55 (UTC) by Kido)

I've updated package to use setuptools toolchain.

Regarding dependencies:

  • python-colorama - according to source code, it is only needed on Windows OS.
  • python-chardet - it is present in pyproject.toml so I'll leave it for now, but will investigate more later.