Skip to content
Permalink
Browse files

py-pyusb[-devel]: obsolete -devel port

- add missing py-setuptools dependency
- remove unused patch-files
  • Loading branch information
reneeotten authored and cjones051073 committed Apr 5, 2019
1 parent 648eadf commit 229f59c35c3e3a4e47b7469502b06972771353ad
Showing with 14 additions and 47 deletions.
  1. +8 −28 python/py-pyusb-devel/Portfile
  2. +6 −5 python/py-pyusb/Portfile
  3. +0 −14 python/py-pyusb/files/setup.py.diff
@@ -1,36 +1,16 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup python 1.0
PortGroup github 1.0
PortGroup obsolete 1.0

github.setup walac pyusb 1.0.0b2
name py-pyusb-devel
replaced_by py-pyusb
version 1.0.0b2
epoch 1
categories-append devel
platforms darwin
supported_archs noarch
license BSD
maintainers nomaintainer
description Python library to provide easy USB device access
long_description The PyUSB module provides Python with easy access to \
the host machine's Universal Serial Bus (USB) system

homepage https://walac.github.io/pyusb/

checksums rmd160 2f6ba3c572410110339ef1776786b70d34b8810c \
sha256 c4caba4e049d6d124ea911b89e4c4b781cc516f8b5a6d7fa82e5159bc2224a4d
revision 1

python.versions 27

if {${name} ne ${subport}} {
conflicts py${python.version}-pyusb

depends_run-append path:lib/pkgconfig/libusb-1.0.pc:libusb
categories-append python devel
license BSD

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} README.rst ReleaseNotes.rst LICENSE docs/tutorial.rst \
${destroot}${prefix}/share/doc/${subport}
}
}
subport py27-pyusb-devel " replaced_by py27-pyusb "
# remove after April 4, 2020
@@ -25,15 +25,16 @@ checksums rmd160 07a1e9c3d77c482f38879eee802e1ca1f5f5b2a3 \
python.versions 27 35 36 37

if {${name} ne ${subport}} {
conflicts py${python.version}-pyusb-devel
depends_build-append \
port:py${python.version}-setuptools

depends_run-append path:lib/pkgconfig/libusb-1.0.pc:libusb

post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 644 -W ${worksrcpath} README.rst LICENSE \
docs/tutorial.rst \
docs/faq.rst \
xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${subport}
xinstall -m 0644 -W ${worksrcpath} README.rst LICENSE \
docs/tutorial.rst \
docs/faq.rst \
${destroot}${prefix}/share/doc/${subport}
}

This file was deleted.

0 comments on commit 229f59c

Please sign in to comment.
You can’t perform that action at this time.