Commit Graph

105 Commits

Author SHA1 Message Date
Aleksana
e272cd8171
python2Packages.wcwidth: fix build (#292007) 2024-09-04 13:26:16 +08:00
Sigmanificient
63d05d989e pkgs/development: remove unused arguments 2024-08-03 17:18:20 +02:00
Jörg Thalheim
5356420466 treewide: remove unused with statements from maintainer lists
$ find -type f -name '*.nix' -print0 | xargs -P "$(nproc)" -0 sed -i \
  -e 's!with lib.maintainers; \[ *\];![ ];!' \
  -e 's!with maintainers; \[ *\];![ ];!'
2024-07-29 10:06:20 +08:00
Bryan Lai
5ebb67ecc9 python2Packages.wcwidth: @bryango in maintainers
Add myself in maintainers, and make sure that python3 maintainers is
_not_ pinged for python2 issues.
2024-07-27 15:47:12 +08:00
Bryan Lai
d34d5280d1 python2Packages.wcwidth: fix build
As of version 0.2.13 upstream still supports python2. In the future, this
package should be dropped or pinned to the last working version after the
final release for python2.
2024-07-27 15:47:12 +08:00
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
Alexis Hildebrandt
bf995e3641 treewide: Remove ending period from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*".*\.";' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*)\.";/\1";/'
2024-06-09 23:04:51 +02:00
Sandro Jäckel
653837881e
treewide: replace lib/${python.libPrefix}/site-packages with its shorthand ${python.sitePackages}
which should be always preferred
2024-01-30 19:56:57 +01:00
K900
887e96e875 Merge remote-tracking branch 'origin/master' into staging-next 2024-01-02 10:55:23 +03:00
Sergei Trofimovich
46b946ea18 pypy2Packages.attrs: fix tests eval
Without the change `tests` eval fails as:

    $ nix build --no-link -f. pypy2Packages.attrs.tests
    error:
       error: path 'pkgs/development/python2-modules/attrs/tests.nix' does not exist
2023-12-30 16:01:14 +00:00
Martin Weinelt
936386b0c1
python2Packages.wcwidth: fix eval 2023-12-20 20:46:23 +01:00
Bryan Lai
8a3eb935ac python2Packages.pycairo: backport test fix
Fix pytest failure of `test_svg_surface_get_document_unit`.

This fix is backported to python 2 from upstream. Upstream has dropped
support for python 2, but the fix works regardless of python versions.
Hence we backport the fix for python 2, since many nix packages still
depend on python2Packages.pycairo.

Upstream: 678edd94d8
Co-authored-by: Brian Leung <29217594+leungbk@users.noreply.github.com>
2023-11-22 20:55:23 +08:00
Adam Joseph
bc2d598878 treewide: change pythonForBuild to pythonOnBuildForHost 2023-11-05 17:42:12 -08:00
github-actions[bot]
c90f3611dc
Merge master into staging-next 2023-08-06 00:02:21 +00:00
Theodore Ni
809de4d210
python2.pkgs.wcwidth: add missing python2 dependency 2023-08-03 07:49:32 -07:00
Theodore Ni
9058cdef7d
python2.pkgs.backports-functools-lru-cache: init at 1.6.6 2023-08-03 07:49:18 -07:00
github-actions[bot]
82235cc6e6
Merge staging-next into staging 2023-07-24 00:02:59 +00:00
Sandro Jäckel
cf6c96533b
treewide: reduce packages I maintainer 2023-07-23 19:30:22 +02:00
Sandro
c7ba59e485
Merge pull request #217565 from winterqt/bootstrapped-pip-remove-extraneous-pythonpath-entry 2023-07-19 15:22:52 +02:00
Artturin
226e149145 treewide: env.NIX_CFLAGS_COMPILE use optionalString instead of optional
env values must be strings
2023-02-22 21:23:05 +02:00
Artturin
f9fdf2d402 treewide: move NIX_CFLAGS_COMPILE to the env attrset
with structuredAttrs lists will be bash arrays which cannot be exported
which will be a issue with some patches and some wrappers like cc-wrapper

this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists
in env cause a eval failure
2023-02-22 21:23:04 +02:00
Winter
e59046bc48 python{2,3}Packages.bootstrapped-pip: remove extraneous entry from PYTHONPATH
From my testing, wheel is only retrieved from its installation in $out,
and removing it doesn't break anything. I'm unsure if it was required when
bootstrapping was initially added [0], but it definitely isn't now.

I also took the chance to clarify the comment a bit.

[0]: 56727dc1ff
2023-02-21 16:21:41 -05:00
Frederik Rietdijk
93f577aed8 python2Packages.wheel: keep 0.37.1 for python2 since 0.38 dropped support 2023-02-05 12:01:22 +01:00
Guillaume Girol
33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
github-actions[bot]
bf81ac4bc6
Merge master into staging-next 2022-12-15 12:01:09 +00:00
Fabián Heredia Montiel
2230108f55 python2Packages.typing: revert removal
This reverts commit ff69267377.
2022-12-15 00:28:46 -08:00
Fabián Heredia Montiel
8549e49c18 python2Packages.scandir: revert removal
This reverts commit 7d4a0668d2.

Closes https://github.com/NixOS/nixpkgs/issues/205742
2022-12-15 00:28:46 -08:00
Vladimír Čunát
de033ae75a
Merge branch 'master' into staging-next 2022-12-10 16:19:36 +01:00
Robert Schütz
5efd8de503
python2Packages.pygobject2: move to python2-modules 2022-12-09 22:36:50 +01:00
Robert Schütz
c760e71626 python2Packages.pygobject3: remove 2022-12-09 12:17:25 -08:00
Robert Schütz
4bd693080a python2Packages.gtkme: remove 2022-12-09 12:15:46 -08:00
Robert Schütz
a9028840ef python2Packages.idna: remove 2022-12-09 12:15:13 -08:00
Robert Schütz
7d4a0668d2 python2Packages.scandir: remove 2022-12-09 08:37:41 -08:00
Robert Schütz
563a4cd15d python2Packages.pysqlite: remove 2022-12-09 08:37:41 -08:00
Robert Schütz
3627a1fe1d python2Packages.certifi: remove 2022-12-09 08:37:41 -08:00
Robert Schütz
ff69267377 python2Packages.typing: remove 2022-12-09 08:37:41 -08:00
Robert Schütz
c2b5367847 python2Packages.google-apputils: remove 2022-12-09 08:37:41 -08:00
Robert Schütz
3817fec3e2 python2Packages.protobuf: remove 2022-12-09 08:37:40 -08:00
Robert Schütz
cf285d46cb python2Packages.pygments: remove 2022-12-09 08:37:40 -08:00
Robert Schütz
cb695919b2 python2Packages.botocore: remove 2022-12-09 08:37:40 -08:00
Robert Schütz
7cb6c63e86 python2Packages.s3transfer: remove 2022-12-09 08:37:40 -08:00
Robert Schütz
dc42927243 python2Packages.boto3: remove 2022-12-09 08:37:40 -08:00
Robert Schütz
d2fa83297a python2Packages.pyroma: remove 2022-12-09 08:13:35 -08:00
Robert Schütz
0cc6df3f8f python2Packages.pytest-runner: remove 2022-12-09 08:10:55 -08:00
Robert Schütz
5eb43616fe python2Packages.chardet: remove 2022-12-09 08:09:23 -08:00
Robert Schütz
3ff1f3d1c1 python2Packages.sphinxcontrib-websupport: remove 2022-12-09 08:06:32 -08:00
Robert Schütz
04c143eedb python2Packages.sphinx: remove 2022-12-09 08:05:58 -08:00
Robert Schütz
a1bde47ce0 python2Packages.marisa: remove 2022-12-09 08:03:50 -08:00
Vladimír Čunát
9c497bb8d6
Merge branch 'staging-next' into staging 2022-12-09 10:27:46 +01:00