Repository: spack/spack

Issue:
Please upgrade packaging of uriparser from 0.9.3 to 0.9.5 to fix bugs
<!-- Explain, in a clear and concise way, the command you ran and the result you were trying to achieve.
Example: "I ran `spack find` to list all the installed packages and ..." -->

### Steps to reproduce the issue

Hi! uriparser packaging is at version 0.9.3 while upstream is at version 0.9.5 which among other things includes [an important bugfix](https://github.com/uriparser/uriparser/blob/d96e1025e98cf99de7dbdea593160a2f6c078b6f/ChangeLog#L18-L21). It would be great to have packaging updated to the latest release to get that fix out to Spack users. Thank you! :pray: 

### Error Message

n/a

### Information on your system

<!-- Please include the output of `spack debug report` -->

<!-- If you have any relevant configuration detail (custom `packages.yaml` or `modules.yaml`, etc.) you can add that here as well. -->

### Additional information

<!-- These boxes can be checked by replacing [ ] with [x] or by clicking them after submitting the issue. -->
- [ ] ~I have run `spack debug report` and reported the version of Spack/Python/Platform~
- [x] I have searched the issues of this repo and believe this is not a duplicate
- [ ] ~I have run the failing commands in debug mode and reported the output~

<!-- We encourage you to try, as much as possible, to reduce your problem to the minimal example that still reproduces the issue. That would help us a lot in fixing it quickly and effectively!

If you want to ask a question about the tool (how to use it, what it can currently do, etc.), try the `#general` channel on our Slack first. We have a welcoming community and chances are you'll get your reply faster and without opening an issue.

Other than that, thanks for taking the time to contribute to Spack! -->

Please upgrade packaging of uriparser from 0.9.3 to 0.9.5 to fix bugs
<!-- Explain, in a clear and concise way, the command you ran and the result you were trying to achieve.
Example: "I ran `spack find` to list all the installed packages and ..." -->

### Steps to reproduce the issue

Hi! uriparser packaging is at version 0.9.3 while upstream is at version 0.9.5 which among other things includes [an important bugfix](https://github.com/uriparser/uriparser/blob/d96e1025e98cf99de7dbdea593160a2f6c078b6f/ChangeLog#L18-L21). It would be great to have packaging updated to the latest release to get that fix out to Spack users. Thank you! :pray: 

### Error Message

n/a

### Information on your system

<!-- Please include the output of `spack debug report` -->

<!-- If you have any relevant configuration detail (custom `packages.yaml` or `modules.yaml`, etc.) you can add that here as well. -->

### Additional information

<!-- These boxes can be checked by replacing [ ] with [x] or by clicking them after submitting the issue. -->
- [ ] ~I have run `spack debug report` and reported the version of Spack/Python/Platform~
- [x] I have searched the issues of this repo and believe this is not a duplicate
- [ ] ~I have run the failing commands in debug mode and reported the output~

<!-- We encourage you to try, as much as possible, to reduce your problem to the minimal example that still reproduces the issue. That would help us a lot in fixing it quickly and effectively!

If you want to ask a question about the tool (how to use it, what it can currently do, etc.), try the `#general` channel on our Slack first. We have a welcoming community and chances are you'll get your reply faster and without opening an issue.

Other than that, thanks for taking the time to contribute to Spack! -->



Discussion:
Hi @hartwork, our `uriparser` package doesn't yet have an official maintainer, so it's up to community contributions to update the package. Would you like to submit a PR to do this? Should be a one-line change, just run `spack checksum uriparser` to print the line to add, and `spack edit uriparser` to open the file to add it to.
Hi @hartwork, our `uriparser` package doesn't yet have an official maintainer, so it's up to community contributions to update the package. Would you like to submit a PR to do this? Should be a one-line change, just run `spack checksum uriparser` to print the line to add, and `spack edit uriparser` to open the file to add it to.

Resolving patch:
diff --git a/var/spack/repos/builtin/packages/uriparser/package.py b/var/spack/repos/builtin/packages/uriparser/package.py
--- a/var/spack/repos/builtin/packages/uriparser/package.py
+++ b/var/spack/repos/builtin/packages/uriparser/package.py
@@ -13,6 +13,7 @@ class Uriparser(CMakePackage):
     homepage = "https://uriparser.github.io/"
     url      = "https://github.com/uriparser/uriparser/releases/download/uriparser-0.9.3/uriparser-0.9.3.tar.gz"
 
+    version('0.9.5', sha256='1987466a798becb5441a491d29e762ab1a4817a525f82ef239e3d38f85605a77')
     version('0.9.3', sha256='6cef39d6eaf1a48504ee0264ce85f078758057dafb1edd0a898183b55ff76014')
 
     variant('docs', default=False, description='Build API documentation')


Test patch: