Files
2025-11-11 22:48:15 -05:00

38 lines
1.2 KiB
Tcl

# -*- 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
name py-pyperclip
version 1.11.0
revision 0
supported_archs noarch
platforms {darwin any}
license BSD
maintainers {petr @petrrr} openmaintainer
description A cross-platform clipboard module for Python
long_description {*}${description}. It currently handles only plain text.
homepage https://github.com/asweigart/pyperclip
checksums rmd160 575b7af08b35d4b3c32c5afbdd2a3754b82e644c \
sha256 244035963e4428530d9e3a6101a1ef97209c6825edab1567beac148ccc1db1b6 \
size 12185
python.versions 310 311 312 313 314
if {${name} ne ${subport}} {
test.run yes
test.dir ${build.dir}/tests
test.cmd ${python.bin} test_pyperclip.py
post-destroot {
set docdir ${prefix}/share/doc/${subport}
xinstall -d ${destroot}${docdir}
xinstall -m 0644 -W ${worksrcpath} README.md \
${destroot}${docdir}
}
}