From nobody Sun Jul 17 12:07:22 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lm3kL2B5sz4T7m0; Sun, 17 Jul 2022 12:07:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lm3kL1gfRz3V5g; Sun, 17 Jul 2022 12:07:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658059642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U6k2862GPzYfebxkTMQiNAhcK5DIK9GbPNmnDPHDCbw=; b=GvjCzNY/8YJI92SK5oYJl9DI5koUZEInssQN7k/vAUU/H5j8jrK6REIKF4v3dhjz1+WcZS 7X4xCKoiCIt7ROXAqMp3hFcCz4OYZemir+LNUWN9N04ygaCpJKrDt/eTx5/e2gQ0iZCm2d U/MHalJHurkdNPjtoC6ZW1ZL6L8hr2kqvmJwjgme/9DD2h/8fUuvrmSbgccchV5ruNUbiE MMS/5S1PCzqrwVTrAimUKsA6xIBY3Vplna/U2ir+1Ahio6R4P5wM16ZpgscCr9WmKUyLmC VJ0fywqTKoNCLkxesfaKGKZ+gFQjnMUghBFz5wUPdCFWdJPLD9+rH8TqY5w5uQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Lm3kL0kmSz10KG; Sun, 17 Jul 2022 12:07:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 26HC7MVu068870; Sun, 17 Jul 2022 12:07:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26HC7MR4068869; Sun, 17 Jul 2022 12:07:22 GMT (envelope-from git) Date: Sun, 17 Jul 2022 12:07:22 GMT Message-Id: <202207171207.26HC7MR4068869@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Kai Knoblich Subject: git: ce547df4b991 - main - net-mgmt/py-netutils: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kai X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ce547df4b991787d0b6b064bead52044db5a1299 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658059642; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=U6k2862GPzYfebxkTMQiNAhcK5DIK9GbPNmnDPHDCbw=; b=TlCWcYZ8MHKkrTJSK+tWbeie8QSt3NLyHBooGlZndsEJ/hcEgdeSWqzz3J00+2cYDNzy1s oGfEHnyrCNKQJoUiMEj21Id3eS+KPhNXGpaqAIZg8dB6JOAFad1D5JgPepHqWc3t9JqXfP aDS4pewgvqkCdOPSMnkKAtijzhGMFO88zHv7IlfssVKidytNPuh8Lit61NxMZDG5lvfOh7 1nEAeVLpLfjVQt+SP8ZBpPUUPHB21kLvt39thmzbsUQDM1CAsTZMkvdg0Fs8PMxRY9SXmv QVeS2C373BTzzutrTS3Yz/vLpGN4nQ2aj8ZWb/X+s9/mC6Z8KPUoUzC48QFjmA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658059642; a=rsa-sha256; cv=none; b=wS0qWGy/BGDQ8hNtA9Futpi9P6XgiOmVNXLjtNnXEaPRhXBdv4kpX4W/No1KPE4VDxdUEi aw+9YU7VIbXTeu7GI4oBHHVV9TgaFVNcy7h8QQskswtg1E5dw5Ra0mdormAbJXGxQxPErp 4N5+DDpOV5nxjMv/svmDlZf9e21nSr9w2q5TPzsPMSIlLkUY8utRqMPru8cR5X5TG4akPl sPTNCt3n7CvM32/FHiruFk1G/15bZmscgs9heUHo9enXwSxOGQLNqFp7SfjgJbgYjtEnZy T0QHA3fdS6zPs0GO6fKxCT/iqjHn4i2SmUSNwb++BGRhW9YskdXqkWLVI9A8Ww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=ce547df4b991787d0b6b064bead52044db5a1299 commit ce547df4b991787d0b6b064bead52044db5a1299 Author: Kai Knoblich AuthorDate: 2022-07-17 11:55:28 +0000 Commit: Kai Knoblich CommitDate: 2022-07-17 12:04:30 +0000 net-mgmt/py-netutils: New port This Python library contains a collection of objects for common network automation tasks. It intends to keep the following tenets: * Must not be any dependencies required to run the library. * May be some optional dependencies, to be managed by the user in opt in fashion. * Shall prefer functions over classes. * Shall prefer a folder and file structure that is flat. * Shall leverage docstrings as the primary documentation mechanism. * Must provide examples in every public function. * Shall retain a high test coverage. WWW: https://github.com/networktocode/netutils --- net-mgmt/Makefile | 1 + net-mgmt/py-netutils/Makefile | 18 ++++++++++++++++++ net-mgmt/py-netutils/distinfo | 3 +++ net-mgmt/py-netutils/pkg-descr | 15 +++++++++++++++ 4 files changed, 37 insertions(+) diff --git a/net-mgmt/Makefile b/net-mgmt/Makefile index da7b3315c31b..9640aa6ac1b3 100644 --- a/net-mgmt/Makefile +++ b/net-mgmt/Makefile @@ -312,6 +312,7 @@ SUBDIR += py-napalm-logs SUBDIR += py-ncclient SUBDIR += py-netbox-plugin-extensions + SUBDIR += py-netutils SUBDIR += py-nxapi-plumbing SUBDIR += py-opn-cli SUBDIR += py-pdagent diff --git a/net-mgmt/py-netutils/Makefile b/net-mgmt/py-netutils/Makefile new file mode 100644 index 000000000000..8afaeec6ac71 --- /dev/null +++ b/net-mgmt/py-netutils/Makefile @@ -0,0 +1,18 @@ +PORTNAME= netutils +DISTVERSION= 1.1.0 +CATEGORIES= net-mgmt python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Common helper functions useful in network automation + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:3.6+ +USE_PYTHON= autoplist distutils + +NO_ARCH= yes + +.include diff --git a/net-mgmt/py-netutils/distinfo b/net-mgmt/py-netutils/distinfo new file mode 100644 index 000000000000..13ec58b9672d --- /dev/null +++ b/net-mgmt/py-netutils/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1658048014 +SHA256 (netutils-1.1.0.tar.gz) = 90ab637c60ae18c515191224c52a7b0a1eb6fdde2f8dd40dfac638f2dd06ef2c +SIZE (netutils-1.1.0.tar.gz) = 104415 diff --git a/net-mgmt/py-netutils/pkg-descr b/net-mgmt/py-netutils/pkg-descr new file mode 100644 index 000000000000..f05e6e4f32c1 --- /dev/null +++ b/net-mgmt/py-netutils/pkg-descr @@ -0,0 +1,15 @@ +This Python library contains a collection of objects for common network +automation tasks. + +It intends to keep the following tenets: + +* Must not be any dependencies required to run the library. +* May be some optional dependencies, to be managed by the user + in opt in fashion. +* Shall prefer functions over classes. +* Shall prefer a folder and file structure that is flat. +* Shall leverage docstrings as the primary documentation mechanism. +* Must provide examples in every public function. +* Shall retain a high test coverage. + +WWW: https://github.com/networktocode/netutils