[ITP] python-xlrd
Hamish McIntyre-Bhatty
cygwin@hamishmb.com
Thu Apr 23 14:06:07 GMT 2026
On 20/04/2026 21:37, Brian Inglis via Cygwin-apps wrote:
> On 2026-04-20 08:50, Hamish McIntyre-Bhatty via Cygwin-apps wrote:
>> Hi all,
>>
>> xlrd (https://pypi.org/project/xlrd/) is an optional dependency of
>> wxPython, which I maintain, and as such I'd like to package it for
>> Cygwin.
>>
>> The cygport file for this package is at: https://gitlab.com/hamishmb/
>> cygwin- python-xlrd
>>
>> Please note that the -common package doesn't contain any python3.9 or
>> python3.12-specific files, just some documentation and a script that
>> can run on either Python version.
>>
>> xlrd is in Debian: https://packages.debian.org/trixie/python3-xlrd
>
> Hi Hamish,
>
> If you quote the majority package distros repology page (to which we
> provide updates from calm and/or deploy processes):
>
> https://repology.org/project/python%3Axlrd/information
>
> packages qualify if they have a bunch of independent distro appearances;
My bad, I thought only one distro appearance was needed. I'll remember
repology for the next one (there's no end in sight for now, unfortunately!)
>
> add a Fedora Main spec for policy review:
>
> https://src.fedoraproject.org/rpms/python-xlrd/blob/main/f/python-xlrd.spec
I'm not sure what you mean by this.
>
> you should feel confident to attach a copy of the cygport, and
> preferably a link to a CI playground repo build job (not any package
> repo playground branch as it does not yet exist for this package):
>
> https://cygwin.com/cgit/cygwin-packages/playground/
>
Okay, no problem, cygport file attached. I tried to push to a new branch
on the playground repo, but got a Permission denied (publickey) error,
so I don't think I have the privileges needed to do that at the moment.
Best,
Hamish
-------------- next part --------------
inherit python-wheel
NAME="python-xlrd"
VERSION=2.0.2
RELEASE=1
CATEGORY="Python"
SUMMARY="Library for developers to extract data from Microsoft Excel (tm) .xls spreadsheet files"
DESCRIPTION="xlrd is a library for reading data and formatting information from Excel files in the historical .xls format."
HOMEPAGE="https://www.python-excel.org/"
LICENSE="BSD"
ARCH=noarch
BUILD_REQUIRES="python39 python39-devel python39-setuptools python312 python312-devel python312-setuptools"
PKG_NAMES+=" python-xlrd-common"
python_xlrd_common_REQUIRES="python39-xlrd python312-xlrd"
python_xlrd_common_CONTENTS="
usr/bin/runxlrd.py
usr/share/doc/python-xlrd-common
"
More information about the Cygwin-apps
mailing list