Github messages for voidlinux
 help / color / mirror / Atom feed
From: Nyx70 <Nyx70@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: python-coloredlogs-14.0, python-humanfriendly-8.2
Date: Fri, 24 Apr 2020 15:08:27 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21300@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 354 bytes --]

There is a new pull request by Nyx70 against master on the void-packages repository

https://github.com/Nyx70/void-packages python-coloredlogs
https://github.com/void-linux/void-packages/pull/21300

New package: python-coloredlogs-14.0, python-humanfriendly-8.2


A patch file from https://github.com/void-linux/void-packages/pull/21300.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-python-coloredlogs-21300.patch --]
[-- Type: text/x-diff, Size: 3176 bytes --]

From b5bff539744e725e440c960f45b26c1e461e4d83 Mon Sep 17 00:00:00 2001
From: Nyx70 <n.y.x@bluewin.ch>
Date: Fri, 24 Apr 2020 14:38:04 +0200
Subject: [PATCH] New package: python-coloredlogs-14.0,
 python-humanfriendly-8.2

---
 srcpkgs/python-coloredlogs/template   | 28 +++++++++++++++++++++++++++
 srcpkgs/python-humanfriendly/template | 26 +++++++++++++++++++++++++
 srcpkgs/python3-coloredlogs           |  1 +
 srcpkgs/python3-humanfriendly         |  1 +
 4 files changed, 56 insertions(+)
 create mode 100644 srcpkgs/python-coloredlogs/template
 create mode 100644 srcpkgs/python-humanfriendly/template
 create mode 120000 srcpkgs/python3-coloredlogs
 create mode 120000 srcpkgs/python3-humanfriendly

diff --git a/srcpkgs/python-coloredlogs/template b/srcpkgs/python-coloredlogs/template
new file mode 100644
index 00000000000..3d73ac2da78
--- /dev/null
+++ b/srcpkgs/python-coloredlogs/template
@@ -0,0 +1,28 @@
+# Template file for 'python-coloredlogs'
+pkgname=python-coloredlogs
+version=14.0
+revision=1
+archs="noarch"
+wrksrc="coloredlogs-${version}"
+build_style=python-module
+hostmakedepends="python-setuptools python3-setuptools"
+depends="python-humanfriendly"
+short_desc="Colored terminal output for Python2 logging module"
+maintainer="Nyx70 <n.y.x@bluewin.ch>"
+license="MIT"
+homepage="https://coloredlogs.readthedocs.io"
+distfiles="${PYPI_SITE}/c/coloredlogs/coloredlogs-${version}.tar.gz"
+checksum=a1fab193d2053aa6c0a97608c4342d031f1f93a3d1218432c59322441d31a505
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+python3-coloredlogs_package() {
+	depends="python3-humanfriendly"
+	short_desc="${short_desc/Python2/Python3}"
+	pkg_install() {
+		vmove usr/lib/python3*
+		vlicense LICENSE.txt
+	}
+}
diff --git a/srcpkgs/python-humanfriendly/template b/srcpkgs/python-humanfriendly/template
new file mode 100644
index 00000000000..209725b2f22
--- /dev/null
+++ b/srcpkgs/python-humanfriendly/template
@@ -0,0 +1,26 @@
+# Template file for 'python-humanfriendly'
+pkgname=python-humanfriendly
+version=8.2
+revision=1
+archs="noarch"
+wrksrc="humanfriendly-${version}"
+build_style=python-module
+hostmakedepends="python-setuptools python3-setuptools"
+short_desc="Human friendly output for text interfaces using Python2"
+maintainer="Nyx70 <n.y.x@bluewin.ch>"
+license="MIT"
+homepage="https://humanfriendly.readthedocs.io"
+distfiles="${PYPI_SITE}/h/humanfriendly/humanfriendly-${version}.tar.gz"
+checksum=bf52ec91244819c780341a3438d5d7b09f431d3f113a475147ac9b7b167a3d12
+
+post_install() {
+	vlicense LICENSE.txt
+}
+
+python3-humanfriendly_package() {
+	short_desc="${short_desc/Python2/Python3}"
+	pkg_install() {
+		vmove usr/lib/python3*
+		vlicense LICENSE.txt
+	}
+}
diff --git a/srcpkgs/python3-coloredlogs b/srcpkgs/python3-coloredlogs
new file mode 120000
index 00000000000..9a208eb1ec8
--- /dev/null
+++ b/srcpkgs/python3-coloredlogs
@@ -0,0 +1 @@
+python-coloredlogs
\ No newline at end of file
diff --git a/srcpkgs/python3-humanfriendly b/srcpkgs/python3-humanfriendly
new file mode 120000
index 00000000000..b342d2a1daf
--- /dev/null
+++ b/srcpkgs/python3-humanfriendly
@@ -0,0 +1 @@
+python-humanfriendly
\ No newline at end of file

             reply	other threads:[~2020-04-24 13:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-24 13:08 Nyx70 [this message]
2020-04-24 16:48 ` Chocimier
2020-04-25 11:56 ` [PR PATCH] [Closed]: " Nyx70

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-21300@inbox.vuxu.org \
    --to=nyx70@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).