pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-autorandr: Import py-autorandr-1.12.1.post1 as wip/py-autorandr



Module Name:	pkgsrc-wip
Committed By:	gnebbia <nebbionegiuseppe%gmail.com@localhost>
Pushed By:	nebbionegiuseppe
Date:		Sat Sep 17 17:44:15 2022 +0200
Changeset:	40b098c794dda117c6f6134df5d1ef23b70e0478

Modified Files:
	Makefile
Added Files:
	py-autorandr/DESCR
	py-autorandr/Makefile
	py-autorandr/PLIST
	py-autorandr/distinfo

Log Message:
py-autorandr: Import py-autorandr-1.12.1.post1 as wip/py-autorandr

Autorandr is an automatic display configuration manager.
It allows us to automatically select a display configuration
based on connected devices.  This is a compatible Python rewrite
of wertarbyte/autorandr.  The original wertarbyte/autorandr tree is
unmaintained, with lots of open pull requests and issues. I forked it
and merged what I thought were the most important changes. If you are
searching for that version, see the legacy branch. Note that the Python
version is better suited for non-standard configurations, like if you
use --transform or --reflect. If you use auto-disper, you have to use
the bash version, as there is no disper support in the Python version
(yet). Both versions use a compatible configuration file format, so you
can, to some extent, switch between them.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=40b098c794dda117c6f6134df5d1ef23b70e0478

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 py-autorandr/DESCR    | 12 ++++++++++++
 py-autorandr/Makefile | 19 +++++++++++++++++++
 py-autorandr/PLIST    | 10 ++++++++++
 py-autorandr/distinfo |  5 +++++
 5 files changed, 47 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index c0459392b6..cf9690972f 100644
--- a/Makefile
+++ b/Makefile
@@ -3452,6 +3452,7 @@ SUBDIR+=	py-autoflake
 SUBDIR+=	py-autograd
 SUBDIR+=	py-autokey
 SUBDIR+=	py-automata
+SUBDIR+=	py-autorandr
 SUBDIR+=	py-avocado-framework
 SUBDIR+=	py-awesome-slugify
 SUBDIR+=	py-awslogs
diff --git a/py-autorandr/DESCR b/py-autorandr/DESCR
new file mode 100644
index 0000000000..048184b7e7
--- /dev/null
+++ b/py-autorandr/DESCR
@@ -0,0 +1,12 @@
+Autorandr is an automatic display configuration manager.
+It allows us to automatically select a display configuration
+based on connected devices.  This is a compatible Python rewrite
+of wertarbyte/autorandr.  The original wertarbyte/autorandr tree is
+unmaintained, with lots of open pull requests and issues. I forked it
+and merged what I thought were the most important changes. If you are
+searching for that version, see the legacy branch. Note that the Python
+version is better suited for non-standard configurations, like if you
+use --transform or --reflect. If you use auto-disper, you have to use
+the bash version, as there is no disper support in the Python version
+(yet). Both versions use a compatible configuration file format, so you
+can, to some extent, switch between them.
diff --git a/py-autorandr/Makefile b/py-autorandr/Makefile
new file mode 100644
index 0000000000..f69a704931
--- /dev/null
+++ b/py-autorandr/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	autorandr-1.12.1.post1
+EGGNAME=	${DISTNAME}
+PKGNAME=	${PYPKGPREFIX}-${EGGNAME}
+CATEGORIES=	python x11
+MASTER_SITES=	https://files.pythonhosted.org/packages/f0/4d/3955592abc04ea305ca4b512c92c5ca731071fb24f02c385e22f3131458a/
+
+MAINTAINER=	nebbionegiuseppe%gmail.com@localhost
+HOMEPAGE=	https://github.com/phillipberndt/autorandr
+COMMENT=	Automatically select a display configuration from connected devices
+LICENSE=	gnu-gpl-v3
+
+
+USE_PKG_RESOURCES=	yes
+
+.include "../../lang/python/egg.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-autorandr/PLIST b/py-autorandr/PLIST
new file mode 100644
index 0000000000..623841ad16
--- /dev/null
+++ b/py-autorandr/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+bin/autorandr
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/autorandr.py
+${PYSITELIB}/autorandr.pyc
+${PYSITELIB}/autorandr.pyo
diff --git a/py-autorandr/distinfo b/py-autorandr/distinfo
new file mode 100644
index 0000000000..0615f3e0d6
--- /dev/null
+++ b/py-autorandr/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (autorandr-1.12.1.post1.tar.gz) = 8ee65441c71c7c1c7915cf62a8248b5c78860642127fcb61b808a83728de8ec5
+SHA512 (autorandr-1.12.1.post1.tar.gz) = 6e1c55695b632b79056762d2cc831257f3869d19c10801c39bacb10d63405ebcc91e377aba9f1ceb47bb9141c1f89304f34377733605fa6264c16c12422c3f4c
+Size (autorandr-1.12.1.post1.tar.gz) = 29983 bytes


Home | Main Index | Thread Index | Old Index