Package Details: doi2bib 0.4.0-2

Git Clone URL: https://aur.archlinux.org/doi2bib.git (read-only, click to copy)
Package Base: doi2bib
Description: Generate a bibtex given a doi
Upstream URL: https://github.com/bibcure/doi2bib
Licenses: MIT
Submitter: snowball
Maintainer: vitaliikuzhdin
Last Packager: vitaliikuzhdin
Votes: 6
Popularity: 0.050784
First Submitted: 2018-06-02 12:08 (UTC)
Last Updated: 2024-12-29 15:02 (UTC)

Latest Comments

vitaliikuzhdin commented on 2024-12-29 15:03 (UTC)

@micwoj92, you are correct, package updated. Thanks!

micwoj92 commented on 2024-12-29 14:39 (UTC) (edited on 2024-12-29 14:39 (UTC) by micwoj92)

First I used namcap:

$ namcap doi2bib-0.4.0-1-any.pkg.tar.zst 
doi2bib W: Dependency included, but may not be needed ('python-future')

__future__ is provided by python package.

Then I checked using example from help output without having future installed:

$ doi2bib -h
usage: doi2bib [-h] [--input INPUT] [--output OUTPUT] [--abstract]

Convert a list of DOIs in a bibfile.
You also can convert a simple DOI, like:
$ doi2bib  10.1063/1.3149495
-----------------------------------------------------
    @author: Bruno Messias
    @email: messias.physics@gmail.com
    @telegram: @brunomessias
    @github: https://github.com/bibcure/doi2bib

options:
  -h, --help           show this help message and exit
  --input, -i INPUT    input file
  --output, -o OUTPUT  bibtex output file
  --abstract           try to import the abstract info
$ doi2bib  10.1063/1.3149495



 @inproceedings{Kitaev_2009, title={Periodic table for topological insulators and superconductors}, url={http://dx.doi.org/10.1063/1.3149495}, DOI={10.1063/1.3149495}, booktitle={AIP Conference Proceedings}, publisher={AIP}, author={Kitaev, Alexei and Lebedev, Vladimir and Feigel’man, Mikhail}, year={2009} }

$ pacman -Qi python-future
error: package 'python-future' was not found

vitaliikuzhdin commented on 2024-12-29 12:24 (UTC) (edited on 2024-12-29 12:30 (UTC) by vitaliikuzhdin)

@micwoj92, are you sure? It is in the requirements.txt and is referenced multiple times in the code:

$ grep -r __future__
doi2bib/bin/doi2bib:from __future__ import unicode_literals, print_function, absolute_import
doi2bib/crossref.py:from __future__ import unicode_literals, print_function, absolute_import

But I'm no Python expert.

micwoj92 commented on 2024-12-29 03:46 (UTC)

python-future dependency is not needed, please remove.