pkgsrc-WIP-changes archive

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

py-awslogs: Import py-awslogs-0.14.0



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Wed Oct 6 22:59:16 2021 +0200
Changeset:	596776ced1122ca98e4bd4ae64b514e4003ee067

Added Files:
	py-awslogs/ALTERNATIVES
	py-awslogs/DESCR
	py-awslogs/Makefile
	py-awslogs/PLIST
	py-awslogs/distinfo
	py-awslogs/patches/patch-setup.py

Log Message:
py-awslogs: Import py-awslogs-0.14.0

awslogs is a simple command line tool for querying groups, streams and events
from Amazon CloudWatch logs.

One of the most powerful features is to query events from several streams and
consume them (ordered) in pseudo-realtime using your favourite tools such as
grep.

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

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

diffstat:
 py-awslogs/ALTERNATIVES           |  1 +
 py-awslogs/DESCR                  |  6 ++++++
 py-awslogs/Makefile               | 30 ++++++++++++++++++++++++++++++
 py-awslogs/PLIST                  | 24 ++++++++++++++++++++++++
 py-awslogs/distinfo               |  7 +++++++
 py-awslogs/patches/patch-setup.py | 15 +++++++++++++++
 6 files changed, 83 insertions(+)

diffs:
diff --git a/py-awslogs/ALTERNATIVES b/py-awslogs/ALTERNATIVES
new file mode 100644
index 0000000000..0b0c215d0d
--- /dev/null
+++ b/py-awslogs/ALTERNATIVES
@@ -0,0 +1 @@
+bin/awslogs @PREFIX@/bin/awslogs@PYVERSSUFFIX@
diff --git a/py-awslogs/DESCR b/py-awslogs/DESCR
new file mode 100644
index 0000000000..6955f9c3b3
--- /dev/null
+++ b/py-awslogs/DESCR
@@ -0,0 +1,6 @@
+awslogs is a simple command line tool for querying groups, streams and events
+from Amazon CloudWatch logs.
+
+One of the most powerful features is to query events from several streams and
+consume them (ordered) in pseudo-realtime using your favourite tools such as
+grep.
diff --git a/py-awslogs/Makefile b/py-awslogs/Makefile
new file mode 100644
index 0000000000..e83fd5c4b6
--- /dev/null
+++ b/py-awslogs/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.82 2021/09/12 10:36:47 leot Exp $
+
+DISTNAME=	awslogs-0.14.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	net python
+MASTER_SITES=	${MASTER_SITE_PYPI:=a/awslogs/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/jorgebastida/awslogs
+COMMENT=	AWS CloudWatch logs for Humans
+LICENSE=	modified-bsd
+
+DEPENDS+=	${PYPKGPREFIX}-boto3>=1.5.0:../../net/py-boto3
+DEPENDS+=	${PYPKGPREFIX}-dateutil>=2.4.0:../../time/py-dateutil
+DEPENDS+=	${PYPKGPREFIX}-jmespath>=0.7.1:../../textproc/py-jmespath
+DEPENDS+=	${PYPKGPREFIX}-termcolor>=1.1.0:../../devel/py-termcolor
+
+USE_LANGUAGES=			# none
+
+# Only for Python 3
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+#post-install:
+#	${RM} -rf ${DESTDIR}${PREFIX}/${PYSITELIB}/tests
+
+post-install:
+	${MV} ${DESTDIR}${PREFIX}/bin/awslogs ${DESTDIR}${PREFIX}/bin/awslogs${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-awslogs/PLIST b/py-awslogs/PLIST
new file mode 100644
index 0000000000..673586078e
--- /dev/null
+++ b/py-awslogs/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD$
+bin/awslogs${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/awslogs/__init__.py
+${PYSITELIB}/awslogs/__init__.pyc
+${PYSITELIB}/awslogs/__init__.pyo
+${PYSITELIB}/awslogs/_version.py
+${PYSITELIB}/awslogs/_version.pyc
+${PYSITELIB}/awslogs/_version.pyo
+${PYSITELIB}/awslogs/bin.py
+${PYSITELIB}/awslogs/bin.pyc
+${PYSITELIB}/awslogs/bin.pyo
+${PYSITELIB}/awslogs/core.py
+${PYSITELIB}/awslogs/core.pyc
+${PYSITELIB}/awslogs/core.pyo
+${PYSITELIB}/awslogs/exceptions.py
+${PYSITELIB}/awslogs/exceptions.pyc
+${PYSITELIB}/awslogs/exceptions.pyo
diff --git a/py-awslogs/distinfo b/py-awslogs/distinfo
new file mode 100644
index 0000000000..e8556a3a1a
--- /dev/null
+++ b/py-awslogs/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.79 2021/09/12 10:36:47 leot Exp $
+
+SHA1 (awslogs-0.14.0.tar.gz) = 0c20de26a62ef4ad1bbbeceae6784108fe34d545
+RMD160 (awslogs-0.14.0.tar.gz) = 45cf1ed94c387c615d4bf01754ffc0eaaff0620f
+SHA512 (awslogs-0.14.0.tar.gz) = a7079d8960b589d819b63060a5a9cf067da2c8e190dccfc0ba95fa5260e5ce5db0952ecadcb58402644701a134643f4e3ad577b8f73bf96698f22608dbbfbaae
+Size (awslogs-0.14.0.tar.gz) = 15634 bytes
+SHA1 (patch-setup.py) = f38d28f81ccd9b265d3fe9a607776db471fb0910
diff --git a/py-awslogs/patches/patch-setup.py b/py-awslogs/patches/patch-setup.py
new file mode 100644
index 0000000000..2a566af826
--- /dev/null
+++ b/py-awslogs/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Do not install tests.
+
+--- setup.py.orig	2020-07-10 07:01:23.000000000 +0000
++++ setup.py
+@@ -19,7 +19,7 @@ setup(
+     description='awslogs is a simple command line tool to read aws cloudwatch logs.',
+     long_description='awslogs is a simple command line tool to read aws cloudwatch logs.',
+     keywords="aws logs cloudwatch",
+-    packages=find_packages(),
++    packages=find_packages(exclude=('tests',)),
+     platforms='any',
+     python_requires=">=3.5.*",
+     install_requires=install_requires,


Home | Main Index | Thread Index | Old Index