Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: python-coloredlogs-14.0, python-humanfriendly-8.2
@ 2020-04-24 13:08 Nyx70
  2020-04-24 16:48 ` Chocimier
  2020-04-25 11:56 ` [PR PATCH] [Closed]: " Nyx70
  0 siblings, 2 replies; 3+ messages in thread
From: Nyx70 @ 2020-04-24 13:08 UTC (permalink / raw)
  To: ml

[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: New package: python-coloredlogs-14.0, python-humanfriendly-8.2
  2020-04-24 13:08 [PR PATCH] New package: python-coloredlogs-14.0, python-humanfriendly-8.2 Nyx70
@ 2020-04-24 16:48 ` Chocimier
  2020-04-25 11:56 ` [PR PATCH] [Closed]: " Nyx70
  1 sibling, 0 replies; 3+ messages in thread
From: Chocimier @ 2020-04-24 16:48 UTC (permalink / raw)
  To: ml

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

New comment by Chocimier on void-packages repository

https://github.com/void-linux/void-packages/pull/21300#issuecomment-619125669

Comment:
We do not accept new python2 packages. Make them python3-only by using python3-module build style.
Every python module should have either another python module or `python3`.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: New package: python-coloredlogs-14.0, python-humanfriendly-8.2
  2020-04-24 13:08 [PR PATCH] New package: python-coloredlogs-14.0, python-humanfriendly-8.2 Nyx70
  2020-04-24 16:48 ` Chocimier
@ 2020-04-25 11:56 ` Nyx70
  1 sibling, 0 replies; 3+ messages in thread
From: Nyx70 @ 2020-04-25 11:56 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: python-coloredlogs-14.0, python-humanfriendly-8.2
https://github.com/void-linux/void-packages/pull/21300

Description:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-04-25 11:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24 13:08 [PR PATCH] New package: python-coloredlogs-14.0, python-humanfriendly-8.2 Nyx70
2020-04-24 16:48 ` Chocimier
2020-04-25 11:56 ` [PR PATCH] [Closed]: " Nyx70

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).