Skip to content

Commit

Permalink
Update bagit
Browse files Browse the repository at this point in the history
  • Loading branch information
sevein committed Oct 23, 2024
1 parent 67109b1 commit 4c53516
Show file tree
Hide file tree
Showing 65 changed files with 1,036 additions and 1,446 deletions.
4 changes: 2 additions & 2 deletions example/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ go 1.21
require github.com/artefactual-labs/bagit-gython v0.0.0-00010101000000-000000000000

require (
github.com/kluctl/go-embed-python v0.0.0-3.12.3-20240415-1 // indirect
github.com/kluctl/go-embed-python v0.0.0-3.12.3-20240415-2 // indirect
github.com/rogpeppe/go-internal v1.12.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
golang.org/x/sync v0.7.0 // indirect
golang.org/x/sync v0.8.0 // indirect
golang.org/x/sys v0.21.0 // indirect
)

Expand Down
8 changes: 4 additions & 4 deletions example/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/kluctl/go-embed-python v0.0.0-3.12.3-20240415-1 h1:IX2O3LJUL0AjYsROGZ4aNENTEb3c/Ll/0b9Yb/8P61Q=
github.com/kluctl/go-embed-python v0.0.0-3.12.3-20240415-1/go.mod h1:9kqX8IjRCNh4ppXxlKGtLN+QFuvsdSsNGKsTLgdSNRw=
github.com/kluctl/go-embed-python v0.0.0-3.12.3-20240415-2 h1:JcYhVgX7jFN8QcoBxx8/kLxUyeUzE/JnGf5ntulNPPM=
github.com/kluctl/go-embed-python v0.0.0-3.12.3-20240415-2/go.mod h1:9kqX8IjRCNh4ppXxlKGtLN+QFuvsdSsNGKsTLgdSNRw=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rogpeppe/go-internal v1.12.0 h1:exVL4IDcn6na9z1rAb56Vxr+CgyK3nn3O+epU5NdKM8=
Expand All @@ -17,8 +17,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M=
golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws=
golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
Metadata-Version: 2.1
Name: bagit
Version: 1.8.1.dev26+g5b77243
Version: 1.9b3.dev3+gda04180
Summary: Create and validate BagIt packages
Home-page: https://libraryofcongress.github.io/bagit-python/
Author: Ed Summers
Author-email: [email protected]
Author-email: Ed Summers <[email protected]>
Project-URL: Homepage, https://libraryofcongress.github.io/bagit-python/
Platform: POSIX
Classifier: License :: Public Domain
Classifier: Intended Audience :: Developers
Classifier: License :: Public Domain
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Communications :: File Sharing
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Filesystems
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Dist: importlib-metadata ; python_version < "3.8"
Description-Content-Type: text/x-rst

bagit-python
============

|Build Status| |Coverage Status|

bagit is a Python library and command line utility for working with
`BagIt <http://purl.org/net/bagit>`__ style packages.

Expand All @@ -42,7 +31,7 @@ project as needed or you can install globally with:

pip install bagit

Python v2.7+ is required.
A supported version of Python 3 is required.

Command Line Usage
------------------
Expand Down Expand Up @@ -252,20 +241,11 @@ Contributing to bagit-python development
Running the tests
~~~~~~~~~~~~~~~~~

You can quickly run the tests by having setuptools install dependencies:

::

python setup.py test

Once your code is working, you can use
`Tox <https://tox.readthedocs.io/>`__ to run the tests with every
supported version of Python which you have installed on the local
system:
You can quickly run the tests using the built-in unittest framework:

::

tox
python -m unittest discover

If you have Docker installed, you can run the tests under Linux inside a
container:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
../../bin/__pycache__/bagit.cpython-312.pyc,,
../../bin/bagit.py,sha256=eWACe26vquZwx7ISQ7xfZRHvhNLnK6LfOyowanb8a64,54722
../../locale/en/LC_MESSAGES/bagit-python.mo,sha256=onTi-42QABidt47Lx6KeFzbP-lQ0HU1X9fW2j1M8UK0,2808
__pycache__/bagit.cpython-312.pyc,,
bagit-1.9b3.dev3+gda04180.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
bagit-1.9b3.dev3+gda04180.dist-info/METADATA,sha256=xeBL-vZhcdQpG_M3AvddWJ-YvQ_BCxJ8UUBmmTfizXA,7527
bagit-1.9b3.dev3+gda04180.dist-info/RECORD,,
bagit-1.9b3.dev3+gda04180.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
bagit-1.9b3.dev3+gda04180.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
bagit-1.9b3.dev3+gda04180.dist-info/direct_url.json,sha256=2hbjksYnB7HjDIZNtDaTebBXsdAYM2ZI_reqL50sFWw,211
bagit-1.9b3.dev3+gda04180.dist-info/top_level.txt,sha256=f288ippe7ERSzETsEftza1dXq61Z4zFSXDgaTF6djpE,6
bagit.py,sha256=L3uPbWYK4GPwRlCTWSnzMpOukmVWc-tmLxfHzACB-5w,54701
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Wheel-Version: 1.0
Generator: bdist_wheel (0.43.0)
Generator: setuptools (75.2.0)
Root-Is-Purelib: true
Tag: py2-none-any
Tag: py3-none-any

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"url": "https://github.com/LibraryOfCongress/bagit-python", "vcs_info": {"commit_id": "da041808d2453da2209054a9f4c48187dc323c0a", "requested_revision": "da041808d2453da2209054a9f4c48187dc323c0a", "vcs": "git"}}
Loading

0 comments on commit 4c53516

Please sign in to comment.