unbreak after xrandr(1) update by updating to 0.1.9

ok edd@ (Maintainer)
This commit is contained in:
giovanni 2016-06-04 20:24:54 +00:00
parent 42ae5034c8
commit 78862129ee
4 changed files with 15 additions and 14 deletions

View File

@ -1,7 +1,7 @@
# $OpenBSD: Makefile,v 1.3 2015/08/28 16:37:18 jca Exp $
# $OpenBSD: Makefile,v 1.4 2016/06/04 20:24:54 giovanni Exp $
COMMENT = xrandr gui
MODPY_EGG_VERSION = 0.1.8
MODPY_EGG_VERSION = 0.1.9
DISTNAME = arandr-${MODPY_EGG_VERSION}
CATEGORIES = x11 sysutils
HOMEPAGE = http://christian.amsuess.com/tools/arandr/

View File

@ -1,2 +1,2 @@
SHA256 (arandr-0.1.8.tar.gz) = bY7Bji9oOBj0IFAlFvfs5sN3oZA+qx3ngRUrWFclpzQ=
SIZE (arandr-0.1.8.tar.gz) = 86930
SHA256 (arandr-0.1.9.tar.gz) = uytX3Dd4fE63wzxRNs6jgp0biFhizdgn8W71Hp8KbsQ=
SIZE (arandr-0.1.9.tar.gz) = 90437

View File

@ -1,18 +1,18 @@
$OpenBSD: patch-setup_py,v 1.1.1.1 2013/11/18 21:51:11 edd Exp $
$OpenBSD: patch-setup_py,v 1.2 2016/06/04 20:24:54 giovanni Exp $
Do not compress manual pages and install them in the right place.
--- setup.py.orig Mon Mar 4 17:22:25 2013
+++ setup.py Mon Nov 18 20:56:56 2013
--- setup.py.orig Wed Feb 24 13:47:08 2016
+++ setup.py Wed Jun 1 12:20:09 2016
@@ -20,7 +20,6 @@ import os
import operator
import subprocess
import glob
-import gzip
import datetime
import docutils.core
import docutils.writers.manpage
@@ -99,20 +98,19 @@ class build_man(NoOptionCommand):
@@ -100,20 +99,19 @@ class build_man(NoOptionCommand):
def run(self):
self.mkpath('build')
@ -38,9 +38,9 @@ Do not compress manual pages and install them in the right place.
+ with open(manfile, 'w') as fh:
+ fh.write(manpage)
class build(_build):
sub_commands = _build.sub_commands + [('build_trans', None), ('build_man', None)]
@@ -137,7 +135,7 @@ class clean(_clean):
class update_translator_credits(NoOptionCommand):
description = 'Examine the git history to produce an updated metadata file.'
@@ -212,7 +210,7 @@ class clean(_clean):
def run(self):
if self.all:
dirs = ['build/locale']
@ -49,7 +49,7 @@ Do not compress manual pages and install them in the right place.
for directory in dirs:
if os.path.exists(directory):
remove_tree(directory, dry_run=self.dry_run)
@@ -177,7 +175,7 @@ setup(name = PACKAGENAME,
@@ -253,7 +251,7 @@ setup(name = PACKAGENAME,
},
data_files = [
('share/applications', ['data/arandr.desktop']), # FIXME: use desktop-file-install?

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2015/08/28 16:37:18 jca Exp $
@comment $OpenBSD: PLIST,v 1.3 2016/06/04 20:24:54 giovanni Exp $
bin/arandr
bin/unxrandr
lib/python${MODPY_VERSION}/site-packages/arandr-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
@ -56,6 +56,7 @@ share/locale/sc/
share/locale/sc/LC_MESSAGES/
share/locale/sc/LC_MESSAGES/arandr.mo
share/locale/sk/LC_MESSAGES/arandr.mo
share/locale/sq/LC_MESSAGES/arandr.mo
share/locale/sr/LC_MESSAGES/arandr.mo
share/locale/sv/LC_MESSAGES/arandr.mo
share/locale/tr/LC_MESSAGES/arandr.mo