pkgsrc-WIP-changes archive

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

py-mitmproxy2swagger: Import py-mitmproxy2swagger-0.6.1



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By:	leot
Date:		Sun Jun 19 21:19:32 2022 +0200
Changeset:	0d45611710379574cf0da0726c6af69017550e7b

Added Files:
	py-mitmproxy2swagger/DESCR
	py-mitmproxy2swagger/Makefile
	py-mitmproxy2swagger/PLIST
	py-mitmproxy2swagger/TODO
	py-mitmproxy2swagger/distinfo

Log Message:
py-mitmproxy2swagger: Import py-mitmproxy2swagger-0.6.1

A tool for automatically converting mitmproxy captures to OpenAPI 3.0
specifications. This means that you can automatically reverse-engineer
REST APIs by just running the apps and capturing the traffic.

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

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

diffstat:
 py-mitmproxy2swagger/DESCR    |  3 +++
 py-mitmproxy2swagger/Makefile | 23 +++++++++++++++++++++++
 py-mitmproxy2swagger/PLIST    | 26 ++++++++++++++++++++++++++
 py-mitmproxy2swagger/TODO     |  3 +++
 py-mitmproxy2swagger/distinfo |  5 +++++
 5 files changed, 60 insertions(+)

diffs:
diff --git a/py-mitmproxy2swagger/DESCR b/py-mitmproxy2swagger/DESCR
new file mode 100644
index 0000000000..2e9de6271e
--- /dev/null
+++ b/py-mitmproxy2swagger/DESCR
@@ -0,0 +1,3 @@
+A tool for automatically converting mitmproxy captures to OpenAPI 3.0
+specifications. This means that you can automatically reverse-engineer
+REST APIs by just running the apps and capturing the traffic.
diff --git a/py-mitmproxy2swagger/Makefile b/py-mitmproxy2swagger/Makefile
new file mode 100644
index 0000000000..8e30ea2816
--- /dev/null
+++ b/py-mitmproxy2swagger/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD$
+
+DISTNAME=	mitmproxy2swagger-0.6.1
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	www python
+MASTER_SITES=	${MASTER_SITE_PYPI:=m/mitmproxy2swagger/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://pypi.org/project/mitmproxy2swagger/
+COMMENT=	Convert mitmproxy captures to OpenAPI 3.0 specification
+LICENSE=	mit
+
+DEPENDS+=	${PYPKGPREFIX}-json-stream>=1.3.0:../../wip/py-json-stream
+DEPENDS+=	mitmproxy>=8.0.0:../../net/mitmproxy
+DEPENDS+=	${PYPKGPREFIX}-ruamel-yaml>=0.17.21:../../devel/py-ruamel-yaml
+
+USE_LANGUAGES=	# none
+
+# Only for Python 3.x
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-mitmproxy2swagger/PLIST b/py-mitmproxy2swagger/PLIST
new file mode 100644
index 0000000000..1146971d10
--- /dev/null
+++ b/py-mitmproxy2swagger/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD$
+bin/mitmproxy2swagger
+${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}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/mitmproxy2swagger/__init__.py
+${PYSITELIB}/mitmproxy2swagger/__init__.pyc
+${PYSITELIB}/mitmproxy2swagger/__init__.pyo
+${PYSITELIB}/mitmproxy2swagger/console_util.py
+${PYSITELIB}/mitmproxy2swagger/console_util.pyc
+${PYSITELIB}/mitmproxy2swagger/console_util.pyo
+${PYSITELIB}/mitmproxy2swagger/har_capture_reader.py
+${PYSITELIB}/mitmproxy2swagger/har_capture_reader.pyc
+${PYSITELIB}/mitmproxy2swagger/har_capture_reader.pyo
+${PYSITELIB}/mitmproxy2swagger/mitmproxy2swagger.py
+${PYSITELIB}/mitmproxy2swagger/mitmproxy2swagger.pyc
+${PYSITELIB}/mitmproxy2swagger/mitmproxy2swagger.pyo
+${PYSITELIB}/mitmproxy2swagger/mitmproxy_capture_reader.py
+${PYSITELIB}/mitmproxy2swagger/mitmproxy_capture_reader.pyc
+${PYSITELIB}/mitmproxy2swagger/mitmproxy_capture_reader.pyo
+${PYSITELIB}/mitmproxy2swagger/swagger_util.py
+${PYSITELIB}/mitmproxy2swagger/swagger_util.pyc
+${PYSITELIB}/mitmproxy2swagger/swagger_util.pyo
diff --git a/py-mitmproxy2swagger/TODO b/py-mitmproxy2swagger/TODO
new file mode 100644
index 0000000000..4f3a29f433
--- /dev/null
+++ b/py-mitmproxy2swagger/TODO
@@ -0,0 +1,3 @@
+- Install mitmproxy2swagger with the version suffix
+- mitmproxy should be called py-mitmproxy to possibly have multiple version
+  of it
diff --git a/py-mitmproxy2swagger/distinfo b/py-mitmproxy2swagger/distinfo
new file mode 100644
index 0000000000..8bfa3779a7
--- /dev/null
+++ b/py-mitmproxy2swagger/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.9 2021/10/26 11:30:26 nia Exp $
+
+BLAKE2s (mitmproxy2swagger-0.6.1.tar.gz) = 4dbb3dd6985d291d90537c3dd12565bccda36450ba92fab237c9f63943a39ede
+SHA512 (mitmproxy2swagger-0.6.1.tar.gz) = 3bc8de0d891f38f7331541753270c556ba4768eaaed48f6f735c3b4c43ea773ff5f51f44f93cb61f4b24ce51423d5df9abd7c484362df0ed57feb1d2ef60ed72
+Size (mitmproxy2swagger-0.6.1.tar.gz) = 10761 bytes


Home | Main Index | Thread Index | Old Index