Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (a78294cd206e954e2e3822545f793d23dd692bfd)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (a78294cd206e954e2e3822545f793d23dd692bfd)
  • Date: Thu, 14 Nov 2024 15:48:50 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

ChangeLog | 3 +++
python-pypi/envycontrol/DEPENDS | 6 ++++++
python-pypi/envycontrol/DETAILS | 25 +++++++++++++++++++++++++
python-pypi/envycontrol/HISTORY | 3 +++
python-pypi/envycontrol/PREPARE | 2 ++
5 files changed, 39 insertions(+)

New commits:
commit a78294cd206e954e2e3822545f793d23dd692bfd
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

python-pypi/envycontrol: new spell, a Nvidia Optimus switcher

diff --git a/ChangeLog b/ChangeLog
index 47a34b8..5e5dec6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2024-11-14 Pavel Vinogradov <public AT sourcemage.org>
+ * python-pypi/envycontrol: new spell, a Nvidia Optimus switcher
+
2024-11-11 Treeve Jelbert <treeve AT sourcemage.org>
* devel/xtl: added

diff --git a/python-pypi/envycontrol/DEPENDS b/python-pypi/envycontrol/DEPENDS
new file mode 100755
index 0000000..b5560e6
--- /dev/null
+++ b/python-pypi/envycontrol/DEPENDS
@@ -0,0 +1,6 @@
+if [[ "${ENVYCONTROL_BRANCH}" == "scm" ]]; then
+ depends git
+fi &&
+
+depends python3 &&
+depends SETUPTOOLS
diff --git a/python-pypi/envycontrol/DETAILS b/python-pypi/envycontrol/DETAILS
new file mode 100755
index 0000000..2cf7d62
--- /dev/null
+++ b/python-pypi/envycontrol/DETAILS
@@ -0,0 +1,25 @@
+. "${GRIMOIRE}/FUNCTIONS"
+ SPELL="envycontrol"
+if [[ "${ENVYCONTROL_BRANCH}" == "scm" ]]; then
+ VERSION="$(get_scm_version)"
+ SOURCE="${SPELL}-scm.tar.xz"
+ FORCE_DOWNLOAD="on"
+ SOURCE_URL[0]="git_http://github.com/bayasdev/${SPELL}:${SPELL}-scm:main";
+ SOURCE_IGNORE="volatile"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
+else
+ VERSION="3.5.1"
+
SOURCE_HASH="sha512:d1a1aa24521e084eea45c208bba5210fc5e8e27dae83406900e5f23ad43574d3ac37f4ef0eb80a7c5914260e9472d554d472b3d7348ebc61ed2c8019e98693b2"
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+
SOURCE_URL[0]="https://github.com/bayasdev/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz";
+# Watch: https://github.com/bayasdev/envycontrol/tags tags/v([0-9.]+)[.]tar
+fi
+ WEB_SITE="https://github.com/bayasdev/envycontrol";
+ ENTERED="20241114"
+ LICENSE[0]="MIT"
+ KEYWORDS="nvidia optimus switching"
+ SHORT="Nvidia Optimus switcher"
+cat << EOF
+Easy GPU switching for Nvidia Optimus laptops under Linux.
+EOF
diff --git a/python-pypi/envycontrol/HISTORY b/python-pypi/envycontrol/HISTORY
new file mode 100644
index 0000000..f8033d9
--- /dev/null
+++ b/python-pypi/envycontrol/HISTORY
@@ -0,0 +1,3 @@
+2024-11-14 Pavel Vinogradov <public AT sourcemage.org>
+ * DEPENDS, DETAILS, PREPARE: spell created, version 3.5.1
+
diff --git a/python-pypi/envycontrol/PREPARE b/python-pypi/envycontrol/PREPARE
new file mode 100755
index 0000000..e38d86f
--- /dev/null
+++ b/python-pypi/envycontrol/PREPARE
@@ -0,0 +1,2 @@
+. "${GRIMOIRE}/FUNCTIONS" &&
+prepare_select_branch stable scm


  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (a78294cd206e954e2e3822545f793d23dd692bfd), Pavel Vinogradov, 11/14/2024

Archive powered by MHonArc 2.6.24.

Top of Page