mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
99f578691b
ports r482774 removed USE_PYTHON=cython, likely due to it (cython) not
being explicitly declared as a dependency in setup.py:*_requires.
However, setup.py conditionally builds with cython if it is installed, but
the 1.0.6 source distribution (sdist) does not contain a .pyx file to build
with.
This leads to a configure/build error when cython is installed:
ValueError: 'rencode/rencode.pyx' doesn't match any files
Upstream commit 5c928f14567fabc9efb8bbb8ac5e0eef03c61541 [1] via issue
#25 [2] adds the required .pyx file to the sdist, which technically
addresses the "build with cython from the sdist" issue, but does not
fundamentally resolve the higher-level question: why build with cython when
a C source pre-processed by cython has already been produced for, and is
contained in, the source distribution.
A cython build (and the dependency on cython) does not appear to be
necessary, nor intended [3][4], nor recommended [5], even after #25 is
released, for sdist consumers.
The conditional code to build with cython should not be included in
setup.py, at least not as a default case, or without an explicit request
by the user to use cython, as an optional build method, for sdist consumers
(most downstream packagers and setuptools/pip users [6]).
This change removes the conditional check for Cython, leaving the standard
setuptools build_ext (with the packaged .c) file, as the build method.
While I'm here:
- Canonicalise COMMENT (match seutp.py:description)
- Add test target with post-patch target to make the tests dir a module
usable by a setup.py test (via test_suite directive) target.
- Honour CFLAGS: Remove forced (appended) -O3 arg from setup.py
[1]
|
||
---|---|---|
.. | ||
aish | ||
ascii2binary | ||
asr10 | ||
base64 | ||
bibtexconv | ||
bsdconv | ||
btoa | ||
chmview | ||
cl-babel | ||
cl-babel-sbcl | ||
cmios9 | ||
cocot | ||
convmv | ||
dosunix | ||
drg2sbg | ||
dumpasn1 | ||
enca | ||
erlang-base64url | ||
fconv | ||
fix-mime-charset | ||
fondu | ||
fpc-iconvenc | ||
fribidi | ||
gbase | ||
gbsdconv | ||
hs-aeson | ||
hs-aeson-compat | ||
hs-aeson-pretty | ||
hs-json | ||
hs-sandi | ||
htx | ||
i18ntools | ||
ical2html | ||
iconv | ||
iconv-extra | ||
iconv-rfc1345 | ||
ish | ||
libb64 | ||
libiconv | ||
libticonv | ||
libutf-8 | ||
lua51-iconv | ||
lua-iconv | ||
lua-json | ||
mimelib | ||
mmencode | ||
mpack | ||
nomyso | ||
o3read | ||
ocaml-base64 | ||
ocaml-jsonm | ||
osm2mp | ||
osm2pgrouting | ||
osm2pgsql | ||
p5-Bencode | ||
p5-Boulder | ||
p5-bsdconv | ||
p5-Convert-ASCII-Armour | ||
p5-Convert-ASN1 | ||
p5-Convert-Base32 | ||
p5-Convert-Bencode | ||
p5-Convert-Bencode_XS | ||
p5-Convert-BER | ||
p5-Convert-Binary-C | ||
p5-Convert-BinHex | ||
p5-Convert-IBM390 | ||
p5-Convert-Moji | ||
p5-Convert-Morse | ||
p5-Convert-NLS_DATE_FORMAT | ||
p5-Convert-PEM | ||
p5-Convert-Recode | ||
p5-Convert-TNEF | ||
p5-Convert-UU | ||
p5-Convert-UUlib | ||
p5-Cpanel-JSON-XS | ||
p5-Cstools | ||
p5-Data-AMF | ||
p5-Encode | ||
p5-Encode-Base32-Crockford | ||
p5-Encode-Base32-GMP | ||
p5-Encode-Base58-GMP | ||
p5-Encode-compat | ||
p5-Encode-Detect | ||
p5-Encode-Detect-CJK | ||
p5-Encode-DoubleEncodedUTF8 | ||
p5-Encode-IMAPUTF7 | ||
p5-Encode-JIS2K | ||
p5-Encode-Locale | ||
p5-Encode-Punycode | ||
p5-Encoding-BER | ||
p5-Encoding-FixLatin | ||
p5-Format-Human-Bytes | ||
p5-JSON | ||
p5-JSON1 | ||
p5-JSON-Any | ||
p5-JSON-DWIW | ||
p5-JSON-MaybeXS | ||
p5-JSON-PP | ||
p5-JSON-Tiny | ||
p5-JSON-XS | ||
p5-JSON-XS-VersionOneAndTwo | ||
p5-LaTeXML | ||
p5-MIME-Base32 | ||
p5-MIME-Base64 | ||
p5-MIME-Base64-URLSafe | ||
p5-Net-IDN-Nameprep | ||
p5-Number-Nary | ||
p5-Number-RecordLocator | ||
p5-PerlIO-via-Unidecode | ||
p5-plutil | ||
p5-Sereal | ||
p5-Sereal-Decoder | ||
p5-Sereal-Encoder | ||
p5-Storable-AMF | ||
p5-String-Multibyte | ||
p5-Text-Bidi | ||
p5-Text-Iconv | ||
p5-Text-Unidecode | ||
p5-Unicode-IMAPUtf7 | ||
p5-Unicode-Map | ||
p5-Unicode-Map8 | ||
p5-Unicode-MapUTF8 | ||
p5-Unicode-RecursiveDowngrade | ||
p5-Unicode-String | ||
p5-Unicode-Stringprep | ||
p5-Unicode-UTF8simple | ||
p5-URI-UTF8-Punycode | ||
p5-WAP-wbxml | ||
p5-XML-WBXML | ||
pear-Services_JSON | ||
pecl-fribidi | ||
pecl-igbinary | ||
php56-iconv | ||
php56-mbstring | ||
php56-recode | ||
php70-iconv | ||
php70-mbstring | ||
php70-recode | ||
php71-iconv | ||
php71-mbstring | ||
php71-recode | ||
php72-iconv | ||
php72-mbstring | ||
php72-recode | ||
php73-iconv | ||
php73-mbstring | ||
php73-recode | ||
php-bsdconv | ||
psiconv | ||
py-bcode | ||
py-bencode.py | ||
py-bencoder | ||
py-better-bencode | ||
py-bsdconv | ||
py-iconv | ||
py-pint | ||
py-rencode | ||
py-text-unidecode | ||
py-unidecode | ||
py-webencodings | ||
py-zfec | ||
R-cran-base64enc | ||
R-cran-jsonlite | ||
R-cran-rjson | ||
R-cran-RJSONIO | ||
rcctools | ||
recode | ||
rubygem-base32 | ||
rubygem-json-ld | ||
rubygem-json-ld-preloaded | ||
rubygem-po_to_json | ||
rubygem-ruby-bsdconv | ||
rubygem-url_safe_base64 | ||
rubygem-xdr | ||
shftool | ||
showkey | ||
ta2as | ||
tnef | ||
trans | ||
tuc | ||
unix2dos | ||
uudeview | ||
uulib | ||
vda2fbd | ||
wkhtmltopdf | ||
xdeview | ||
xml2c | ||
ytnef | ||
zbase32 | ||
Makefile |