Skip to content

Commit

Permalink
graphics/variety: Update to 0.8.12
Browse files Browse the repository at this point in the history
- Manually install the file quotes.txt (ignored by pydistutils)

Release changes: https://github.com/varietywalls/variety/releases/tag/0.8.12
  • Loading branch information
nivit committed Jan 24, 2024
1 parent 63b843a commit ddaf406
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
13 changes: 10 additions & 3 deletions graphics/variety/Makefile
@@ -1,6 +1,6 @@
PORTNAME= variety
PORTVERSION= 0.8.5
PORTREVISION= 3
PORTVERSION= 0.8.12
PORTREVISION= 0
CATEGORIES= graphics

MAINTAINER= nivit@FreeBSD.org
Expand All @@ -27,7 +27,8 @@ RUN_DEPENDS= ${PY_PILLOW} \
coreutils>=8.23:sysutils/coreutils \
yelp>=3.14.1:x11/yelp

USES= desktop-file-utils gettext-tools gnome magick:6,run python shebangfix
USES= desktop-file-utils gettext-tools gnome magick:run python \
shebangfix

USE_GITHUB= yes
GH_ACCOUNT= varietywalls
Expand All @@ -36,6 +37,8 @@ USE_PYTHON= autoplist distutils noflavors

SHEBANG_FILES= bin/variety data/scripts/*

PLIST_FILES= share/variety/config/quotes.txt

post-patch:
@(cd ${WRKSRC} && ${REINPLACE_CMD} \
-i '' \
Expand All @@ -47,6 +50,10 @@ post-patch:
variety/Options.py variety/ThumbsWindow.py \
variety/__init__.py variety/VarietyWindow.py)

post-install:
${INSTALL_DATA} ${WRKSRC}/variety/plugins/builtin/quotes/quotes.txt \
${STAGEDIR}/${DATADIR}/config/quotes.txt

.include <bsd.port.pre.mk>

# PYDISTUTILS_INSTALLNOSINGLE is deprecated so...
Expand Down
6 changes: 3 additions & 3 deletions graphics/variety/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1615387540
SHA256 (varietywalls-variety-0.8.5_GH0.tar.gz) = 2298af592cdd5cc0c183582f74f39af74b07499074ea164a3a327d55c9338248
SIZE (varietywalls-variety-0.8.5_GH0.tar.gz) = 889750
TIMESTAMP = 1706101599
SHA256 (varietywalls-variety-0.8.12_GH0.tar.gz) = 8bf5a6748cf87976cfec3772e27ab53fb2a3dfb5704d66933481ca3e0004e09f
SIZE (varietywalls-variety-0.8.12_GH0.tar.gz) = 848707

0 comments on commit ddaf406

Please sign in to comment.