You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-03-31 14:42:53 -07:00
41 lines
1.3 KiB
Tcl
41 lines
1.3 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
|
|
PortGroup github 1.0
|
|
|
|
github.setup aresch rencode 1.0.8 v
|
|
github.tarball_from archive
|
|
name py-rencode
|
|
revision 0
|
|
license GPL-3+
|
|
maintainers nomaintainer
|
|
|
|
description Python module for fast (basic) object serialization similar to bencode
|
|
long_description {*}${description}
|
|
|
|
checksums rmd160 5c2ef868d5ff1c284b541a549e162281009d829b \
|
|
sha256 480aab74948a7f339b749b5c39bdb4caf15429f4b49a998c770d5f371098d351 \
|
|
size 26072
|
|
|
|
python.versions 310 311 312 313
|
|
|
|
patchfiles fix-build-tahoe-aarch64.diff
|
|
|
|
if {${name} ne ${subport}} {
|
|
depends_build-append \
|
|
port:py${python.version}-setuptools \
|
|
port:py${python.version}-cython
|
|
|
|
python.pep517 yes
|
|
python.pep517_backend poetry
|
|
|
|
# https://trac.macports.org/ticket/64425
|
|
build.cmd pyproject-build-${python.branch} --wheel --no-isolation --outdir ${workpath}
|
|
|
|
test.run yes
|
|
python.test_framework
|
|
test.dir ${worksrcpath}/tests
|
|
test.cmd ${python.bin} test_rencode.py
|
|
}
|