Merge pull request #211952 from fabaff/xml2rfc-fix
python311Packages.xml2rfc: 3.15.3 -> 3.16.0
This commit is contained in:
commit
d3eee3182c
5 changed files with 156 additions and 59 deletions
|
@ -1,17 +1,40 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "bunch";
|
pname = "bunch";
|
||||||
version = "1.0.1";
|
version = "unstable-2017-11-21";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
src = fetchPypi {
|
disabled = pythonOlder "3.7";
|
||||||
inherit pname version;
|
|
||||||
sha256 = "1akalx2pd1fjlvrq69plvcx783ppslvikqdm93z2sdybq07pmish";
|
# Use a fork as upstream is dead
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "olivecoder";
|
||||||
|
repo = pname;
|
||||||
|
rev = "71ac9d5c712becd4c502ab3099203731a0f1122e";
|
||||||
|
hash = "sha256-XOgzJkcIqkAJFsKAyt2jSEIxcc0h2gFC15xy5kAs+7s=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py \
|
||||||
|
--replace "rU" "r"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# No real tests available
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"bunch"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
description = "Python dictionary that provides attribute-style access";
|
||||||
|
homepage = "https://github.com/dsc/bunch";
|
||||||
|
license = licenses.mit;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,33 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi }:
|
{ lib
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "kitchen";
|
pname = "kitchen";
|
||||||
version = "1.2.6";
|
version = "1.2.6";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "0g5hq2icnng9vy4www5hnr3r5srisfwp0wxw1sv5c5dxy61gak5q";
|
hash = "sha256-uEz1gvG9FVa2DrxzcLnTMeuSR7awcM6J3+lZy6LAsDw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Waiting for upstream's clean-up
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"kitchen"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Kitchen contains a cornucopia of useful code";
|
description = "Kitchen contains a cornucopia of useful code";
|
||||||
license = licenses.lgpl2;
|
homepage = "https://github.com/fedora-infra/kitchen";
|
||||||
|
changelog = "https://github.com/fedora-infra/kitchen/blob/${version}/NEWS.rst";
|
||||||
|
license = licenses.lgpl2Only;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,33 +1,53 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
|
||||||
, nose
|
|
||||||
, cogapp
|
, cogapp
|
||||||
|
, fetchPypi
|
||||||
, mock
|
, mock
|
||||||
|
, nose
|
||||||
|
, pytestCheckHook
|
||||||
|
, pythonOlder
|
||||||
|
, six
|
||||||
, virtualenv
|
, virtualenv
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
|
pname = "paver";
|
||||||
version = "1.3.4";
|
version = "1.3.4";
|
||||||
pname = "Paver";
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "Paver";
|
||||||
sha256 = "d3e6498881485ab750efe40c5278982a9343bc627e137b11adced627719308c7";
|
inherit version;
|
||||||
|
hash = "sha256-0+ZJiIFIWrdQ7+QMUniYKpNDvGJ+E3sRrc7WJ3GTCMc=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ cogapp mock virtualenv ];
|
propagatedBuildInputs = [
|
||||||
|
six
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ nose ];
|
checkInputs = [
|
||||||
|
cogapp
|
||||||
|
mock
|
||||||
|
nose
|
||||||
|
pytestCheckHook
|
||||||
|
virtualenv
|
||||||
|
];
|
||||||
|
|
||||||
# the tests do not pass
|
pythonImportsCheck = [
|
||||||
doCheck = false;
|
"paver"
|
||||||
|
];
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
|
# Test depends on distutils
|
||||||
|
"paver/tests/test_setuputils.py"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A Python-based build/distribution/deployment scripting tool";
|
description = "A Python-based build/distribution/deployment scripting tool";
|
||||||
homepage = "https://github.com/paver/paver";
|
homepage = "https://github.com/paver/paver";
|
||||||
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ lovek323 ];
|
maintainers = with maintainers; [ lovek323 ];
|
||||||
platforms = platforms.unix;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,22 +1,55 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi, kitchen, requests, bunch, paver
|
{ lib
|
||||||
, six, munch, urllib3, beautifulsoup4, openidc-client, lockfile }:
|
, beautifulsoup4
|
||||||
|
, buildPythonPackage
|
||||||
|
, bunch
|
||||||
|
, fetchPypi
|
||||||
|
, kitchen
|
||||||
|
, lockfile
|
||||||
|
, munch
|
||||||
|
, openidc-client
|
||||||
|
, paver
|
||||||
|
, pythonOlder
|
||||||
|
, requests
|
||||||
|
, six
|
||||||
|
, urllib3
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "python-fedora";
|
pname = "python-fedora";
|
||||||
version = "1.1.1";
|
version = "1.1.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.7";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "56b9d841a39b4030e388e90c7b77dacd479f1ce5e2ff9b18c3954d97d5709a19";
|
hash = "sha256-VrnYQaObQDDjiOkMe3fazUefHOXi/5sYw5VNl9Vwmhk=";
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = [ kitchen requests bunch paver lockfile
|
|
||||||
six munch urllib3 beautifulsoup4 openidc-client ];
|
propagatedBuildInputs = [
|
||||||
|
beautifulsoup4
|
||||||
|
bunch
|
||||||
|
kitchen
|
||||||
|
lockfile
|
||||||
|
munch
|
||||||
|
openidc-client
|
||||||
|
paver
|
||||||
|
requests
|
||||||
|
six
|
||||||
|
urllib3
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
|
pythonImportsCheck = [
|
||||||
|
"fedora"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Python Fedora Module";
|
description = "Module to interact with the infrastructure of the Fedora Project";
|
||||||
homepage = "https://github.com/fedora-infra/python-fedora";
|
homepage = "https://github.com/fedora-infra/python-fedora";
|
||||||
license = licenses.lgpl2;
|
changelog = "https://github.com/fedora-infra/python-fedora/releases/tag/1.1.1";
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = with maintainers; [ ];
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,32 +1,33 @@
|
||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
|
||||||
, fetchFromGitHub
|
|
||||||
, pythonOlder
|
|
||||||
, intervaltree
|
|
||||||
, pyflakes
|
|
||||||
, requests
|
|
||||||
, lxml
|
|
||||||
, google-i18n-address
|
|
||||||
, pycountry
|
|
||||||
, html5lib
|
|
||||||
, six
|
|
||||||
, kitchen
|
|
||||||
, pypdf2
|
|
||||||
, dict2xml
|
|
||||||
, weasyprint
|
|
||||||
, pyyaml
|
|
||||||
, jinja2
|
|
||||||
, configargparse
|
|
||||||
, appdirs
|
, appdirs
|
||||||
|
, buildPythonPackage
|
||||||
|
, configargparse
|
||||||
, decorator
|
, decorator
|
||||||
|
, dict2xml
|
||||||
|
, fetchFromGitHub
|
||||||
|
, google-i18n-address
|
||||||
|
, html5lib
|
||||||
|
, intervaltree
|
||||||
|
, jinja2
|
||||||
|
, lxml
|
||||||
|
, markupsafe
|
||||||
, pycairo
|
, pycairo
|
||||||
|
, pycountry
|
||||||
|
, pyflakes
|
||||||
|
, pypdf2
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, python-fontconfig
|
, python-fontconfig
|
||||||
|
, pythonOlder
|
||||||
|
, pyyaml
|
||||||
|
, requests
|
||||||
|
, six
|
||||||
|
, wcwidth
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "xml2rfc";
|
pname = "xml2rfc";
|
||||||
version = "3.15.3";
|
version = "3.16.0";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
|
@ -34,7 +35,7 @@ buildPythonPackage rec {
|
||||||
owner = "ietf-tools";
|
owner = "ietf-tools";
|
||||||
repo = "xml2rfc";
|
repo = "xml2rfc";
|
||||||
rev = "refs/tags/v${version}";
|
rev = "refs/tags/v${version}";
|
||||||
sha256 = "sha256-kA6Ali5zFEwe4iGpSSabUfNoaqY9/dxLyG+SccA94zc=";
|
hash = "sha256-H2m6WZTIu2xLIz3ysOZcicIibPj8mErrxYM2+F07aS0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
@ -46,22 +47,22 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
appdirs
|
||||||
|
configargparse
|
||||||
|
dict2xml
|
||||||
|
google-i18n-address
|
||||||
|
html5lib
|
||||||
intervaltree
|
intervaltree
|
||||||
jinja2
|
jinja2
|
||||||
|
lxml
|
||||||
|
markupsafe
|
||||||
|
pycountry
|
||||||
pyflakes
|
pyflakes
|
||||||
|
pypdf2
|
||||||
pyyaml
|
pyyaml
|
||||||
requests
|
requests
|
||||||
lxml
|
|
||||||
google-i18n-address
|
|
||||||
pycountry
|
|
||||||
html5lib
|
|
||||||
six
|
six
|
||||||
kitchen
|
wcwidth
|
||||||
pypdf2
|
|
||||||
dict2xml
|
|
||||||
weasyprint
|
|
||||||
configargparse
|
|
||||||
appdirs
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
@ -71,18 +72,21 @@ buildPythonPackage rec {
|
||||||
python-fontconfig
|
python-fontconfig
|
||||||
];
|
];
|
||||||
|
|
||||||
# requires Noto Serif and Roboto Mono font
|
# Requires Noto Serif and Roboto Mono font
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
make tests-no-network
|
make tests-no-network
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pythonImportsCheck = [ "xml2rfc" ];
|
pythonImportsCheck = [
|
||||||
|
"xml2rfc"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tool generating IETF RFCs and drafts from XML sources";
|
description = "Tool generating IETF RFCs and drafts from XML sources";
|
||||||
homepage = "https://github.com/ietf-tools/xml2rfc";
|
homepage = "https://github.com/ietf-tools/xml2rfc";
|
||||||
|
changelog = "https://github.com/ietf-tools/xml2rfc/blob/v${version}/CHANGELOG.md";
|
||||||
# Well, parts might be considered unfree, if being strict; see:
|
# Well, parts might be considered unfree, if being strict; see:
|
||||||
# http://metadata.ftp-master.debian.org/changelogs/non-free/x/xml2rfc/xml2rfc_2.9.6-1_copyright
|
# http://metadata.ftp-master.debian.org/changelogs/non-free/x/xml2rfc/xml2rfc_2.9.6-1_copyright
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
|
Loading…
Reference in a new issue