x11/arandr: Update to 0.1.10

This version introduces support for Python 3.

Changelog:
43faec00c0

Also:
- Remove deprecation notices.
- Switch to GitLab.
- Order variables.
- Install manpages into the new standard directory.
- Use INSTALL_MAN instead of INSTALL_DATA for documentation.
- Update WWW to use HTTPS.

PR:		244324
Approved by:	sbz (maintainer)
Differential Revision:	https://reviews.freebsd.org/D23799
This commit is contained in:
Mateusz Piotrowski 2020-02-29 16:34:34 +00:00
parent 9b399795ab
commit a1a13823a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=527438
4 changed files with 43 additions and 40 deletions

View File

@ -2,35 +2,32 @@
# $FreeBSD$
PORTNAME= arandr
PORTVERSION= 0.1.9
PORTVERSION= 0.1.10
CATEGORIES= x11 deskutils
MASTER_SITES= http://christian.amsuess.com/tools/arandr/files/ \
LOCAL/sbz
MAINTAINER= sbz@FreeBSD.org
COMMENT= Another XRandR GUI
LICENSE= GPLv3
DEPRECATED= Old, uses EOLed python27
EXPIRATION_DATE= 2020-03-15
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}docutils>0.6:textproc/py-docutils@${PY_FLAVOR}
RUN_DEPENDS= xrandr>0:x11/xrandr \
${PYTHON_PKGNAMEPREFIX}gtk2>0:x11-toolkits/py-gtk2@${PY_FLAVOR}
RUN_DEPENDS= xrandr>0:x11/xrandr
OPTIONS_DEFINE= DOCS
USES= gettext gnome python
USE_GITLAB= yes
GL_COMMIT= 43faec00c0feca3f00b0acbae048de14f02c6d21
USE_GNOME= pygobject3
USE_PYTHON= distutils noflavors
USE_PYTHON= distutils
USES+= gettext desktop-file-utils python:2.7
NO_ARCH= yes
PORTDOCS= ChangeLog NEWS README TODO
post-patch:
${REINPLACE_CMD} -i '' 's#share/man#man#' ${WRKSRC}/${PYSETUP}
OPTIONS_DEFINE= DOCS
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1484591616
SHA256 (arandr-0.1.9.tar.gz) = bb2b57dc37787c4eb7c33c5136cea3829d1b885862cdd827f16ef51e9f0a6ec4
SIZE (arandr-0.1.9.tar.gz) = 90437
TIMESTAMP = 1582405652
SHA256 (arandr-arandr-43faec00c0feca3f00b0acbae048de14f02c6d21_GL0.tar.gz) = 645e5d7b62634f01d49b3fe88226ee079962484ca725ecd5b534ad1d5089f639
SIZE (arandr-arandr-43faec00c0feca3f00b0acbae048de14f02c6d21_GL0.tar.gz) = 101285

View File

@ -2,4 +2,4 @@ ARandR is designed to provide a simple visual front end for XRandR. Relative
monitor positions are shown graphically and can be changed in a drag-and-drop
way.
WWW: http://christian.amsuess.com/tools/arandr/
WWW: https://christian.amsuess.com/tools/arandr/

View File

@ -1,40 +1,39 @@
bin/arandr
bin/unxrandr
man/man1/arandr.1.gz
man/man1/unxrandr.1.gz
%%PYTHON_SITELIBDIR%%/screenlayout/__init__.py
%%PYTHON_SITELIBDIR%%/screenlayout/__init__.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__init__.pyo
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/__init__.cpython-37.opt-1.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/__init__.cpython-37.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/auxiliary.cpython-37.opt-1.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/auxiliary.cpython-37.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/demo.cpython-37.opt-1.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/demo.cpython-37.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/gui.cpython-37.opt-1.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/gui.cpython-37.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/i18n.cpython-37.opt-1.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/i18n.cpython-37.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/meta.cpython-37.opt-1.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/meta.cpython-37.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/snap.cpython-37.opt-1.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/snap.cpython-37.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/widget.cpython-37.opt-1.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/widget.cpython-37.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/xrandr.cpython-37.opt-1.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/__pycache__/xrandr.cpython-37.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/auxiliary.py
%%PYTHON_SITELIBDIR%%/screenlayout/auxiliary.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/auxiliary.pyo
%%PYTHON_SITELIBDIR%%/screenlayout/data/gpl-3.txt
%%PYTHON_SITELIBDIR%%/screenlayout/demo.py
%%PYTHON_SITELIBDIR%%/screenlayout/demo.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/demo.pyo
%%PYTHON_SITELIBDIR%%/screenlayout/gui.py
%%PYTHON_SITELIBDIR%%/screenlayout/gui.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/gui.pyo
%%PYTHON_SITELIBDIR%%/screenlayout/i18n.py
%%PYTHON_SITELIBDIR%%/screenlayout/meta.py
%%PYTHON_SITELIBDIR%%/screenlayout/meta.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/meta.pyo
%%PYTHON_SITELIBDIR%%/screenlayout/metacity.py
%%PYTHON_SITELIBDIR%%/screenlayout/metacity.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/metacity.pyo
%%PYTHON_SITELIBDIR%%/screenlayout/snap.py
%%PYTHON_SITELIBDIR%%/screenlayout/snap.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/snap.pyo
%%PYTHON_SITELIBDIR%%/screenlayout/widget.py
%%PYTHON_SITELIBDIR%%/screenlayout/widget.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/widget.pyo
%%PYTHON_SITELIBDIR%%/screenlayout/xrandr.py
%%PYTHON_SITELIBDIR%%/screenlayout/xrandr.pyc
%%PYTHON_SITELIBDIR%%/screenlayout/xrandr.pyo
share/applications/arandr.desktop
share/locale/ar/LC_MESSAGES/arandr.mo
share/locale/br/LC_MESSAGES/arandr.mo
share/locale/bs/LC_MESSAGES/arandr.mo
share/locale/ca/LC_MESSAGES/arandr.mo
share/locale/ckb/LC_MESSAGES/arandr.mo
share/locale/cs/LC_MESSAGES/arandr.mo
share/locale/da/LC_MESSAGES/arandr.mo
share/locale/de/LC_MESSAGES/arandr.mo
@ -42,14 +41,18 @@ share/locale/el/LC_MESSAGES/arandr.mo
share/locale/es/LC_MESSAGES/arandr.mo
share/locale/et/LC_MESSAGES/arandr.mo
share/locale/fa/LC_MESSAGES/arandr.mo
share/locale/fi/LC_MESSAGES/arandr.mo
share/locale/fr/LC_MESSAGES/arandr.mo
share/locale/gl/LC_MESSAGES/arandr.mo
share/locale/he/LC_MESSAGES/arandr.mo
share/locale/hu/LC_MESSAGES/arandr.mo
share/locale/id/LC_MESSAGES/arandr.mo
share/locale/it/LC_MESSAGES/arandr.mo
share/locale/ja/LC_MESSAGES/arandr.mo
share/locale/kn/LC_MESSAGES/arandr.mo
share/locale/ko_KR/LC_MESSAGES/arandr.mo
share/locale/lt/LC_MESSAGES/arandr.mo
share/locale/nb_NO/LC_MESSAGES/arandr.mo
share/locale/nl/LC_MESSAGES/arandr.mo
share/locale/pl/LC_MESSAGES/arandr.mo
share/locale/pt_BR/LC_MESSAGES/arandr.mo
@ -63,3 +66,6 @@ share/locale/sv/LC_MESSAGES/arandr.mo
share/locale/tr/LC_MESSAGES/arandr.mo
share/locale/uk/LC_MESSAGES/arandr.mo
share/locale/zh_CN/LC_MESSAGES/arandr.mo
share/locale/zh_Hant/LC_MESSAGES/arandr.mo
share/man/man1/arandr.1.gz
share/man/man1/unxrandr.1.gz