diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-03 06:50:16 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-05-03 01:49:57 -0500 |
commit | 14073927a21038c28368171c102782412fc86a07 (patch) | |
tree | 2d19920d810cefade916bbe3df92a675e9ab2ba9 | |
parent | 3a757a750dc094f6bd49281283ed3e44f7a6b413 (diff) |
python/python-netaddr: Renamed python2-netaddr.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
-rw-r--r-- | python/python-netaddr/slack-desc | 19 | ||||
-rw-r--r-- | python/python2-netaddr/README (renamed from python/python-netaddr/README) | 0 | ||||
-rw-r--r-- | python/python2-netaddr/python2-netaddr.SlackBuild (renamed from python/python-netaddr/python-netaddr.SlackBuild) | 4 | ||||
-rw-r--r-- | python/python2-netaddr/python2-netaddr.info (renamed from python/python-netaddr/python-netaddr.info) | 2 | ||||
-rw-r--r-- | python/python2-netaddr/slack-desc | 19 |
5 files changed, 22 insertions, 22 deletions
diff --git a/python/python-netaddr/slack-desc b/python/python-netaddr/slack-desc deleted file mode 100644 index 108af3234d054..0000000000000 --- a/python/python-netaddr/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-netaddr: python-netaddr (Network address manipulation) -python-netaddr: -python-netaddr: netaddr provides a Pythonic way of working with: -python-netaddr: - IPv4 and IPv6 addresses and subnets -python-netaddr: - MAC addresses, OUI and IAB identifiers, IEEE EUI-64 identifiers -python-netaddr: - arbitrary (non-aligned) IP address ranges and IP address sets -python-netaddr: - some non-CIDR IP range formats such as nmap and glob-style formats -python-netaddr: -python-netaddr: nettaddr is able to manipulate IPv4, IPv6, CIDR, EUI and MAC -python-netaddr: network addresses. -python-netaddr: diff --git a/python/python-netaddr/README b/python/python2-netaddr/README index 686ffe012c66e..686ffe012c66e 100644 --- a/python/python-netaddr/README +++ b/python/python2-netaddr/README diff --git a/python/python-netaddr/python-netaddr.SlackBuild b/python/python2-netaddr/python2-netaddr.SlackBuild index 3a731f229ba5d..7291fc1d8e096 100644 --- a/python/python-netaddr/python-netaddr.SlackBuild +++ b/python/python2-netaddr/python2-netaddr.SlackBuild @@ -22,7 +22,7 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=python-netaddr +PRGNAM=python2-netaddr SRC_PRGNAM=netaddr VERSION=${VERSION:-0.8.0} BUILD=${BUILD:-1} @@ -83,7 +83,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -python setup.py install --root=$PKG +python2 setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/python/python-netaddr/python-netaddr.info b/python/python2-netaddr/python2-netaddr.info index 6b796063051a9..2b03deaf76935 100644 --- a/python/python-netaddr/python-netaddr.info +++ b/python/python2-netaddr/python2-netaddr.info @@ -1,4 +1,4 @@ -PRGNAM="python-netaddr" +PRGNAM="python2-netaddr" VERSION="0.8.0" HOMEPAGE="https://pypi.python.org/pypi/netaddr" DOWNLOAD="https://files.pythonhosted.org/packages/c3/3b/fe5bda7a3e927d9008c897cf1a0858a9ba9924a6b4750ec1824c9e617587/netaddr-0.8.0.tar.gz" diff --git a/python/python2-netaddr/slack-desc b/python/python2-netaddr/slack-desc new file mode 100644 index 0000000000000..fa83a05f7ff78 --- /dev/null +++ b/python/python2-netaddr/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python2-netaddr: python2-netaddr (Network address manipulation) +python2-netaddr: +python2-netaddr: netaddr provides a Pythonic way of working with: +python2-netaddr: - IPv4 and IPv6 addresses and subnets +python2-netaddr: - MAC addresses, OUI and IAB identifiers, IEEE EUI-64 identifiers +python2-netaddr: - arbitrary (non-aligned) IP address ranges and IP address sets +python2-netaddr: - some non-CIDR IP range formats such as nmap and glob-style formats +python2-netaddr: +python2-netaddr: nettaddr is able to manipulate IPv4, IPv6, CIDR, EUI and MAC +python2-netaddr: network addresses. +python2-netaddr: |