You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
a637ac8d2d
Also apply the same patch used in py-dmgbuild and py-mac-alias, and add support for python 3.13 and 3.14. Signed-off-by: Gregorio Litenstein <g.litenstein@gmail.com>
38 lines
1.4 KiB
Tcl
38 lines
1.4 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-ds-store
|
|
version 1.3.2
|
|
distname ds_store-${version}
|
|
|
|
categories-append devel
|
|
license {MIT PSF}
|
|
platforms {darwin any}
|
|
supported_archs noarch
|
|
maintainers nomaintainer
|
|
description Manipulate Finder .DS_Store files from Python
|
|
long_description ds_store lets you examine and modify .DS_Store files from Python code\; since it is written in pure Python, it is portable and will run on any platform, not just Mac OS X.
|
|
|
|
homepage https://ds-store.readthedocs.io/en/latest/
|
|
|
|
checksums rmd160 880deec424f4ceb705a3311f7154777956c531e4 \
|
|
sha256 e4da49df901123481a85b9250945f2aac054a0f0c29352cd2cc858c536cdd364 \
|
|
size 26574
|
|
|
|
patchfiles-append patch-pyproject.patch
|
|
|
|
python.versions 310 311 312 313 314
|
|
|
|
if {$subport ne $name} {
|
|
depends_lib-append port:py${python.version}-mac-alias
|
|
|
|
post-destroot {
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${subport} \
|
|
${destroot}${prefix}/share/examples/${subport}
|
|
xinstall -m 644 -W ${worksrcpath} LICENSE README.rst \
|
|
${destroot}${prefix}/share/doc/${subport}
|
|
}
|
|
}
|