pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/comms/py-pastel py-pastel: added version 0.2.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20d18b56b4e3
branches:  trunk
changeset: 371667:20d18b56b4e3
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jan 11 19:07:46 2022 +0000

description:
py-pastel: added version 0.2.1

Pastel is a simple library to help you colorize strings in your terminal.

diffstat:

 comms/py-pastel/DESCR                  |   1 +
 comms/py-pastel/Makefile               |  21 +++++++++++++++++++++
 comms/py-pastel/PLIST                  |  17 +++++++++++++++++
 comms/py-pastel/distinfo               |   6 ++++++
 comms/py-pastel/patches/patch-setup.py |  15 +++++++++++++++
 5 files changed, 60 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r ec39779d7eb7 -r 20d18b56b4e3 comms/py-pastel/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/py-pastel/DESCR     Tue Jan 11 19:07:46 2022 +0000
@@ -0,0 +1,1 @@
+Pastel is a simple library to help you colorize strings in your terminal.
diff -r ec39779d7eb7 -r 20d18b56b4e3 comms/py-pastel/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/py-pastel/Makefile  Tue Jan 11 19:07:46 2022 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2022/01/11 19:07:46 adam Exp $
+
+DISTNAME=      pastel-0.2.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    comms python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pastel/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/sdispater/pastel
+COMMENT=       Bring colors to your terminal
+LICENSE=       mit
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r ec39779d7eb7 -r 20d18b56b4e3 comms/py-pastel/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/py-pastel/PLIST     Tue Jan 11 19:07:46 2022 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/11 19:07:46 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pastel/__init__.py
+${PYSITELIB}/pastel/__init__.pyc
+${PYSITELIB}/pastel/__init__.pyo
+${PYSITELIB}/pastel/pastel.py
+${PYSITELIB}/pastel/pastel.pyc
+${PYSITELIB}/pastel/pastel.pyo
+${PYSITELIB}/pastel/stack.py
+${PYSITELIB}/pastel/stack.pyc
+${PYSITELIB}/pastel/stack.pyo
+${PYSITELIB}/pastel/style.py
+${PYSITELIB}/pastel/style.pyc
+${PYSITELIB}/pastel/style.pyo
diff -r ec39779d7eb7 -r 20d18b56b4e3 comms/py-pastel/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/py-pastel/distinfo  Tue Jan 11 19:07:46 2022 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/01/11 19:07:46 adam Exp $
+
+BLAKE2s (pastel-0.2.1.tar.gz) = ae9dafb7bd0d26d05f59d8f2b8f6b6508bc0fabf151c39bc15645d75727f5fa1
+SHA512 (pastel-0.2.1.tar.gz) = 7e310d632212c3d940823dc45fffc192094701ac3f8a06b030f0738522637be5dd770af74c009e7c96c120f6a0935e696baa8ee65b75cded1d064b885c2a2eea
+Size (pastel-0.2.1.tar.gz) = 7555 bytes
+SHA1 (patch-setup.py) = bd20399a3f71b62643eed82f0652abeb35d692ae
diff -r ec39779d7eb7 -r 20d18b56b4e3 comms/py-pastel/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/comms/py-pastel/patches/patch-setup.py    Tue Jan 11 19:07:46 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.py,v 1.1 2022/01/11 19:07:46 adam Exp $
+
+Do not install tests.
+
+--- setup.py.orig      2022-01-11 09:41:25.000000000 +0000
++++ setup.py
+@@ -2,7 +2,7 @@
+ from setuptools import setup
+ 
+ packages = \
+-['pastel', 'tests']
++['pastel']
+ 
+ package_data = \
+ {'': ['*']}



Home | Main Index | Thread Index | Old Index