pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/net



I've fixed your py-onionbalance.

For the other imports, please:

- add entries in CHANGES-2018 ("make changes-entry-noupdate CTYPE=Added" should help you)

- use PyPI for getting distfiles (GitHub usually provides raw source packages) 

- use egg.mk and ${PYSITELIB}/${EGG_INFODIR} in PLIST

- check packages with "pkglint -Wall"

- for Python packages installing binaries and other conflicting files outside PYSITELIB: either use versioned names (see for example devel/py-test -> post-install) + ALTERNATIVES, or mark the package 
as PYTHON_SELF_CONFLICT=yes

Thanks :)
Adam


> Wiadomość napisana przez Taylor R Campbell <riastradh%netbsd.org@localhost> w dniu 23.10.2018, o godz. 05:17:
> 
> Module Name:  pkgsrc
> Committed By: riastradh
> Date:         Tue Oct 23 03:17:22 UTC 2018
> 
> Modified Files:
>       pkgsrc/net: Makefile
> Added Files:
>       pkgsrc/net/py-txtorcon: DESCR Makefile PLIST distinfo
> 
> Log Message:
> Import txtorcon-18.3.0, a Twisted tor daemon controller library.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -u -r1.1230 -r1.1231 pkgsrc/net/Makefile
> cvs rdiff -u -r0 -r1.1 pkgsrc/net/py-txtorcon/DESCR \
>    pkgsrc/net/py-txtorcon/Makefile pkgsrc/net/py-txtorcon/PLIST \
>    pkgsrc/net/py-txtorcon/distinfo
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 
> Modified files:
> 
> Index: pkgsrc/net/Makefile
> diff -u pkgsrc/net/Makefile:1.1230 pkgsrc/net/Makefile:1.1231
> --- pkgsrc/net/Makefile:1.1230        Tue Oct 23 01:42:34 2018
> +++ pkgsrc/net/Makefile       Tue Oct 23 03:17:22 2018
> @@ -1,4 +1,4 @@
> -# $NetBSD: Makefile,v 1.1230 2018/10/23 01:42:34 riastradh Exp $
> +# $NetBSD: Makefile,v 1.1231 2018/10/23 03:17:22 riastradh Exp $
> #
> 
> COMMENT=      Networking tools
> @@ -709,6 +709,7 @@ SUBDIR+=  py-twisted
> SUBDIR+=      py-twisted-docs
> SUBDIR+=      py-twython
> SUBDIR+=      py-txamqp
> +SUBDIR+=     py-txtorcon
> SUBDIR+=      py-xandikos
> SUBDIR+=      py-zeep
> SUBDIR+=      py-zmq
> 
> Added files:
> 
> Index: pkgsrc/net/py-txtorcon/DESCR
> diff -u /dev/null pkgsrc/net/py-txtorcon/DESCR:1.1
> --- /dev/null Tue Oct 23 03:17:22 2018
> +++ pkgsrc/net/py-txtorcon/DESCR      Tue Oct 23 03:17:22 2018
> @@ -0,0 +1,9 @@
> +txtorcon is an implementation of the control-spec for Tor using the
> +Twisted networking library for Python.
> +
> +This is useful for writing utilities to control or make use of Tor in
> +event-based Python programs. If your Twisted program supports endpoints
> +(like twistd does) your server or client can make use of Tor
> +immediately, with no code changes. Start your own Tor or connect to one
> +and get live stream, circuit, relay updates; read and change config;
> +monitor events; build circuits; create onion services; etcetera.
> Index: pkgsrc/net/py-txtorcon/Makefile
> diff -u /dev/null pkgsrc/net/py-txtorcon/Makefile:1.1
> --- /dev/null Tue Oct 23 03:17:22 2018
> +++ pkgsrc/net/py-txtorcon/Makefile   Tue Oct 23 03:17:22 2018
> @@ -0,0 +1,35 @@
> +# $NetBSD: Makefile,v 1.1 2018/10/23 03:17:22 riastradh Exp $
> +
> +DISTNAME=    txtorcon-18.3.0
> +PKGNAME=     ${PYPKGPREFIX}-${DISTNAME}
> +CATEGORIES=  net python
> +MASTER_SITES=        ${MASTER_SITE_GITHUB:=meejah/}
> +GITHUB_PROJECT=      txtorcon
> +GITHUB_TAG=  v${PKGVERSION_NOREV}
> +
> +MAINTAINER=  pkgsrc-users%NetBSD.org@localhost
> +HOMEPAGE=    https://txtorcon.readthedocs.io/
> +COMMENT=     Twisted Python library for controlling tor daemon
> +LICENSE=     mit
> +
> +USE_LANGUAGES=       # none
> +
> +.include "../../lang/python/pyversion.mk"
> +
> +DEPENDS+=    ${PYPKGPREFIX}-ZopeInterface>=3.6.1:../../devel/py-ZopeInterface
> +DEPENDS+=    ${PYPKGPREFIX}-automat-[0-9]*:../../devel/py-automat
> +DEPENDS+=    ${PYPKGPREFIX}-incremental-[0-9]*:../../devel/py-incremental
> +.if ${_PYTHON_VERSION} < 33
> +DEPENDS+=    ${PYPKGPREFIX}-ipaddress>=1.0.16:../../net/py-ipaddress
> +.endif
> +DEPENDS+=    ${PYPKGPREFIX}-twisted>=15.5.0:../../net/py-twisted
> +
> +TEST_DEPENDS+=       ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
> +
> +CHECK_INTERPRETER_SKIP+=     share/txtorcon/examples/*
> +
> +do-test:
> +     cd ${WRKSRC} && py.test-${PYVERSSUFFIX}
> +
> +.include "../../lang/python/distutils.mk"
> +.include "../../mk/bsd.pkg.mk"
> Index: pkgsrc/net/py-txtorcon/PLIST
> diff -u /dev/null pkgsrc/net/py-txtorcon/PLIST:1.1
> --- /dev/null Tue Oct 23 03:17:22 2018
> +++ pkgsrc/net/py-txtorcon/PLIST      Tue Oct 23 03:17:22 2018
> @@ -0,0 +1,139 @@
> +@comment $NetBSD: PLIST,v 1.1 2018/10/23 03:17:22 riastradh Exp $
> +${PYSITELIB}/twisted/plugins/txtorcon_endpoint_parser.pyo
> +${PYSITELIB}/twisted/plugins/txtorcon_endpoint_parser.pyc
> +${PYSITELIB}/twisted/plugins/txtorcon_endpoint_parser.py
> +${PYSITELIB}/txtorcon-18.2.0-py${PYVERSSUFFIX}.egg-info/PKG-INFO
> +${PYSITELIB}/txtorcon-18.2.0-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
> +${PYSITELIB}/txtorcon-18.2.0-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
> +${PYSITELIB}/txtorcon-18.2.0-py${PYVERSSUFFIX}.egg-info/requires.txt
> +${PYSITELIB}/txtorcon-18.2.0-py${PYVERSSUFFIX}.egg-info/top_level.txt
> +${PYSITELIB}/txtorcon/__init__.py
> +${PYSITELIB}/txtorcon/__init__.pyo
> +${PYSITELIB}/txtorcon/__init__.pyc
> +${PYSITELIB}/txtorcon/_metadata.pyo
> +${PYSITELIB}/txtorcon/_metadata.pyc
> +${PYSITELIB}/txtorcon/_microdesc_parser.pyo
> +${PYSITELIB}/txtorcon/_microdesc_parser.pyc
> +${PYSITELIB}/txtorcon/addrmap.pyo
> +${PYSITELIB}/txtorcon/addrmap.pyc
> +${PYSITELIB}/txtorcon/attacher.pyo
> +${PYSITELIB}/txtorcon/attacher.pyc
> +${PYSITELIB}/txtorcon/circuit.pyo
> +${PYSITELIB}/txtorcon/circuit.pyc
> +${PYSITELIB}/txtorcon/controller.pyo
> +${PYSITELIB}/txtorcon/controller.pyc
> +${PYSITELIB}/txtorcon/controller_py3.pyo
> +${PYSITELIB}/txtorcon/controller_py3.pyc
> +${PYSITELIB}/txtorcon/endpoints.pyo
> +${PYSITELIB}/txtorcon/endpoints.pyc
> +${PYSITELIB}/txtorcon/interface.pyo
> +${PYSITELIB}/txtorcon/interface.pyc
> +${PYSITELIB}/txtorcon/log.pyo
> +${PYSITELIB}/txtorcon/log.pyc
> +${PYSITELIB}/txtorcon/onion.pyo
> +${PYSITELIB}/txtorcon/onion.pyc
> +${PYSITELIB}/txtorcon/router.pyo
> +${PYSITELIB}/txtorcon/router.pyc
> +${PYSITELIB}/txtorcon/socks.pyo
> +${PYSITELIB}/txtorcon/socks.pyc
> +${PYSITELIB}/txtorcon/spaghetti.pyo
> +${PYSITELIB}/txtorcon/spaghetti.pyc
> +${PYSITELIB}/txtorcon/stream.pyo
> +${PYSITELIB}/txtorcon/stream.pyc
> +${PYSITELIB}/txtorcon/testutil.pyo
> +${PYSITELIB}/txtorcon/testutil.pyc
> +${PYSITELIB}/txtorcon/torconfig.pyo
> +${PYSITELIB}/txtorcon/torconfig.pyc
> +${PYSITELIB}/txtorcon/torcontrolprotocol.pyo
> +${PYSITELIB}/txtorcon/torcontrolprotocol.pyc
> +${PYSITELIB}/txtorcon/torinfo.pyo
> +${PYSITELIB}/txtorcon/torinfo.pyc
> +${PYSITELIB}/txtorcon/torstate.pyo
> +${PYSITELIB}/txtorcon/torstate.pyc
> +${PYSITELIB}/txtorcon/util.pyo
> +${PYSITELIB}/txtorcon/util.pyc
> +${PYSITELIB}/txtorcon/web.pyo
> +${PYSITELIB}/txtorcon/web.pyc
> +${PYSITELIB}/txtorcon/_metadata.py
> +${PYSITELIB}/txtorcon/_microdesc_parser.py
> +${PYSITELIB}/txtorcon/addrmap.py
> +${PYSITELIB}/txtorcon/attacher.py
> +${PYSITELIB}/txtorcon/circuit.py
> +${PYSITELIB}/txtorcon/controller.py
> +${PYSITELIB}/txtorcon/controller_py3.py
> +${PYSITELIB}/txtorcon/endpoints.py
> +${PYSITELIB}/txtorcon/interface.py
> +${PYSITELIB}/txtorcon/log.py
> +${PYSITELIB}/txtorcon/onion.py
> +${PYSITELIB}/txtorcon/router.py
> +${PYSITELIB}/txtorcon/socks.py
> +${PYSITELIB}/txtorcon/spaghetti.py
> +${PYSITELIB}/txtorcon/stream.py
> +${PYSITELIB}/txtorcon/testutil.py
> +${PYSITELIB}/txtorcon/torconfig.py
> +${PYSITELIB}/txtorcon/torcontrolprotocol.py
> +${PYSITELIB}/txtorcon/torinfo.py
> +${PYSITELIB}/txtorcon/torstate.py
> +${PYSITELIB}/txtorcon/util.py
> +${PYSITELIB}/txtorcon/web.py
> +share/txtorcon/INSTALL
> +share/txtorcon/Makefile
> +share/txtorcon/README.rst
> +share/txtorcon/TODO
> +share/txtorcon/apilinks_sphinxext.py
> +share/txtorcon/avatar.png
> +share/txtorcon/conf.py
> +share/txtorcon/examples.rst
> +share/txtorcon/examples/close_all_circuits.py
> +share/txtorcon/examples/connect.py
> +share/txtorcon/examples/disallow_streams_by_port.py
> +share/txtorcon/examples/dns_lookups.py
> +share/txtorcon/examples/hidden_echo.py
> +share/txtorcon/examples/launch_tor.py
> +share/txtorcon/examples/launch_tor2web.py
> +share/txtorcon/examples/launch_tor_endpoint.py
> +share/txtorcon/examples/launch_tor_endpoint2.py
> +share/txtorcon/examples/launch_tor_unix_sockets.py
> +share/txtorcon/examples/launch_tor_with_simplehttpd.py
> +share/txtorcon/examples/minimal_endpoint.py
> +share/txtorcon/examples/monitor.py
> +share/txtorcon/examples/readme.py
> +share/txtorcon/examples/readme3.py
> +share/txtorcon/examples/stem_relay_descriptor.py
> +share/txtorcon/examples/stream_circuit_logger.py
> +share/txtorcon/examples/tor_info.py
> +share/txtorcon/examples/web_client.py
> +share/txtorcon/examples/web_client_authenticated.py
> +share/txtorcon/examples/web_client_custom_circuit.py
> +share/txtorcon/examples/web_client_treq.py
> +share/txtorcon/examples/web_onion_service_aiohttp.py
> +share/txtorcon/examples/web_onion_service_endpoints.py
> +share/txtorcon/examples/web_onion_service_ephemeral_auth.py
> +share/txtorcon/examples/web_onion_service_ephemeral_nonanon.py
> +share/txtorcon/examples/web_onion_service_ephemeral_unix.py
> +share/txtorcon/examples/web_onion_service_filesystem.py
> +share/txtorcon/examples/web_onion_service_prop224.py
> +share/txtorcon/examples/web_onion_service_prop224_endpoints_file.py
> +share/txtorcon/examples/webui_server.py
> +share/txtorcon/guide.rst
> +share/txtorcon/hacking.rst
> +share/txtorcon/haiku.css
> +share/txtorcon/index.rst
> +share/txtorcon/installing.rst
> +share/txtorcon/interop_asyncio.rst
> +share/txtorcon/introduction.rst
> +share/txtorcon/logo.png
> +share/txtorcon/logo.svg
> +share/txtorcon/meejah.asc
> +share/txtorcon/release-checklist.rst
> +share/txtorcon/releases.rst
> +share/txtorcon/txtorcon-config.rst
> +share/txtorcon/txtorcon-controller.rst
> +share/txtorcon/txtorcon-endpoints.rst
> +share/txtorcon/txtorcon-interface.rst
> +share/txtorcon/txtorcon-onion.rst
> +share/txtorcon/txtorcon-protocol.rst
> +share/txtorcon/txtorcon-socks.rst
> +share/txtorcon/txtorcon-state.rst
> +share/txtorcon/txtorcon-util.rst
> +share/txtorcon/txtorcon.rst
> Index: pkgsrc/net/py-txtorcon/distinfo
> diff -u /dev/null pkgsrc/net/py-txtorcon/distinfo:1.1
> --- /dev/null Tue Oct 23 03:17:22 2018
> +++ pkgsrc/net/py-txtorcon/distinfo   Tue Oct 23 03:17:22 2018
> @@ -0,0 +1,6 @@
> +$NetBSD: distinfo,v 1.1 2018/10/23 03:17:22 riastradh Exp $
> +
> +SHA1 (txtorcon-18.3.0.tar.gz) = 58b409aa442202675fd9619f82aeae2086356d0e
> +RMD160 (txtorcon-18.3.0.tar.gz) = fcda362f665b2c889bc5d73c7d8c6269566016de
> +SHA512 (txtorcon-18.3.0.tar.gz) = 937423c05059b8c8847f12275b4b22cc4982cd32710fa50a0893b180a55716547f6ae37f38c46cbe62513b0463360900a1202fc3e5189cf023abcd637cb5022e
> +Size (txtorcon-18.3.0.tar.gz) = 385335 bytes
> 




Home | Main Index | Thread Index | Old Index