pkgsrc-WIP-changes archive

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

divoom: add new incomplete package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By:	wiz
Date:		Thu Oct 10 09:31:48 2024 +0200
Changeset:	5b45a3fcdc208f142eae2f8bb390d54255601878

Modified Files:
	Makefile
Added Files:
	divoom/DESCR
	divoom/Makefile
	divoom/PLIST
	divoom/TODO
	divoom/cargo-depends.mk
	divoom/distinfo

Log Message:
divoom: add new incomplete package

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

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

diffstat:
 Makefile                |  4 ++++
 divoom/DESCR            | 23 +++++++++++++++++++++++
 divoom/Makefile         | 17 +++++++++++++++++
 divoom/PLIST            |  4 ++++
 divoom/TODO             |  8 ++++++++
 divoom/cargo-depends.mk |  2 ++
 divoom/distinfo         |  5 +++++
 7 files changed, 63 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 0120fb42cc..801bec4590 100644
--- a/Makefile
+++ b/Makefile
@@ -441,6 +441,7 @@ SUBDIR+=	cgal
 SUBDIR+=	cglib
 SUBDIR+=	cgnslib
 SUBDIR+=	cgterm
+SUBDIR+=	chafa
 SUBDIR+=	chakracore-git
 SUBDIR+=	chani
 SUBDIR+=	chapel
@@ -714,6 +715,7 @@ SUBDIR+=	distbb-git
 SUBDIR+=	ditz-commander
 SUBDIR+=	divecmd
 SUBDIR+=	diveintopython
+SUBDIR+=	divoom
 SUBDIR+=	dlib
 SUBDIR+=	dlib-cpp
 SUBDIR+=	dlt-daemon
@@ -1843,6 +1845,7 @@ SUBDIR+=	kea
 SUBDIR+=	kea-git
 SUBDIR+=	keama-git
 SUBDIR+=	kermit
+SUBDIR+=	kew
 SUBDIR+=	kf6-kstatusnotifieritem
 SUBDIR+=	kgamma5
 SUBDIR+=	kgrab
@@ -3174,6 +3177,7 @@ SUBDIR+=	polylib
 SUBDIR+=	polymul
 SUBDIR+=	ponyc
 SUBDIR+=	pooler
+SUBDIR+=	pop
 SUBDIR+=	pop3.proxy
 SUBDIR+=	popup-el-current
 SUBDIR+=	portablexdr
diff --git a/divoom/DESCR b/divoom/DESCR
new file mode 100644
index 0000000000..512453639e
--- /dev/null
+++ b/divoom/DESCR
@@ -0,0 +1,23 @@
+TODO: Adjust the following lines from README.md
+
+# Divoom
+![Divoom](https://raw.githubusercontent.com/r12f/divoom/main/assets/Logo.png)
+
+Rust Library for controlling divoom devices that support REST APIs, such as pixoo-64 (and from how divoom's api/doc organizes, maybe more in the future).
+
+[![Crates.io](https://img.shields.io/crates/v/divoom)](https://crates.io/crates/divoom)
+[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/r12f/divoom?color=blue&label=github%20release&style=flat-square)](https://github.com/r12f/divoom/releases)
+[![Documentation](https://docs.rs/divoom/badge.svg)](https://docs.rs/divoom/)
+[![License: Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE-APACHE)
+[![Build Status](https://riff.visualstudio.com/divoom/_apis/build/status/r12f.divoom?branchName=main)](https://riff.visualstudio.com/divoom/_build/latest?definitionId=7&branchName=main)
+
+```rust
+// Get current channel
+use divoom::*;
+
+println!(
+    "{}",
+    PixooClient::new("192.168.0.123").get_current_channel().await?
+);
+
+...
diff --git a/divoom/Makefile b/divoom/Makefile
new file mode 100644
index 0000000000..ad45d09e11
--- /dev/null
+++ b/divoom/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD$
+
+DISTNAME=	divoom-0.1.42
+CATEGORIES=	net graphics
+MASTER_SITES=	${MASTER_SITE_GITHUB:=r12f/}
+GITHUB_TAG=	${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/r12f/divoom/
+COMMENT=	Rust Library for controlling divoom devices that support REST APIs
+LICENSE=	apache-2.0
+
+USE_LANGUAGES=	# none
+
+.include "cargo-depends.mk"
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/divoom/PLIST b/divoom/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/divoom/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/divoom/TODO b/divoom/TODO
new file mode 100644
index 0000000000..edca8fcbe5
--- /dev/null
+++ b/divoom/TODO
@@ -0,0 +1,8 @@
+# cargo generate-lockfile
+warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
+note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
+note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
+note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
+error: no matching package named `anyhow` found
+location searched: registry `crates-io`
+required by package `divoom v0.0.1 (/scratch/wip/divoom/work/divoom-0.1.42/divoom)`
diff --git a/divoom/cargo-depends.mk b/divoom/cargo-depends.mk
new file mode 100644
index 0000000000..874560b0e6
--- /dev/null
+++ b/divoom/cargo-depends.mk
@@ -0,0 +1,2 @@
+# $NetBSD$
+
diff --git a/divoom/distinfo b/divoom/distinfo
new file mode 100644
index 0000000000..7ae0a082c2
--- /dev/null
+++ b/divoom/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (divoom-0.1.42.tar.gz) = f837648e18de8c1e3ed171e0d27bd3af60bacdaf3d9b2d0f5be00d0009907f92
+SHA512 (divoom-0.1.42.tar.gz) = 1b54bbf0a7d799d1a0d6bb92562ec9f2e4b45ccb83a83ca1a52873398b3ad5cd80e9681426c06ab8da24a486a329880c7116182bf9597d2067cb22ccc0592ac9
+Size (divoom-0.1.42.tar.gz) = 513682 bytes


Home | Main Index | Thread Index | Old Index